Home | History | Annotate | Line # | Download | only in ldapc++
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for ldapcpplib 0.0.5.
      4 #
      5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      7 # This configure script is free software; the Free Software Foundation
      8 # gives unlimited permission to copy, distribute and modify it.
      9 ## --------------------- ##
     10 ## M4sh Initialization.  ##
     11 ## --------------------- ##
     12 
     13 # Be more Bourne compatible
     14 DUALCASE=1; export DUALCASE # for MKS sh
     15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16   emulate sh
     17   NULLCMD=:
     18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19   # is contrary to our usage.  Disable this feature.
     20   alias -g '${1+"$@"}'='"$@"'
     21   setopt NO_GLOB_SUBST
     22 else
     23   case `(set -o) 2>/dev/null` in
     24   *posix*) set -o posix ;;
     25 esac
     26 
     27 fi
     28 
     29 
     30 
     31 
     32 # PATH needs CR
     33 # Avoid depending upon Character Ranges.
     34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     37 as_cr_digits='0123456789'
     38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     39 
     40 # The user is always right.
     41 if test "${PATH_SEPARATOR+set}" != set; then
     42   echo "#! /bin/sh" >conf$$.sh
     43   echo  "exit 0"   >>conf$$.sh
     44   chmod +x conf$$.sh
     45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     46     PATH_SEPARATOR=';'
     47   else
     48     PATH_SEPARATOR=:
     49   fi
     50   rm -f conf$$.sh
     51 fi
     52 
     53 # Support unset when possible.
     54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     55   as_unset=unset
     56 else
     57   as_unset=false
     58 fi
     59 
     60 
     61 # IFS
     62 # We need space, tab and new line, in precisely that order.  Quoting is
     63 # there to prevent editors from complaining about space-tab.
     64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     65 # splitting by setting IFS to empty value.)
     66 as_nl='
     67 '
     68 IFS=" ""	$as_nl"
     69 
     70 # Find who we are.  Look in the path if we contain no directory separator.
     71 case $0 in
     72   *[\\/]* ) as_myself=$0 ;;
     73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     74 for as_dir in $PATH
     75 do
     76   IFS=$as_save_IFS
     77   test -z "$as_dir" && as_dir=.
     78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     79 done
     80 IFS=$as_save_IFS
     81 
     82      ;;
     83 esac
     84 # We did not find ourselves, most probably we were run as `sh COMMAND'
     85 # in which case we are not to be found in the path.
     86 if test "x$as_myself" = x; then
     87   as_myself=$0
     88 fi
     89 if test ! -f "$as_myself"; then
     90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     91   { (exit 1); exit 1; }
     92 fi
     93 
     94 # Work around bugs in pre-3.0 UWIN ksh.
     95 for as_var in ENV MAIL MAILPATH
     96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     97 done
     98 PS1='$ '
     99 PS2='> '
    100 PS4='+ '
    101 
    102 # NLS nuisances.
    103 for as_var in \
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    106   LC_TELEPHONE LC_TIME
    107 do
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    109     eval $as_var=C; export $as_var
    110   else
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    112   fi
    113 done
    114 
    115 # Required to use basename.
    116 if expr a : '\(a\)' >/dev/null 2>&1 &&
    117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    118   as_expr=expr
    119 else
    120   as_expr=false
    121 fi
    122 
    123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    124   as_basename=basename
    125 else
    126   as_basename=false
    127 fi
    128 
    129 
    130 # Name of the executable.
    131 as_me=`$as_basename -- "$0" ||
    132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    133 	 X"$0" : 'X\(//\)$' \| \
    134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    135 echo X/"$0" |
    136     sed '/^.*\/\([^/][^/]*\)\/*$/{
    137 	    s//\1/
    138 	    q
    139 	  }
    140 	  /^X\/\(\/\/\)$/{
    141 	    s//\1/
    142 	    q
    143 	  }
    144 	  /^X\/\(\/\).*/{
    145 	    s//\1/
    146 	    q
    147 	  }
    148 	  s/.*/./; q'`
    149 
    150 # CDPATH.
    151 $as_unset CDPATH
    152 
    153 
    154 if test "x$CONFIG_SHELL" = x; then
    155   if (eval ":") 2>/dev/null; then
    156   as_have_required=yes
    157 else
    158   as_have_required=no
    159 fi
    160 
    161   if test $as_have_required = yes && 	 (eval ":
    162 (as_func_return () {
    163   (exit \$1)
    164 }
    165 as_func_success () {
    166   as_func_return 0
    167 }
    168 as_func_failure () {
    169   as_func_return 1
    170 }
    171 as_func_ret_success () {
    172   return 0
    173 }
    174 as_func_ret_failure () {
    175   return 1
    176 }
    177 
    178 exitcode=0
    179 if as_func_success; then
    180   :
    181 else
    182   exitcode=1
    183   echo as_func_success failed.
    184 fi
    185 
    186 if as_func_failure; then
    187   exitcode=1
    188   echo as_func_failure succeeded.
    189 fi
    190 
    191 if as_func_ret_success; then
    192   :
    193 else
    194   exitcode=1
    195   echo as_func_ret_success failed.
    196 fi
    197 
    198 if as_func_ret_failure; then
    199   exitcode=1
    200   echo as_func_ret_failure succeeded.
    201 fi
    202 
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    204   :
    205 else
    206   exitcode=1
    207   echo positional parameters were not saved.
    208 fi
    209 
    210 test \$exitcode = 0) || { (exit 1); exit 1; }
    211 
    212 (
    213   as_lineno_1=\$LINENO
    214   as_lineno_2=\$LINENO
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    217 ") 2> /dev/null; then
    218   :
    219 else
    220   as_candidate_shells=
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    223 do
    224   IFS=$as_save_IFS
    225   test -z "$as_dir" && as_dir=.
    226   case $as_dir in
    227 	 /*)
    228 	   for as_base in sh bash ksh sh5; do
    229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    230 	   done;;
    231        esac
    232 done
    233 IFS=$as_save_IFS
    234 
    235 
    236       for as_shell in $as_candidate_shells $SHELL; do
    237 	 # Try only shells that exist, to save several forks.
    238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    241   emulate sh
    242   NULLCMD=:
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    244   # is contrary to our usage.  Disable this feature.
    245   alias -g '${1+"$@"}'='"$@"'
    246   setopt NO_GLOB_SUBST
    247 else
    248   case `(set -o) 2>/dev/null` in
    249   *posix*) set -o posix ;;
    250 esac
    251 
    252 fi
    253 
    254 
    255 :
    256 _ASEOF
    257 }; then
    258   CONFIG_SHELL=$as_shell
    259 	       as_have_required=yes
    260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 (as_func_return () {
    278   (exit $1)
    279 }
    280 as_func_success () {
    281   as_func_return 0
    282 }
    283 as_func_failure () {
    284   as_func_return 1
    285 }
    286 as_func_ret_success () {
    287   return 0
    288 }
    289 as_func_ret_failure () {
    290   return 1
    291 }
    292 
    293 exitcode=0
    294 if as_func_success; then
    295   :
    296 else
    297   exitcode=1
    298   echo as_func_success failed.
    299 fi
    300 
    301 if as_func_failure; then
    302   exitcode=1
    303   echo as_func_failure succeeded.
    304 fi
    305 
    306 if as_func_ret_success; then
    307   :
    308 else
    309   exitcode=1
    310   echo as_func_ret_success failed.
    311 fi
    312 
    313 if as_func_ret_failure; then
    314   exitcode=1
    315   echo as_func_ret_failure succeeded.
    316 fi
    317 
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then
    319   :
    320 else
    321   exitcode=1
    322   echo positional parameters were not saved.
    323 fi
    324 
    325 test $exitcode = 0) || { (exit 1); exit 1; }
    326 
    327 (
    328   as_lineno_1=$LINENO
    329   as_lineno_2=$LINENO
    330   test "x$as_lineno_1" != "x$as_lineno_2" &&
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    332 
    333 _ASEOF
    334 }; then
    335   break
    336 fi
    337 
    338 fi
    339 
    340       done
    341 
    342       if test "x$CONFIG_SHELL" != x; then
    343   for as_var in BASH_ENV ENV
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    345         done
    346         export CONFIG_SHELL
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    348 fi
    349 
    350 
    351     if test $as_have_required = no; then
    352   echo This script requires a shell more modern than all the
    353       echo shells that I found on your system.  Please install a
    354       echo modern shell, or manually run the script under such a
    355       echo shell if you do have one.
    356       { (exit 1); exit 1; }
    357 fi
    358 
    359 
    360 fi
    361 
    362 fi
    363 
    364 
    365 
    366 (eval "as_func_return () {
    367   (exit \$1)
    368 }
    369 as_func_success () {
    370   as_func_return 0
    371 }
    372 as_func_failure () {
    373   as_func_return 1
    374 }
    375 as_func_ret_success () {
    376   return 0
    377 }
    378 as_func_ret_failure () {
    379   return 1
    380 }
    381 
    382 exitcode=0
    383 if as_func_success; then
    384   :
    385 else
    386   exitcode=1
    387   echo as_func_success failed.
    388 fi
    389 
    390 if as_func_failure; then
    391   exitcode=1
    392   echo as_func_failure succeeded.
    393 fi
    394 
    395 if as_func_ret_success; then
    396   :
    397 else
    398   exitcode=1
    399   echo as_func_ret_success failed.
    400 fi
    401 
    402 if as_func_ret_failure; then
    403   exitcode=1
    404   echo as_func_ret_failure succeeded.
    405 fi
    406 
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    408   :
    409 else
    410   exitcode=1
    411   echo positional parameters were not saved.
    412 fi
    413 
    414 test \$exitcode = 0") || {
    415   echo No shell found that supports shell functions.
    416   echo Please tell autoconf@gnu.org about your system,
    417   echo including any error possibly output before this
    418   echo message
    419 }
    420 
    421 
    422 
    423   as_lineno_1=$LINENO
    424   as_lineno_2=$LINENO
    425   test "x$as_lineno_1" != "x$as_lineno_2" &&
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    427 
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429   # uniformly replaced by the line number.  The first 'sed' inserts a
    430   # line-number line after each line using $LINENO; the second 'sed'
    431   # does the real work.  The second script uses 'N' to pair each
    432   # line-number line with the line containing $LINENO, and appends
    433   # trailing '-' during substitution so that $LINENO is not a special
    434   # case at line end.
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    437   # E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455    { (exit 1); exit 1; }; }
    456 
    457   # Don't try to exec as it changes $[0], causing all sort of problems
    458   # (the dirname of $[0] is not the place where we might find the
    459   # original and so on.  Autoconf is especially sensitive to this).
    460   . "./$as_me.lineno"
    461   # Exit status is that of the last command.
    462   exit
    463 }
    464 
    465 
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    467   as_dirname=dirname
    468 else
    469   as_dirname=false
    470 fi
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in
    474 -n*)
    475   case `echo 'x\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   *)   ECHO_C='\c';;
    478   esac;;
    479 *)
    480   ECHO_N='-n';;
    481 esac
    482 
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    485   as_expr=expr
    486 else
    487   as_expr=false
    488 fi
    489 
    490 rm -f conf$$ conf$$.exe conf$$.file
    491 if test -d conf$$.dir; then
    492   rm -f conf$$.dir/conf$$.file
    493 else
    494   rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497 echo >conf$$.file
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then
    499   as_ln_s='ln -s'
    500   # ... but there are two gotchas:
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    503   # In both cases, we have to default to `cp -p'.
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    505     as_ln_s='cp -p'
    506 elif ln conf$$.file conf$$ 2>/dev/null; then
    507   as_ln_s=ln
    508 else
    509   as_ln_s='cp -p'
    510 fi
    511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    512 rmdir conf$$.dir 2>/dev/null
    513 
    514 if mkdir -p . 2>/dev/null; then
    515   as_mkdir_p=:
    516 else
    517   test -d ./-p && rmdir ./-p
    518   as_mkdir_p=false
    519 fi
    520 
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    524   if ls -dL / >/dev/null 2>&1; then
    525     as_ls_L_option=L
    526   else
    527     as_ls_L_option=
    528   fi
    529   as_test_x='
    530     eval sh -c '\''
    531       if test -d "$1"; then
    532         test -d "$1/.";
    533       else
    534 	case $1 in
    535         -*)set "./$1";;
    536 	esac;
    537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    538 	???[sx]*):;;*)false;;esac;fi
    539     '\'' sh
    540   '
    541 fi
    542 as_executable_p=$as_test_x
    543 
    544 # Sed expression to map a string onto a valid CPP name.
    545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    546 
    547 # Sed expression to map a string onto a valid variable name.
    548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    549 
    550 
    551 
    552 
    553 # Check that we are running under the correct shell.
    554 SHELL=${CONFIG_SHELL-/bin/sh}
    555 
    556 case X$ECHO in
    557 X*--fallback-echo)
    558   # Remove one level of quotation (which was required for Make).
    559   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    560   ;;
    561 esac
    562 
    563 echo=${ECHO-echo}
    564 if test "X$1" = X--no-reexec; then
    565   # Discard the --no-reexec flag, and continue.
    566   shift
    567 elif test "X$1" = X--fallback-echo; then
    568   # Avoid inline document here, it may be left over
    569   :
    570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    571   # Yippee, $echo works!
    572   :
    573 else
    574   # Restart under the correct shell.
    575   exec $SHELL "$0" --no-reexec ${1+"$@"}
    576 fi
    577 
    578 if test "X$1" = X--fallback-echo; then
    579   # used as fallback echo
    580   shift
    581   cat <<EOF
    582 $*
    583 EOF
    584   exit 0
    585 fi
    586 
    587 # The HP-UX ksh and POSIX shell print the target directory to stdout
    588 # if CDPATH is set.
    589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    590 
    591 if test -z "$ECHO"; then
    592 if test "X${echo_test_string+set}" != Xset; then
    593 # find a string as large as possible, as long as the shell can cope with it
    594   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    595     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    596     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    597        echo_test_string=`eval $cmd` &&
    598        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    599     then
    600       break
    601     fi
    602   done
    603 fi
    604 
    605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    606    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    607    test "X$echo_testing_string" = "X$echo_test_string"; then
    608   :
    609 else
    610   # The Solaris, AIX, and Digital Unix default echo programs unquote
    611   # backslashes.  This makes it impossible to quote backslashes using
    612   #   echo "$something" | sed 's/\\/\\\\/g'
    613   #
    614   # So, first we look for a working echo in the user's PATH.
    615 
    616   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    617   for dir in $PATH /usr/ucb; do
    618     IFS="$lt_save_ifs"
    619     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    620        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    621        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    622        test "X$echo_testing_string" = "X$echo_test_string"; then
    623       echo="$dir/echo"
    624       break
    625     fi
    626   done
    627   IFS="$lt_save_ifs"
    628 
    629   if test "X$echo" = Xecho; then
    630     # We didn't find a better echo, so look for alternatives.
    631     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    632        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    633        test "X$echo_testing_string" = "X$echo_test_string"; then
    634       # This shell has a builtin print -r that does the trick.
    635       echo='print -r'
    636     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    637 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    638       # If we have ksh, try running configure again with it.
    639       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    640       export ORIGINAL_CONFIG_SHELL
    641       CONFIG_SHELL=/bin/ksh
    642       export CONFIG_SHELL
    643       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    644     else
    645       # Try using printf.
    646       echo='printf %s\n'
    647       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    648 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    649 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    650 	# Cool, printf works
    651 	:
    652       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    653 	   test "X$echo_testing_string" = 'X\t' &&
    654 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    656 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    657 	export CONFIG_SHELL
    658 	SHELL="$CONFIG_SHELL"
    659 	export SHELL
    660 	echo="$CONFIG_SHELL $0 --fallback-echo"
    661       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    662 	   test "X$echo_testing_string" = 'X\t' &&
    663 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    665 	echo="$CONFIG_SHELL $0 --fallback-echo"
    666       else
    667 	# maybe with a smaller string...
    668 	prev=:
    669 
    670 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    671 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    672 	  then
    673 	    break
    674 	  fi
    675 	  prev="$cmd"
    676 	done
    677 
    678 	if test "$prev" != 'sed 50q "$0"'; then
    679 	  echo_test_string=`eval $prev`
    680 	  export echo_test_string
    681 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    682 	else
    683 	  # Oops.  We lost completely, so just stick with echo.
    684 	  echo=echo
    685 	fi
    686       fi
    687     fi
    688   fi
    689 fi
    690 fi
    691 
    692 # Copy echo and quote the copy suitably for passing to libtool from
    693 # the Makefile, instead of quoting the original, which is used later.
    694 ECHO=$echo
    695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    696    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    697 fi
    698 
    699 
    700 
    701 
    702 tagnames=${tagnames+${tagnames},}CXX
    703 
    704 tagnames=${tagnames+${tagnames},}F77
    705 
    706 exec 7<&0 </dev/null 6>&1
    707 
    708 # Name of the host.
    709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    710 # so uname gets run too.
    711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    712 
    713 #
    714 # Initializations.
    715 #
    716 ac_default_prefix=/usr/local
    717 ac_clean_files=
    718 ac_config_libobj_dir=.
    719 LIBOBJS=
    720 cross_compiling=no
    721 subdirs=
    722 MFLAGS=
    723 MAKEFLAGS=
    724 SHELL=${CONFIG_SHELL-/bin/sh}
    725 
    726 # Identity of this package.
    727 PACKAGE_NAME='ldapcpplib'
    728 PACKAGE_TARNAME='ldapcpplib'
    729 PACKAGE_VERSION='0.0.5'
    730 PACKAGE_STRING='ldapcpplib 0.0.5'
    731 PACKAGE_BUGREPORT=''
    732 
    733 ac_unique_file="src/LDAPConnection.h"
    734 # Factoring default headers for most tests.
    735 ac_includes_default="\
    736 #include <stdio.h>
    737 #ifdef HAVE_SYS_TYPES_H
    738 # include <sys/types.h>
    739 #endif
    740 #ifdef HAVE_SYS_STAT_H
    741 # include <sys/stat.h>
    742 #endif
    743 #ifdef STDC_HEADERS
    744 # include <stdlib.h>
    745 # include <stddef.h>
    746 #else
    747 # ifdef HAVE_STDLIB_H
    748 #  include <stdlib.h>
    749 # endif
    750 #endif
    751 #ifdef HAVE_STRING_H
    752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    753 #  include <memory.h>
    754 # endif
    755 # include <string.h>
    756 #endif
    757 #ifdef HAVE_STRINGS_H
    758 # include <strings.h>
    759 #endif
    760 #ifdef HAVE_INTTYPES_H
    761 # include <inttypes.h>
    762 #endif
    763 #ifdef HAVE_STDINT_H
    764 # include <stdint.h>
    765 #endif
    766 #ifdef HAVE_UNISTD_H
    767 # include <unistd.h>
    768 #endif"
    769 
    770 ac_subst_vars='SHELL
    771 PATH_SEPARATOR
    772 PACKAGE_NAME
    773 PACKAGE_TARNAME
    774 PACKAGE_VERSION
    775 PACKAGE_STRING
    776 PACKAGE_BUGREPORT
    777 exec_prefix
    778 prefix
    779 program_transform_name
    780 bindir
    781 sbindir
    782 libexecdir
    783 datarootdir
    784 datadir
    785 sysconfdir
    786 sharedstatedir
    787 localstatedir
    788 includedir
    789 oldincludedir
    790 docdir
    791 infodir
    792 htmldir
    793 dvidir
    794 pdfdir
    795 psdir
    796 libdir
    797 localedir
    798 mandir
    799 DEFS
    800 ECHO_C
    801 ECHO_N
    802 ECHO_T
    803 LIBS
    804 build_alias
    805 host_alias
    806 target_alias
    807 INSTALL_PROGRAM
    808 INSTALL_SCRIPT
    809 INSTALL_DATA
    810 am__isrc
    811 CYGPATH_W
    812 PACKAGE
    813 VERSION
    814 ACLOCAL
    815 AUTOCONF
    816 AUTOMAKE
    817 AUTOHEADER
    818 MAKEINFO
    819 install_sh
    820 STRIP
    821 INSTALL_STRIP_PROGRAM
    822 mkdir_p
    823 AWK
    824 SET_MAKE
    825 am__leading_dot
    826 AMTAR
    827 am__tar
    828 am__untar
    829 CXX
    830 CXXFLAGS
    831 LDFLAGS
    832 CPPFLAGS
    833 ac_ct_CXX
    834 EXEEXT
    835 OBJEXT
    836 DEPDIR
    837 am__include
    838 am__quote
    839 AMDEP_TRUE
    840 AMDEP_FALSE
    841 AMDEPBACKSLASH
    842 CXXDEPMODE
    843 am__fastdepCXX_TRUE
    844 am__fastdepCXX_FALSE
    845 build
    846 build_cpu
    847 build_vendor
    848 build_os
    849 host
    850 host_cpu
    851 host_vendor
    852 host_os
    853 CC
    854 CFLAGS
    855 ac_ct_CC
    856 CCDEPMODE
    857 am__fastdepCC_TRUE
    858 am__fastdepCC_FALSE
    859 SED
    860 GREP
    861 EGREP
    862 LN_S
    863 ECHO
    864 AR
    865 RANLIB
    866 CPP
    867 CXXCPP
    868 F77
    869 FFLAGS
    870 ac_ct_F77
    871 LIBTOOL
    872 LIBOBJS
    873 LTLIBOBJS'
    874 ac_subst_files=''
    875       ac_precious_vars='build_alias
    876 host_alias
    877 target_alias
    878 CXX
    879 CXXFLAGS
    880 LDFLAGS
    881 LIBS
    882 CPPFLAGS
    883 CCC
    884 CC
    885 CFLAGS
    886 CPP
    887 CXXCPP
    888 F77
    889 FFLAGS'
    890 
    891 
    892 # Initialize some variables set by options.
    893 ac_init_help=
    894 ac_init_version=false
    895 # The variables have the same names as the options, with
    896 # dashes changed to underlines.
    897 cache_file=/dev/null
    898 exec_prefix=NONE
    899 no_create=
    900 no_recursion=
    901 prefix=NONE
    902 program_prefix=NONE
    903 program_suffix=NONE
    904 program_transform_name=s,x,x,
    905 silent=
    906 site=
    907 srcdir=
    908 verbose=
    909 x_includes=NONE
    910 x_libraries=NONE
    911 
    912 # Installation directory options.
    913 # These are left unexpanded so users can "make install exec_prefix=/foo"
    914 # and all the variables that are supposed to be based on exec_prefix
    915 # by default will actually change.
    916 # Use braces instead of parens because sh, perl, etc. also accept them.
    917 # (The list follows the same order as the GNU Coding Standards.)
    918 bindir='${exec_prefix}/bin'
    919 sbindir='${exec_prefix}/sbin'
    920 libexecdir='${exec_prefix}/libexec'
    921 datarootdir='${prefix}/share'
    922 datadir='${datarootdir}'
    923 sysconfdir='${prefix}/etc'
    924 sharedstatedir='${prefix}/com'
    925 localstatedir='${prefix}/var'
    926 includedir='${prefix}/include'
    927 oldincludedir='/usr/include'
    928 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    929 infodir='${datarootdir}/info'
    930 htmldir='${docdir}'
    931 dvidir='${docdir}'
    932 pdfdir='${docdir}'
    933 psdir='${docdir}'
    934 libdir='${exec_prefix}/lib'
    935 localedir='${datarootdir}/locale'
    936 mandir='${datarootdir}/man'
    937 
    938 ac_prev=
    939 ac_dashdash=
    940 for ac_option
    941 do
    942   # If the previous option needs an argument, assign it.
    943   if test -n "$ac_prev"; then
    944     eval $ac_prev=\$ac_option
    945     ac_prev=
    946     continue
    947   fi
    948 
    949   case $ac_option in
    950   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    951   *)	ac_optarg=yes ;;
    952   esac
    953 
    954   # Accept the important Cygnus configure options, so we can diagnose typos.
    955 
    956   case $ac_dashdash$ac_option in
    957   --)
    958     ac_dashdash=yes ;;
    959 
    960   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    961     ac_prev=bindir ;;
    962   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    963     bindir=$ac_optarg ;;
    964 
    965   -build | --build | --buil | --bui | --bu)
    966     ac_prev=build_alias ;;
    967   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    968     build_alias=$ac_optarg ;;
    969 
    970   -cache-file | --cache-file | --cache-fil | --cache-fi \
    971   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    972     ac_prev=cache_file ;;
    973   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    974   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    975     cache_file=$ac_optarg ;;
    976 
    977   --config-cache | -C)
    978     cache_file=config.cache ;;
    979 
    980   -datadir | --datadir | --datadi | --datad)
    981     ac_prev=datadir ;;
    982   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    983     datadir=$ac_optarg ;;
    984 
    985   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    986   | --dataroo | --dataro | --datar)
    987     ac_prev=datarootdir ;;
    988   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    989   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    990     datarootdir=$ac_optarg ;;
    991 
    992   -disable-* | --disable-*)
    993     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    994     # Reject names that are not valid shell variable names.
    995     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    996       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    997    { (exit 1); exit 1; }; }
    998     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    999     eval enable_$ac_feature=no ;;
   1000 
   1001   -docdir | --docdir | --docdi | --doc | --do)
   1002     ac_prev=docdir ;;
   1003   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1004     docdir=$ac_optarg ;;
   1005 
   1006   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1007     ac_prev=dvidir ;;
   1008   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1009     dvidir=$ac_optarg ;;
   1010 
   1011   -enable-* | --enable-*)
   1012     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1013     # Reject names that are not valid shell variable names.
   1014     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1015       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1016    { (exit 1); exit 1; }; }
   1017     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1018     eval enable_$ac_feature=\$ac_optarg ;;
   1019 
   1020   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1021   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1022   | --exec | --exe | --ex)
   1023     ac_prev=exec_prefix ;;
   1024   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1025   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1026   | --exec=* | --exe=* | --ex=*)
   1027     exec_prefix=$ac_optarg ;;
   1028 
   1029   -gas | --gas | --ga | --g)
   1030     # Obsolete; use --with-gas.
   1031     with_gas=yes ;;
   1032 
   1033   -help | --help | --hel | --he | -h)
   1034     ac_init_help=long ;;
   1035   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1036     ac_init_help=recursive ;;
   1037   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1038     ac_init_help=short ;;
   1039 
   1040   -host | --host | --hos | --ho)
   1041     ac_prev=host_alias ;;
   1042   -host=* | --host=* | --hos=* | --ho=*)
   1043     host_alias=$ac_optarg ;;
   1044 
   1045   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1046     ac_prev=htmldir ;;
   1047   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1048   | --ht=*)
   1049     htmldir=$ac_optarg ;;
   1050 
   1051   -includedir | --includedir | --includedi | --included | --include \
   1052   | --includ | --inclu | --incl | --inc)
   1053     ac_prev=includedir ;;
   1054   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1055   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1056     includedir=$ac_optarg ;;
   1057 
   1058   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1059     ac_prev=infodir ;;
   1060   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1061     infodir=$ac_optarg ;;
   1062 
   1063   -libdir | --libdir | --libdi | --libd)
   1064     ac_prev=libdir ;;
   1065   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1066     libdir=$ac_optarg ;;
   1067 
   1068   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1069   | --libexe | --libex | --libe)
   1070     ac_prev=libexecdir ;;
   1071   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1072   | --libexe=* | --libex=* | --libe=*)
   1073     libexecdir=$ac_optarg ;;
   1074 
   1075   -localedir | --localedir | --localedi | --localed | --locale)
   1076     ac_prev=localedir ;;
   1077   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1078     localedir=$ac_optarg ;;
   1079 
   1080   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1081   | --localstate | --localstat | --localsta | --localst | --locals)
   1082     ac_prev=localstatedir ;;
   1083   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1084   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1085     localstatedir=$ac_optarg ;;
   1086 
   1087   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1088     ac_prev=mandir ;;
   1089   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1090     mandir=$ac_optarg ;;
   1091 
   1092   -nfp | --nfp | --nf)
   1093     # Obsolete; use --without-fp.
   1094     with_fp=no ;;
   1095 
   1096   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1097   | --no-cr | --no-c | -n)
   1098     no_create=yes ;;
   1099 
   1100   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1101   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1102     no_recursion=yes ;;
   1103 
   1104   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1105   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1106   | --oldin | --oldi | --old | --ol | --o)
   1107     ac_prev=oldincludedir ;;
   1108   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1109   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1110   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1111     oldincludedir=$ac_optarg ;;
   1112 
   1113   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1114     ac_prev=prefix ;;
   1115   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1116     prefix=$ac_optarg ;;
   1117 
   1118   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1119   | --program-pre | --program-pr | --program-p)
   1120     ac_prev=program_prefix ;;
   1121   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1122   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1123     program_prefix=$ac_optarg ;;
   1124 
   1125   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1126   | --program-suf | --program-su | --program-s)
   1127     ac_prev=program_suffix ;;
   1128   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1129   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1130     program_suffix=$ac_optarg ;;
   1131 
   1132   -program-transform-name | --program-transform-name \
   1133   | --program-transform-nam | --program-transform-na \
   1134   | --program-transform-n | --program-transform- \
   1135   | --program-transform | --program-transfor \
   1136   | --program-transfo | --program-transf \
   1137   | --program-trans | --program-tran \
   1138   | --progr-tra | --program-tr | --program-t)
   1139     ac_prev=program_transform_name ;;
   1140   -program-transform-name=* | --program-transform-name=* \
   1141   | --program-transform-nam=* | --program-transform-na=* \
   1142   | --program-transform-n=* | --program-transform-=* \
   1143   | --program-transform=* | --program-transfor=* \
   1144   | --program-transfo=* | --program-transf=* \
   1145   | --program-trans=* | --program-tran=* \
   1146   | --progr-tra=* | --program-tr=* | --program-t=*)
   1147     program_transform_name=$ac_optarg ;;
   1148 
   1149   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1150     ac_prev=pdfdir ;;
   1151   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1152     pdfdir=$ac_optarg ;;
   1153 
   1154   -psdir | --psdir | --psdi | --psd | --ps)
   1155     ac_prev=psdir ;;
   1156   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1157     psdir=$ac_optarg ;;
   1158 
   1159   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1160   | -silent | --silent | --silen | --sile | --sil)
   1161     silent=yes ;;
   1162 
   1163   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1164     ac_prev=sbindir ;;
   1165   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1166   | --sbi=* | --sb=*)
   1167     sbindir=$ac_optarg ;;
   1168 
   1169   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1170   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1171   | --sharedst | --shareds | --shared | --share | --shar \
   1172   | --sha | --sh)
   1173     ac_prev=sharedstatedir ;;
   1174   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1175   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1176   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1177   | --sha=* | --sh=*)
   1178     sharedstatedir=$ac_optarg ;;
   1179 
   1180   -site | --site | --sit)
   1181     ac_prev=site ;;
   1182   -site=* | --site=* | --sit=*)
   1183     site=$ac_optarg ;;
   1184 
   1185   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1186     ac_prev=srcdir ;;
   1187   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1188     srcdir=$ac_optarg ;;
   1189 
   1190   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1191   | --syscon | --sysco | --sysc | --sys | --sy)
   1192     ac_prev=sysconfdir ;;
   1193   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1194   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1195     sysconfdir=$ac_optarg ;;
   1196 
   1197   -target | --target | --targe | --targ | --tar | --ta | --t)
   1198     ac_prev=target_alias ;;
   1199   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1200     target_alias=$ac_optarg ;;
   1201 
   1202   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1203     verbose=yes ;;
   1204 
   1205   -version | --version | --versio | --versi | --vers | -V)
   1206     ac_init_version=: ;;
   1207 
   1208   -with-* | --with-*)
   1209     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1210     # Reject names that are not valid shell variable names.
   1211     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1212       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1213    { (exit 1); exit 1; }; }
   1214     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1215     eval with_$ac_package=\$ac_optarg ;;
   1216 
   1217   -without-* | --without-*)
   1218     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1219     # Reject names that are not valid shell variable names.
   1220     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1221       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1222    { (exit 1); exit 1; }; }
   1223     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1224     eval with_$ac_package=no ;;
   1225 
   1226   --x)
   1227     # Obsolete; use --with-x.
   1228     with_x=yes ;;
   1229 
   1230   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1231   | --x-incl | --x-inc | --x-in | --x-i)
   1232     ac_prev=x_includes ;;
   1233   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1234   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1235     x_includes=$ac_optarg ;;
   1236 
   1237   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1238   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1239     ac_prev=x_libraries ;;
   1240   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1241   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1242     x_libraries=$ac_optarg ;;
   1243 
   1244   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1245 Try \`$0 --help' for more information." >&2
   1246    { (exit 1); exit 1; }; }
   1247     ;;
   1248 
   1249   *=*)
   1250     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1251     # Reject names that are not valid shell variable names.
   1252     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1253       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1254    { (exit 1); exit 1; }; }
   1255     eval $ac_envvar=\$ac_optarg
   1256     export $ac_envvar ;;
   1257 
   1258   *)
   1259     # FIXME: should be removed in autoconf 3.0.
   1260     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1261     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1262       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1263     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1264     ;;
   1265 
   1266   esac
   1267 done
   1268 
   1269 if test -n "$ac_prev"; then
   1270   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1271   { echo "$as_me: error: missing argument to $ac_option" >&2
   1272    { (exit 1); exit 1; }; }
   1273 fi
   1274 
   1275 # Be sure to have absolute directory names.
   1276 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1277 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1278 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1279 		libdir localedir mandir
   1280 do
   1281   eval ac_val=\$$ac_var
   1282   case $ac_val in
   1283     [\\/$]* | ?:[\\/]* )  continue;;
   1284     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1285   esac
   1286   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1287    { (exit 1); exit 1; }; }
   1288 done
   1289 
   1290 # There might be people who depend on the old broken behavior: `$host'
   1291 # used to hold the argument of --host etc.
   1292 # FIXME: To remove some day.
   1293 build=$build_alias
   1294 host=$host_alias
   1295 target=$target_alias
   1296 
   1297 # FIXME: To remove some day.
   1298 if test "x$host_alias" != x; then
   1299   if test "x$build_alias" = x; then
   1300     cross_compiling=maybe
   1301     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1302     If a cross compiler is detected then cross compile mode will be used." >&2
   1303   elif test "x$build_alias" != "x$host_alias"; then
   1304     cross_compiling=yes
   1305   fi
   1306 fi
   1307 
   1308 ac_tool_prefix=
   1309 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1310 
   1311 test "$silent" = yes && exec 6>/dev/null
   1312 
   1313 
   1314 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1315 ac_ls_di=`ls -di .` &&
   1316 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1317   { echo "$as_me: error: Working directory cannot be determined" >&2
   1318    { (exit 1); exit 1; }; }
   1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1320   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1321    { (exit 1); exit 1; }; }
   1322 
   1323 
   1324 # Find the source files, if location was not specified.
   1325 if test -z "$srcdir"; then
   1326   ac_srcdir_defaulted=yes
   1327   # Try the directory containing this script, then the parent directory.
   1328   ac_confdir=`$as_dirname -- "$0" ||
   1329 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1330 	 X"$0" : 'X\(//\)[^/]' \| \
   1331 	 X"$0" : 'X\(//\)$' \| \
   1332 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1333 echo X"$0" |
   1334     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1335 	    s//\1/
   1336 	    q
   1337 	  }
   1338 	  /^X\(\/\/\)[^/].*/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  /^X\(\/\/\)$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\).*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  s/.*/./; q'`
   1351   srcdir=$ac_confdir
   1352   if test ! -r "$srcdir/$ac_unique_file"; then
   1353     srcdir=..
   1354   fi
   1355 else
   1356   ac_srcdir_defaulted=no
   1357 fi
   1358 if test ! -r "$srcdir/$ac_unique_file"; then
   1359   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1360   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1361    { (exit 1); exit 1; }; }
   1362 fi
   1363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1364 ac_abs_confdir=`(
   1365 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1366    { (exit 1); exit 1; }; }
   1367 	pwd)`
   1368 # When building in place, set srcdir=.
   1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1370   srcdir=.
   1371 fi
   1372 # Remove unnecessary trailing slashes from srcdir.
   1373 # Double slashes in file names in object file debugging info
   1374 # mess up M-x gdb in Emacs.
   1375 case $srcdir in
   1376 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1377 esac
   1378 for ac_var in $ac_precious_vars; do
   1379   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1380   eval ac_env_${ac_var}_value=\$${ac_var}
   1381   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1382   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1383 done
   1384 
   1385 #
   1386 # Report the --help message.
   1387 #
   1388 if test "$ac_init_help" = "long"; then
   1389   # Omit some internal or obsolete options to make the list less imposing.
   1390   # This message is too long to be a string in the A/UX 3.1 sh.
   1391   cat <<_ACEOF
   1392 \`configure' configures ldapcpplib 0.0.5 to adapt to many kinds of systems.
   1393 
   1394 Usage: $0 [OPTION]... [VAR=VALUE]...
   1395 
   1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1397 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1398 
   1399 Defaults for the options are specified in brackets.
   1400 
   1401 Configuration:
   1402   -h, --help              display this help and exit
   1403       --help=short        display options specific to this package
   1404       --help=recursive    display the short help of all the included packages
   1405   -V, --version           display version information and exit
   1406   -q, --quiet, --silent   do not print \`checking...' messages
   1407       --cache-file=FILE   cache test results in FILE [disabled]
   1408   -C, --config-cache      alias for \`--cache-file=config.cache'
   1409   -n, --no-create         do not create output files
   1410       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1411 
   1412 Installation directories:
   1413   --prefix=PREFIX         install architecture-independent files in PREFIX
   1414 			  [$ac_default_prefix]
   1415   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1416 			  [PREFIX]
   1417 
   1418 By default, \`make install' will install all the files in
   1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1421 for instance \`--prefix=\$HOME'.
   1422 
   1423 For better control, use the options below.
   1424 
   1425 Fine tuning of the installation directories:
   1426   --bindir=DIR           user executables [EPREFIX/bin]
   1427   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1428   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1429   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1430   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1431   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1432   --libdir=DIR           object code libraries [EPREFIX/lib]
   1433   --includedir=DIR       C header files [PREFIX/include]
   1434   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1435   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1436   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1437   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1438   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1439   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1440   --docdir=DIR           documentation root [DATAROOTDIR/doc/ldapcpplib]
   1441   --htmldir=DIR          html documentation [DOCDIR]
   1442   --dvidir=DIR           dvi documentation [DOCDIR]
   1443   --pdfdir=DIR           pdf documentation [DOCDIR]
   1444   --psdir=DIR            ps documentation [DOCDIR]
   1445 _ACEOF
   1446 
   1447   cat <<\_ACEOF
   1448 
   1449 Program names:
   1450   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1451   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1452   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1453 
   1454 System types:
   1455   --build=BUILD     configure for building on BUILD [guessed]
   1456   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1457 _ACEOF
   1458 fi
   1459 
   1460 if test -n "$ac_init_help"; then
   1461   case $ac_init_help in
   1462      short | recursive ) echo "Configuration of ldapcpplib 0.0.5:";;
   1463    esac
   1464   cat <<\_ACEOF
   1465 
   1466 Optional Features:
   1467   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1468   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1469   --disable-dependency-tracking  speeds up one-time build
   1470   --enable-dependency-tracking   do not reject slow dependency extractors
   1471   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1472   --enable-static[=PKGS]  build static libraries [default=yes]
   1473   --enable-fast-install[=PKGS]
   1474                           optimize for fast installation [default=yes]
   1475   --disable-libtool-lock  avoid locking (might break parallel builds)
   1476   --enable-debug
   1477 
   1478 Optional Packages:
   1479   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1480   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1481   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1482   --with-pic              try to use only PIC/non-PIC objects [default=use
   1483                           both]
   1484   --with-tags[=TAGS]      include additional configurations [automatic]
   1485   --with-libldap=DIR          Path to the libldap library /usr/local/lib
   1486   --with-ldap-includes=DIR    Path to the libldap include files /usr/local/include
   1487 
   1488 Some influential environment variables:
   1489   CXX         C++ compiler command
   1490   CXXFLAGS    C++ compiler flags
   1491   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1492               nonstandard directory <lib dir>
   1493   LIBS        libraries to pass to the linker, e.g. -l<library>
   1494   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1495               you have headers in a nonstandard directory <include dir>
   1496   CC          C compiler command
   1497   CFLAGS      C compiler flags
   1498   CPP         C preprocessor
   1499   CXXCPP      C++ preprocessor
   1500   F77         Fortran 77 compiler command
   1501   FFLAGS      Fortran 77 compiler flags
   1502 
   1503 Use these variables to override the choices made by `configure' or to help
   1504 it to find libraries and programs with nonstandard names/locations.
   1505 
   1506 _ACEOF
   1507 ac_status=$?
   1508 fi
   1509 
   1510 if test "$ac_init_help" = "recursive"; then
   1511   # If there are subdirs, report their specific --help.
   1512   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1513     test -d "$ac_dir" || continue
   1514     ac_builddir=.
   1515 
   1516 case "$ac_dir" in
   1517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1518 *)
   1519   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1520   # A ".." for each directory in $ac_dir_suffix.
   1521   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1522   case $ac_top_builddir_sub in
   1523   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1524   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1525   esac ;;
   1526 esac
   1527 ac_abs_top_builddir=$ac_pwd
   1528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1529 # for backward compatibility:
   1530 ac_top_builddir=$ac_top_build_prefix
   1531 
   1532 case $srcdir in
   1533   .)  # We are building in place.
   1534     ac_srcdir=.
   1535     ac_top_srcdir=$ac_top_builddir_sub
   1536     ac_abs_top_srcdir=$ac_pwd ;;
   1537   [\\/]* | ?:[\\/]* )  # Absolute name.
   1538     ac_srcdir=$srcdir$ac_dir_suffix;
   1539     ac_top_srcdir=$srcdir
   1540     ac_abs_top_srcdir=$srcdir ;;
   1541   *) # Relative name.
   1542     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1543     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1544     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1545 esac
   1546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1547 
   1548     cd "$ac_dir" || { ac_status=$?; continue; }
   1549     # Check for guested configure.
   1550     if test -f "$ac_srcdir/configure.gnu"; then
   1551       echo &&
   1552       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1553     elif test -f "$ac_srcdir/configure"; then
   1554       echo &&
   1555       $SHELL "$ac_srcdir/configure" --help=recursive
   1556     else
   1557       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1558     fi || ac_status=$?
   1559     cd "$ac_pwd" || { ac_status=$?; break; }
   1560   done
   1561 fi
   1562 
   1563 test -n "$ac_init_help" && exit $ac_status
   1564 if $ac_init_version; then
   1565   cat <<\_ACEOF
   1566 ldapcpplib configure 0.0.5
   1567 generated by GNU Autoconf 2.61
   1568 
   1569 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1570 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1571 This configure script is free software; the Free Software Foundation
   1572 gives unlimited permission to copy, distribute and modify it.
   1573 _ACEOF
   1574   exit
   1575 fi
   1576 cat >config.log <<_ACEOF
   1577 This file contains any messages produced by compilers while
   1578 running configure, to aid debugging if configure makes a mistake.
   1579 
   1580 It was created by ldapcpplib $as_me 0.0.5, which was
   1581 generated by GNU Autoconf 2.61.  Invocation command line was
   1582 
   1583   $ $0 $@
   1584 
   1585 _ACEOF
   1586 exec 5>>config.log
   1587 {
   1588 cat <<_ASUNAME
   1589 ## --------- ##
   1590 ## Platform. ##
   1591 ## --------- ##
   1592 
   1593 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1594 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1595 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1596 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1597 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1598 
   1599 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1600 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1601 
   1602 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1603 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1604 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1605 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1606 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1607 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1608 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1609 
   1610 _ASUNAME
   1611 
   1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1613 for as_dir in $PATH
   1614 do
   1615   IFS=$as_save_IFS
   1616   test -z "$as_dir" && as_dir=.
   1617   echo "PATH: $as_dir"
   1618 done
   1619 IFS=$as_save_IFS
   1620 
   1621 } >&5
   1622 
   1623 cat >&5 <<_ACEOF
   1624 
   1625 
   1626 ## ----------- ##
   1627 ## Core tests. ##
   1628 ## ----------- ##
   1629 
   1630 _ACEOF
   1631 
   1632 
   1633 # Keep a trace of the command line.
   1634 # Strip out --no-create and --no-recursion so they do not pile up.
   1635 # Strip out --silent because we don't want to record it for future runs.
   1636 # Also quote any args containing shell meta-characters.
   1637 # Make two passes to allow for proper duplicate-argument suppression.
   1638 ac_configure_args=
   1639 ac_configure_args0=
   1640 ac_configure_args1=
   1641 ac_must_keep_next=false
   1642 for ac_pass in 1 2
   1643 do
   1644   for ac_arg
   1645   do
   1646     case $ac_arg in
   1647     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1648     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1649     | -silent | --silent | --silen | --sile | --sil)
   1650       continue ;;
   1651     *\'*)
   1652       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1653     esac
   1654     case $ac_pass in
   1655     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1656     2)
   1657       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1658       if test $ac_must_keep_next = true; then
   1659 	ac_must_keep_next=false # Got value, back to normal.
   1660       else
   1661 	case $ac_arg in
   1662 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1663 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1664 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1665 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1666 	    case "$ac_configure_args0 " in
   1667 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1668 	    esac
   1669 	    ;;
   1670 	  -* ) ac_must_keep_next=true ;;
   1671 	esac
   1672       fi
   1673       ac_configure_args="$ac_configure_args '$ac_arg'"
   1674       ;;
   1675     esac
   1676   done
   1677 done
   1678 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1679 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1680 
   1681 # When interrupted or exit'd, cleanup temporary files, and complete
   1682 # config.log.  We remove comments because anyway the quotes in there
   1683 # would cause problems or look ugly.
   1684 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1685 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1686 trap 'exit_status=$?
   1687   # Save into config.log some information that might help in debugging.
   1688   {
   1689     echo
   1690 
   1691     cat <<\_ASBOX
   1692 ## ---------------- ##
   1693 ## Cache variables. ##
   1694 ## ---------------- ##
   1695 _ASBOX
   1696     echo
   1697     # The following way of writing the cache mishandles newlines in values,
   1698 (
   1699   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1700     eval ac_val=\$$ac_var
   1701     case $ac_val in #(
   1702     *${as_nl}*)
   1703       case $ac_var in #(
   1704       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1706       esac
   1707       case $ac_var in #(
   1708       _ | IFS | as_nl) ;; #(
   1709       *) $as_unset $ac_var ;;
   1710       esac ;;
   1711     esac
   1712   done
   1713   (set) 2>&1 |
   1714     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1715     *${as_nl}ac_space=\ *)
   1716       sed -n \
   1717 	"s/'\''/'\''\\\\'\'''\''/g;
   1718 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1719       ;; #(
   1720     *)
   1721       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1722       ;;
   1723     esac |
   1724     sort
   1725 )
   1726     echo
   1727 
   1728     cat <<\_ASBOX
   1729 ## ----------------- ##
   1730 ## Output variables. ##
   1731 ## ----------------- ##
   1732 _ASBOX
   1733     echo
   1734     for ac_var in $ac_subst_vars
   1735     do
   1736       eval ac_val=\$$ac_var
   1737       case $ac_val in
   1738       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1739       esac
   1740       echo "$ac_var='\''$ac_val'\''"
   1741     done | sort
   1742     echo
   1743 
   1744     if test -n "$ac_subst_files"; then
   1745       cat <<\_ASBOX
   1746 ## ------------------- ##
   1747 ## File substitutions. ##
   1748 ## ------------------- ##
   1749 _ASBOX
   1750       echo
   1751       for ac_var in $ac_subst_files
   1752       do
   1753 	eval ac_val=\$$ac_var
   1754 	case $ac_val in
   1755 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1756 	esac
   1757 	echo "$ac_var='\''$ac_val'\''"
   1758       done | sort
   1759       echo
   1760     fi
   1761 
   1762     if test -s confdefs.h; then
   1763       cat <<\_ASBOX
   1764 ## ----------- ##
   1765 ## confdefs.h. ##
   1766 ## ----------- ##
   1767 _ASBOX
   1768       echo
   1769       cat confdefs.h
   1770       echo
   1771     fi
   1772     test "$ac_signal" != 0 &&
   1773       echo "$as_me: caught signal $ac_signal"
   1774     echo "$as_me: exit $exit_status"
   1775   } >&5
   1776   rm -f core *.core core.conftest.* &&
   1777     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1778     exit $exit_status
   1779 ' 0
   1780 for ac_signal in 1 2 13 15; do
   1781   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1782 done
   1783 ac_signal=0
   1784 
   1785 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1786 rm -f -r conftest* confdefs.h
   1787 
   1788 # Predefined preprocessor variables.
   1789 
   1790 cat >>confdefs.h <<_ACEOF
   1791 #define PACKAGE_NAME "$PACKAGE_NAME"
   1792 _ACEOF
   1793 
   1794 
   1795 cat >>confdefs.h <<_ACEOF
   1796 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1797 _ACEOF
   1798 
   1799 
   1800 cat >>confdefs.h <<_ACEOF
   1801 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1802 _ACEOF
   1803 
   1804 
   1805 cat >>confdefs.h <<_ACEOF
   1806 #define PACKAGE_STRING "$PACKAGE_STRING"
   1807 _ACEOF
   1808 
   1809 
   1810 cat >>confdefs.h <<_ACEOF
   1811 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1812 _ACEOF
   1813 
   1814 
   1815 # Let the site file select an alternate cache file if it wants to.
   1816 # Prefer explicitly selected file to automatically selected ones.
   1817 if test -n "$CONFIG_SITE"; then
   1818   set x "$CONFIG_SITE"
   1819 elif test "x$prefix" != xNONE; then
   1820   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1821 else
   1822   set x "$ac_default_prefix/share/config.site" \
   1823 	"$ac_default_prefix/etc/config.site"
   1824 fi
   1825 shift
   1826 for ac_site_file
   1827 do
   1828   if test -r "$ac_site_file"; then
   1829     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1830 echo "$as_me: loading site script $ac_site_file" >&6;}
   1831     sed 's/^/| /' "$ac_site_file" >&5
   1832     . "$ac_site_file"
   1833   fi
   1834 done
   1835 
   1836 if test -r "$cache_file"; then
   1837   # Some versions of bash will fail to source /dev/null (special
   1838   # files actually), so we avoid doing that.
   1839   if test -f "$cache_file"; then
   1840     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1841 echo "$as_me: loading cache $cache_file" >&6;}
   1842     case $cache_file in
   1843       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1844       *)                      . "./$cache_file";;
   1845     esac
   1846   fi
   1847 else
   1848   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1849 echo "$as_me: creating cache $cache_file" >&6;}
   1850   >$cache_file
   1851 fi
   1852 
   1853 # Check that the precious variables saved in the cache have kept the same
   1854 # value.
   1855 ac_cache_corrupted=false
   1856 for ac_var in $ac_precious_vars; do
   1857   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1858   eval ac_new_set=\$ac_env_${ac_var}_set
   1859   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1860   eval ac_new_val=\$ac_env_${ac_var}_value
   1861   case $ac_old_set,$ac_new_set in
   1862     set,)
   1863       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1864 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1865       ac_cache_corrupted=: ;;
   1866     ,set)
   1867       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1868 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1869       ac_cache_corrupted=: ;;
   1870     ,);;
   1871     *)
   1872       if test "x$ac_old_val" != "x$ac_new_val"; then
   1873 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1874 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1875 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1876 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1877 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1878 echo "$as_me:   current value: $ac_new_val" >&2;}
   1879 	ac_cache_corrupted=:
   1880       fi;;
   1881   esac
   1882   # Pass precious variables to config.status.
   1883   if test "$ac_new_set" = set; then
   1884     case $ac_new_val in
   1885     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1886     *) ac_arg=$ac_var=$ac_new_val ;;
   1887     esac
   1888     case " $ac_configure_args " in
   1889       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1890       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1891     esac
   1892   fi
   1893 done
   1894 if $ac_cache_corrupted; then
   1895   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1896 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1897   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1898 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1899    { (exit 1); exit 1; }; }
   1900 fi
   1901 
   1902 
   1903 
   1904 
   1905 
   1906 
   1907 
   1908 
   1909 
   1910 
   1911 
   1912 
   1913 
   1914 
   1915 
   1916 
   1917 
   1918 
   1919 
   1920 
   1921 
   1922 
   1923 
   1924 
   1925 
   1926 ac_ext=c
   1927 ac_cpp='$CPP $CPPFLAGS'
   1928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1931 
   1932 
   1933 
   1934 am__api_version='1.10'
   1935 
   1936 ac_aux_dir=
   1937 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1938   if test -f "$ac_dir/install-sh"; then
   1939     ac_aux_dir=$ac_dir
   1940     ac_install_sh="$ac_aux_dir/install-sh -c"
   1941     break
   1942   elif test -f "$ac_dir/install.sh"; then
   1943     ac_aux_dir=$ac_dir
   1944     ac_install_sh="$ac_aux_dir/install.sh -c"
   1945     break
   1946   elif test -f "$ac_dir/shtool"; then
   1947     ac_aux_dir=$ac_dir
   1948     ac_install_sh="$ac_aux_dir/shtool install -c"
   1949     break
   1950   fi
   1951 done
   1952 if test -z "$ac_aux_dir"; then
   1953   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1954 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1955    { (exit 1); exit 1; }; }
   1956 fi
   1957 
   1958 # These three variables are undocumented and unsupported,
   1959 # and are intended to be withdrawn in a future Autoconf release.
   1960 # They can cause serious problems if a builder's source tree is in a directory
   1961 # whose full name contains unusual characters.
   1962 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1963 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1964 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1965 
   1966 
   1967 # Find a good install program.  We prefer a C program (faster),
   1968 # so one script is as good as another.  But avoid the broken or
   1969 # incompatible versions:
   1970 # SysV /etc/install, /usr/sbin/install
   1971 # SunOS /usr/etc/install
   1972 # IRIX /sbin/install
   1973 # AIX /bin/install
   1974 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1975 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1976 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1977 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1978 # OS/2's system install, which has a completely different semantic
   1979 # ./install, which can be erroneously created by make from ./install.sh.
   1980 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1981 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   1982 if test -z "$INSTALL"; then
   1983 if test "${ac_cv_path_install+set}" = set; then
   1984   echo $ECHO_N "(cached) $ECHO_C" >&6
   1985 else
   1986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1987 for as_dir in $PATH
   1988 do
   1989   IFS=$as_save_IFS
   1990   test -z "$as_dir" && as_dir=.
   1991   # Account for people who put trailing slashes in PATH elements.
   1992 case $as_dir/ in
   1993   ./ | .// | /cC/* | \
   1994   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1995   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1996   /usr/ucb/* ) ;;
   1997   *)
   1998     # OSF1 and SCO ODT 3.0 have their own names for install.
   1999     # Don't use installbsd from OSF since it installs stuff as root
   2000     # by default.
   2001     for ac_prog in ginstall scoinst install; do
   2002       for ac_exec_ext in '' $ac_executable_extensions; do
   2003 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2004 	  if test $ac_prog = install &&
   2005 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2006 	    # AIX install.  It has an incompatible calling convention.
   2007 	    :
   2008 	  elif test $ac_prog = install &&
   2009 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2010 	    # program-specific install script used by HP pwplus--don't use.
   2011 	    :
   2012 	  else
   2013 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2014 	    break 3
   2015 	  fi
   2016 	fi
   2017       done
   2018     done
   2019     ;;
   2020 esac
   2021 done
   2022 IFS=$as_save_IFS
   2023 
   2024 
   2025 fi
   2026   if test "${ac_cv_path_install+set}" = set; then
   2027     INSTALL=$ac_cv_path_install
   2028   else
   2029     # As a last resort, use the slow shell script.  Don't cache a
   2030     # value for INSTALL within a source directory, because that will
   2031     # break other packages using the cache if that directory is
   2032     # removed, or if the value is a relative name.
   2033     INSTALL=$ac_install_sh
   2034   fi
   2035 fi
   2036 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2037 echo "${ECHO_T}$INSTALL" >&6; }
   2038 
   2039 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2040 # It thinks the first close brace ends the variable substitution.
   2041 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2042 
   2043 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2044 
   2045 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2046 
   2047 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2048 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2049 # Just in case
   2050 sleep 1
   2051 echo timestamp > conftest.file
   2052 # Do `set' in a subshell so we don't clobber the current shell's
   2053 # arguments.  Must try -L first in case configure is actually a
   2054 # symlink; some systems play weird games with the mod time of symlinks
   2055 # (eg FreeBSD returns the mod time of the symlink's containing
   2056 # directory).
   2057 if (
   2058    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2059    if test "$*" = "X"; then
   2060       # -L didn't work.
   2061       set X `ls -t $srcdir/configure conftest.file`
   2062    fi
   2063    rm -f conftest.file
   2064    if test "$*" != "X $srcdir/configure conftest.file" \
   2065       && test "$*" != "X conftest.file $srcdir/configure"; then
   2066 
   2067       # If neither matched, then we have a broken ls.  This can happen
   2068       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2069       # broken ls alias from the environment.  This has actually
   2070       # happened.  Such a system could not be considered "sane".
   2071       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2072 alias in your environment" >&5
   2073 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2074 alias in your environment" >&2;}
   2075    { (exit 1); exit 1; }; }
   2076    fi
   2077 
   2078    test "$2" = conftest.file
   2079    )
   2080 then
   2081    # Ok.
   2082    :
   2083 else
   2084    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2085 Check your system clock" >&5
   2086 echo "$as_me: error: newly created file is older than distributed files!
   2087 Check your system clock" >&2;}
   2088    { (exit 1); exit 1; }; }
   2089 fi
   2090 { echo "$as_me:$LINENO: result: yes" >&5
   2091 echo "${ECHO_T}yes" >&6; }
   2092 test "$program_prefix" != NONE &&
   2093   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2094 # Use a double $ so make ignores it.
   2095 test "$program_suffix" != NONE &&
   2096   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2097 # Double any \ or $.  echo might interpret backslashes.
   2098 # By default was `s,x,x', remove it if useless.
   2099 cat <<\_ACEOF >conftest.sed
   2100 s/[\\$]/&&/g;s/;s,x,x,$//
   2101 _ACEOF
   2102 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2103 rm -f conftest.sed
   2104 
   2105 # expand $ac_aux_dir to an absolute path
   2106 am_aux_dir=`cd $ac_aux_dir && pwd`
   2107 
   2108 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2109 # Use eval to expand $SHELL
   2110 if eval "$MISSING --run true"; then
   2111   am_missing_run="$MISSING --run "
   2112 else
   2113   am_missing_run=
   2114   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2115 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2116 fi
   2117 
   2118 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2119 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2120 if test -z "$MKDIR_P"; then
   2121   if test "${ac_cv_path_mkdir+set}" = set; then
   2122   echo $ECHO_N "(cached) $ECHO_C" >&6
   2123 else
   2124   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2125 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2126 do
   2127   IFS=$as_save_IFS
   2128   test -z "$as_dir" && as_dir=.
   2129   for ac_prog in mkdir gmkdir; do
   2130 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2131 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2132 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2133 	     'mkdir (GNU coreutils) '* | \
   2134 	     'mkdir (coreutils) '* | \
   2135 	     'mkdir (fileutils) '4.1*)
   2136 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2137 	       break 3;;
   2138 	   esac
   2139 	 done
   2140        done
   2141 done
   2142 IFS=$as_save_IFS
   2143 
   2144 fi
   2145 
   2146   if test "${ac_cv_path_mkdir+set}" = set; then
   2147     MKDIR_P="$ac_cv_path_mkdir -p"
   2148   else
   2149     # As a last resort, use the slow shell script.  Don't cache a
   2150     # value for MKDIR_P within a source directory, because that will
   2151     # break other packages using the cache if that directory is
   2152     # removed, or if the value is a relative name.
   2153     test -d ./--version && rmdir ./--version
   2154     MKDIR_P="$ac_install_sh -d"
   2155   fi
   2156 fi
   2157 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2158 echo "${ECHO_T}$MKDIR_P" >&6; }
   2159 
   2160 mkdir_p="$MKDIR_P"
   2161 case $mkdir_p in
   2162   [\\/$]* | ?:[\\/]*) ;;
   2163   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2164 esac
   2165 
   2166 for ac_prog in gawk mawk nawk awk
   2167 do
   2168   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2169 set dummy $ac_prog; ac_word=$2
   2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2172 if test "${ac_cv_prog_AWK+set}" = set; then
   2173   echo $ECHO_N "(cached) $ECHO_C" >&6
   2174 else
   2175   if test -n "$AWK"; then
   2176   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2177 else
   2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2179 for as_dir in $PATH
   2180 do
   2181   IFS=$as_save_IFS
   2182   test -z "$as_dir" && as_dir=.
   2183   for ac_exec_ext in '' $ac_executable_extensions; do
   2184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2185     ac_cv_prog_AWK="$ac_prog"
   2186     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2187     break 2
   2188   fi
   2189 done
   2190 done
   2191 IFS=$as_save_IFS
   2192 
   2193 fi
   2194 fi
   2195 AWK=$ac_cv_prog_AWK
   2196 if test -n "$AWK"; then
   2197   { echo "$as_me:$LINENO: result: $AWK" >&5
   2198 echo "${ECHO_T}$AWK" >&6; }
   2199 else
   2200   { echo "$as_me:$LINENO: result: no" >&5
   2201 echo "${ECHO_T}no" >&6; }
   2202 fi
   2203 
   2204 
   2205   test -n "$AWK" && break
   2206 done
   2207 
   2208 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2209 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2210 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2211 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2212   echo $ECHO_N "(cached) $ECHO_C" >&6
   2213 else
   2214   cat >conftest.make <<\_ACEOF
   2215 SHELL = /bin/sh
   2216 all:
   2217 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2218 _ACEOF
   2219 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2220 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2221   *@@@%%%=?*=@@@%%%*)
   2222     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2223   *)
   2224     eval ac_cv_prog_make_${ac_make}_set=no;;
   2225 esac
   2226 rm -f conftest.make
   2227 fi
   2228 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2229   { echo "$as_me:$LINENO: result: yes" >&5
   2230 echo "${ECHO_T}yes" >&6; }
   2231   SET_MAKE=
   2232 else
   2233   { echo "$as_me:$LINENO: result: no" >&5
   2234 echo "${ECHO_T}no" >&6; }
   2235   SET_MAKE="MAKE=${MAKE-make}"
   2236 fi
   2237 
   2238 rm -rf .tst 2>/dev/null
   2239 mkdir .tst 2>/dev/null
   2240 if test -d .tst; then
   2241   am__leading_dot=.
   2242 else
   2243   am__leading_dot=_
   2244 fi
   2245 rmdir .tst 2>/dev/null
   2246 
   2247 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2248   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2249   # is not polluted with repeated "-I."
   2250   am__isrc=' -I$(srcdir)'
   2251   # test to see if srcdir already configured
   2252   if test -f $srcdir/config.status; then
   2253     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2254 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2255    { (exit 1); exit 1; }; }
   2256   fi
   2257 fi
   2258 
   2259 # test whether we have cygpath
   2260 if test -z "$CYGPATH_W"; then
   2261   if (cygpath --version) >/dev/null 2>/dev/null; then
   2262     CYGPATH_W='cygpath -w'
   2263   else
   2264     CYGPATH_W=echo
   2265   fi
   2266 fi
   2267 
   2268 
   2269 # Define the identity of the package.
   2270  PACKAGE='ldapcpplib'
   2271  VERSION='0.0.5'
   2272 
   2273 
   2274 cat >>confdefs.h <<_ACEOF
   2275 #define PACKAGE "$PACKAGE"
   2276 _ACEOF
   2277 
   2278 
   2279 cat >>confdefs.h <<_ACEOF
   2280 #define VERSION "$VERSION"
   2281 _ACEOF
   2282 
   2283 # Some tools Automake needs.
   2284 
   2285 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2286 
   2287 
   2288 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2289 
   2290 
   2291 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2292 
   2293 
   2294 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2295 
   2296 
   2297 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2298 
   2299 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2300 
   2301 # Installed binaries are usually stripped using `strip' when the user
   2302 # run `make install-strip'.  However `strip' might not be the right
   2303 # tool to use in cross-compilation environments, therefore Automake
   2304 # will honor the `STRIP' environment variable to overrule this program.
   2305 if test "$cross_compiling" != no; then
   2306   if test -n "$ac_tool_prefix"; then
   2307   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2308 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2311 if test "${ac_cv_prog_STRIP+set}" = set; then
   2312   echo $ECHO_N "(cached) $ECHO_C" >&6
   2313 else
   2314   if test -n "$STRIP"; then
   2315   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2316 else
   2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2318 for as_dir in $PATH
   2319 do
   2320   IFS=$as_save_IFS
   2321   test -z "$as_dir" && as_dir=.
   2322   for ac_exec_ext in '' $ac_executable_extensions; do
   2323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2324     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2325     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2326     break 2
   2327   fi
   2328 done
   2329 done
   2330 IFS=$as_save_IFS
   2331 
   2332 fi
   2333 fi
   2334 STRIP=$ac_cv_prog_STRIP
   2335 if test -n "$STRIP"; then
   2336   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2337 echo "${ECHO_T}$STRIP" >&6; }
   2338 else
   2339   { echo "$as_me:$LINENO: result: no" >&5
   2340 echo "${ECHO_T}no" >&6; }
   2341 fi
   2342 
   2343 
   2344 fi
   2345 if test -z "$ac_cv_prog_STRIP"; then
   2346   ac_ct_STRIP=$STRIP
   2347   # Extract the first word of "strip", so it can be a program name with args.
   2348 set dummy strip; ac_word=$2
   2349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2351 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2352   echo $ECHO_N "(cached) $ECHO_C" >&6
   2353 else
   2354   if test -n "$ac_ct_STRIP"; then
   2355   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2356 else
   2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2358 for as_dir in $PATH
   2359 do
   2360   IFS=$as_save_IFS
   2361   test -z "$as_dir" && as_dir=.
   2362   for ac_exec_ext in '' $ac_executable_extensions; do
   2363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2364     ac_cv_prog_ac_ct_STRIP="strip"
   2365     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2366     break 2
   2367   fi
   2368 done
   2369 done
   2370 IFS=$as_save_IFS
   2371 
   2372 fi
   2373 fi
   2374 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2375 if test -n "$ac_ct_STRIP"; then
   2376   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2377 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2378 else
   2379   { echo "$as_me:$LINENO: result: no" >&5
   2380 echo "${ECHO_T}no" >&6; }
   2381 fi
   2382 
   2383   if test "x$ac_ct_STRIP" = x; then
   2384     STRIP=":"
   2385   else
   2386     case $cross_compiling:$ac_tool_warned in
   2387 yes:)
   2388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2389 whose name does not start with the host triplet.  If you think this
   2390 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2392 whose name does not start with the host triplet.  If you think this
   2393 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2394 ac_tool_warned=yes ;;
   2395 esac
   2396     STRIP=$ac_ct_STRIP
   2397   fi
   2398 else
   2399   STRIP="$ac_cv_prog_STRIP"
   2400 fi
   2401 
   2402 fi
   2403 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2404 
   2405 # We need awk for the "check" target.  The system "awk" is bad on
   2406 # some platforms.
   2407 # Always define AMTAR for backward compatibility.
   2408 
   2409 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2410 
   2411 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2412 
   2413 
   2414 
   2415 
   2416 
   2417 ac_config_headers="$ac_config_headers src/config.h"
   2418 
   2419 
   2420 
   2421 # Find a good install program.  We prefer a C program (faster),
   2422 # so one script is as good as another.  But avoid the broken or
   2423 # incompatible versions:
   2424 # SysV /etc/install, /usr/sbin/install
   2425 # SunOS /usr/etc/install
   2426 # IRIX /sbin/install
   2427 # AIX /bin/install
   2428 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2429 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2430 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2431 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2432 # OS/2's system install, which has a completely different semantic
   2433 # ./install, which can be erroneously created by make from ./install.sh.
   2434 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2435 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2436 if test -z "$INSTALL"; then
   2437 if test "${ac_cv_path_install+set}" = set; then
   2438   echo $ECHO_N "(cached) $ECHO_C" >&6
   2439 else
   2440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2441 for as_dir in $PATH
   2442 do
   2443   IFS=$as_save_IFS
   2444   test -z "$as_dir" && as_dir=.
   2445   # Account for people who put trailing slashes in PATH elements.
   2446 case $as_dir/ in
   2447   ./ | .// | /cC/* | \
   2448   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2449   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2450   /usr/ucb/* ) ;;
   2451   *)
   2452     # OSF1 and SCO ODT 3.0 have their own names for install.
   2453     # Don't use installbsd from OSF since it installs stuff as root
   2454     # by default.
   2455     for ac_prog in ginstall scoinst install; do
   2456       for ac_exec_ext in '' $ac_executable_extensions; do
   2457 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2458 	  if test $ac_prog = install &&
   2459 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2460 	    # AIX install.  It has an incompatible calling convention.
   2461 	    :
   2462 	  elif test $ac_prog = install &&
   2463 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2464 	    # program-specific install script used by HP pwplus--don't use.
   2465 	    :
   2466 	  else
   2467 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2468 	    break 3
   2469 	  fi
   2470 	fi
   2471       done
   2472     done
   2473     ;;
   2474 esac
   2475 done
   2476 IFS=$as_save_IFS
   2477 
   2478 
   2479 fi
   2480   if test "${ac_cv_path_install+set}" = set; then
   2481     INSTALL=$ac_cv_path_install
   2482   else
   2483     # As a last resort, use the slow shell script.  Don't cache a
   2484     # value for INSTALL within a source directory, because that will
   2485     # break other packages using the cache if that directory is
   2486     # removed, or if the value is a relative name.
   2487     INSTALL=$ac_install_sh
   2488   fi
   2489 fi
   2490 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2491 echo "${ECHO_T}$INSTALL" >&6; }
   2492 
   2493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2494 # It thinks the first close brace ends the variable substitution.
   2495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2496 
   2497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2498 
   2499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2500 
   2501 ac_ext=cpp
   2502 ac_cpp='$CXXCPP $CPPFLAGS'
   2503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   2506 if test -z "$CXX"; then
   2507   if test -n "$CCC"; then
   2508     CXX=$CCC
   2509   else
   2510     if test -n "$ac_tool_prefix"; then
   2511   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   2512   do
   2513     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2514 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2517 if test "${ac_cv_prog_CXX+set}" = set; then
   2518   echo $ECHO_N "(cached) $ECHO_C" >&6
   2519 else
   2520   if test -n "$CXX"; then
   2521   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   2522 else
   2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2524 for as_dir in $PATH
   2525 do
   2526   IFS=$as_save_IFS
   2527   test -z "$as_dir" && as_dir=.
   2528   for ac_exec_ext in '' $ac_executable_extensions; do
   2529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2530     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   2531     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2532     break 2
   2533   fi
   2534 done
   2535 done
   2536 IFS=$as_save_IFS
   2537 
   2538 fi
   2539 fi
   2540 CXX=$ac_cv_prog_CXX
   2541 if test -n "$CXX"; then
   2542   { echo "$as_me:$LINENO: result: $CXX" >&5
   2543 echo "${ECHO_T}$CXX" >&6; }
   2544 else
   2545   { echo "$as_me:$LINENO: result: no" >&5
   2546 echo "${ECHO_T}no" >&6; }
   2547 fi
   2548 
   2549 
   2550     test -n "$CXX" && break
   2551   done
   2552 fi
   2553 if test -z "$CXX"; then
   2554   ac_ct_CXX=$CXX
   2555   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   2556 do
   2557   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2558 set dummy $ac_prog; ac_word=$2
   2559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2561 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   2562   echo $ECHO_N "(cached) $ECHO_C" >&6
   2563 else
   2564   if test -n "$ac_ct_CXX"; then
   2565   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   2566 else
   2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2568 for as_dir in $PATH
   2569 do
   2570   IFS=$as_save_IFS
   2571   test -z "$as_dir" && as_dir=.
   2572   for ac_exec_ext in '' $ac_executable_extensions; do
   2573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2574     ac_cv_prog_ac_ct_CXX="$ac_prog"
   2575     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2576     break 2
   2577   fi
   2578 done
   2579 done
   2580 IFS=$as_save_IFS
   2581 
   2582 fi
   2583 fi
   2584 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   2585 if test -n "$ac_ct_CXX"; then
   2586   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   2587 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   2588 else
   2589   { echo "$as_me:$LINENO: result: no" >&5
   2590 echo "${ECHO_T}no" >&6; }
   2591 fi
   2592 
   2593 
   2594   test -n "$ac_ct_CXX" && break
   2595 done
   2596 
   2597   if test "x$ac_ct_CXX" = x; then
   2598     CXX="g++"
   2599   else
   2600     case $cross_compiling:$ac_tool_warned in
   2601 yes:)
   2602 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2603 whose name does not start with the host triplet.  If you think this
   2604 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2605 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2606 whose name does not start with the host triplet.  If you think this
   2607 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2608 ac_tool_warned=yes ;;
   2609 esac
   2610     CXX=$ac_ct_CXX
   2611   fi
   2612 fi
   2613 
   2614   fi
   2615 fi
   2616 # Provide some information about the compiler.
   2617 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   2618 ac_compiler=`set X $ac_compile; echo $2`
   2619 { (ac_try="$ac_compiler --version >&5"
   2620 case "(($ac_try" in
   2621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2622   *) ac_try_echo=$ac_try;;
   2623 esac
   2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2625   (eval "$ac_compiler --version >&5") 2>&5
   2626   ac_status=$?
   2627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2628   (exit $ac_status); }
   2629 { (ac_try="$ac_compiler -v >&5"
   2630 case "(($ac_try" in
   2631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2632   *) ac_try_echo=$ac_try;;
   2633 esac
   2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2635   (eval "$ac_compiler -v >&5") 2>&5
   2636   ac_status=$?
   2637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2638   (exit $ac_status); }
   2639 { (ac_try="$ac_compiler -V >&5"
   2640 case "(($ac_try" in
   2641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2642   *) ac_try_echo=$ac_try;;
   2643 esac
   2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2645   (eval "$ac_compiler -V >&5") 2>&5
   2646   ac_status=$?
   2647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2648   (exit $ac_status); }
   2649 
   2650 cat >conftest.$ac_ext <<_ACEOF
   2651 /* confdefs.h.  */
   2652 _ACEOF
   2653 cat confdefs.h >>conftest.$ac_ext
   2654 cat >>conftest.$ac_ext <<_ACEOF
   2655 /* end confdefs.h.  */
   2656 
   2657 int
   2658 main ()
   2659 {
   2660 
   2661   ;
   2662   return 0;
   2663 }
   2664 _ACEOF
   2665 ac_clean_files_save=$ac_clean_files
   2666 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2667 # Try to create an executable without -o first, disregard a.out.
   2668 # It will help us diagnose broken compilers, and finding out an intuition
   2669 # of exeext.
   2670 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
   2671 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
   2672 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2673 #
   2674 # List of possible output files, starting from the most likely.
   2675 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2676 # only as a last resort.  b.out is created by i960 compilers.
   2677 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2678 #
   2679 # The IRIX 6 linker writes into existing files which may not be
   2680 # executable, retaining their permissions.  Remove them first so a
   2681 # subsequent execution test works.
   2682 ac_rmfiles=
   2683 for ac_file in $ac_files
   2684 do
   2685   case $ac_file in
   2686     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2687     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2688   esac
   2689 done
   2690 rm -f $ac_rmfiles
   2691 
   2692 if { (ac_try="$ac_link_default"
   2693 case "(($ac_try" in
   2694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2695   *) ac_try_echo=$ac_try;;
   2696 esac
   2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2698   (eval "$ac_link_default") 2>&5
   2699   ac_status=$?
   2700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2701   (exit $ac_status); }; then
   2702   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2704 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2705 # so that the user can short-circuit this test for compilers unknown to
   2706 # Autoconf.
   2707 for ac_file in $ac_files ''
   2708 do
   2709   test -f "$ac_file" || continue
   2710   case $ac_file in
   2711     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2712 	;;
   2713     [ab].out )
   2714 	# We found the default executable, but exeext='' is most
   2715 	# certainly right.
   2716 	break;;
   2717     *.* )
   2718         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2719 	then :; else
   2720 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2721 	fi
   2722 	# We set ac_cv_exeext here because the later test for it is not
   2723 	# safe: cross compilers may not add the suffix if given an `-o'
   2724 	# argument, so we may need to know it at that point already.
   2725 	# Even if this section looks crufty: it has the advantage of
   2726 	# actually working.
   2727 	break;;
   2728     * )
   2729 	break;;
   2730   esac
   2731 done
   2732 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2733 
   2734 else
   2735   ac_file=''
   2736 fi
   2737 
   2738 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2739 echo "${ECHO_T}$ac_file" >&6; }
   2740 if test -z "$ac_file"; then
   2741   echo "$as_me: failed program was:" >&5
   2742 sed 's/^/| /' conftest.$ac_ext >&5
   2743 
   2744 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
   2745 See \`config.log' for more details." >&5
   2746 echo "$as_me: error: C++ compiler cannot create executables
   2747 See \`config.log' for more details." >&2;}
   2748    { (exit 77); exit 77; }; }
   2749 fi
   2750 
   2751 ac_exeext=$ac_cv_exeext
   2752 
   2753 # Check that the compiler produces executables we can run.  If not, either
   2754 # the compiler is broken, or we cross compile.
   2755 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
   2756 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
   2757 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2758 # If not cross compiling, check that we can run a simple program.
   2759 if test "$cross_compiling" != yes; then
   2760   if { ac_try='./$ac_file'
   2761   { (case "(($ac_try" in
   2762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2763   *) ac_try_echo=$ac_try;;
   2764 esac
   2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2766   (eval "$ac_try") 2>&5
   2767   ac_status=$?
   2768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2769   (exit $ac_status); }; }; then
   2770     cross_compiling=no
   2771   else
   2772     if test "$cross_compiling" = maybe; then
   2773 	cross_compiling=yes
   2774     else
   2775 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
   2776 If you meant to cross compile, use \`--host'.
   2777 See \`config.log' for more details." >&5
   2778 echo "$as_me: error: cannot run C++ compiled programs.
   2779 If you meant to cross compile, use \`--host'.
   2780 See \`config.log' for more details." >&2;}
   2781    { (exit 1); exit 1; }; }
   2782     fi
   2783   fi
   2784 fi
   2785 { echo "$as_me:$LINENO: result: yes" >&5
   2786 echo "${ECHO_T}yes" >&6; }
   2787 
   2788 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2789 ac_clean_files=$ac_clean_files_save
   2790 # Check that the compiler produces executables we can run.  If not, either
   2791 # the compiler is broken, or we cross compile.
   2792 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2793 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2794 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2795 echo "${ECHO_T}$cross_compiling" >&6; }
   2796 
   2797 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2798 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2799 if { (ac_try="$ac_link"
   2800 case "(($ac_try" in
   2801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2802   *) ac_try_echo=$ac_try;;
   2803 esac
   2804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2805   (eval "$ac_link") 2>&5
   2806   ac_status=$?
   2807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2808   (exit $ac_status); }; then
   2809   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2810 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2811 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2812 # `rm'.
   2813 for ac_file in conftest.exe conftest conftest.*; do
   2814   test -f "$ac_file" || continue
   2815   case $ac_file in
   2816     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2817     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2818 	  break;;
   2819     * ) break;;
   2820   esac
   2821 done
   2822 else
   2823   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2824 See \`config.log' for more details." >&5
   2825 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2826 See \`config.log' for more details." >&2;}
   2827    { (exit 1); exit 1; }; }
   2828 fi
   2829 
   2830 rm -f conftest$ac_cv_exeext
   2831 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2832 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2833 
   2834 rm -f conftest.$ac_ext
   2835 EXEEXT=$ac_cv_exeext
   2836 ac_exeext=$EXEEXT
   2837 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2838 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2839 if test "${ac_cv_objext+set}" = set; then
   2840   echo $ECHO_N "(cached) $ECHO_C" >&6
   2841 else
   2842   cat >conftest.$ac_ext <<_ACEOF
   2843 /* confdefs.h.  */
   2844 _ACEOF
   2845 cat confdefs.h >>conftest.$ac_ext
   2846 cat >>conftest.$ac_ext <<_ACEOF
   2847 /* end confdefs.h.  */
   2848 
   2849 int
   2850 main ()
   2851 {
   2852 
   2853   ;
   2854   return 0;
   2855 }
   2856 _ACEOF
   2857 rm -f conftest.o conftest.obj
   2858 if { (ac_try="$ac_compile"
   2859 case "(($ac_try" in
   2860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2861   *) ac_try_echo=$ac_try;;
   2862 esac
   2863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2864   (eval "$ac_compile") 2>&5
   2865   ac_status=$?
   2866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2867   (exit $ac_status); }; then
   2868   for ac_file in conftest.o conftest.obj conftest.*; do
   2869   test -f "$ac_file" || continue;
   2870   case $ac_file in
   2871     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   2872     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2873        break;;
   2874   esac
   2875 done
   2876 else
   2877   echo "$as_me: failed program was:" >&5
   2878 sed 's/^/| /' conftest.$ac_ext >&5
   2879 
   2880 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2881 See \`config.log' for more details." >&5
   2882 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2883 See \`config.log' for more details." >&2;}
   2884    { (exit 1); exit 1; }; }
   2885 fi
   2886 
   2887 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2888 fi
   2889 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2890 echo "${ECHO_T}$ac_cv_objext" >&6; }
   2891 OBJEXT=$ac_cv_objext
   2892 ac_objext=$OBJEXT
   2893 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   2894 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   2895 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   2896   echo $ECHO_N "(cached) $ECHO_C" >&6
   2897 else
   2898   cat >conftest.$ac_ext <<_ACEOF
   2899 /* confdefs.h.  */
   2900 _ACEOF
   2901 cat confdefs.h >>conftest.$ac_ext
   2902 cat >>conftest.$ac_ext <<_ACEOF
   2903 /* end confdefs.h.  */
   2904 
   2905 int
   2906 main ()
   2907 {
   2908 #ifndef __GNUC__
   2909        choke me
   2910 #endif
   2911 
   2912   ;
   2913   return 0;
   2914 }
   2915 _ACEOF
   2916 rm -f conftest.$ac_objext
   2917 if { (ac_try="$ac_compile"
   2918 case "(($ac_try" in
   2919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2920   *) ac_try_echo=$ac_try;;
   2921 esac
   2922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2923   (eval "$ac_compile") 2>conftest.er1
   2924   ac_status=$?
   2925   grep -v '^ *+' conftest.er1 >conftest.err
   2926   rm -f conftest.er1
   2927   cat conftest.err >&5
   2928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2929   (exit $ac_status); } && {
   2930 	 test -z "$ac_cxx_werror_flag" ||
   2931 	 test ! -s conftest.err
   2932        } && test -s conftest.$ac_objext; then
   2933   ac_compiler_gnu=yes
   2934 else
   2935   echo "$as_me: failed program was:" >&5
   2936 sed 's/^/| /' conftest.$ac_ext >&5
   2937 
   2938 	ac_compiler_gnu=no
   2939 fi
   2940 
   2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2942 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   2943 
   2944 fi
   2945 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   2946 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   2947 GXX=`test $ac_compiler_gnu = yes && echo yes`
   2948 ac_test_CXXFLAGS=${CXXFLAGS+set}
   2949 ac_save_CXXFLAGS=$CXXFLAGS
   2950 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   2951 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   2952 if test "${ac_cv_prog_cxx_g+set}" = set; then
   2953   echo $ECHO_N "(cached) $ECHO_C" >&6
   2954 else
   2955   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   2956    ac_cxx_werror_flag=yes
   2957    ac_cv_prog_cxx_g=no
   2958    CXXFLAGS="-g"
   2959    cat >conftest.$ac_ext <<_ACEOF
   2960 /* confdefs.h.  */
   2961 _ACEOF
   2962 cat confdefs.h >>conftest.$ac_ext
   2963 cat >>conftest.$ac_ext <<_ACEOF
   2964 /* end confdefs.h.  */
   2965 
   2966 int
   2967 main ()
   2968 {
   2969 
   2970   ;
   2971   return 0;
   2972 }
   2973 _ACEOF
   2974 rm -f conftest.$ac_objext
   2975 if { (ac_try="$ac_compile"
   2976 case "(($ac_try" in
   2977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2978   *) ac_try_echo=$ac_try;;
   2979 esac
   2980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2981   (eval "$ac_compile") 2>conftest.er1
   2982   ac_status=$?
   2983   grep -v '^ *+' conftest.er1 >conftest.err
   2984   rm -f conftest.er1
   2985   cat conftest.err >&5
   2986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2987   (exit $ac_status); } && {
   2988 	 test -z "$ac_cxx_werror_flag" ||
   2989 	 test ! -s conftest.err
   2990        } && test -s conftest.$ac_objext; then
   2991   ac_cv_prog_cxx_g=yes
   2992 else
   2993   echo "$as_me: failed program was:" >&5
   2994 sed 's/^/| /' conftest.$ac_ext >&5
   2995 
   2996 	CXXFLAGS=""
   2997       cat >conftest.$ac_ext <<_ACEOF
   2998 /* confdefs.h.  */
   2999 _ACEOF
   3000 cat confdefs.h >>conftest.$ac_ext
   3001 cat >>conftest.$ac_ext <<_ACEOF
   3002 /* end confdefs.h.  */
   3003 
   3004 int
   3005 main ()
   3006 {
   3007 
   3008   ;
   3009   return 0;
   3010 }
   3011 _ACEOF
   3012 rm -f conftest.$ac_objext
   3013 if { (ac_try="$ac_compile"
   3014 case "(($ac_try" in
   3015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3016   *) ac_try_echo=$ac_try;;
   3017 esac
   3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3019   (eval "$ac_compile") 2>conftest.er1
   3020   ac_status=$?
   3021   grep -v '^ *+' conftest.er1 >conftest.err
   3022   rm -f conftest.er1
   3023   cat conftest.err >&5
   3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3025   (exit $ac_status); } && {
   3026 	 test -z "$ac_cxx_werror_flag" ||
   3027 	 test ! -s conftest.err
   3028        } && test -s conftest.$ac_objext; then
   3029   :
   3030 else
   3031   echo "$as_me: failed program was:" >&5
   3032 sed 's/^/| /' conftest.$ac_ext >&5
   3033 
   3034 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3035 	 CXXFLAGS="-g"
   3036 	 cat >conftest.$ac_ext <<_ACEOF
   3037 /* confdefs.h.  */
   3038 _ACEOF
   3039 cat confdefs.h >>conftest.$ac_ext
   3040 cat >>conftest.$ac_ext <<_ACEOF
   3041 /* end confdefs.h.  */
   3042 
   3043 int
   3044 main ()
   3045 {
   3046 
   3047   ;
   3048   return 0;
   3049 }
   3050 _ACEOF
   3051 rm -f conftest.$ac_objext
   3052 if { (ac_try="$ac_compile"
   3053 case "(($ac_try" in
   3054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3055   *) ac_try_echo=$ac_try;;
   3056 esac
   3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3058   (eval "$ac_compile") 2>conftest.er1
   3059   ac_status=$?
   3060   grep -v '^ *+' conftest.er1 >conftest.err
   3061   rm -f conftest.er1
   3062   cat conftest.err >&5
   3063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3064   (exit $ac_status); } && {
   3065 	 test -z "$ac_cxx_werror_flag" ||
   3066 	 test ! -s conftest.err
   3067        } && test -s conftest.$ac_objext; then
   3068   ac_cv_prog_cxx_g=yes
   3069 else
   3070   echo "$as_me: failed program was:" >&5
   3071 sed 's/^/| /' conftest.$ac_ext >&5
   3072 
   3073 
   3074 fi
   3075 
   3076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3077 fi
   3078 
   3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3080 fi
   3081 
   3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3083    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3084 fi
   3085 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   3086 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   3087 if test "$ac_test_CXXFLAGS" = set; then
   3088   CXXFLAGS=$ac_save_CXXFLAGS
   3089 elif test $ac_cv_prog_cxx_g = yes; then
   3090   if test "$GXX" = yes; then
   3091     CXXFLAGS="-g -O2"
   3092   else
   3093     CXXFLAGS="-g"
   3094   fi
   3095 else
   3096   if test "$GXX" = yes; then
   3097     CXXFLAGS="-O2"
   3098   else
   3099     CXXFLAGS=
   3100   fi
   3101 fi
   3102 ac_ext=c
   3103 ac_cpp='$CPP $CPPFLAGS'
   3104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3107 DEPDIR="${am__leading_dot}deps"
   3108 
   3109 ac_config_commands="$ac_config_commands depfiles"
   3110 
   3111 
   3112 am_make=${MAKE-make}
   3113 cat > confinc << 'END'
   3114 am__doit:
   3115 	@echo done
   3116 .PHONY: am__doit
   3117 END
   3118 # If we don't find an include directive, just comment out the code.
   3119 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3120 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3121 am__include="#"
   3122 am__quote=
   3123 _am_result=none
   3124 # First try GNU make style include.
   3125 echo "include confinc" > confmf
   3126 # We grep out `Entering directory' and `Leaving directory'
   3127 # messages which can occur if `w' ends up in MAKEFLAGS.
   3128 # In particular we don't look at `^make:' because GNU make might
   3129 # be invoked under some other name (usually "gmake"), in which
   3130 # case it prints its new name instead of `make'.
   3131 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3132    am__include=include
   3133    am__quote=
   3134    _am_result=GNU
   3135 fi
   3136 # Now try BSD make style include.
   3137 if test "$am__include" = "#"; then
   3138    echo '.include "confinc"' > confmf
   3139    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3140       am__include=.include
   3141       am__quote="\""
   3142       _am_result=BSD
   3143    fi
   3144 fi
   3145 
   3146 
   3147 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3148 echo "${ECHO_T}$_am_result" >&6; }
   3149 rm -f confinc confmf
   3150 
   3151 # Check whether --enable-dependency-tracking was given.
   3152 if test "${enable_dependency_tracking+set}" = set; then
   3153   enableval=$enable_dependency_tracking;
   3154 fi
   3155 
   3156 if test "x$enable_dependency_tracking" != xno; then
   3157   am_depcomp="$ac_aux_dir/depcomp"
   3158   AMDEPBACKSLASH='\'
   3159 fi
   3160  if test "x$enable_dependency_tracking" != xno; then
   3161   AMDEP_TRUE=
   3162   AMDEP_FALSE='#'
   3163 else
   3164   AMDEP_TRUE='#'
   3165   AMDEP_FALSE=
   3166 fi
   3167 
   3168 
   3169 
   3170 depcc="$CXX"  am_compiler_list=
   3171 
   3172 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3173 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3174 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   3175   echo $ECHO_N "(cached) $ECHO_C" >&6
   3176 else
   3177   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3178   # We make a subdir and do the tests there.  Otherwise we can end up
   3179   # making bogus files that we don't know about and never remove.  For
   3180   # instance it was reported that on HP-UX the gcc test will end up
   3181   # making a dummy file named `D' -- because `-MD' means `put the output
   3182   # in D'.
   3183   mkdir conftest.dir
   3184   # Copy depcomp to subdir because otherwise we won't find it if we're
   3185   # using a relative directory.
   3186   cp "$am_depcomp" conftest.dir
   3187   cd conftest.dir
   3188   # We will build objects and dependencies in a subdirectory because
   3189   # it helps to detect inapplicable dependency modes.  For instance
   3190   # both Tru64's cc and ICC support -MD to output dependencies as a
   3191   # side effect of compilation, but ICC will put the dependencies in
   3192   # the current directory while Tru64 will put them in the object
   3193   # directory.
   3194   mkdir sub
   3195 
   3196   am_cv_CXX_dependencies_compiler_type=none
   3197   if test "$am_compiler_list" = ""; then
   3198      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3199   fi
   3200   for depmode in $am_compiler_list; do
   3201     # Setup a source with many dependencies, because some compilers
   3202     # like to wrap large dependency lists on column 80 (with \), and
   3203     # we should not choose a depcomp mode which is confused by this.
   3204     #
   3205     # We need to recreate these files for each test, as the compiler may
   3206     # overwrite some of them when testing with obscure command lines.
   3207     # This happens at least with the AIX C compiler.
   3208     : > sub/conftest.c
   3209     for i in 1 2 3 4 5 6; do
   3210       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3211       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3212       # Solaris 8's {/usr,}/bin/sh.
   3213       touch sub/conftst$i.h
   3214     done
   3215     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3216 
   3217     case $depmode in
   3218     nosideeffect)
   3219       # after this tag, mechanisms are not by side-effect, so they'll
   3220       # only be used when explicitly requested
   3221       if test "x$enable_dependency_tracking" = xyes; then
   3222 	continue
   3223       else
   3224 	break
   3225       fi
   3226       ;;
   3227     none) break ;;
   3228     esac
   3229     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3230     # mode.  It turns out that the SunPro C++ compiler does not properly
   3231     # handle `-M -o', and we need to detect this.
   3232     if depmode=$depmode \
   3233        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3234        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3235        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3236          >/dev/null 2>conftest.err &&
   3237        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3238        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3239        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3240        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3241       # icc doesn't choke on unknown options, it will just issue warnings
   3242       # or remarks (even with -Werror).  So we grep stderr for any message
   3243       # that says an option was ignored or not supported.
   3244       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3245       #   icc: Command line warning: ignoring option '-M'; no argument required
   3246       # The diagnosis changed in icc 8.0:
   3247       #   icc: Command line remark: option '-MP' not supported
   3248       if (grep 'ignoring option' conftest.err ||
   3249           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3250         am_cv_CXX_dependencies_compiler_type=$depmode
   3251         break
   3252       fi
   3253     fi
   3254   done
   3255 
   3256   cd ..
   3257   rm -rf conftest.dir
   3258 else
   3259   am_cv_CXX_dependencies_compiler_type=none
   3260 fi
   3261 
   3262 fi
   3263 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   3264 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   3265 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   3266 
   3267  if
   3268   test "x$enable_dependency_tracking" != xno \
   3269   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   3270   am__fastdepCXX_TRUE=
   3271   am__fastdepCXX_FALSE='#'
   3272 else
   3273   am__fastdepCXX_TRUE='#'
   3274   am__fastdepCXX_FALSE=
   3275 fi
   3276 
   3277 
   3278 # Check whether --enable-shared was given.
   3279 if test "${enable_shared+set}" = set; then
   3280   enableval=$enable_shared; p=${PACKAGE-default}
   3281     case $enableval in
   3282     yes) enable_shared=yes ;;
   3283     no) enable_shared=no ;;
   3284     *)
   3285       enable_shared=no
   3286       # Look at the argument we got.  We use all the common list separators.
   3287       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3288       for pkg in $enableval; do
   3289 	IFS="$lt_save_ifs"
   3290 	if test "X$pkg" = "X$p"; then
   3291 	  enable_shared=yes
   3292 	fi
   3293       done
   3294       IFS="$lt_save_ifs"
   3295       ;;
   3296     esac
   3297 else
   3298   enable_shared=yes
   3299 fi
   3300 
   3301 
   3302 # Check whether --enable-static was given.
   3303 if test "${enable_static+set}" = set; then
   3304   enableval=$enable_static; p=${PACKAGE-default}
   3305     case $enableval in
   3306     yes) enable_static=yes ;;
   3307     no) enable_static=no ;;
   3308     *)
   3309      enable_static=no
   3310       # Look at the argument we got.  We use all the common list separators.
   3311       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3312       for pkg in $enableval; do
   3313 	IFS="$lt_save_ifs"
   3314 	if test "X$pkg" = "X$p"; then
   3315 	  enable_static=yes
   3316 	fi
   3317       done
   3318       IFS="$lt_save_ifs"
   3319       ;;
   3320     esac
   3321 else
   3322   enable_static=yes
   3323 fi
   3324 
   3325 
   3326 # Check whether --enable-fast-install was given.
   3327 if test "${enable_fast_install+set}" = set; then
   3328   enableval=$enable_fast_install; p=${PACKAGE-default}
   3329     case $enableval in
   3330     yes) enable_fast_install=yes ;;
   3331     no) enable_fast_install=no ;;
   3332     *)
   3333       enable_fast_install=no
   3334       # Look at the argument we got.  We use all the common list separators.
   3335       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3336       for pkg in $enableval; do
   3337 	IFS="$lt_save_ifs"
   3338 	if test "X$pkg" = "X$p"; then
   3339 	  enable_fast_install=yes
   3340 	fi
   3341       done
   3342       IFS="$lt_save_ifs"
   3343       ;;
   3344     esac
   3345 else
   3346   enable_fast_install=yes
   3347 fi
   3348 
   3349 
   3350 # Make sure we can run config.sub.
   3351 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3352   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3353 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3354    { (exit 1); exit 1; }; }
   3355 
   3356 { echo "$as_me:$LINENO: checking build system type" >&5
   3357 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3358 if test "${ac_cv_build+set}" = set; then
   3359   echo $ECHO_N "(cached) $ECHO_C" >&6
   3360 else
   3361   ac_build_alias=$build_alias
   3362 test "x$ac_build_alias" = x &&
   3363   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3364 test "x$ac_build_alias" = x &&
   3365   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3366 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3367    { (exit 1); exit 1; }; }
   3368 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3369   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3370 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3371    { (exit 1); exit 1; }; }
   3372 
   3373 fi
   3374 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3375 echo "${ECHO_T}$ac_cv_build" >&6; }
   3376 case $ac_cv_build in
   3377 *-*-*) ;;
   3378 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3379 echo "$as_me: error: invalid value of canonical build" >&2;}
   3380    { (exit 1); exit 1; }; };;
   3381 esac
   3382 build=$ac_cv_build
   3383 ac_save_IFS=$IFS; IFS='-'
   3384 set x $ac_cv_build
   3385 shift
   3386 build_cpu=$1
   3387 build_vendor=$2
   3388 shift; shift
   3389 # Remember, the first character of IFS is used to create $*,
   3390 # except with old shells:
   3391 build_os=$*
   3392 IFS=$ac_save_IFS
   3393 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3394 
   3395 
   3396 { echo "$as_me:$LINENO: checking host system type" >&5
   3397 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3398 if test "${ac_cv_host+set}" = set; then
   3399   echo $ECHO_N "(cached) $ECHO_C" >&6
   3400 else
   3401   if test "x$host_alias" = x; then
   3402   ac_cv_host=$ac_cv_build
   3403 else
   3404   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3405     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3406 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3407    { (exit 1); exit 1; }; }
   3408 fi
   3409 
   3410 fi
   3411 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3412 echo "${ECHO_T}$ac_cv_host" >&6; }
   3413 case $ac_cv_host in
   3414 *-*-*) ;;
   3415 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3416 echo "$as_me: error: invalid value of canonical host" >&2;}
   3417    { (exit 1); exit 1; }; };;
   3418 esac
   3419 host=$ac_cv_host
   3420 ac_save_IFS=$IFS; IFS='-'
   3421 set x $ac_cv_host
   3422 shift
   3423 host_cpu=$1
   3424 host_vendor=$2
   3425 shift; shift
   3426 # Remember, the first character of IFS is used to create $*,
   3427 # except with old shells:
   3428 host_os=$*
   3429 IFS=$ac_save_IFS
   3430 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3431 
   3432 
   3433 ac_ext=c
   3434 ac_cpp='$CPP $CPPFLAGS'
   3435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3438 if test -n "$ac_tool_prefix"; then
   3439   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3440 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3443 if test "${ac_cv_prog_CC+set}" = set; then
   3444   echo $ECHO_N "(cached) $ECHO_C" >&6
   3445 else
   3446   if test -n "$CC"; then
   3447   ac_cv_prog_CC="$CC" # Let the user override the test.
   3448 else
   3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3450 for as_dir in $PATH
   3451 do
   3452   IFS=$as_save_IFS
   3453   test -z "$as_dir" && as_dir=.
   3454   for ac_exec_ext in '' $ac_executable_extensions; do
   3455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3456     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3457     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3458     break 2
   3459   fi
   3460 done
   3461 done
   3462 IFS=$as_save_IFS
   3463 
   3464 fi
   3465 fi
   3466 CC=$ac_cv_prog_CC
   3467 if test -n "$CC"; then
   3468   { echo "$as_me:$LINENO: result: $CC" >&5
   3469 echo "${ECHO_T}$CC" >&6; }
   3470 else
   3471   { echo "$as_me:$LINENO: result: no" >&5
   3472 echo "${ECHO_T}no" >&6; }
   3473 fi
   3474 
   3475 
   3476 fi
   3477 if test -z "$ac_cv_prog_CC"; then
   3478   ac_ct_CC=$CC
   3479   # Extract the first word of "gcc", so it can be a program name with args.
   3480 set dummy gcc; ac_word=$2
   3481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3484   echo $ECHO_N "(cached) $ECHO_C" >&6
   3485 else
   3486   if test -n "$ac_ct_CC"; then
   3487   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3488 else
   3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3490 for as_dir in $PATH
   3491 do
   3492   IFS=$as_save_IFS
   3493   test -z "$as_dir" && as_dir=.
   3494   for ac_exec_ext in '' $ac_executable_extensions; do
   3495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3496     ac_cv_prog_ac_ct_CC="gcc"
   3497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3498     break 2
   3499   fi
   3500 done
   3501 done
   3502 IFS=$as_save_IFS
   3503 
   3504 fi
   3505 fi
   3506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3507 if test -n "$ac_ct_CC"; then
   3508   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3509 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3510 else
   3511   { echo "$as_me:$LINENO: result: no" >&5
   3512 echo "${ECHO_T}no" >&6; }
   3513 fi
   3514 
   3515   if test "x$ac_ct_CC" = x; then
   3516     CC=""
   3517   else
   3518     case $cross_compiling:$ac_tool_warned in
   3519 yes:)
   3520 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3521 whose name does not start with the host triplet.  If you think this
   3522 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3523 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3524 whose name does not start with the host triplet.  If you think this
   3525 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3526 ac_tool_warned=yes ;;
   3527 esac
   3528     CC=$ac_ct_CC
   3529   fi
   3530 else
   3531   CC="$ac_cv_prog_CC"
   3532 fi
   3533 
   3534 if test -z "$CC"; then
   3535           if test -n "$ac_tool_prefix"; then
   3536     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3537 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3540 if test "${ac_cv_prog_CC+set}" = set; then
   3541   echo $ECHO_N "(cached) $ECHO_C" >&6
   3542 else
   3543   if test -n "$CC"; then
   3544   ac_cv_prog_CC="$CC" # Let the user override the test.
   3545 else
   3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3547 for as_dir in $PATH
   3548 do
   3549   IFS=$as_save_IFS
   3550   test -z "$as_dir" && as_dir=.
   3551   for ac_exec_ext in '' $ac_executable_extensions; do
   3552   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3553     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3554     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3555     break 2
   3556   fi
   3557 done
   3558 done
   3559 IFS=$as_save_IFS
   3560 
   3561 fi
   3562 fi
   3563 CC=$ac_cv_prog_CC
   3564 if test -n "$CC"; then
   3565   { echo "$as_me:$LINENO: result: $CC" >&5
   3566 echo "${ECHO_T}$CC" >&6; }
   3567 else
   3568   { echo "$as_me:$LINENO: result: no" >&5
   3569 echo "${ECHO_T}no" >&6; }
   3570 fi
   3571 
   3572 
   3573   fi
   3574 fi
   3575 if test -z "$CC"; then
   3576   # Extract the first word of "cc", so it can be a program name with args.
   3577 set dummy cc; ac_word=$2
   3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3580 if test "${ac_cv_prog_CC+set}" = set; then
   3581   echo $ECHO_N "(cached) $ECHO_C" >&6
   3582 else
   3583   if test -n "$CC"; then
   3584   ac_cv_prog_CC="$CC" # Let the user override the test.
   3585 else
   3586   ac_prog_rejected=no
   3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3588 for as_dir in $PATH
   3589 do
   3590   IFS=$as_save_IFS
   3591   test -z "$as_dir" && as_dir=.
   3592   for ac_exec_ext in '' $ac_executable_extensions; do
   3593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3594     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3595        ac_prog_rejected=yes
   3596        continue
   3597      fi
   3598     ac_cv_prog_CC="cc"
   3599     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3600     break 2
   3601   fi
   3602 done
   3603 done
   3604 IFS=$as_save_IFS
   3605 
   3606 if test $ac_prog_rejected = yes; then
   3607   # We found a bogon in the path, so make sure we never use it.
   3608   set dummy $ac_cv_prog_CC
   3609   shift
   3610   if test $# != 0; then
   3611     # We chose a different compiler from the bogus one.
   3612     # However, it has the same basename, so the bogon will be chosen
   3613     # first if we set CC to just the basename; use the full file name.
   3614     shift
   3615     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3616   fi
   3617 fi
   3618 fi
   3619 fi
   3620 CC=$ac_cv_prog_CC
   3621 if test -n "$CC"; then
   3622   { echo "$as_me:$LINENO: result: $CC" >&5
   3623 echo "${ECHO_T}$CC" >&6; }
   3624 else
   3625   { echo "$as_me:$LINENO: result: no" >&5
   3626 echo "${ECHO_T}no" >&6; }
   3627 fi
   3628 
   3629 
   3630 fi
   3631 if test -z "$CC"; then
   3632   if test -n "$ac_tool_prefix"; then
   3633   for ac_prog in cl.exe
   3634   do
   3635     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3639 if test "${ac_cv_prog_CC+set}" = set; then
   3640   echo $ECHO_N "(cached) $ECHO_C" >&6
   3641 else
   3642   if test -n "$CC"; then
   3643   ac_cv_prog_CC="$CC" # Let the user override the test.
   3644 else
   3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3646 for as_dir in $PATH
   3647 do
   3648   IFS=$as_save_IFS
   3649   test -z "$as_dir" && as_dir=.
   3650   for ac_exec_ext in '' $ac_executable_extensions; do
   3651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3652     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3653     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3654     break 2
   3655   fi
   3656 done
   3657 done
   3658 IFS=$as_save_IFS
   3659 
   3660 fi
   3661 fi
   3662 CC=$ac_cv_prog_CC
   3663 if test -n "$CC"; then
   3664   { echo "$as_me:$LINENO: result: $CC" >&5
   3665 echo "${ECHO_T}$CC" >&6; }
   3666 else
   3667   { echo "$as_me:$LINENO: result: no" >&5
   3668 echo "${ECHO_T}no" >&6; }
   3669 fi
   3670 
   3671 
   3672     test -n "$CC" && break
   3673   done
   3674 fi
   3675 if test -z "$CC"; then
   3676   ac_ct_CC=$CC
   3677   for ac_prog in cl.exe
   3678 do
   3679   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3680 set dummy $ac_prog; ac_word=$2
   3681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3684   echo $ECHO_N "(cached) $ECHO_C" >&6
   3685 else
   3686   if test -n "$ac_ct_CC"; then
   3687   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3688 else
   3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3690 for as_dir in $PATH
   3691 do
   3692   IFS=$as_save_IFS
   3693   test -z "$as_dir" && as_dir=.
   3694   for ac_exec_ext in '' $ac_executable_extensions; do
   3695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3696     ac_cv_prog_ac_ct_CC="$ac_prog"
   3697     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3698     break 2
   3699   fi
   3700 done
   3701 done
   3702 IFS=$as_save_IFS
   3703 
   3704 fi
   3705 fi
   3706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3707 if test -n "$ac_ct_CC"; then
   3708   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3709 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3710 else
   3711   { echo "$as_me:$LINENO: result: no" >&5
   3712 echo "${ECHO_T}no" >&6; }
   3713 fi
   3714 
   3715 
   3716   test -n "$ac_ct_CC" && break
   3717 done
   3718 
   3719   if test "x$ac_ct_CC" = x; then
   3720     CC=""
   3721   else
   3722     case $cross_compiling:$ac_tool_warned in
   3723 yes:)
   3724 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3725 whose name does not start with the host triplet.  If you think this
   3726 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3727 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3728 whose name does not start with the host triplet.  If you think this
   3729 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3730 ac_tool_warned=yes ;;
   3731 esac
   3732     CC=$ac_ct_CC
   3733   fi
   3734 fi
   3735 
   3736 fi
   3737 
   3738 
   3739 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3740 See \`config.log' for more details." >&5
   3741 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3742 See \`config.log' for more details." >&2;}
   3743    { (exit 1); exit 1; }; }
   3744 
   3745 # Provide some information about the compiler.
   3746 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3747 ac_compiler=`set X $ac_compile; echo $2`
   3748 { (ac_try="$ac_compiler --version >&5"
   3749 case "(($ac_try" in
   3750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3751   *) ac_try_echo=$ac_try;;
   3752 esac
   3753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3754   (eval "$ac_compiler --version >&5") 2>&5
   3755   ac_status=$?
   3756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3757   (exit $ac_status); }
   3758 { (ac_try="$ac_compiler -v >&5"
   3759 case "(($ac_try" in
   3760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3761   *) ac_try_echo=$ac_try;;
   3762 esac
   3763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3764   (eval "$ac_compiler -v >&5") 2>&5
   3765   ac_status=$?
   3766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3767   (exit $ac_status); }
   3768 { (ac_try="$ac_compiler -V >&5"
   3769 case "(($ac_try" in
   3770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3771   *) ac_try_echo=$ac_try;;
   3772 esac
   3773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3774   (eval "$ac_compiler -V >&5") 2>&5
   3775   ac_status=$?
   3776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3777   (exit $ac_status); }
   3778 
   3779 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3780 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3781 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3782   echo $ECHO_N "(cached) $ECHO_C" >&6
   3783 else
   3784   cat >conftest.$ac_ext <<_ACEOF
   3785 /* confdefs.h.  */
   3786 _ACEOF
   3787 cat confdefs.h >>conftest.$ac_ext
   3788 cat >>conftest.$ac_ext <<_ACEOF
   3789 /* end confdefs.h.  */
   3790 
   3791 int
   3792 main ()
   3793 {
   3794 #ifndef __GNUC__
   3795        choke me
   3796 #endif
   3797 
   3798   ;
   3799   return 0;
   3800 }
   3801 _ACEOF
   3802 rm -f conftest.$ac_objext
   3803 if { (ac_try="$ac_compile"
   3804 case "(($ac_try" in
   3805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3806   *) ac_try_echo=$ac_try;;
   3807 esac
   3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3809   (eval "$ac_compile") 2>conftest.er1
   3810   ac_status=$?
   3811   grep -v '^ *+' conftest.er1 >conftest.err
   3812   rm -f conftest.er1
   3813   cat conftest.err >&5
   3814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3815   (exit $ac_status); } && {
   3816 	 test -z "$ac_c_werror_flag" ||
   3817 	 test ! -s conftest.err
   3818        } && test -s conftest.$ac_objext; then
   3819   ac_compiler_gnu=yes
   3820 else
   3821   echo "$as_me: failed program was:" >&5
   3822 sed 's/^/| /' conftest.$ac_ext >&5
   3823 
   3824 	ac_compiler_gnu=no
   3825 fi
   3826 
   3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3828 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3829 
   3830 fi
   3831 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3832 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3833 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3834 ac_test_CFLAGS=${CFLAGS+set}
   3835 ac_save_CFLAGS=$CFLAGS
   3836 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3837 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3838 if test "${ac_cv_prog_cc_g+set}" = set; then
   3839   echo $ECHO_N "(cached) $ECHO_C" >&6
   3840 else
   3841   ac_save_c_werror_flag=$ac_c_werror_flag
   3842    ac_c_werror_flag=yes
   3843    ac_cv_prog_cc_g=no
   3844    CFLAGS="-g"
   3845    cat >conftest.$ac_ext <<_ACEOF
   3846 /* confdefs.h.  */
   3847 _ACEOF
   3848 cat confdefs.h >>conftest.$ac_ext
   3849 cat >>conftest.$ac_ext <<_ACEOF
   3850 /* end confdefs.h.  */
   3851 
   3852 int
   3853 main ()
   3854 {
   3855 
   3856   ;
   3857   return 0;
   3858 }
   3859 _ACEOF
   3860 rm -f conftest.$ac_objext
   3861 if { (ac_try="$ac_compile"
   3862 case "(($ac_try" in
   3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3864   *) ac_try_echo=$ac_try;;
   3865 esac
   3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3867   (eval "$ac_compile") 2>conftest.er1
   3868   ac_status=$?
   3869   grep -v '^ *+' conftest.er1 >conftest.err
   3870   rm -f conftest.er1
   3871   cat conftest.err >&5
   3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3873   (exit $ac_status); } && {
   3874 	 test -z "$ac_c_werror_flag" ||
   3875 	 test ! -s conftest.err
   3876        } && test -s conftest.$ac_objext; then
   3877   ac_cv_prog_cc_g=yes
   3878 else
   3879   echo "$as_me: failed program was:" >&5
   3880 sed 's/^/| /' conftest.$ac_ext >&5
   3881 
   3882 	CFLAGS=""
   3883       cat >conftest.$ac_ext <<_ACEOF
   3884 /* confdefs.h.  */
   3885 _ACEOF
   3886 cat confdefs.h >>conftest.$ac_ext
   3887 cat >>conftest.$ac_ext <<_ACEOF
   3888 /* end confdefs.h.  */
   3889 
   3890 int
   3891 main ()
   3892 {
   3893 
   3894   ;
   3895   return 0;
   3896 }
   3897 _ACEOF
   3898 rm -f conftest.$ac_objext
   3899 if { (ac_try="$ac_compile"
   3900 case "(($ac_try" in
   3901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3902   *) ac_try_echo=$ac_try;;
   3903 esac
   3904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3905   (eval "$ac_compile") 2>conftest.er1
   3906   ac_status=$?
   3907   grep -v '^ *+' conftest.er1 >conftest.err
   3908   rm -f conftest.er1
   3909   cat conftest.err >&5
   3910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3911   (exit $ac_status); } && {
   3912 	 test -z "$ac_c_werror_flag" ||
   3913 	 test ! -s conftest.err
   3914        } && test -s conftest.$ac_objext; then
   3915   :
   3916 else
   3917   echo "$as_me: failed program was:" >&5
   3918 sed 's/^/| /' conftest.$ac_ext >&5
   3919 
   3920 	ac_c_werror_flag=$ac_save_c_werror_flag
   3921 	 CFLAGS="-g"
   3922 	 cat >conftest.$ac_ext <<_ACEOF
   3923 /* confdefs.h.  */
   3924 _ACEOF
   3925 cat confdefs.h >>conftest.$ac_ext
   3926 cat >>conftest.$ac_ext <<_ACEOF
   3927 /* end confdefs.h.  */
   3928 
   3929 int
   3930 main ()
   3931 {
   3932 
   3933   ;
   3934   return 0;
   3935 }
   3936 _ACEOF
   3937 rm -f conftest.$ac_objext
   3938 if { (ac_try="$ac_compile"
   3939 case "(($ac_try" in
   3940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3941   *) ac_try_echo=$ac_try;;
   3942 esac
   3943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3944   (eval "$ac_compile") 2>conftest.er1
   3945   ac_status=$?
   3946   grep -v '^ *+' conftest.er1 >conftest.err
   3947   rm -f conftest.er1
   3948   cat conftest.err >&5
   3949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3950   (exit $ac_status); } && {
   3951 	 test -z "$ac_c_werror_flag" ||
   3952 	 test ! -s conftest.err
   3953        } && test -s conftest.$ac_objext; then
   3954   ac_cv_prog_cc_g=yes
   3955 else
   3956   echo "$as_me: failed program was:" >&5
   3957 sed 's/^/| /' conftest.$ac_ext >&5
   3958 
   3959 
   3960 fi
   3961 
   3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3963 fi
   3964 
   3965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3966 fi
   3967 
   3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3969    ac_c_werror_flag=$ac_save_c_werror_flag
   3970 fi
   3971 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3972 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3973 if test "$ac_test_CFLAGS" = set; then
   3974   CFLAGS=$ac_save_CFLAGS
   3975 elif test $ac_cv_prog_cc_g = yes; then
   3976   if test "$GCC" = yes; then
   3977     CFLAGS="-g -O2"
   3978   else
   3979     CFLAGS="-g"
   3980   fi
   3981 else
   3982   if test "$GCC" = yes; then
   3983     CFLAGS="-O2"
   3984   else
   3985     CFLAGS=
   3986   fi
   3987 fi
   3988 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3989 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3990 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3991   echo $ECHO_N "(cached) $ECHO_C" >&6
   3992 else
   3993   ac_cv_prog_cc_c89=no
   3994 ac_save_CC=$CC
   3995 cat >conftest.$ac_ext <<_ACEOF
   3996 /* confdefs.h.  */
   3997 _ACEOF
   3998 cat confdefs.h >>conftest.$ac_ext
   3999 cat >>conftest.$ac_ext <<_ACEOF
   4000 /* end confdefs.h.  */
   4001 #include <stdarg.h>
   4002 #include <stdio.h>
   4003 #include <sys/types.h>
   4004 #include <sys/stat.h>
   4005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4006 struct buf { int x; };
   4007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4008 static char *e (p, i)
   4009      char **p;
   4010      int i;
   4011 {
   4012   return p[i];
   4013 }
   4014 static char *f (char * (*g) (char **, int), char **p, ...)
   4015 {
   4016   char *s;
   4017   va_list v;
   4018   va_start (v,p);
   4019   s = g (p, va_arg (v,int));
   4020   va_end (v);
   4021   return s;
   4022 }
   4023 
   4024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4025    function prototypes and stuff, but not '\xHH' hex character constants.
   4026    These don't provoke an error unfortunately, instead are silently treated
   4027    as 'x'.  The following induces an error, until -std is added to get
   4028    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4029    array size at least.  It's necessary to write '\x00'==0 to get something
   4030    that's true only with -std.  */
   4031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4032 
   4033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4034    inside strings and character constants.  */
   4035 #define FOO(x) 'x'
   4036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4037 
   4038 int test (int i, double x);
   4039 struct s1 {int (*f) (int a);};
   4040 struct s2 {int (*f) (double a);};
   4041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4042 int argc;
   4043 char **argv;
   4044 int
   4045 main ()
   4046 {
   4047 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4048   ;
   4049   return 0;
   4050 }
   4051 _ACEOF
   4052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4053 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4054 do
   4055   CC="$ac_save_CC $ac_arg"
   4056   rm -f conftest.$ac_objext
   4057 if { (ac_try="$ac_compile"
   4058 case "(($ac_try" in
   4059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4060   *) ac_try_echo=$ac_try;;
   4061 esac
   4062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4063   (eval "$ac_compile") 2>conftest.er1
   4064   ac_status=$?
   4065   grep -v '^ *+' conftest.er1 >conftest.err
   4066   rm -f conftest.er1
   4067   cat conftest.err >&5
   4068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4069   (exit $ac_status); } && {
   4070 	 test -z "$ac_c_werror_flag" ||
   4071 	 test ! -s conftest.err
   4072        } && test -s conftest.$ac_objext; then
   4073   ac_cv_prog_cc_c89=$ac_arg
   4074 else
   4075   echo "$as_me: failed program was:" >&5
   4076 sed 's/^/| /' conftest.$ac_ext >&5
   4077 
   4078 
   4079 fi
   4080 
   4081 rm -f core conftest.err conftest.$ac_objext
   4082   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4083 done
   4084 rm -f conftest.$ac_ext
   4085 CC=$ac_save_CC
   4086 
   4087 fi
   4088 # AC_CACHE_VAL
   4089 case "x$ac_cv_prog_cc_c89" in
   4090   x)
   4091     { echo "$as_me:$LINENO: result: none needed" >&5
   4092 echo "${ECHO_T}none needed" >&6; } ;;
   4093   xno)
   4094     { echo "$as_me:$LINENO: result: unsupported" >&5
   4095 echo "${ECHO_T}unsupported" >&6; } ;;
   4096   *)
   4097     CC="$CC $ac_cv_prog_cc_c89"
   4098     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   4099 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   4100 esac
   4101 
   4102 
   4103 ac_ext=c
   4104 ac_cpp='$CPP $CPPFLAGS'
   4105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4108 
   4109 depcc="$CC"   am_compiler_list=
   4110 
   4111 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   4112 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   4113 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   4114   echo $ECHO_N "(cached) $ECHO_C" >&6
   4115 else
   4116   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4117   # We make a subdir and do the tests there.  Otherwise we can end up
   4118   # making bogus files that we don't know about and never remove.  For
   4119   # instance it was reported that on HP-UX the gcc test will end up
   4120   # making a dummy file named `D' -- because `-MD' means `put the output
   4121   # in D'.
   4122   mkdir conftest.dir
   4123   # Copy depcomp to subdir because otherwise we won't find it if we're
   4124   # using a relative directory.
   4125   cp "$am_depcomp" conftest.dir
   4126   cd conftest.dir
   4127   # We will build objects and dependencies in a subdirectory because
   4128   # it helps to detect inapplicable dependency modes.  For instance
   4129   # both Tru64's cc and ICC support -MD to output dependencies as a
   4130   # side effect of compilation, but ICC will put the dependencies in
   4131   # the current directory while Tru64 will put them in the object
   4132   # directory.
   4133   mkdir sub
   4134 
   4135   am_cv_CC_dependencies_compiler_type=none
   4136   if test "$am_compiler_list" = ""; then
   4137      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4138   fi
   4139   for depmode in $am_compiler_list; do
   4140     # Setup a source with many dependencies, because some compilers
   4141     # like to wrap large dependency lists on column 80 (with \), and
   4142     # we should not choose a depcomp mode which is confused by this.
   4143     #
   4144     # We need to recreate these files for each test, as the compiler may
   4145     # overwrite some of them when testing with obscure command lines.
   4146     # This happens at least with the AIX C compiler.
   4147     : > sub/conftest.c
   4148     for i in 1 2 3 4 5 6; do
   4149       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4150       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4151       # Solaris 8's {/usr,}/bin/sh.
   4152       touch sub/conftst$i.h
   4153     done
   4154     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4155 
   4156     case $depmode in
   4157     nosideeffect)
   4158       # after this tag, mechanisms are not by side-effect, so they'll
   4159       # only be used when explicitly requested
   4160       if test "x$enable_dependency_tracking" = xyes; then
   4161 	continue
   4162       else
   4163 	break
   4164       fi
   4165       ;;
   4166     none) break ;;
   4167     esac
   4168     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4169     # mode.  It turns out that the SunPro C++ compiler does not properly
   4170     # handle `-M -o', and we need to detect this.
   4171     if depmode=$depmode \
   4172        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4173        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4174        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4175          >/dev/null 2>conftest.err &&
   4176        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4177        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4178        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4179        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4180       # icc doesn't choke on unknown options, it will just issue warnings
   4181       # or remarks (even with -Werror).  So we grep stderr for any message
   4182       # that says an option was ignored or not supported.
   4183       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4184       #   icc: Command line warning: ignoring option '-M'; no argument required
   4185       # The diagnosis changed in icc 8.0:
   4186       #   icc: Command line remark: option '-MP' not supported
   4187       if (grep 'ignoring option' conftest.err ||
   4188           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4189         am_cv_CC_dependencies_compiler_type=$depmode
   4190         break
   4191       fi
   4192     fi
   4193   done
   4194 
   4195   cd ..
   4196   rm -rf conftest.dir
   4197 else
   4198   am_cv_CC_dependencies_compiler_type=none
   4199 fi
   4200 
   4201 fi
   4202 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   4203 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   4204 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4205 
   4206  if
   4207   test "x$enable_dependency_tracking" != xno \
   4208   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4209   am__fastdepCC_TRUE=
   4210   am__fastdepCC_FALSE='#'
   4211 else
   4212   am__fastdepCC_TRUE='#'
   4213   am__fastdepCC_FALSE=
   4214 fi
   4215 
   4216 
   4217 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4218 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   4219 if test "${lt_cv_path_SED+set}" = set; then
   4220   echo $ECHO_N "(cached) $ECHO_C" >&6
   4221 else
   4222   # Loop through the user's path and test for sed and gsed.
   4223 # Then use that list of sed's as ones to test for truncation.
   4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4225 for as_dir in $PATH
   4226 do
   4227   IFS=$as_save_IFS
   4228   test -z "$as_dir" && as_dir=.
   4229   for lt_ac_prog in sed gsed; do
   4230     for ac_exec_ext in '' $ac_executable_extensions; do
   4231       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   4232         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4233       fi
   4234     done
   4235   done
   4236 done
   4237 IFS=$as_save_IFS
   4238 lt_ac_max=0
   4239 lt_ac_count=0
   4240 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4241 # along with /bin/sed that truncates output.
   4242 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4243   test ! -f $lt_ac_sed && continue
   4244   cat /dev/null > conftest.in
   4245   lt_ac_count=0
   4246   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4247   # Check for GNU sed and select it if it is found.
   4248   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4249     lt_cv_path_SED=$lt_ac_sed
   4250     break
   4251   fi
   4252   while true; do
   4253     cat conftest.in conftest.in >conftest.tmp
   4254     mv conftest.tmp conftest.in
   4255     cp conftest.in conftest.nl
   4256     echo >>conftest.nl
   4257     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4258     cmp -s conftest.out conftest.nl || break
   4259     # 10000 chars as input seems more than enough
   4260     test $lt_ac_count -gt 10 && break
   4261     lt_ac_count=`expr $lt_ac_count + 1`
   4262     if test $lt_ac_count -gt $lt_ac_max; then
   4263       lt_ac_max=$lt_ac_count
   4264       lt_cv_path_SED=$lt_ac_sed
   4265     fi
   4266   done
   4267 done
   4268 
   4269 fi
   4270 
   4271 SED=$lt_cv_path_SED
   4272 
   4273 { echo "$as_me:$LINENO: result: $SED" >&5
   4274 echo "${ECHO_T}$SED" >&6; }
   4275 
   4276 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4277 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   4278 if test "${ac_cv_path_GREP+set}" = set; then
   4279   echo $ECHO_N "(cached) $ECHO_C" >&6
   4280 else
   4281   # Extract the first word of "grep ggrep" to use in msg output
   4282 if test -z "$GREP"; then
   4283 set dummy grep ggrep; ac_prog_name=$2
   4284 if test "${ac_cv_path_GREP+set}" = set; then
   4285   echo $ECHO_N "(cached) $ECHO_C" >&6
   4286 else
   4287   ac_path_GREP_found=false
   4288 # Loop through the user's path and test for each of PROGNAME-LIST
   4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4290 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4291 do
   4292   IFS=$as_save_IFS
   4293   test -z "$as_dir" && as_dir=.
   4294   for ac_prog in grep ggrep; do
   4295   for ac_exec_ext in '' $ac_executable_extensions; do
   4296     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4297     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4298     # Check for GNU ac_path_GREP and select it if it is found.
   4299   # Check for GNU $ac_path_GREP
   4300 case `"$ac_path_GREP" --version 2>&1` in
   4301 *GNU*)
   4302   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4303 *)
   4304   ac_count=0
   4305   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4306   while :
   4307   do
   4308     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4309     mv "conftest.tmp" "conftest.in"
   4310     cp "conftest.in" "conftest.nl"
   4311     echo 'GREP' >> "conftest.nl"
   4312     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4313     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4314     ac_count=`expr $ac_count + 1`
   4315     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4316       # Best one so far, save it but keep looking for a better one
   4317       ac_cv_path_GREP="$ac_path_GREP"
   4318       ac_path_GREP_max=$ac_count
   4319     fi
   4320     # 10*(2^10) chars as input seems more than enough
   4321     test $ac_count -gt 10 && break
   4322   done
   4323   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4324 esac
   4325 
   4326 
   4327     $ac_path_GREP_found && break 3
   4328   done
   4329 done
   4330 
   4331 done
   4332 IFS=$as_save_IFS
   4333 
   4334 
   4335 fi
   4336 
   4337 GREP="$ac_cv_path_GREP"
   4338 if test -z "$GREP"; then
   4339   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4340 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4341    { (exit 1); exit 1; }; }
   4342 fi
   4343 
   4344 else
   4345   ac_cv_path_GREP=$GREP
   4346 fi
   4347 
   4348 
   4349 fi
   4350 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4351 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   4352  GREP="$ac_cv_path_GREP"
   4353 
   4354 
   4355 { echo "$as_me:$LINENO: checking for egrep" >&5
   4356 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   4357 if test "${ac_cv_path_EGREP+set}" = set; then
   4358   echo $ECHO_N "(cached) $ECHO_C" >&6
   4359 else
   4360   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4361    then ac_cv_path_EGREP="$GREP -E"
   4362    else
   4363      # Extract the first word of "egrep" to use in msg output
   4364 if test -z "$EGREP"; then
   4365 set dummy egrep; ac_prog_name=$2
   4366 if test "${ac_cv_path_EGREP+set}" = set; then
   4367   echo $ECHO_N "(cached) $ECHO_C" >&6
   4368 else
   4369   ac_path_EGREP_found=false
   4370 # Loop through the user's path and test for each of PROGNAME-LIST
   4371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4373 do
   4374   IFS=$as_save_IFS
   4375   test -z "$as_dir" && as_dir=.
   4376   for ac_prog in egrep; do
   4377   for ac_exec_ext in '' $ac_executable_extensions; do
   4378     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4379     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4380     # Check for GNU ac_path_EGREP and select it if it is found.
   4381   # Check for GNU $ac_path_EGREP
   4382 case `"$ac_path_EGREP" --version 2>&1` in
   4383 *GNU*)
   4384   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4385 *)
   4386   ac_count=0
   4387   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4388   while :
   4389   do
   4390     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4391     mv "conftest.tmp" "conftest.in"
   4392     cp "conftest.in" "conftest.nl"
   4393     echo 'EGREP' >> "conftest.nl"
   4394     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4395     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4396     ac_count=`expr $ac_count + 1`
   4397     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4398       # Best one so far, save it but keep looking for a better one
   4399       ac_cv_path_EGREP="$ac_path_EGREP"
   4400       ac_path_EGREP_max=$ac_count
   4401     fi
   4402     # 10*(2^10) chars as input seems more than enough
   4403     test $ac_count -gt 10 && break
   4404   done
   4405   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4406 esac
   4407 
   4408 
   4409     $ac_path_EGREP_found && break 3
   4410   done
   4411 done
   4412 
   4413 done
   4414 IFS=$as_save_IFS
   4415 
   4416 
   4417 fi
   4418 
   4419 EGREP="$ac_cv_path_EGREP"
   4420 if test -z "$EGREP"; then
   4421   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4422 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4423    { (exit 1); exit 1; }; }
   4424 fi
   4425 
   4426 else
   4427   ac_cv_path_EGREP=$EGREP
   4428 fi
   4429 
   4430 
   4431    fi
   4432 fi
   4433 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4434 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4435  EGREP="$ac_cv_path_EGREP"
   4436 
   4437 
   4438 
   4439 # Check whether --with-gnu-ld was given.
   4440 if test "${with_gnu_ld+set}" = set; then
   4441   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4442 else
   4443   with_gnu_ld=no
   4444 fi
   4445 
   4446 ac_prog=ld
   4447 if test "$GCC" = yes; then
   4448   # Check if gcc -print-prog-name=ld gives a path.
   4449   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4450 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4451   case $host in
   4452   *-*-mingw*)
   4453     # gcc leaves a trailing carriage return which upsets mingw
   4454     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4455   *)
   4456     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4457   esac
   4458   case $ac_prog in
   4459     # Accept absolute paths.
   4460     [\\/]* | ?:[\\/]*)
   4461       re_direlt='/[^/][^/]*/\.\./'
   4462       # Canonicalize the pathname of ld
   4463       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4464       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4465 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4466       done
   4467       test -z "$LD" && LD="$ac_prog"
   4468       ;;
   4469   "")
   4470     # If it fails, then pretend we aren't using GCC.
   4471     ac_prog=ld
   4472     ;;
   4473   *)
   4474     # If it is relative, then search for the first ld in PATH.
   4475     with_gnu_ld=unknown
   4476     ;;
   4477   esac
   4478 elif test "$with_gnu_ld" = yes; then
   4479   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4480 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4481 else
   4482   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4483 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4484 fi
   4485 if test "${lt_cv_path_LD+set}" = set; then
   4486   echo $ECHO_N "(cached) $ECHO_C" >&6
   4487 else
   4488   if test -z "$LD"; then
   4489   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4490   for ac_dir in $PATH; do
   4491     IFS="$lt_save_ifs"
   4492     test -z "$ac_dir" && ac_dir=.
   4493     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4494       lt_cv_path_LD="$ac_dir/$ac_prog"
   4495       # Check to see if the program is GNU ld.  I'd rather use --version,
   4496       # but apparently some variants of GNU ld only accept -v.
   4497       # Break only if it was the GNU/non-GNU ld that we prefer.
   4498       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4499       *GNU* | *'with BFD'*)
   4500 	test "$with_gnu_ld" != no && break
   4501 	;;
   4502       *)
   4503 	test "$with_gnu_ld" != yes && break
   4504 	;;
   4505       esac
   4506     fi
   4507   done
   4508   IFS="$lt_save_ifs"
   4509 else
   4510   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4511 fi
   4512 fi
   4513 
   4514 LD="$lt_cv_path_LD"
   4515 if test -n "$LD"; then
   4516   { echo "$as_me:$LINENO: result: $LD" >&5
   4517 echo "${ECHO_T}$LD" >&6; }
   4518 else
   4519   { echo "$as_me:$LINENO: result: no" >&5
   4520 echo "${ECHO_T}no" >&6; }
   4521 fi
   4522 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4523 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4524    { (exit 1); exit 1; }; }
   4525 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4526 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4527 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4528   echo $ECHO_N "(cached) $ECHO_C" >&6
   4529 else
   4530   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4531 case `$LD -v 2>&1 </dev/null` in
   4532 *GNU* | *'with BFD'*)
   4533   lt_cv_prog_gnu_ld=yes
   4534   ;;
   4535 *)
   4536   lt_cv_prog_gnu_ld=no
   4537   ;;
   4538 esac
   4539 fi
   4540 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4541 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4542 with_gnu_ld=$lt_cv_prog_gnu_ld
   4543 
   4544 
   4545 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4546 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4547 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4548   echo $ECHO_N "(cached) $ECHO_C" >&6
   4549 else
   4550   lt_cv_ld_reload_flag='-r'
   4551 fi
   4552 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4553 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4554 reload_flag=$lt_cv_ld_reload_flag
   4555 case $reload_flag in
   4556 "" | " "*) ;;
   4557 *) reload_flag=" $reload_flag" ;;
   4558 esac
   4559 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4560 case $host_os in
   4561   darwin*)
   4562     if test "$GCC" = yes; then
   4563       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4564     else
   4565       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4566     fi
   4567     ;;
   4568 esac
   4569 
   4570 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4571 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4572 if test "${lt_cv_path_NM+set}" = set; then
   4573   echo $ECHO_N "(cached) $ECHO_C" >&6
   4574 else
   4575   if test -n "$NM"; then
   4576   # Let the user override the test.
   4577   lt_cv_path_NM="$NM"
   4578 else
   4579   lt_nm_to_check="${ac_tool_prefix}nm"
   4580   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4581     lt_nm_to_check="$lt_nm_to_check nm"
   4582   fi
   4583   for lt_tmp_nm in $lt_nm_to_check; do
   4584     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4585     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4586       IFS="$lt_save_ifs"
   4587       test -z "$ac_dir" && ac_dir=.
   4588       tmp_nm="$ac_dir/$lt_tmp_nm"
   4589       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4590 	# Check to see if the nm accepts a BSD-compat flag.
   4591 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4592 	#   nm: unknown option "B" ignored
   4593 	# Tru64's nm complains that /dev/null is an invalid object file
   4594 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4595 	*/dev/null* | *'Invalid file or object type'*)
   4596 	  lt_cv_path_NM="$tmp_nm -B"
   4597 	  break
   4598 	  ;;
   4599 	*)
   4600 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4601 	  */dev/null*)
   4602 	    lt_cv_path_NM="$tmp_nm -p"
   4603 	    break
   4604 	    ;;
   4605 	  *)
   4606 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4607 	    continue # so that we can try to find one that supports BSD flags
   4608 	    ;;
   4609 	  esac
   4610 	  ;;
   4611 	esac
   4612       fi
   4613     done
   4614     IFS="$lt_save_ifs"
   4615   done
   4616   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4617 fi
   4618 fi
   4619 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4620 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4621 NM="$lt_cv_path_NM"
   4622 
   4623 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4624 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4625 LN_S=$as_ln_s
   4626 if test "$LN_S" = "ln -s"; then
   4627   { echo "$as_me:$LINENO: result: yes" >&5
   4628 echo "${ECHO_T}yes" >&6; }
   4629 else
   4630   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4631 echo "${ECHO_T}no, using $LN_S" >&6; }
   4632 fi
   4633 
   4634 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4635 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4636 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4637   echo $ECHO_N "(cached) $ECHO_C" >&6
   4638 else
   4639   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4640 lt_cv_file_magic_test_file=
   4641 lt_cv_deplibs_check_method='unknown'
   4642 # Need to set the preceding variable on all platforms that support
   4643 # interlibrary dependencies.
   4644 # 'none' -- dependencies not supported.
   4645 # `unknown' -- same as none, but documents that we really don't know.
   4646 # 'pass_all' -- all dependencies passed with no checks.
   4647 # 'test_compile' -- check by making test program.
   4648 # 'file_magic [[regex]]' -- check by looking for files in library path
   4649 # which responds to the $file_magic_cmd with a given extended regex.
   4650 # If you have `file' or equivalent on your system and you're not sure
   4651 # whether `pass_all' will *always* work, you probably want this one.
   4652 
   4653 case $host_os in
   4654 aix4* | aix5*)
   4655   lt_cv_deplibs_check_method=pass_all
   4656   ;;
   4657 
   4658 beos*)
   4659   lt_cv_deplibs_check_method=pass_all
   4660   ;;
   4661 
   4662 bsdi[45]*)
   4663   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4664   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4665   lt_cv_file_magic_test_file=/shlib/libc.so
   4666   ;;
   4667 
   4668 cygwin*)
   4669   # func_win32_libid is a shell function defined in ltmain.sh
   4670   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4671   lt_cv_file_magic_cmd='func_win32_libid'
   4672   ;;
   4673 
   4674 mingw* | pw32*)
   4675   # Base MSYS/MinGW do not provide the 'file' command needed by
   4676   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4677   # unless we find 'file', for example because we are cross-compiling.
   4678   if ( file / ) >/dev/null 2>&1; then
   4679     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4680     lt_cv_file_magic_cmd='func_win32_libid'
   4681   else
   4682     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4683     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4684   fi
   4685   ;;
   4686 
   4687 darwin* | rhapsody*)
   4688   lt_cv_deplibs_check_method=pass_all
   4689   ;;
   4690 
   4691 freebsd* | dragonfly*)
   4692   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4693     case $host_cpu in
   4694     i*86 )
   4695       # Not sure whether the presence of OpenBSD here was a mistake.
   4696       # Let's accept both of them until this is cleared up.
   4697       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4698       lt_cv_file_magic_cmd=/usr/bin/file
   4699       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4700       ;;
   4701     esac
   4702   else
   4703     lt_cv_deplibs_check_method=pass_all
   4704   fi
   4705   ;;
   4706 
   4707 gnu*)
   4708   lt_cv_deplibs_check_method=pass_all
   4709   ;;
   4710 
   4711 hpux10.20* | hpux11*)
   4712   lt_cv_file_magic_cmd=/usr/bin/file
   4713   case $host_cpu in
   4714   ia64*)
   4715     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4716     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4717     ;;
   4718   hppa*64*)
   4719     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]'
   4720     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4721     ;;
   4722   *)
   4723     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4724     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4725     ;;
   4726   esac
   4727   ;;
   4728 
   4729 interix[3-9]*)
   4730   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4731   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4732   ;;
   4733 
   4734 irix5* | irix6* | nonstopux*)
   4735   case $LD in
   4736   *-32|*"-32 ") libmagic=32-bit;;
   4737   *-n32|*"-n32 ") libmagic=N32;;
   4738   *-64|*"-64 ") libmagic=64-bit;;
   4739   *) libmagic=never-match;;
   4740   esac
   4741   lt_cv_deplibs_check_method=pass_all
   4742   ;;
   4743 
   4744 # This must be Linux ELF.
   4745 linux* | k*bsd*-gnu)
   4746   lt_cv_deplibs_check_method=pass_all
   4747   ;;
   4748 
   4749 netbsd*)
   4750   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4751     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4752   else
   4753     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4754   fi
   4755   ;;
   4756 
   4757 newos6*)
   4758   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4759   lt_cv_file_magic_cmd=/usr/bin/file
   4760   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4761   ;;
   4762 
   4763 nto-qnx*)
   4764   lt_cv_deplibs_check_method=unknown
   4765   ;;
   4766 
   4767 openbsd*)
   4768   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4769     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4770   else
   4771     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4772   fi
   4773   ;;
   4774 
   4775 osf3* | osf4* | osf5*)
   4776   lt_cv_deplibs_check_method=pass_all
   4777   ;;
   4778 
   4779 rdos*)
   4780   lt_cv_deplibs_check_method=pass_all
   4781   ;;
   4782 
   4783 solaris*)
   4784   lt_cv_deplibs_check_method=pass_all
   4785   ;;
   4786 
   4787 sysv4 | sysv4.3*)
   4788   case $host_vendor in
   4789   motorola)
   4790     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]'
   4791     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4792     ;;
   4793   ncr)
   4794     lt_cv_deplibs_check_method=pass_all
   4795     ;;
   4796   sequent)
   4797     lt_cv_file_magic_cmd='/bin/file'
   4798     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4799     ;;
   4800   sni)
   4801     lt_cv_file_magic_cmd='/bin/file'
   4802     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4803     lt_cv_file_magic_test_file=/lib/libc.so
   4804     ;;
   4805   siemens)
   4806     lt_cv_deplibs_check_method=pass_all
   4807     ;;
   4808   pc)
   4809     lt_cv_deplibs_check_method=pass_all
   4810     ;;
   4811   esac
   4812   ;;
   4813 
   4814 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4815   lt_cv_deplibs_check_method=pass_all
   4816   ;;
   4817 esac
   4818 
   4819 fi
   4820 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4821 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4822 file_magic_cmd=$lt_cv_file_magic_cmd
   4823 deplibs_check_method=$lt_cv_deplibs_check_method
   4824 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4825 
   4826 
   4827 
   4828 
   4829 # If no C compiler was specified, use CC.
   4830 LTCC=${LTCC-"$CC"}
   4831 
   4832 # If no C compiler flags were specified, use CFLAGS.
   4833 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4834 
   4835 # Allow CC to be a program name with arguments.
   4836 compiler=$CC
   4837 
   4838 
   4839 # Check whether --enable-libtool-lock was given.
   4840 if test "${enable_libtool_lock+set}" = set; then
   4841   enableval=$enable_libtool_lock;
   4842 fi
   4843 
   4844 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4845 
   4846 # Some flags need to be propagated to the compiler or linker for good
   4847 # libtool support.
   4848 case $host in
   4849 ia64-*-hpux*)
   4850   # Find out which ABI we are using.
   4851   echo 'int i;' > conftest.$ac_ext
   4852   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4853   (eval $ac_compile) 2>&5
   4854   ac_status=$?
   4855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4856   (exit $ac_status); }; then
   4857     case `/usr/bin/file conftest.$ac_objext` in
   4858     *ELF-32*)
   4859       HPUX_IA64_MODE="32"
   4860       ;;
   4861     *ELF-64*)
   4862       HPUX_IA64_MODE="64"
   4863       ;;
   4864     esac
   4865   fi
   4866   rm -rf conftest*
   4867   ;;
   4868 *-*-irix6*)
   4869   # Find out which ABI we are using.
   4870   echo '#line 4870 "configure"' > conftest.$ac_ext
   4871   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4872   (eval $ac_compile) 2>&5
   4873   ac_status=$?
   4874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4875   (exit $ac_status); }; then
   4876    if test "$lt_cv_prog_gnu_ld" = yes; then
   4877     case `/usr/bin/file conftest.$ac_objext` in
   4878     *32-bit*)
   4879       LD="${LD-ld} -melf32bsmip"
   4880       ;;
   4881     *N32*)
   4882       LD="${LD-ld} -melf32bmipn32"
   4883       ;;
   4884     *64-bit*)
   4885       LD="${LD-ld} -melf64bmip"
   4886       ;;
   4887     esac
   4888    else
   4889     case `/usr/bin/file conftest.$ac_objext` in
   4890     *32-bit*)
   4891       LD="${LD-ld} -32"
   4892       ;;
   4893     *N32*)
   4894       LD="${LD-ld} -n32"
   4895       ;;
   4896     *64-bit*)
   4897       LD="${LD-ld} -64"
   4898       ;;
   4899     esac
   4900    fi
   4901   fi
   4902   rm -rf conftest*
   4903   ;;
   4904 
   4905 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4906 s390*-*linux*|sparc*-*linux*)
   4907   # Find out which ABI we are using.
   4908   echo 'int i;' > conftest.$ac_ext
   4909   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4910   (eval $ac_compile) 2>&5
   4911   ac_status=$?
   4912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4913   (exit $ac_status); }; then
   4914     case `/usr/bin/file conftest.o` in
   4915     *32-bit*)
   4916       case $host in
   4917         x86_64-*kfreebsd*-gnu)
   4918           LD="${LD-ld} -m elf_i386_fbsd"
   4919           ;;
   4920         x86_64-*linux*)
   4921           LD="${LD-ld} -m elf_i386"
   4922           ;;
   4923         ppc64-*linux*|powerpc64-*linux*)
   4924           LD="${LD-ld} -m elf32ppclinux"
   4925           ;;
   4926         s390x-*linux*)
   4927           LD="${LD-ld} -m elf_s390"
   4928           ;;
   4929         sparc64-*linux*)
   4930           LD="${LD-ld} -m elf32_sparc"
   4931           ;;
   4932       esac
   4933       ;;
   4934     *64-bit*)
   4935       case $host in
   4936         x86_64-*kfreebsd*-gnu)
   4937           LD="${LD-ld} -m elf_x86_64_fbsd"
   4938           ;;
   4939         x86_64-*linux*)
   4940           LD="${LD-ld} -m elf_x86_64"
   4941           ;;
   4942         ppc*-*linux*|powerpc*-*linux*)
   4943           LD="${LD-ld} -m elf64ppc"
   4944           ;;
   4945         s390*-*linux*)
   4946           LD="${LD-ld} -m elf64_s390"
   4947           ;;
   4948         sparc*-*linux*)
   4949           LD="${LD-ld} -m elf64_sparc"
   4950           ;;
   4951       esac
   4952       ;;
   4953     esac
   4954   fi
   4955   rm -rf conftest*
   4956   ;;
   4957 
   4958 *-*-sco3.2v5*)
   4959   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4960   SAVE_CFLAGS="$CFLAGS"
   4961   CFLAGS="$CFLAGS -belf"
   4962   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4963 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4964 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4965   echo $ECHO_N "(cached) $ECHO_C" >&6
   4966 else
   4967   ac_ext=c
   4968 ac_cpp='$CPP $CPPFLAGS'
   4969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4972 
   4973      cat >conftest.$ac_ext <<_ACEOF
   4974 /* confdefs.h.  */
   4975 _ACEOF
   4976 cat confdefs.h >>conftest.$ac_ext
   4977 cat >>conftest.$ac_ext <<_ACEOF
   4978 /* end confdefs.h.  */
   4979 
   4980 int
   4981 main ()
   4982 {
   4983 
   4984   ;
   4985   return 0;
   4986 }
   4987 _ACEOF
   4988 rm -f conftest.$ac_objext conftest$ac_exeext
   4989 if { (ac_try="$ac_link"
   4990 case "(($ac_try" in
   4991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4992   *) ac_try_echo=$ac_try;;
   4993 esac
   4994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4995   (eval "$ac_link") 2>conftest.er1
   4996   ac_status=$?
   4997   grep -v '^ *+' conftest.er1 >conftest.err
   4998   rm -f conftest.er1
   4999   cat conftest.err >&5
   5000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5001   (exit $ac_status); } && {
   5002 	 test -z "$ac_c_werror_flag" ||
   5003 	 test ! -s conftest.err
   5004        } && test -s conftest$ac_exeext &&
   5005        $as_test_x conftest$ac_exeext; then
   5006   lt_cv_cc_needs_belf=yes
   5007 else
   5008   echo "$as_me: failed program was:" >&5
   5009 sed 's/^/| /' conftest.$ac_ext >&5
   5010 
   5011 	lt_cv_cc_needs_belf=no
   5012 fi
   5013 
   5014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5015       conftest$ac_exeext conftest.$ac_ext
   5016      ac_ext=c
   5017 ac_cpp='$CPP $CPPFLAGS'
   5018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5021 
   5022 fi
   5023 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5024 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   5025   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5026     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5027     CFLAGS="$SAVE_CFLAGS"
   5028   fi
   5029   ;;
   5030 sparc*-*solaris*)
   5031   # Find out which ABI we are using.
   5032   echo 'int i;' > conftest.$ac_ext
   5033   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5034   (eval $ac_compile) 2>&5
   5035   ac_status=$?
   5036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5037   (exit $ac_status); }; then
   5038     case `/usr/bin/file conftest.o` in
   5039     *64-bit*)
   5040       case $lt_cv_prog_gnu_ld in
   5041       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5042       *)    LD="${LD-ld} -64" ;;
   5043       esac
   5044       ;;
   5045     esac
   5046   fi
   5047   rm -rf conftest*
   5048   ;;
   5049 
   5050 
   5051 esac
   5052 
   5053 need_locks="$enable_libtool_lock"
   5054 
   5055 
   5056 ac_ext=c
   5057 ac_cpp='$CPP $CPPFLAGS'
   5058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5061 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   5062 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   5063 # On Suns, sometimes $CPP names a directory.
   5064 if test -n "$CPP" && test -d "$CPP"; then
   5065   CPP=
   5066 fi
   5067 if test -z "$CPP"; then
   5068   if test "${ac_cv_prog_CPP+set}" = set; then
   5069   echo $ECHO_N "(cached) $ECHO_C" >&6
   5070 else
   5071       # Double quotes because CPP needs to be expanded
   5072     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5073     do
   5074       ac_preproc_ok=false
   5075 for ac_c_preproc_warn_flag in '' yes
   5076 do
   5077   # Use a header file that comes with gcc, so configuring glibc
   5078   # with a fresh cross-compiler works.
   5079   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5080   # <limits.h> exists even on freestanding compilers.
   5081   # On the NeXT, cc -E runs the code through the compiler's parser,
   5082   # not just through cpp. "Syntax error" is here to catch this case.
   5083   cat >conftest.$ac_ext <<_ACEOF
   5084 /* confdefs.h.  */
   5085 _ACEOF
   5086 cat confdefs.h >>conftest.$ac_ext
   5087 cat >>conftest.$ac_ext <<_ACEOF
   5088 /* end confdefs.h.  */
   5089 #ifdef __STDC__
   5090 # include <limits.h>
   5091 #else
   5092 # include <assert.h>
   5093 #endif
   5094 		     Syntax error
   5095 _ACEOF
   5096 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5097 case "(($ac_try" in
   5098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5099   *) ac_try_echo=$ac_try;;
   5100 esac
   5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5102   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5103   ac_status=$?
   5104   grep -v '^ *+' conftest.er1 >conftest.err
   5105   rm -f conftest.er1
   5106   cat conftest.err >&5
   5107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5108   (exit $ac_status); } >/dev/null && {
   5109 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5110 	 test ! -s conftest.err
   5111        }; then
   5112   :
   5113 else
   5114   echo "$as_me: failed program was:" >&5
   5115 sed 's/^/| /' conftest.$ac_ext >&5
   5116 
   5117   # Broken: fails on valid input.
   5118 continue
   5119 fi
   5120 
   5121 rm -f conftest.err conftest.$ac_ext
   5122 
   5123   # OK, works on sane cases.  Now check whether nonexistent headers
   5124   # can be detected and how.
   5125   cat >conftest.$ac_ext <<_ACEOF
   5126 /* confdefs.h.  */
   5127 _ACEOF
   5128 cat confdefs.h >>conftest.$ac_ext
   5129 cat >>conftest.$ac_ext <<_ACEOF
   5130 /* end confdefs.h.  */
   5131 #include <ac_nonexistent.h>
   5132 _ACEOF
   5133 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5134 case "(($ac_try" in
   5135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5136   *) ac_try_echo=$ac_try;;
   5137 esac
   5138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5139   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5140   ac_status=$?
   5141   grep -v '^ *+' conftest.er1 >conftest.err
   5142   rm -f conftest.er1
   5143   cat conftest.err >&5
   5144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5145   (exit $ac_status); } >/dev/null && {
   5146 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5147 	 test ! -s conftest.err
   5148        }; then
   5149   # Broken: success on invalid input.
   5150 continue
   5151 else
   5152   echo "$as_me: failed program was:" >&5
   5153 sed 's/^/| /' conftest.$ac_ext >&5
   5154 
   5155   # Passes both tests.
   5156 ac_preproc_ok=:
   5157 break
   5158 fi
   5159 
   5160 rm -f conftest.err conftest.$ac_ext
   5161 
   5162 done
   5163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5164 rm -f conftest.err conftest.$ac_ext
   5165 if $ac_preproc_ok; then
   5166   break
   5167 fi
   5168 
   5169     done
   5170     ac_cv_prog_CPP=$CPP
   5171 
   5172 fi
   5173   CPP=$ac_cv_prog_CPP
   5174 else
   5175   ac_cv_prog_CPP=$CPP
   5176 fi
   5177 { echo "$as_me:$LINENO: result: $CPP" >&5
   5178 echo "${ECHO_T}$CPP" >&6; }
   5179 ac_preproc_ok=false
   5180 for ac_c_preproc_warn_flag in '' yes
   5181 do
   5182   # Use a header file that comes with gcc, so configuring glibc
   5183   # with a fresh cross-compiler works.
   5184   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5185   # <limits.h> exists even on freestanding compilers.
   5186   # On the NeXT, cc -E runs the code through the compiler's parser,
   5187   # not just through cpp. "Syntax error" is here to catch this case.
   5188   cat >conftest.$ac_ext <<_ACEOF
   5189 /* confdefs.h.  */
   5190 _ACEOF
   5191 cat confdefs.h >>conftest.$ac_ext
   5192 cat >>conftest.$ac_ext <<_ACEOF
   5193 /* end confdefs.h.  */
   5194 #ifdef __STDC__
   5195 # include <limits.h>
   5196 #else
   5197 # include <assert.h>
   5198 #endif
   5199 		     Syntax error
   5200 _ACEOF
   5201 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5202 case "(($ac_try" in
   5203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5204   *) ac_try_echo=$ac_try;;
   5205 esac
   5206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5207   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5208   ac_status=$?
   5209   grep -v '^ *+' conftest.er1 >conftest.err
   5210   rm -f conftest.er1
   5211   cat conftest.err >&5
   5212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5213   (exit $ac_status); } >/dev/null && {
   5214 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5215 	 test ! -s conftest.err
   5216        }; then
   5217   :
   5218 else
   5219   echo "$as_me: failed program was:" >&5
   5220 sed 's/^/| /' conftest.$ac_ext >&5
   5221 
   5222   # Broken: fails on valid input.
   5223 continue
   5224 fi
   5225 
   5226 rm -f conftest.err conftest.$ac_ext
   5227 
   5228   # OK, works on sane cases.  Now check whether nonexistent headers
   5229   # can be detected and how.
   5230   cat >conftest.$ac_ext <<_ACEOF
   5231 /* confdefs.h.  */
   5232 _ACEOF
   5233 cat confdefs.h >>conftest.$ac_ext
   5234 cat >>conftest.$ac_ext <<_ACEOF
   5235 /* end confdefs.h.  */
   5236 #include <ac_nonexistent.h>
   5237 _ACEOF
   5238 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5239 case "(($ac_try" in
   5240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5241   *) ac_try_echo=$ac_try;;
   5242 esac
   5243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5244   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5245   ac_status=$?
   5246   grep -v '^ *+' conftest.er1 >conftest.err
   5247   rm -f conftest.er1
   5248   cat conftest.err >&5
   5249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5250   (exit $ac_status); } >/dev/null && {
   5251 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5252 	 test ! -s conftest.err
   5253        }; then
   5254   # Broken: success on invalid input.
   5255 continue
   5256 else
   5257   echo "$as_me: failed program was:" >&5
   5258 sed 's/^/| /' conftest.$ac_ext >&5
   5259 
   5260   # Passes both tests.
   5261 ac_preproc_ok=:
   5262 break
   5263 fi
   5264 
   5265 rm -f conftest.err conftest.$ac_ext
   5266 
   5267 done
   5268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5269 rm -f conftest.err conftest.$ac_ext
   5270 if $ac_preproc_ok; then
   5271   :
   5272 else
   5273   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5274 See \`config.log' for more details." >&5
   5275 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5276 See \`config.log' for more details." >&2;}
   5277    { (exit 1); exit 1; }; }
   5278 fi
   5279 
   5280 ac_ext=c
   5281 ac_cpp='$CPP $CPPFLAGS'
   5282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5285 
   5286 
   5287 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5288 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   5289 if test "${ac_cv_header_stdc+set}" = set; then
   5290   echo $ECHO_N "(cached) $ECHO_C" >&6
   5291 else
   5292   cat >conftest.$ac_ext <<_ACEOF
   5293 /* confdefs.h.  */
   5294 _ACEOF
   5295 cat confdefs.h >>conftest.$ac_ext
   5296 cat >>conftest.$ac_ext <<_ACEOF
   5297 /* end confdefs.h.  */
   5298 #include <stdlib.h>
   5299 #include <stdarg.h>
   5300 #include <string.h>
   5301 #include <float.h>
   5302 
   5303 int
   5304 main ()
   5305 {
   5306 
   5307   ;
   5308   return 0;
   5309 }
   5310 _ACEOF
   5311 rm -f conftest.$ac_objext
   5312 if { (ac_try="$ac_compile"
   5313 case "(($ac_try" in
   5314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5315   *) ac_try_echo=$ac_try;;
   5316 esac
   5317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5318   (eval "$ac_compile") 2>conftest.er1
   5319   ac_status=$?
   5320   grep -v '^ *+' conftest.er1 >conftest.err
   5321   rm -f conftest.er1
   5322   cat conftest.err >&5
   5323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5324   (exit $ac_status); } && {
   5325 	 test -z "$ac_c_werror_flag" ||
   5326 	 test ! -s conftest.err
   5327        } && test -s conftest.$ac_objext; then
   5328   ac_cv_header_stdc=yes
   5329 else
   5330   echo "$as_me: failed program was:" >&5
   5331 sed 's/^/| /' conftest.$ac_ext >&5
   5332 
   5333 	ac_cv_header_stdc=no
   5334 fi
   5335 
   5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5337 
   5338 if test $ac_cv_header_stdc = yes; then
   5339   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5340   cat >conftest.$ac_ext <<_ACEOF
   5341 /* confdefs.h.  */
   5342 _ACEOF
   5343 cat confdefs.h >>conftest.$ac_ext
   5344 cat >>conftest.$ac_ext <<_ACEOF
   5345 /* end confdefs.h.  */
   5346 #include <string.h>
   5347 
   5348 _ACEOF
   5349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5350   $EGREP "memchr" >/dev/null 2>&1; then
   5351   :
   5352 else
   5353   ac_cv_header_stdc=no
   5354 fi
   5355 rm -f conftest*
   5356 
   5357 fi
   5358 
   5359 if test $ac_cv_header_stdc = yes; then
   5360   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5361   cat >conftest.$ac_ext <<_ACEOF
   5362 /* confdefs.h.  */
   5363 _ACEOF
   5364 cat confdefs.h >>conftest.$ac_ext
   5365 cat >>conftest.$ac_ext <<_ACEOF
   5366 /* end confdefs.h.  */
   5367 #include <stdlib.h>
   5368 
   5369 _ACEOF
   5370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5371   $EGREP "free" >/dev/null 2>&1; then
   5372   :
   5373 else
   5374   ac_cv_header_stdc=no
   5375 fi
   5376 rm -f conftest*
   5377 
   5378 fi
   5379 
   5380 if test $ac_cv_header_stdc = yes; then
   5381   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5382   if test "$cross_compiling" = yes; then
   5383   :
   5384 else
   5385   cat >conftest.$ac_ext <<_ACEOF
   5386 /* confdefs.h.  */
   5387 _ACEOF
   5388 cat confdefs.h >>conftest.$ac_ext
   5389 cat >>conftest.$ac_ext <<_ACEOF
   5390 /* end confdefs.h.  */
   5391 #include <ctype.h>
   5392 #include <stdlib.h>
   5393 #if ((' ' & 0x0FF) == 0x020)
   5394 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5395 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5396 #else
   5397 # define ISLOWER(c) \
   5398 		   (('a' <= (c) && (c) <= 'i') \
   5399 		     || ('j' <= (c) && (c) <= 'r') \
   5400 		     || ('s' <= (c) && (c) <= 'z'))
   5401 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5402 #endif
   5403 
   5404 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5405 int
   5406 main ()
   5407 {
   5408   int i;
   5409   for (i = 0; i < 256; i++)
   5410     if (XOR (islower (i), ISLOWER (i))
   5411 	|| toupper (i) != TOUPPER (i))
   5412       return 2;
   5413   return 0;
   5414 }
   5415 _ACEOF
   5416 rm -f conftest$ac_exeext
   5417 if { (ac_try="$ac_link"
   5418 case "(($ac_try" in
   5419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5420   *) ac_try_echo=$ac_try;;
   5421 esac
   5422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5423   (eval "$ac_link") 2>&5
   5424   ac_status=$?
   5425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5426   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5427   { (case "(($ac_try" in
   5428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5429   *) ac_try_echo=$ac_try;;
   5430 esac
   5431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5432   (eval "$ac_try") 2>&5
   5433   ac_status=$?
   5434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5435   (exit $ac_status); }; }; then
   5436   :
   5437 else
   5438   echo "$as_me: program exited with status $ac_status" >&5
   5439 echo "$as_me: failed program was:" >&5
   5440 sed 's/^/| /' conftest.$ac_ext >&5
   5441 
   5442 ( exit $ac_status )
   5443 ac_cv_header_stdc=no
   5444 fi
   5445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5446 fi
   5447 
   5448 
   5449 fi
   5450 fi
   5451 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5452 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5453 if test $ac_cv_header_stdc = yes; then
   5454 
   5455 cat >>confdefs.h <<\_ACEOF
   5456 #define STDC_HEADERS 1
   5457 _ACEOF
   5458 
   5459 fi
   5460 
   5461 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5472 		  inttypes.h stdint.h unistd.h
   5473 do
   5474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5478   echo $ECHO_N "(cached) $ECHO_C" >&6
   5479 else
   5480   cat >conftest.$ac_ext <<_ACEOF
   5481 /* confdefs.h.  */
   5482 _ACEOF
   5483 cat confdefs.h >>conftest.$ac_ext
   5484 cat >>conftest.$ac_ext <<_ACEOF
   5485 /* end confdefs.h.  */
   5486 $ac_includes_default
   5487 
   5488 #include <$ac_header>
   5489 _ACEOF
   5490 rm -f conftest.$ac_objext
   5491 if { (ac_try="$ac_compile"
   5492 case "(($ac_try" in
   5493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5494   *) ac_try_echo=$ac_try;;
   5495 esac
   5496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5497   (eval "$ac_compile") 2>conftest.er1
   5498   ac_status=$?
   5499   grep -v '^ *+' conftest.er1 >conftest.err
   5500   rm -f conftest.er1
   5501   cat conftest.err >&5
   5502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5503   (exit $ac_status); } && {
   5504 	 test -z "$ac_c_werror_flag" ||
   5505 	 test ! -s conftest.err
   5506        } && test -s conftest.$ac_objext; then
   5507   eval "$as_ac_Header=yes"
   5508 else
   5509   echo "$as_me: failed program was:" >&5
   5510 sed 's/^/| /' conftest.$ac_ext >&5
   5511 
   5512 	eval "$as_ac_Header=no"
   5513 fi
   5514 
   5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5516 fi
   5517 ac_res=`eval echo '${'$as_ac_Header'}'`
   5518 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5519 echo "${ECHO_T}$ac_res" >&6; }
   5520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5521   cat >>confdefs.h <<_ACEOF
   5522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5523 _ACEOF
   5524 
   5525 fi
   5526 
   5527 done
   5528 
   5529 
   5530 
   5531 for ac_header in dlfcn.h
   5532 do
   5533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5535   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5538   echo $ECHO_N "(cached) $ECHO_C" >&6
   5539 fi
   5540 ac_res=`eval echo '${'$as_ac_Header'}'`
   5541 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5542 echo "${ECHO_T}$ac_res" >&6; }
   5543 else
   5544   # Is the header compilable?
   5545 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5547 cat >conftest.$ac_ext <<_ACEOF
   5548 /* confdefs.h.  */
   5549 _ACEOF
   5550 cat confdefs.h >>conftest.$ac_ext
   5551 cat >>conftest.$ac_ext <<_ACEOF
   5552 /* end confdefs.h.  */
   5553 $ac_includes_default
   5554 #include <$ac_header>
   5555 _ACEOF
   5556 rm -f conftest.$ac_objext
   5557 if { (ac_try="$ac_compile"
   5558 case "(($ac_try" in
   5559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5560   *) ac_try_echo=$ac_try;;
   5561 esac
   5562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5563   (eval "$ac_compile") 2>conftest.er1
   5564   ac_status=$?
   5565   grep -v '^ *+' conftest.er1 >conftest.err
   5566   rm -f conftest.er1
   5567   cat conftest.err >&5
   5568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5569   (exit $ac_status); } && {
   5570 	 test -z "$ac_c_werror_flag" ||
   5571 	 test ! -s conftest.err
   5572        } && test -s conftest.$ac_objext; then
   5573   ac_header_compiler=yes
   5574 else
   5575   echo "$as_me: failed program was:" >&5
   5576 sed 's/^/| /' conftest.$ac_ext >&5
   5577 
   5578 	ac_header_compiler=no
   5579 fi
   5580 
   5581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5582 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5583 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5584 
   5585 # Is the header present?
   5586 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5588 cat >conftest.$ac_ext <<_ACEOF
   5589 /* confdefs.h.  */
   5590 _ACEOF
   5591 cat confdefs.h >>conftest.$ac_ext
   5592 cat >>conftest.$ac_ext <<_ACEOF
   5593 /* end confdefs.h.  */
   5594 #include <$ac_header>
   5595 _ACEOF
   5596 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5597 case "(($ac_try" in
   5598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5599   *) ac_try_echo=$ac_try;;
   5600 esac
   5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5602   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5603   ac_status=$?
   5604   grep -v '^ *+' conftest.er1 >conftest.err
   5605   rm -f conftest.er1
   5606   cat conftest.err >&5
   5607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5608   (exit $ac_status); } >/dev/null && {
   5609 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5610 	 test ! -s conftest.err
   5611        }; then
   5612   ac_header_preproc=yes
   5613 else
   5614   echo "$as_me: failed program was:" >&5
   5615 sed 's/^/| /' conftest.$ac_ext >&5
   5616 
   5617   ac_header_preproc=no
   5618 fi
   5619 
   5620 rm -f conftest.err conftest.$ac_ext
   5621 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5622 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5623 
   5624 # So?  What about this header?
   5625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5626   yes:no: )
   5627     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5629     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5631     ac_header_preproc=yes
   5632     ;;
   5633   no:yes:* )
   5634     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5636     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5637 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5638     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5640     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5641 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5642     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5644     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5646 
   5647     ;;
   5648 esac
   5649 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5652   echo $ECHO_N "(cached) $ECHO_C" >&6
   5653 else
   5654   eval "$as_ac_Header=\$ac_header_preproc"
   5655 fi
   5656 ac_res=`eval echo '${'$as_ac_Header'}'`
   5657 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5658 echo "${ECHO_T}$ac_res" >&6; }
   5659 
   5660 fi
   5661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5662   cat >>confdefs.h <<_ACEOF
   5663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5664 _ACEOF
   5665 
   5666 fi
   5667 
   5668 done
   5669 
   5670 
   5671 
   5672 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5673     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5674     (test "X$CXX" != "Xg++"))) ; then
   5675   ac_ext=cpp
   5676 ac_cpp='$CXXCPP $CPPFLAGS'
   5677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5680 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5681 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5682 if test -z "$CXXCPP"; then
   5683   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5684   echo $ECHO_N "(cached) $ECHO_C" >&6
   5685 else
   5686       # Double quotes because CXXCPP needs to be expanded
   5687     for CXXCPP in "$CXX -E" "/lib/cpp"
   5688     do
   5689       ac_preproc_ok=false
   5690 for ac_cxx_preproc_warn_flag in '' yes
   5691 do
   5692   # Use a header file that comes with gcc, so configuring glibc
   5693   # with a fresh cross-compiler works.
   5694   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5695   # <limits.h> exists even on freestanding compilers.
   5696   # On the NeXT, cc -E runs the code through the compiler's parser,
   5697   # not just through cpp. "Syntax error" is here to catch this case.
   5698   cat >conftest.$ac_ext <<_ACEOF
   5699 /* confdefs.h.  */
   5700 _ACEOF
   5701 cat confdefs.h >>conftest.$ac_ext
   5702 cat >>conftest.$ac_ext <<_ACEOF
   5703 /* end confdefs.h.  */
   5704 #ifdef __STDC__
   5705 # include <limits.h>
   5706 #else
   5707 # include <assert.h>
   5708 #endif
   5709 		     Syntax error
   5710 _ACEOF
   5711 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5712 case "(($ac_try" in
   5713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5714   *) ac_try_echo=$ac_try;;
   5715 esac
   5716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5717   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5718   ac_status=$?
   5719   grep -v '^ *+' conftest.er1 >conftest.err
   5720   rm -f conftest.er1
   5721   cat conftest.err >&5
   5722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5723   (exit $ac_status); } >/dev/null && {
   5724 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5725 	 test ! -s conftest.err
   5726        }; then
   5727   :
   5728 else
   5729   echo "$as_me: failed program was:" >&5
   5730 sed 's/^/| /' conftest.$ac_ext >&5
   5731 
   5732   # Broken: fails on valid input.
   5733 continue
   5734 fi
   5735 
   5736 rm -f conftest.err conftest.$ac_ext
   5737 
   5738   # OK, works on sane cases.  Now check whether nonexistent headers
   5739   # can be detected and how.
   5740   cat >conftest.$ac_ext <<_ACEOF
   5741 /* confdefs.h.  */
   5742 _ACEOF
   5743 cat confdefs.h >>conftest.$ac_ext
   5744 cat >>conftest.$ac_ext <<_ACEOF
   5745 /* end confdefs.h.  */
   5746 #include <ac_nonexistent.h>
   5747 _ACEOF
   5748 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5749 case "(($ac_try" in
   5750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5751   *) ac_try_echo=$ac_try;;
   5752 esac
   5753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5754   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5755   ac_status=$?
   5756   grep -v '^ *+' conftest.er1 >conftest.err
   5757   rm -f conftest.er1
   5758   cat conftest.err >&5
   5759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5760   (exit $ac_status); } >/dev/null && {
   5761 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5762 	 test ! -s conftest.err
   5763        }; then
   5764   # Broken: success on invalid input.
   5765 continue
   5766 else
   5767   echo "$as_me: failed program was:" >&5
   5768 sed 's/^/| /' conftest.$ac_ext >&5
   5769 
   5770   # Passes both tests.
   5771 ac_preproc_ok=:
   5772 break
   5773 fi
   5774 
   5775 rm -f conftest.err conftest.$ac_ext
   5776 
   5777 done
   5778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5779 rm -f conftest.err conftest.$ac_ext
   5780 if $ac_preproc_ok; then
   5781   break
   5782 fi
   5783 
   5784     done
   5785     ac_cv_prog_CXXCPP=$CXXCPP
   5786 
   5787 fi
   5788   CXXCPP=$ac_cv_prog_CXXCPP
   5789 else
   5790   ac_cv_prog_CXXCPP=$CXXCPP
   5791 fi
   5792 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5793 echo "${ECHO_T}$CXXCPP" >&6; }
   5794 ac_preproc_ok=false
   5795 for ac_cxx_preproc_warn_flag in '' yes
   5796 do
   5797   # Use a header file that comes with gcc, so configuring glibc
   5798   # with a fresh cross-compiler works.
   5799   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5800   # <limits.h> exists even on freestanding compilers.
   5801   # On the NeXT, cc -E runs the code through the compiler's parser,
   5802   # not just through cpp. "Syntax error" is here to catch this case.
   5803   cat >conftest.$ac_ext <<_ACEOF
   5804 /* confdefs.h.  */
   5805 _ACEOF
   5806 cat confdefs.h >>conftest.$ac_ext
   5807 cat >>conftest.$ac_ext <<_ACEOF
   5808 /* end confdefs.h.  */
   5809 #ifdef __STDC__
   5810 # include <limits.h>
   5811 #else
   5812 # include <assert.h>
   5813 #endif
   5814 		     Syntax error
   5815 _ACEOF
   5816 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5817 case "(($ac_try" in
   5818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5819   *) ac_try_echo=$ac_try;;
   5820 esac
   5821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5822   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5823   ac_status=$?
   5824   grep -v '^ *+' conftest.er1 >conftest.err
   5825   rm -f conftest.er1
   5826   cat conftest.err >&5
   5827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5828   (exit $ac_status); } >/dev/null && {
   5829 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5830 	 test ! -s conftest.err
   5831        }; then
   5832   :
   5833 else
   5834   echo "$as_me: failed program was:" >&5
   5835 sed 's/^/| /' conftest.$ac_ext >&5
   5836 
   5837   # Broken: fails on valid input.
   5838 continue
   5839 fi
   5840 
   5841 rm -f conftest.err conftest.$ac_ext
   5842 
   5843   # OK, works on sane cases.  Now check whether nonexistent headers
   5844   # can be detected and how.
   5845   cat >conftest.$ac_ext <<_ACEOF
   5846 /* confdefs.h.  */
   5847 _ACEOF
   5848 cat confdefs.h >>conftest.$ac_ext
   5849 cat >>conftest.$ac_ext <<_ACEOF
   5850 /* end confdefs.h.  */
   5851 #include <ac_nonexistent.h>
   5852 _ACEOF
   5853 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5854 case "(($ac_try" in
   5855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5856   *) ac_try_echo=$ac_try;;
   5857 esac
   5858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5859   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5860   ac_status=$?
   5861   grep -v '^ *+' conftest.er1 >conftest.err
   5862   rm -f conftest.er1
   5863   cat conftest.err >&5
   5864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5865   (exit $ac_status); } >/dev/null && {
   5866 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5867 	 test ! -s conftest.err
   5868        }; then
   5869   # Broken: success on invalid input.
   5870 continue
   5871 else
   5872   echo "$as_me: failed program was:" >&5
   5873 sed 's/^/| /' conftest.$ac_ext >&5
   5874 
   5875   # Passes both tests.
   5876 ac_preproc_ok=:
   5877 break
   5878 fi
   5879 
   5880 rm -f conftest.err conftest.$ac_ext
   5881 
   5882 done
   5883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5884 rm -f conftest.err conftest.$ac_ext
   5885 if $ac_preproc_ok; then
   5886   :
   5887 else
   5888   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5889 See \`config.log' for more details." >&5
   5890 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5891 See \`config.log' for more details." >&2;}
   5892    { (exit 1); exit 1; }; }
   5893 fi
   5894 
   5895 ac_ext=cpp
   5896 ac_cpp='$CXXCPP $CPPFLAGS'
   5897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5900 
   5901 fi
   5902 
   5903 
   5904 ac_ext=f
   5905 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5906 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5907 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5908 if test -n "$ac_tool_prefix"; then
   5909   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
   5910   do
   5911     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5915 if test "${ac_cv_prog_F77+set}" = set; then
   5916   echo $ECHO_N "(cached) $ECHO_C" >&6
   5917 else
   5918   if test -n "$F77"; then
   5919   ac_cv_prog_F77="$F77" # Let the user override the test.
   5920 else
   5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5922 for as_dir in $PATH
   5923 do
   5924   IFS=$as_save_IFS
   5925   test -z "$as_dir" && as_dir=.
   5926   for ac_exec_ext in '' $ac_executable_extensions; do
   5927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5928     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5929     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5930     break 2
   5931   fi
   5932 done
   5933 done
   5934 IFS=$as_save_IFS
   5935 
   5936 fi
   5937 fi
   5938 F77=$ac_cv_prog_F77
   5939 if test -n "$F77"; then
   5940   { echo "$as_me:$LINENO: result: $F77" >&5
   5941 echo "${ECHO_T}$F77" >&6; }
   5942 else
   5943   { echo "$as_me:$LINENO: result: no" >&5
   5944 echo "${ECHO_T}no" >&6; }
   5945 fi
   5946 
   5947 
   5948     test -n "$F77" && break
   5949   done
   5950 fi
   5951 if test -z "$F77"; then
   5952   ac_ct_F77=$F77
   5953   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
   5954 do
   5955   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5956 set dummy $ac_prog; ac_word=$2
   5957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5959 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5960   echo $ECHO_N "(cached) $ECHO_C" >&6
   5961 else
   5962   if test -n "$ac_ct_F77"; then
   5963   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5964 else
   5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5966 for as_dir in $PATH
   5967 do
   5968   IFS=$as_save_IFS
   5969   test -z "$as_dir" && as_dir=.
   5970   for ac_exec_ext in '' $ac_executable_extensions; do
   5971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5972     ac_cv_prog_ac_ct_F77="$ac_prog"
   5973     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5974     break 2
   5975   fi
   5976 done
   5977 done
   5978 IFS=$as_save_IFS
   5979 
   5980 fi
   5981 fi
   5982 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5983 if test -n "$ac_ct_F77"; then
   5984   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5985 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5986 else
   5987   { echo "$as_me:$LINENO: result: no" >&5
   5988 echo "${ECHO_T}no" >&6; }
   5989 fi
   5990 
   5991 
   5992   test -n "$ac_ct_F77" && break
   5993 done
   5994 
   5995   if test "x$ac_ct_F77" = x; then
   5996     F77=""
   5997   else
   5998     case $cross_compiling:$ac_tool_warned in
   5999 yes:)
   6000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6001 whose name does not start with the host triplet.  If you think this
   6002 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6004 whose name does not start with the host triplet.  If you think this
   6005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6006 ac_tool_warned=yes ;;
   6007 esac
   6008     F77=$ac_ct_F77
   6009   fi
   6010 fi
   6011 
   6012 
   6013 # Provide some information about the compiler.
   6014 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6015 ac_compiler=`set X $ac_compile; echo $2`
   6016 { (ac_try="$ac_compiler --version >&5"
   6017 case "(($ac_try" in
   6018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6019   *) ac_try_echo=$ac_try;;
   6020 esac
   6021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6022   (eval "$ac_compiler --version >&5") 2>&5
   6023   ac_status=$?
   6024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6025   (exit $ac_status); }
   6026 { (ac_try="$ac_compiler -v >&5"
   6027 case "(($ac_try" in
   6028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6029   *) ac_try_echo=$ac_try;;
   6030 esac
   6031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6032   (eval "$ac_compiler -v >&5") 2>&5
   6033   ac_status=$?
   6034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6035   (exit $ac_status); }
   6036 { (ac_try="$ac_compiler -V >&5"
   6037 case "(($ac_try" in
   6038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6039   *) ac_try_echo=$ac_try;;
   6040 esac
   6041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6042   (eval "$ac_compiler -V >&5") 2>&5
   6043   ac_status=$?
   6044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6045   (exit $ac_status); }
   6046 rm -f a.out
   6047 
   6048 # If we don't use `.F' as extension, the preprocessor is not run on the
   6049 # input file.  (Note that this only needs to work for GNU compilers.)
   6050 ac_save_ext=$ac_ext
   6051 ac_ext=F
   6052 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6053 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6054 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6055   echo $ECHO_N "(cached) $ECHO_C" >&6
   6056 else
   6057   cat >conftest.$ac_ext <<_ACEOF
   6058       program main
   6059 #ifndef __GNUC__
   6060        choke me
   6061 #endif
   6062 
   6063       end
   6064 _ACEOF
   6065 rm -f conftest.$ac_objext
   6066 if { (ac_try="$ac_compile"
   6067 case "(($ac_try" in
   6068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6069   *) ac_try_echo=$ac_try;;
   6070 esac
   6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6072   (eval "$ac_compile") 2>conftest.er1
   6073   ac_status=$?
   6074   grep -v '^ *+' conftest.er1 >conftest.err
   6075   rm -f conftest.er1
   6076   cat conftest.err >&5
   6077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6078   (exit $ac_status); } && {
   6079 	 test -z "$ac_f77_werror_flag" ||
   6080 	 test ! -s conftest.err
   6081        } && test -s conftest.$ac_objext; then
   6082   ac_compiler_gnu=yes
   6083 else
   6084   echo "$as_me: failed program was:" >&5
   6085 sed 's/^/| /' conftest.$ac_ext >&5
   6086 
   6087 	ac_compiler_gnu=no
   6088 fi
   6089 
   6090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6091 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6092 
   6093 fi
   6094 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6095 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6096 ac_ext=$ac_save_ext
   6097 ac_test_FFLAGS=${FFLAGS+set}
   6098 ac_save_FFLAGS=$FFLAGS
   6099 FFLAGS=
   6100 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6101 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6102 if test "${ac_cv_prog_f77_g+set}" = set; then
   6103   echo $ECHO_N "(cached) $ECHO_C" >&6
   6104 else
   6105   FFLAGS=-g
   6106 cat >conftest.$ac_ext <<_ACEOF
   6107       program main
   6108 
   6109       end
   6110 _ACEOF
   6111 rm -f conftest.$ac_objext
   6112 if { (ac_try="$ac_compile"
   6113 case "(($ac_try" in
   6114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6115   *) ac_try_echo=$ac_try;;
   6116 esac
   6117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6118   (eval "$ac_compile") 2>conftest.er1
   6119   ac_status=$?
   6120   grep -v '^ *+' conftest.er1 >conftest.err
   6121   rm -f conftest.er1
   6122   cat conftest.err >&5
   6123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6124   (exit $ac_status); } && {
   6125 	 test -z "$ac_f77_werror_flag" ||
   6126 	 test ! -s conftest.err
   6127        } && test -s conftest.$ac_objext; then
   6128   ac_cv_prog_f77_g=yes
   6129 else
   6130   echo "$as_me: failed program was:" >&5
   6131 sed 's/^/| /' conftest.$ac_ext >&5
   6132 
   6133 	ac_cv_prog_f77_g=no
   6134 fi
   6135 
   6136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6137 
   6138 fi
   6139 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6140 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6141 if test "$ac_test_FFLAGS" = set; then
   6142   FFLAGS=$ac_save_FFLAGS
   6143 elif test $ac_cv_prog_f77_g = yes; then
   6144   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6145     FFLAGS="-g -O2"
   6146   else
   6147     FFLAGS="-g"
   6148   fi
   6149 else
   6150   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6151     FFLAGS="-O2"
   6152   else
   6153     FFLAGS=
   6154   fi
   6155 fi
   6156 
   6157 G77=`test $ac_compiler_gnu = yes && echo yes`
   6158 ac_ext=c
   6159 ac_cpp='$CPP $CPPFLAGS'
   6160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6163 
   6164 
   6165 
   6166 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6167 
   6168 # find the maximum length of command line arguments
   6169 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6170 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6171 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6172   echo $ECHO_N "(cached) $ECHO_C" >&6
   6173 else
   6174     i=0
   6175   teststring="ABCD"
   6176 
   6177   case $build_os in
   6178   msdosdjgpp*)
   6179     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6180     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6181     # during glob expansion).  Even if it were fixed, the result of this
   6182     # check would be larger than it should be.
   6183     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6184     ;;
   6185 
   6186   gnu*)
   6187     # Under GNU Hurd, this test is not required because there is
   6188     # no limit to the length of command line arguments.
   6189     # Libtool will interpret -1 as no limit whatsoever
   6190     lt_cv_sys_max_cmd_len=-1;
   6191     ;;
   6192 
   6193   cygwin* | mingw*)
   6194     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6195     # about 5 minutes as the teststring grows exponentially.
   6196     # Worse, since 9x/ME are not pre-emptively multitasking,
   6197     # you end up with a "frozen" computer, even though with patience
   6198     # the test eventually succeeds (with a max line length of 256k).
   6199     # Instead, let's just punt: use the minimum linelength reported by
   6200     # all of the supported platforms: 8192 (on NT/2K/XP).
   6201     lt_cv_sys_max_cmd_len=8192;
   6202     ;;
   6203 
   6204   amigaos*)
   6205     # On AmigaOS with pdksh, this test takes hours, literally.
   6206     # So we just punt and use a minimum line length of 8192.
   6207     lt_cv_sys_max_cmd_len=8192;
   6208     ;;
   6209 
   6210   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6211     # This has been around since 386BSD, at least.  Likely further.
   6212     if test -x /sbin/sysctl; then
   6213       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6214     elif test -x /usr/sbin/sysctl; then
   6215       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6216     else
   6217       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6218     fi
   6219     # And add a safety zone
   6220     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6221     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6222     ;;
   6223 
   6224   interix*)
   6225     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6226     lt_cv_sys_max_cmd_len=196608
   6227     ;;
   6228 
   6229   osf*)
   6230     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6231     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6232     # nice to cause kernel panics so lets avoid the loop below.
   6233     # First set a reasonable default.
   6234     lt_cv_sys_max_cmd_len=16384
   6235     #
   6236     if test -x /sbin/sysconfig; then
   6237       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6238         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6239       esac
   6240     fi
   6241     ;;
   6242   sco3.2v5*)
   6243     lt_cv_sys_max_cmd_len=102400
   6244     ;;
   6245   sysv5* | sco5v6* | sysv4.2uw2*)
   6246     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6247     if test -n "$kargmax"; then
   6248       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6249     else
   6250       lt_cv_sys_max_cmd_len=32768
   6251     fi
   6252     ;;
   6253   *)
   6254     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6255     if test -n "$lt_cv_sys_max_cmd_len"; then
   6256       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6257       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6258     else
   6259       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6260       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6261 	       = "XX$teststring") >/dev/null 2>&1 &&
   6262 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6263 	      lt_cv_sys_max_cmd_len=$new_result &&
   6264 	      test $i != 17 # 1/2 MB should be enough
   6265       do
   6266         i=`expr $i + 1`
   6267         teststring=$teststring$teststring
   6268       done
   6269       teststring=
   6270       # Add a significant safety factor because C++ compilers can tack on massive
   6271       # amounts of additional arguments before passing them to the linker.
   6272       # It appears as though 1/2 is a usable value.
   6273       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6274     fi
   6275     ;;
   6276   esac
   6277 
   6278 fi
   6279 
   6280 if test -n $lt_cv_sys_max_cmd_len ; then
   6281   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6282 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6283 else
   6284   { echo "$as_me:$LINENO: result: none" >&5
   6285 echo "${ECHO_T}none" >&6; }
   6286 fi
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6293 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6294 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6295 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6296   echo $ECHO_N "(cached) $ECHO_C" >&6
   6297 else
   6298 
   6299 # These are sane defaults that work on at least a few old systems.
   6300 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6301 
   6302 # Character class describing NM global symbol codes.
   6303 symcode='[BCDEGRST]'
   6304 
   6305 # Regexp to match symbols that can be accessed directly from C.
   6306 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6307 
   6308 # Transform an extracted symbol line into a proper C declaration
   6309 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6310 
   6311 # Transform an extracted symbol line into symbol name and symbol address
   6312 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'"
   6313 
   6314 # Define system-specific variables.
   6315 case $host_os in
   6316 aix*)
   6317   symcode='[BCDT]'
   6318   ;;
   6319 cygwin* | mingw* | pw32*)
   6320   symcode='[ABCDGISTW]'
   6321   ;;
   6322 hpux*) # Its linker distinguishes data from code symbols
   6323   if test "$host_cpu" = ia64; then
   6324     symcode='[ABCDEGRST]'
   6325   fi
   6326   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6327   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'"
   6328   ;;
   6329 linux* | k*bsd*-gnu)
   6330   if test "$host_cpu" = ia64; then
   6331     symcode='[ABCDGIRSTW]'
   6332     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6333     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'"
   6334   fi
   6335   ;;
   6336 irix* | nonstopux*)
   6337   symcode='[BCDEGRST]'
   6338   ;;
   6339 osf*)
   6340   symcode='[BCDEGQRST]'
   6341   ;;
   6342 solaris*)
   6343   symcode='[BDRT]'
   6344   ;;
   6345 sco3.2v5*)
   6346   symcode='[DT]'
   6347   ;;
   6348 sysv4.2uw2*)
   6349   symcode='[DT]'
   6350   ;;
   6351 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6352   symcode='[ABDT]'
   6353   ;;
   6354 sysv4)
   6355   symcode='[DFNSTU]'
   6356   ;;
   6357 esac
   6358 
   6359 # Handle CRLF in mingw tool chain
   6360 opt_cr=
   6361 case $build_os in
   6362 mingw*)
   6363   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6364   ;;
   6365 esac
   6366 
   6367 # If we're using GNU nm, then use its standard symbol codes.
   6368 case `$NM -V 2>&1` in
   6369 *GNU* | *'with BFD'*)
   6370   symcode='[ABCDGIRSTW]' ;;
   6371 esac
   6372 
   6373 # Try without a prefix undercore, then with it.
   6374 for ac_symprfx in "" "_"; do
   6375 
   6376   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6377   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6378 
   6379   # Write the raw and C identifiers.
   6380   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6381 
   6382   # Check to see that the pipe works correctly.
   6383   pipe_works=no
   6384 
   6385   rm -f conftest*
   6386   cat > conftest.$ac_ext <<EOF
   6387 #ifdef __cplusplus
   6388 extern "C" {
   6389 #endif
   6390 char nm_test_var;
   6391 void nm_test_func(){}
   6392 #ifdef __cplusplus
   6393 }
   6394 #endif
   6395 int main(){nm_test_var='a';nm_test_func();return(0);}
   6396 EOF
   6397 
   6398   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6399   (eval $ac_compile) 2>&5
   6400   ac_status=$?
   6401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6402   (exit $ac_status); }; then
   6403     # Now try to grab the symbols.
   6404     nlist=conftest.nm
   6405     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6406   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6407   ac_status=$?
   6408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6409   (exit $ac_status); } && test -s "$nlist"; then
   6410       # Try sorting and uniquifying the output.
   6411       if sort "$nlist" | uniq > "$nlist"T; then
   6412 	mv -f "$nlist"T "$nlist"
   6413       else
   6414 	rm -f "$nlist"T
   6415       fi
   6416 
   6417       # Make sure that we snagged all the symbols we need.
   6418       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6419 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6420 	  cat <<EOF > conftest.$ac_ext
   6421 #ifdef __cplusplus
   6422 extern "C" {
   6423 #endif
   6424 
   6425 EOF
   6426 	  # Now generate the symbol file.
   6427 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6428 
   6429 	  cat <<EOF >> conftest.$ac_ext
   6430 #if defined (__STDC__) && __STDC__
   6431 # define lt_ptr_t void *
   6432 #else
   6433 # define lt_ptr_t char *
   6434 # define const
   6435 #endif
   6436 
   6437 /* The mapping between symbol names and symbols. */
   6438 const struct {
   6439   const char *name;
   6440   lt_ptr_t address;
   6441 }
   6442 lt_preloaded_symbols[] =
   6443 {
   6444 EOF
   6445 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6446 	  cat <<\EOF >> conftest.$ac_ext
   6447   {0, (lt_ptr_t) 0}
   6448 };
   6449 
   6450 #ifdef __cplusplus
   6451 }
   6452 #endif
   6453 EOF
   6454 	  # Now try linking the two files.
   6455 	  mv conftest.$ac_objext conftstm.$ac_objext
   6456 	  lt_save_LIBS="$LIBS"
   6457 	  lt_save_CFLAGS="$CFLAGS"
   6458 	  LIBS="conftstm.$ac_objext"
   6459 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6460 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6461   (eval $ac_link) 2>&5
   6462   ac_status=$?
   6463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6464   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6465 	    pipe_works=yes
   6466 	  fi
   6467 	  LIBS="$lt_save_LIBS"
   6468 	  CFLAGS="$lt_save_CFLAGS"
   6469 	else
   6470 	  echo "cannot find nm_test_func in $nlist" >&5
   6471 	fi
   6472       else
   6473 	echo "cannot find nm_test_var in $nlist" >&5
   6474       fi
   6475     else
   6476       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6477     fi
   6478   else
   6479     echo "$progname: failed program was:" >&5
   6480     cat conftest.$ac_ext >&5
   6481   fi
   6482   rm -f conftest* conftst*
   6483 
   6484   # Do not use the global_symbol_pipe unless it works.
   6485   if test "$pipe_works" = yes; then
   6486     break
   6487   else
   6488     lt_cv_sys_global_symbol_pipe=
   6489   fi
   6490 done
   6491 
   6492 fi
   6493 
   6494 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6495   lt_cv_sys_global_symbol_to_cdecl=
   6496 fi
   6497 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6498   { echo "$as_me:$LINENO: result: failed" >&5
   6499 echo "${ECHO_T}failed" >&6; }
   6500 else
   6501   { echo "$as_me:$LINENO: result: ok" >&5
   6502 echo "${ECHO_T}ok" >&6; }
   6503 fi
   6504 
   6505 { echo "$as_me:$LINENO: checking for objdir" >&5
   6506 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6507 if test "${lt_cv_objdir+set}" = set; then
   6508   echo $ECHO_N "(cached) $ECHO_C" >&6
   6509 else
   6510   rm -f .libs 2>/dev/null
   6511 mkdir .libs 2>/dev/null
   6512 if test -d .libs; then
   6513   lt_cv_objdir=.libs
   6514 else
   6515   # MS-DOS does not allow filenames that begin with a dot.
   6516   lt_cv_objdir=_libs
   6517 fi
   6518 rmdir .libs 2>/dev/null
   6519 fi
   6520 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6521 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6522 objdir=$lt_cv_objdir
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 case $host_os in
   6529 aix3*)
   6530   # AIX sometimes has problems with the GCC collect2 program.  For some
   6531   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6532   # vanish in a puff of smoke.
   6533   if test "X${COLLECT_NAMES+set}" != Xset; then
   6534     COLLECT_NAMES=
   6535     export COLLECT_NAMES
   6536   fi
   6537   ;;
   6538 esac
   6539 
   6540 # Sed substitution that helps us do robust quoting.  It backslashifies
   6541 # metacharacters that are still active within double-quoted strings.
   6542 Xsed='sed -e 1s/^X//'
   6543 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6544 
   6545 # Same as above, but do not quote variable references.
   6546 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6547 
   6548 # Sed substitution to delay expansion of an escaped shell variable in a
   6549 # double_quote_subst'ed string.
   6550 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6551 
   6552 # Sed substitution to avoid accidental globbing in evaled expressions
   6553 no_glob_subst='s/\*/\\\*/g'
   6554 
   6555 # Constants:
   6556 rm="rm -f"
   6557 
   6558 # Global variables:
   6559 default_ofile=libtool
   6560 can_build_shared=yes
   6561 
   6562 # All known linkers require a `.a' archive for static linking (except MSVC,
   6563 # which needs '.lib').
   6564 libext=a
   6565 ltmain="$ac_aux_dir/ltmain.sh"
   6566 ofile="$default_ofile"
   6567 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6568 
   6569 if test -n "$ac_tool_prefix"; then
   6570   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6571 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6574 if test "${ac_cv_prog_AR+set}" = set; then
   6575   echo $ECHO_N "(cached) $ECHO_C" >&6
   6576 else
   6577   if test -n "$AR"; then
   6578   ac_cv_prog_AR="$AR" # Let the user override the test.
   6579 else
   6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6581 for as_dir in $PATH
   6582 do
   6583   IFS=$as_save_IFS
   6584   test -z "$as_dir" && as_dir=.
   6585   for ac_exec_ext in '' $ac_executable_extensions; do
   6586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6587     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6588     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6589     break 2
   6590   fi
   6591 done
   6592 done
   6593 IFS=$as_save_IFS
   6594 
   6595 fi
   6596 fi
   6597 AR=$ac_cv_prog_AR
   6598 if test -n "$AR"; then
   6599   { echo "$as_me:$LINENO: result: $AR" >&5
   6600 echo "${ECHO_T}$AR" >&6; }
   6601 else
   6602   { echo "$as_me:$LINENO: result: no" >&5
   6603 echo "${ECHO_T}no" >&6; }
   6604 fi
   6605 
   6606 
   6607 fi
   6608 if test -z "$ac_cv_prog_AR"; then
   6609   ac_ct_AR=$AR
   6610   # Extract the first word of "ar", so it can be a program name with args.
   6611 set dummy ar; ac_word=$2
   6612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6614 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6615   echo $ECHO_N "(cached) $ECHO_C" >&6
   6616 else
   6617   if test -n "$ac_ct_AR"; then
   6618   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6619 else
   6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6621 for as_dir in $PATH
   6622 do
   6623   IFS=$as_save_IFS
   6624   test -z "$as_dir" && as_dir=.
   6625   for ac_exec_ext in '' $ac_executable_extensions; do
   6626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6627     ac_cv_prog_ac_ct_AR="ar"
   6628     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6629     break 2
   6630   fi
   6631 done
   6632 done
   6633 IFS=$as_save_IFS
   6634 
   6635 fi
   6636 fi
   6637 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6638 if test -n "$ac_ct_AR"; then
   6639   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6640 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6641 else
   6642   { echo "$as_me:$LINENO: result: no" >&5
   6643 echo "${ECHO_T}no" >&6; }
   6644 fi
   6645 
   6646   if test "x$ac_ct_AR" = x; then
   6647     AR="false"
   6648   else
   6649     case $cross_compiling:$ac_tool_warned in
   6650 yes:)
   6651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6652 whose name does not start with the host triplet.  If you think this
   6653 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6655 whose name does not start with the host triplet.  If you think this
   6656 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6657 ac_tool_warned=yes ;;
   6658 esac
   6659     AR=$ac_ct_AR
   6660   fi
   6661 else
   6662   AR="$ac_cv_prog_AR"
   6663 fi
   6664 
   6665 if test -n "$ac_tool_prefix"; then
   6666   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6667 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6670 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6671   echo $ECHO_N "(cached) $ECHO_C" >&6
   6672 else
   6673   if test -n "$RANLIB"; then
   6674   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6675 else
   6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6677 for as_dir in $PATH
   6678 do
   6679   IFS=$as_save_IFS
   6680   test -z "$as_dir" && as_dir=.
   6681   for ac_exec_ext in '' $ac_executable_extensions; do
   6682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6683     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6684     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6685     break 2
   6686   fi
   6687 done
   6688 done
   6689 IFS=$as_save_IFS
   6690 
   6691 fi
   6692 fi
   6693 RANLIB=$ac_cv_prog_RANLIB
   6694 if test -n "$RANLIB"; then
   6695   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6696 echo "${ECHO_T}$RANLIB" >&6; }
   6697 else
   6698   { echo "$as_me:$LINENO: result: no" >&5
   6699 echo "${ECHO_T}no" >&6; }
   6700 fi
   6701 
   6702 
   6703 fi
   6704 if test -z "$ac_cv_prog_RANLIB"; then
   6705   ac_ct_RANLIB=$RANLIB
   6706   # Extract the first word of "ranlib", so it can be a program name with args.
   6707 set dummy ranlib; ac_word=$2
   6708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6710 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6711   echo $ECHO_N "(cached) $ECHO_C" >&6
   6712 else
   6713   if test -n "$ac_ct_RANLIB"; then
   6714   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6715 else
   6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6717 for as_dir in $PATH
   6718 do
   6719   IFS=$as_save_IFS
   6720   test -z "$as_dir" && as_dir=.
   6721   for ac_exec_ext in '' $ac_executable_extensions; do
   6722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6723     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6724     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6725     break 2
   6726   fi
   6727 done
   6728 done
   6729 IFS=$as_save_IFS
   6730 
   6731 fi
   6732 fi
   6733 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6734 if test -n "$ac_ct_RANLIB"; then
   6735   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6736 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6737 else
   6738   { echo "$as_me:$LINENO: result: no" >&5
   6739 echo "${ECHO_T}no" >&6; }
   6740 fi
   6741 
   6742   if test "x$ac_ct_RANLIB" = x; then
   6743     RANLIB=":"
   6744   else
   6745     case $cross_compiling:$ac_tool_warned in
   6746 yes:)
   6747 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6748 whose name does not start with the host triplet.  If you think this
   6749 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6750 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6751 whose name does not start with the host triplet.  If you think this
   6752 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6753 ac_tool_warned=yes ;;
   6754 esac
   6755     RANLIB=$ac_ct_RANLIB
   6756   fi
   6757 else
   6758   RANLIB="$ac_cv_prog_RANLIB"
   6759 fi
   6760 
   6761 if test -n "$ac_tool_prefix"; then
   6762   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6763 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6766 if test "${ac_cv_prog_STRIP+set}" = set; then
   6767   echo $ECHO_N "(cached) $ECHO_C" >&6
   6768 else
   6769   if test -n "$STRIP"; then
   6770   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6771 else
   6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6773 for as_dir in $PATH
   6774 do
   6775   IFS=$as_save_IFS
   6776   test -z "$as_dir" && as_dir=.
   6777   for ac_exec_ext in '' $ac_executable_extensions; do
   6778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6779     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6780     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6781     break 2
   6782   fi
   6783 done
   6784 done
   6785 IFS=$as_save_IFS
   6786 
   6787 fi
   6788 fi
   6789 STRIP=$ac_cv_prog_STRIP
   6790 if test -n "$STRIP"; then
   6791   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6792 echo "${ECHO_T}$STRIP" >&6; }
   6793 else
   6794   { echo "$as_me:$LINENO: result: no" >&5
   6795 echo "${ECHO_T}no" >&6; }
   6796 fi
   6797 
   6798 
   6799 fi
   6800 if test -z "$ac_cv_prog_STRIP"; then
   6801   ac_ct_STRIP=$STRIP
   6802   # Extract the first word of "strip", so it can be a program name with args.
   6803 set dummy strip; ac_word=$2
   6804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6806 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6807   echo $ECHO_N "(cached) $ECHO_C" >&6
   6808 else
   6809   if test -n "$ac_ct_STRIP"; then
   6810   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6811 else
   6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6813 for as_dir in $PATH
   6814 do
   6815   IFS=$as_save_IFS
   6816   test -z "$as_dir" && as_dir=.
   6817   for ac_exec_ext in '' $ac_executable_extensions; do
   6818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6819     ac_cv_prog_ac_ct_STRIP="strip"
   6820     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6821     break 2
   6822   fi
   6823 done
   6824 done
   6825 IFS=$as_save_IFS
   6826 
   6827 fi
   6828 fi
   6829 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6830 if test -n "$ac_ct_STRIP"; then
   6831   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6832 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6833 else
   6834   { echo "$as_me:$LINENO: result: no" >&5
   6835 echo "${ECHO_T}no" >&6; }
   6836 fi
   6837 
   6838   if test "x$ac_ct_STRIP" = x; then
   6839     STRIP=":"
   6840   else
   6841     case $cross_compiling:$ac_tool_warned in
   6842 yes:)
   6843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6844 whose name does not start with the host triplet.  If you think this
   6845 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6847 whose name does not start with the host triplet.  If you think this
   6848 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6849 ac_tool_warned=yes ;;
   6850 esac
   6851     STRIP=$ac_ct_STRIP
   6852   fi
   6853 else
   6854   STRIP="$ac_cv_prog_STRIP"
   6855 fi
   6856 
   6857 
   6858 old_CC="$CC"
   6859 old_CFLAGS="$CFLAGS"
   6860 
   6861 # Set sane defaults for various variables
   6862 test -z "$AR" && AR=ar
   6863 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6864 test -z "$AS" && AS=as
   6865 test -z "$CC" && CC=cc
   6866 test -z "$LTCC" && LTCC=$CC
   6867 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6868 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6869 test -z "$LD" && LD=ld
   6870 test -z "$LN_S" && LN_S="ln -s"
   6871 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6872 test -z "$NM" && NM=nm
   6873 test -z "$SED" && SED=sed
   6874 test -z "$OBJDUMP" && OBJDUMP=objdump
   6875 test -z "$RANLIB" && RANLIB=:
   6876 test -z "$STRIP" && STRIP=:
   6877 test -z "$ac_objext" && ac_objext=o
   6878 
   6879 # Determine commands to create old-style static archives.
   6880 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6881 old_postinstall_cmds='chmod 644 $oldlib'
   6882 old_postuninstall_cmds=
   6883 
   6884 if test -n "$RANLIB"; then
   6885   case $host_os in
   6886   openbsd*)
   6887     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6888     ;;
   6889   *)
   6890     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6891     ;;
   6892   esac
   6893   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6894 fi
   6895 
   6896 for cc_temp in $compiler""; do
   6897   case $cc_temp in
   6898     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6899     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6900     \-*) ;;
   6901     *) break;;
   6902   esac
   6903 done
   6904 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6905 
   6906 
   6907 # Only perform the check for file, if the check method requires it
   6908 case $deplibs_check_method in
   6909 file_magic*)
   6910   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6911     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6912 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6913 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6914   echo $ECHO_N "(cached) $ECHO_C" >&6
   6915 else
   6916   case $MAGIC_CMD in
   6917 [\\/*] |  ?:[\\/]*)
   6918   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6919   ;;
   6920 *)
   6921   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6922   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6923   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6924   for ac_dir in $ac_dummy; do
   6925     IFS="$lt_save_ifs"
   6926     test -z "$ac_dir" && ac_dir=.
   6927     if test -f $ac_dir/${ac_tool_prefix}file; then
   6928       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6929       if test -n "$file_magic_test_file"; then
   6930 	case $deplibs_check_method in
   6931 	"file_magic "*)
   6932 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6933 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6934 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6935 	    $EGREP "$file_magic_regex" > /dev/null; then
   6936 	    :
   6937 	  else
   6938 	    cat <<EOF 1>&2
   6939 
   6940 *** Warning: the command libtool uses to detect shared libraries,
   6941 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6942 *** The result is that libtool may fail to recognize shared libraries
   6943 *** as such.  This will affect the creation of libtool libraries that
   6944 *** depend on shared libraries, but programs linked with such libtool
   6945 *** libraries will work regardless of this problem.  Nevertheless, you
   6946 *** may want to report the problem to your system manager and/or to
   6947 *** bug-libtool@gnu.org
   6948 
   6949 EOF
   6950 	  fi ;;
   6951 	esac
   6952       fi
   6953       break
   6954     fi
   6955   done
   6956   IFS="$lt_save_ifs"
   6957   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6958   ;;
   6959 esac
   6960 fi
   6961 
   6962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6963 if test -n "$MAGIC_CMD"; then
   6964   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6965 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6966 else
   6967   { echo "$as_me:$LINENO: result: no" >&5
   6968 echo "${ECHO_T}no" >&6; }
   6969 fi
   6970 
   6971 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6972   if test -n "$ac_tool_prefix"; then
   6973     { echo "$as_me:$LINENO: checking for file" >&5
   6974 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6975 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6976   echo $ECHO_N "(cached) $ECHO_C" >&6
   6977 else
   6978   case $MAGIC_CMD in
   6979 [\\/*] |  ?:[\\/]*)
   6980   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6981   ;;
   6982 *)
   6983   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6984   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6985   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6986   for ac_dir in $ac_dummy; do
   6987     IFS="$lt_save_ifs"
   6988     test -z "$ac_dir" && ac_dir=.
   6989     if test -f $ac_dir/file; then
   6990       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6991       if test -n "$file_magic_test_file"; then
   6992 	case $deplibs_check_method in
   6993 	"file_magic "*)
   6994 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6995 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6996 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6997 	    $EGREP "$file_magic_regex" > /dev/null; then
   6998 	    :
   6999 	  else
   7000 	    cat <<EOF 1>&2
   7001 
   7002 *** Warning: the command libtool uses to detect shared libraries,
   7003 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7004 *** The result is that libtool may fail to recognize shared libraries
   7005 *** as such.  This will affect the creation of libtool libraries that
   7006 *** depend on shared libraries, but programs linked with such libtool
   7007 *** libraries will work regardless of this problem.  Nevertheless, you
   7008 *** may want to report the problem to your system manager and/or to
   7009 *** bug-libtool@gnu.org
   7010 
   7011 EOF
   7012 	  fi ;;
   7013 	esac
   7014       fi
   7015       break
   7016     fi
   7017   done
   7018   IFS="$lt_save_ifs"
   7019   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7020   ;;
   7021 esac
   7022 fi
   7023 
   7024 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7025 if test -n "$MAGIC_CMD"; then
   7026   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7027 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7028 else
   7029   { echo "$as_me:$LINENO: result: no" >&5
   7030 echo "${ECHO_T}no" >&6; }
   7031 fi
   7032 
   7033   else
   7034     MAGIC_CMD=:
   7035   fi
   7036 fi
   7037 
   7038   fi
   7039   ;;
   7040 esac
   7041 
   7042 enable_dlopen=no
   7043 enable_win32_dll=no
   7044 
   7045 # Check whether --enable-libtool-lock was given.
   7046 if test "${enable_libtool_lock+set}" = set; then
   7047   enableval=$enable_libtool_lock;
   7048 fi
   7049 
   7050 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7051 
   7052 
   7053 # Check whether --with-pic was given.
   7054 if test "${with_pic+set}" = set; then
   7055   withval=$with_pic; pic_mode="$withval"
   7056 else
   7057   pic_mode=default
   7058 fi
   7059 
   7060 test -z "$pic_mode" && pic_mode=default
   7061 
   7062 # Use C for the default configuration in the libtool script
   7063 tagname=
   7064 lt_save_CC="$CC"
   7065 ac_ext=c
   7066 ac_cpp='$CPP $CPPFLAGS'
   7067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7070 
   7071 
   7072 # Source file extension for C test sources.
   7073 ac_ext=c
   7074 
   7075 # Object file extension for compiled C test sources.
   7076 objext=o
   7077 objext=$objext
   7078 
   7079 # Code to be used in simple compile tests
   7080 lt_simple_compile_test_code="int some_variable = 0;"
   7081 
   7082 # Code to be used in simple link tests
   7083 lt_simple_link_test_code='int main(){return(0);}'
   7084 
   7085 
   7086 # If no C compiler was specified, use CC.
   7087 LTCC=${LTCC-"$CC"}
   7088 
   7089 # If no C compiler flags were specified, use CFLAGS.
   7090 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7091 
   7092 # Allow CC to be a program name with arguments.
   7093 compiler=$CC
   7094 
   7095 
   7096 # save warnings/boilerplate of simple test code
   7097 ac_outfile=conftest.$ac_objext
   7098 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7099 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7100 _lt_compiler_boilerplate=`cat conftest.err`
   7101 $rm conftest*
   7102 
   7103 ac_outfile=conftest.$ac_objext
   7104 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7105 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7106 _lt_linker_boilerplate=`cat conftest.err`
   7107 $rm conftest*
   7108 
   7109 
   7110 
   7111 lt_prog_compiler_no_builtin_flag=
   7112 
   7113 if test "$GCC" = yes; then
   7114   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7115 
   7116 
   7117 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7118 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7119 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7120   echo $ECHO_N "(cached) $ECHO_C" >&6
   7121 else
   7122   lt_cv_prog_compiler_rtti_exceptions=no
   7123   ac_outfile=conftest.$ac_objext
   7124    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7125    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7126    # Insert the option either (1) after the last *FLAGS variable, or
   7127    # (2) before a word containing "conftest.", or (3) at the end.
   7128    # Note that $ac_compile itself does not contain backslashes and begins
   7129    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7130    # The option is referenced via a variable to avoid confusing sed.
   7131    lt_compile=`echo "$ac_compile" | $SED \
   7132    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7133    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7134    -e 's:$: $lt_compiler_flag:'`
   7135    (eval echo "\"\$as_me:7135: $lt_compile\"" >&5)
   7136    (eval "$lt_compile" 2>conftest.err)
   7137    ac_status=$?
   7138    cat conftest.err >&5
   7139    echo "$as_me:7139: \$? = $ac_status" >&5
   7140    if (exit $ac_status) && test -s "$ac_outfile"; then
   7141      # The compiler can only warn and ignore the option if not recognized
   7142      # So say no if there are warnings other than the usual output.
   7143      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7144      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7145      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7146        lt_cv_prog_compiler_rtti_exceptions=yes
   7147      fi
   7148    fi
   7149    $rm conftest*
   7150 
   7151 fi
   7152 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7153 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7154 
   7155 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7156     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7157 else
   7158     :
   7159 fi
   7160 
   7161 fi
   7162 
   7163 lt_prog_compiler_wl=
   7164 lt_prog_compiler_pic=
   7165 lt_prog_compiler_static=
   7166 
   7167 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7168 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7169 
   7170   if test "$GCC" = yes; then
   7171     lt_prog_compiler_wl='-Wl,'
   7172     lt_prog_compiler_static='-static'
   7173 
   7174     case $host_os in
   7175       aix*)
   7176       # All AIX code is PIC.
   7177       if test "$host_cpu" = ia64; then
   7178 	# AIX 5 now supports IA64 processor
   7179 	lt_prog_compiler_static='-Bstatic'
   7180       fi
   7181       ;;
   7182 
   7183     amigaos*)
   7184       # FIXME: we need at least 68020 code to build shared libraries, but
   7185       # adding the `-m68020' flag to GCC prevents building anything better,
   7186       # like `-m68040'.
   7187       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7188       ;;
   7189 
   7190     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7191       # PIC is the default for these OSes.
   7192       ;;
   7193 
   7194     mingw* | cygwin* | pw32* | os2*)
   7195       # This hack is so that the source file can tell whether it is being
   7196       # built for inclusion in a dll (and should export symbols for example).
   7197       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7198       # (--disable-auto-import) libraries
   7199       lt_prog_compiler_pic='-DDLL_EXPORT'
   7200       ;;
   7201 
   7202     darwin* | rhapsody*)
   7203       # PIC is the default on this platform
   7204       # Common symbols not allowed in MH_DYLIB files
   7205       lt_prog_compiler_pic='-fno-common'
   7206       ;;
   7207 
   7208     interix[3-9]*)
   7209       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7210       # Instead, we relocate shared libraries at runtime.
   7211       ;;
   7212 
   7213     msdosdjgpp*)
   7214       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7215       # on systems that don't support them.
   7216       lt_prog_compiler_can_build_shared=no
   7217       enable_shared=no
   7218       ;;
   7219 
   7220     sysv4*MP*)
   7221       if test -d /usr/nec; then
   7222 	lt_prog_compiler_pic=-Kconform_pic
   7223       fi
   7224       ;;
   7225 
   7226     hpux*)
   7227       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7228       # not for PA HP-UX.
   7229       case $host_cpu in
   7230       hppa*64*|ia64*)
   7231 	# +Z the default
   7232 	;;
   7233       *)
   7234 	lt_prog_compiler_pic='-fPIC'
   7235 	;;
   7236       esac
   7237       ;;
   7238 
   7239     *)
   7240       lt_prog_compiler_pic='-fPIC'
   7241       ;;
   7242     esac
   7243   else
   7244     # PORTME Check for flag to pass linker flags through the system compiler.
   7245     case $host_os in
   7246     aix*)
   7247       lt_prog_compiler_wl='-Wl,'
   7248       if test "$host_cpu" = ia64; then
   7249 	# AIX 5 now supports IA64 processor
   7250 	lt_prog_compiler_static='-Bstatic'
   7251       else
   7252 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7253       fi
   7254       ;;
   7255       darwin*)
   7256         # PIC is the default on this platform
   7257         # Common symbols not allowed in MH_DYLIB files
   7258        case $cc_basename in
   7259          xlc*)
   7260          lt_prog_compiler_pic='-qnocommon'
   7261          lt_prog_compiler_wl='-Wl,'
   7262          ;;
   7263        esac
   7264        ;;
   7265 
   7266     mingw* | cygwin* | pw32* | os2*)
   7267       # This hack is so that the source file can tell whether it is being
   7268       # built for inclusion in a dll (and should export symbols for example).
   7269       lt_prog_compiler_pic='-DDLL_EXPORT'
   7270       ;;
   7271 
   7272     hpux9* | hpux10* | hpux11*)
   7273       lt_prog_compiler_wl='-Wl,'
   7274       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7275       # not for PA HP-UX.
   7276       case $host_cpu in
   7277       hppa*64*|ia64*)
   7278 	# +Z the default
   7279 	;;
   7280       *)
   7281 	lt_prog_compiler_pic='+Z'
   7282 	;;
   7283       esac
   7284       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7285       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7286       ;;
   7287 
   7288     irix5* | irix6* | nonstopux*)
   7289       lt_prog_compiler_wl='-Wl,'
   7290       # PIC (with -KPIC) is the default.
   7291       lt_prog_compiler_static='-non_shared'
   7292       ;;
   7293 
   7294     newsos6)
   7295       lt_prog_compiler_pic='-KPIC'
   7296       lt_prog_compiler_static='-Bstatic'
   7297       ;;
   7298 
   7299     linux* | k*bsd*-gnu)
   7300       case $cc_basename in
   7301       icc* | ecc*)
   7302 	lt_prog_compiler_wl='-Wl,'
   7303 	lt_prog_compiler_pic='-KPIC'
   7304 	lt_prog_compiler_static='-static'
   7305         ;;
   7306       pgcc* | pgf77* | pgf90* | pgf95*)
   7307         # Portland Group compilers (*not* the Pentium gcc compiler,
   7308 	# which looks to be a dead project)
   7309 	lt_prog_compiler_wl='-Wl,'
   7310 	lt_prog_compiler_pic='-fpic'
   7311 	lt_prog_compiler_static='-Bstatic'
   7312         ;;
   7313       ccc*)
   7314         lt_prog_compiler_wl='-Wl,'
   7315         # All Alpha code is PIC.
   7316         lt_prog_compiler_static='-non_shared'
   7317         ;;
   7318       *)
   7319         case `$CC -V 2>&1 | sed 5q` in
   7320 	*Sun\ C*)
   7321 	  # Sun C 5.9
   7322 	  lt_prog_compiler_pic='-KPIC'
   7323 	  lt_prog_compiler_static='-Bstatic'
   7324 	  lt_prog_compiler_wl='-Wl,'
   7325 	  ;;
   7326 	*Sun\ F*)
   7327 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7328 	  lt_prog_compiler_pic='-KPIC'
   7329 	  lt_prog_compiler_static='-Bstatic'
   7330 	  lt_prog_compiler_wl=''
   7331 	  ;;
   7332 	esac
   7333 	;;
   7334       esac
   7335       ;;
   7336 
   7337     osf3* | osf4* | osf5*)
   7338       lt_prog_compiler_wl='-Wl,'
   7339       # All OSF/1 code is PIC.
   7340       lt_prog_compiler_static='-non_shared'
   7341       ;;
   7342 
   7343     rdos*)
   7344       lt_prog_compiler_static='-non_shared'
   7345       ;;
   7346 
   7347     solaris*)
   7348       lt_prog_compiler_pic='-KPIC'
   7349       lt_prog_compiler_static='-Bstatic'
   7350       case $cc_basename in
   7351       f77* | f90* | f95*)
   7352 	lt_prog_compiler_wl='-Qoption ld ';;
   7353       *)
   7354 	lt_prog_compiler_wl='-Wl,';;
   7355       esac
   7356       ;;
   7357 
   7358     sunos4*)
   7359       lt_prog_compiler_wl='-Qoption ld '
   7360       lt_prog_compiler_pic='-PIC'
   7361       lt_prog_compiler_static='-Bstatic'
   7362       ;;
   7363 
   7364     sysv4 | sysv4.2uw2* | sysv4.3*)
   7365       lt_prog_compiler_wl='-Wl,'
   7366       lt_prog_compiler_pic='-KPIC'
   7367       lt_prog_compiler_static='-Bstatic'
   7368       ;;
   7369 
   7370     sysv4*MP*)
   7371       if test -d /usr/nec ;then
   7372 	lt_prog_compiler_pic='-Kconform_pic'
   7373 	lt_prog_compiler_static='-Bstatic'
   7374       fi
   7375       ;;
   7376 
   7377     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7378       lt_prog_compiler_wl='-Wl,'
   7379       lt_prog_compiler_pic='-KPIC'
   7380       lt_prog_compiler_static='-Bstatic'
   7381       ;;
   7382 
   7383     unicos*)
   7384       lt_prog_compiler_wl='-Wl,'
   7385       lt_prog_compiler_can_build_shared=no
   7386       ;;
   7387 
   7388     uts4*)
   7389       lt_prog_compiler_pic='-pic'
   7390       lt_prog_compiler_static='-Bstatic'
   7391       ;;
   7392 
   7393     *)
   7394       lt_prog_compiler_can_build_shared=no
   7395       ;;
   7396     esac
   7397   fi
   7398 
   7399 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7400 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7401 
   7402 #
   7403 # Check to make sure the PIC flag actually works.
   7404 #
   7405 if test -n "$lt_prog_compiler_pic"; then
   7406 
   7407 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7408 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7409 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7410   echo $ECHO_N "(cached) $ECHO_C" >&6
   7411 else
   7412   lt_prog_compiler_pic_works=no
   7413   ac_outfile=conftest.$ac_objext
   7414    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7415    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7416    # Insert the option either (1) after the last *FLAGS variable, or
   7417    # (2) before a word containing "conftest.", or (3) at the end.
   7418    # Note that $ac_compile itself does not contain backslashes and begins
   7419    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7420    # The option is referenced via a variable to avoid confusing sed.
   7421    lt_compile=`echo "$ac_compile" | $SED \
   7422    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7423    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7424    -e 's:$: $lt_compiler_flag:'`
   7425    (eval echo "\"\$as_me:7425: $lt_compile\"" >&5)
   7426    (eval "$lt_compile" 2>conftest.err)
   7427    ac_status=$?
   7428    cat conftest.err >&5
   7429    echo "$as_me:7429: \$? = $ac_status" >&5
   7430    if (exit $ac_status) && test -s "$ac_outfile"; then
   7431      # The compiler can only warn and ignore the option if not recognized
   7432      # So say no if there are warnings other than the usual output.
   7433      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7434      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7435      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7436        lt_prog_compiler_pic_works=yes
   7437      fi
   7438    fi
   7439    $rm conftest*
   7440 
   7441 fi
   7442 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7443 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7444 
   7445 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7446     case $lt_prog_compiler_pic in
   7447      "" | " "*) ;;
   7448      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7449      esac
   7450 else
   7451     lt_prog_compiler_pic=
   7452      lt_prog_compiler_can_build_shared=no
   7453 fi
   7454 
   7455 fi
   7456 case $host_os in
   7457   # For platforms which do not support PIC, -DPIC is meaningless:
   7458   *djgpp*)
   7459     lt_prog_compiler_pic=
   7460     ;;
   7461   *)
   7462     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7463     ;;
   7464 esac
   7465 
   7466 #
   7467 # Check to make sure the static flag actually works.
   7468 #
   7469 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7470 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7471 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7472 if test "${lt_prog_compiler_static_works+set}" = set; then
   7473   echo $ECHO_N "(cached) $ECHO_C" >&6
   7474 else
   7475   lt_prog_compiler_static_works=no
   7476    save_LDFLAGS="$LDFLAGS"
   7477    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7478    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7479    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7480      # The linker can only warn and ignore the option if not recognized
   7481      # So say no if there are warnings
   7482      if test -s conftest.err; then
   7483        # Append any errors to the config.log.
   7484        cat conftest.err 1>&5
   7485        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7486        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7487        if diff conftest.exp conftest.er2 >/dev/null; then
   7488          lt_prog_compiler_static_works=yes
   7489        fi
   7490      else
   7491        lt_prog_compiler_static_works=yes
   7492      fi
   7493    fi
   7494    $rm conftest*
   7495    LDFLAGS="$save_LDFLAGS"
   7496 
   7497 fi
   7498 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7499 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7500 
   7501 if test x"$lt_prog_compiler_static_works" = xyes; then
   7502     :
   7503 else
   7504     lt_prog_compiler_static=
   7505 fi
   7506 
   7507 
   7508 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7509 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7510 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7511   echo $ECHO_N "(cached) $ECHO_C" >&6
   7512 else
   7513   lt_cv_prog_compiler_c_o=no
   7514    $rm -r conftest 2>/dev/null
   7515    mkdir conftest
   7516    cd conftest
   7517    mkdir out
   7518    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7519 
   7520    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7521    # Insert the option either (1) after the last *FLAGS variable, or
   7522    # (2) before a word containing "conftest.", or (3) at the end.
   7523    # Note that $ac_compile itself does not contain backslashes and begins
   7524    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7525    lt_compile=`echo "$ac_compile" | $SED \
   7526    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7527    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7528    -e 's:$: $lt_compiler_flag:'`
   7529    (eval echo "\"\$as_me:7529: $lt_compile\"" >&5)
   7530    (eval "$lt_compile" 2>out/conftest.err)
   7531    ac_status=$?
   7532    cat out/conftest.err >&5
   7533    echo "$as_me:7533: \$? = $ac_status" >&5
   7534    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7535    then
   7536      # The compiler can only warn and ignore the option if not recognized
   7537      # So say no if there are warnings
   7538      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7539      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7540      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7541        lt_cv_prog_compiler_c_o=yes
   7542      fi
   7543    fi
   7544    chmod u+w . 2>&5
   7545    $rm conftest*
   7546    # SGI C++ compiler will create directory out/ii_files/ for
   7547    # template instantiation
   7548    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7549    $rm out/* && rmdir out
   7550    cd ..
   7551    rmdir conftest
   7552    $rm conftest*
   7553 
   7554 fi
   7555 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7556 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7557 
   7558 
   7559 hard_links="nottested"
   7560 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7561   # do not overwrite the value of need_locks provided by the user
   7562   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7563 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7564   hard_links=yes
   7565   $rm conftest*
   7566   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7567   touch conftest.a
   7568   ln conftest.a conftest.b 2>&5 || hard_links=no
   7569   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7570   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7571 echo "${ECHO_T}$hard_links" >&6; }
   7572   if test "$hard_links" = no; then
   7573     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7574 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7575     need_locks=warn
   7576   fi
   7577 else
   7578   need_locks=no
   7579 fi
   7580 
   7581 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7582 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7583 
   7584   runpath_var=
   7585   allow_undefined_flag=
   7586   enable_shared_with_static_runtimes=no
   7587   archive_cmds=
   7588   archive_expsym_cmds=
   7589   old_archive_From_new_cmds=
   7590   old_archive_from_expsyms_cmds=
   7591   export_dynamic_flag_spec=
   7592   whole_archive_flag_spec=
   7593   thread_safe_flag_spec=
   7594   hardcode_libdir_flag_spec=
   7595   hardcode_libdir_flag_spec_ld=
   7596   hardcode_libdir_separator=
   7597   hardcode_direct=no
   7598   hardcode_minus_L=no
   7599   hardcode_shlibpath_var=unsupported
   7600   link_all_deplibs=unknown
   7601   hardcode_automatic=no
   7602   module_cmds=
   7603   module_expsym_cmds=
   7604   always_export_symbols=no
   7605   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7606   # include_expsyms should be a list of space-separated symbols to be *always*
   7607   # included in the symbol list
   7608   include_expsyms=
   7609   # exclude_expsyms can be an extended regexp of symbols to exclude
   7610   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7611   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7612   # as well as any symbol that contains `d'.
   7613   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7614   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7615   # platforms (ab)use it in PIC code, but their linkers get confused if
   7616   # the symbol is explicitly referenced.  Since portable code cannot
   7617   # rely on this symbol name, it's probably fine to never include it in
   7618   # preloaded symbol tables.
   7619   extract_expsyms_cmds=
   7620   # Just being paranoid about ensuring that cc_basename is set.
   7621   for cc_temp in $compiler""; do
   7622   case $cc_temp in
   7623     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7624     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7625     \-*) ;;
   7626     *) break;;
   7627   esac
   7628 done
   7629 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7630 
   7631   case $host_os in
   7632   cygwin* | mingw* | pw32*)
   7633     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7634     # When not using gcc, we currently assume that we are using
   7635     # Microsoft Visual C++.
   7636     if test "$GCC" != yes; then
   7637       with_gnu_ld=no
   7638     fi
   7639     ;;
   7640   interix*)
   7641     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7642     with_gnu_ld=yes
   7643     ;;
   7644   openbsd*)
   7645     with_gnu_ld=no
   7646     ;;
   7647   esac
   7648 
   7649   ld_shlibs=yes
   7650   if test "$with_gnu_ld" = yes; then
   7651     # If archive_cmds runs LD, not CC, wlarc should be empty
   7652     wlarc='${wl}'
   7653 
   7654     # Set some defaults for GNU ld with shared library support. These
   7655     # are reset later if shared libraries are not supported. Putting them
   7656     # here allows them to be overridden if necessary.
   7657     runpath_var=LD_RUN_PATH
   7658     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7659     export_dynamic_flag_spec='${wl}--export-dynamic'
   7660     # ancient GNU ld didn't support --whole-archive et. al.
   7661     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7662 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7663       else
   7664   	whole_archive_flag_spec=
   7665     fi
   7666     supports_anon_versioning=no
   7667     case `$LD -v 2>/dev/null` in
   7668       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7669       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7670       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7671       *\ 2.11.*) ;; # other 2.11 versions
   7672       *) supports_anon_versioning=yes ;;
   7673     esac
   7674 
   7675     # See if GNU ld supports shared libraries.
   7676     case $host_os in
   7677     aix3* | aix4* | aix5*)
   7678       # On AIX/PPC, the GNU linker is very broken
   7679       if test "$host_cpu" != ia64; then
   7680 	ld_shlibs=no
   7681 	cat <<EOF 1>&2
   7682 
   7683 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7684 *** to be unable to reliably create shared libraries on AIX.
   7685 *** Therefore, libtool is disabling shared libraries support.  If you
   7686 *** really care for shared libraries, you may want to modify your PATH
   7687 *** so that a non-GNU linker is found, and then restart.
   7688 
   7689 EOF
   7690       fi
   7691       ;;
   7692 
   7693     amigaos*)
   7694       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)'
   7695       hardcode_libdir_flag_spec='-L$libdir'
   7696       hardcode_minus_L=yes
   7697 
   7698       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7699       # that the semantics of dynamic libraries on AmigaOS, at least up
   7700       # to version 4, is to share data among multiple programs linked
   7701       # with the same dynamic library.  Since this doesn't match the
   7702       # behavior of shared libraries on other platforms, we can't use
   7703       # them.
   7704       ld_shlibs=no
   7705       ;;
   7706 
   7707     beos*)
   7708       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7709 	allow_undefined_flag=unsupported
   7710 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7711 	# support --undefined.  This deserves some investigation.  FIXME
   7712 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7713       else
   7714 	ld_shlibs=no
   7715       fi
   7716       ;;
   7717 
   7718     cygwin* | mingw* | pw32*)
   7719       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7720       # as there is no search path for DLLs.
   7721       hardcode_libdir_flag_spec='-L$libdir'
   7722       allow_undefined_flag=unsupported
   7723       always_export_symbols=no
   7724       enable_shared_with_static_runtimes=yes
   7725       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7726 
   7727       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7728         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7729 	# If the export-symbols file already is a .def file (1st line
   7730 	# is EXPORTS), use it as is; otherwise, prepend...
   7731 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7732 	  cp $export_symbols $output_objdir/$soname.def;
   7733 	else
   7734 	  echo EXPORTS > $output_objdir/$soname.def;
   7735 	  cat $export_symbols >> $output_objdir/$soname.def;
   7736 	fi~
   7737 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7738       else
   7739 	ld_shlibs=no
   7740       fi
   7741       ;;
   7742 
   7743     interix[3-9]*)
   7744       hardcode_direct=no
   7745       hardcode_shlibpath_var=no
   7746       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7747       export_dynamic_flag_spec='${wl}-E'
   7748       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7749       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7750       # default) and relocated if they conflict, which is a slow very memory
   7751       # consuming and fragmenting process.  To avoid this, we pick a random,
   7752       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7753       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7754       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7755       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'
   7756       ;;
   7757 
   7758     gnu* | linux* | k*bsd*-gnu)
   7759       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7760 	tmp_addflag=
   7761 	case $cc_basename,$host_cpu in
   7762 	pgcc*)				# Portland Group C compiler
   7763 	  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'
   7764 	  tmp_addflag=' $pic_flag'
   7765 	  ;;
   7766 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7767 	  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'
   7768 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7769 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7770 	  tmp_addflag=' -i_dynamic' ;;
   7771 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7772 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7773 	ifc* | ifort*)			# Intel Fortran compiler
   7774 	  tmp_addflag=' -nofor_main' ;;
   7775 	esac
   7776 	case `$CC -V 2>&1 | sed 5q` in
   7777 	*Sun\ C*)			# Sun C 5.9
   7778 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   7779 	  tmp_sharedflag='-G' ;;
   7780 	*Sun\ F*)			# Sun Fortran 8.3
   7781 	  tmp_sharedflag='-G' ;;
   7782 	*)
   7783 	  tmp_sharedflag='-shared' ;;
   7784 	esac
   7785 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7786 
   7787 	if test $supports_anon_versioning = yes; then
   7788 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7789   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7790   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7791 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7792 	fi
   7793       else
   7794 	ld_shlibs=no
   7795       fi
   7796       ;;
   7797 
   7798     netbsd*)
   7799       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7800 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7801 	wlarc=
   7802       else
   7803 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7804 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7805       fi
   7806       ;;
   7807 
   7808     solaris*)
   7809       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7810 	ld_shlibs=no
   7811 	cat <<EOF 1>&2
   7812 
   7813 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7814 *** create shared libraries on Solaris systems.  Therefore, libtool
   7815 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7816 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7817 *** your PATH or compiler configuration so that the native linker is
   7818 *** used, and then restart.
   7819 
   7820 EOF
   7821       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7822 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7823 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7824       else
   7825 	ld_shlibs=no
   7826       fi
   7827       ;;
   7828 
   7829     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7830       case `$LD -v 2>&1` in
   7831         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7832 	ld_shlibs=no
   7833 	cat <<_LT_EOF 1>&2
   7834 
   7835 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7836 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7837 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7838 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7839 *** your PATH or compiler configuration so that the native linker is
   7840 *** used, and then restart.
   7841 
   7842 _LT_EOF
   7843 	;;
   7844 	*)
   7845 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7846 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7847 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7848 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7849 	  else
   7850 	    ld_shlibs=no
   7851 	  fi
   7852 	;;
   7853       esac
   7854       ;;
   7855 
   7856     sunos4*)
   7857       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7858       wlarc=
   7859       hardcode_direct=yes
   7860       hardcode_shlibpath_var=no
   7861       ;;
   7862 
   7863     *)
   7864       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7865 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7866 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7867       else
   7868 	ld_shlibs=no
   7869       fi
   7870       ;;
   7871     esac
   7872 
   7873     if test "$ld_shlibs" = no; then
   7874       runpath_var=
   7875       hardcode_libdir_flag_spec=
   7876       export_dynamic_flag_spec=
   7877       whole_archive_flag_spec=
   7878     fi
   7879   else
   7880     # PORTME fill in a description of your system's linker (not GNU ld)
   7881     case $host_os in
   7882     aix3*)
   7883       allow_undefined_flag=unsupported
   7884       always_export_symbols=yes
   7885       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'
   7886       # Note: this linker hardcodes the directories in LIBPATH if there
   7887       # are no directories specified by -L.
   7888       hardcode_minus_L=yes
   7889       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7890 	# Neither direct hardcoding nor static linking is supported with a
   7891 	# broken collect2.
   7892 	hardcode_direct=unsupported
   7893       fi
   7894       ;;
   7895 
   7896     aix4* | aix5*)
   7897       if test "$host_cpu" = ia64; then
   7898 	# On IA64, the linker does run time linking by default, so we don't
   7899 	# have to do anything special.
   7900 	aix_use_runtimelinking=no
   7901 	exp_sym_flag='-Bexport'
   7902 	no_entry_flag=""
   7903       else
   7904 	# If we're using GNU nm, then we don't want the "-C" option.
   7905 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7906 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7907 	  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'
   7908 	else
   7909 	  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'
   7910 	fi
   7911 	aix_use_runtimelinking=no
   7912 
   7913 	# Test if we are trying to use run time linking or normal
   7914 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7915 	# need to do runtime linking.
   7916 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7917 	  for ld_flag in $LDFLAGS; do
   7918   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7919   	    aix_use_runtimelinking=yes
   7920   	    break
   7921   	  fi
   7922 	  done
   7923 	  ;;
   7924 	esac
   7925 
   7926 	exp_sym_flag='-bexport'
   7927 	no_entry_flag='-bnoentry'
   7928       fi
   7929 
   7930       # When large executables or shared objects are built, AIX ld can
   7931       # have problems creating the table of contents.  If linking a library
   7932       # or program results in "error TOC overflow" add -mminimal-toc to
   7933       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7934       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7935 
   7936       archive_cmds=''
   7937       hardcode_direct=yes
   7938       hardcode_libdir_separator=':'
   7939       link_all_deplibs=yes
   7940 
   7941       if test "$GCC" = yes; then
   7942 	case $host_os in aix4.[012]|aix4.[012].*)
   7943 	# We only want to do this on AIX 4.2 and lower, the check
   7944 	# below for broken collect2 doesn't work under 4.3+
   7945 	  collect2name=`${CC} -print-prog-name=collect2`
   7946 	  if test -f "$collect2name" && \
   7947   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7948 	  then
   7949   	  # We have reworked collect2
   7950   	  :
   7951 	  else
   7952   	  # We have old collect2
   7953   	  hardcode_direct=unsupported
   7954   	  # It fails to find uninstalled libraries when the uninstalled
   7955   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7956   	  # to unsupported forces relinking
   7957   	  hardcode_minus_L=yes
   7958   	  hardcode_libdir_flag_spec='-L$libdir'
   7959   	  hardcode_libdir_separator=
   7960 	  fi
   7961 	  ;;
   7962 	esac
   7963 	shared_flag='-shared'
   7964 	if test "$aix_use_runtimelinking" = yes; then
   7965 	  shared_flag="$shared_flag "'${wl}-G'
   7966 	fi
   7967       else
   7968 	# not using gcc
   7969 	if test "$host_cpu" = ia64; then
   7970   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7971   	# chokes on -Wl,-G. The following line is correct:
   7972 	  shared_flag='-G'
   7973 	else
   7974 	  if test "$aix_use_runtimelinking" = yes; then
   7975 	    shared_flag='${wl}-G'
   7976 	  else
   7977 	    shared_flag='${wl}-bM:SRE'
   7978 	  fi
   7979 	fi
   7980       fi
   7981 
   7982       # It seems that -bexpall does not export symbols beginning with
   7983       # underscore (_), so it is better to generate a list of symbols to export.
   7984       always_export_symbols=yes
   7985       if test "$aix_use_runtimelinking" = yes; then
   7986 	# Warning - without using the other runtime loading flags (-brtl),
   7987 	# -berok will link without error, but may produce a broken library.
   7988 	allow_undefined_flag='-berok'
   7989        # Determine the default libpath from the value encoded in an empty executable.
   7990        cat >conftest.$ac_ext <<_ACEOF
   7991 /* confdefs.h.  */
   7992 _ACEOF
   7993 cat confdefs.h >>conftest.$ac_ext
   7994 cat >>conftest.$ac_ext <<_ACEOF
   7995 /* end confdefs.h.  */
   7996 
   7997 int
   7998 main ()
   7999 {
   8000 
   8001   ;
   8002   return 0;
   8003 }
   8004 _ACEOF
   8005 rm -f conftest.$ac_objext conftest$ac_exeext
   8006 if { (ac_try="$ac_link"
   8007 case "(($ac_try" in
   8008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8009   *) ac_try_echo=$ac_try;;
   8010 esac
   8011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8012   (eval "$ac_link") 2>conftest.er1
   8013   ac_status=$?
   8014   grep -v '^ *+' conftest.er1 >conftest.err
   8015   rm -f conftest.er1
   8016   cat conftest.err >&5
   8017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8018   (exit $ac_status); } && {
   8019 	 test -z "$ac_c_werror_flag" ||
   8020 	 test ! -s conftest.err
   8021        } && test -s conftest$ac_exeext &&
   8022        $as_test_x conftest$ac_exeext; then
   8023 
   8024 lt_aix_libpath_sed='
   8025     /Import File Strings/,/^$/ {
   8026 	/^0/ {
   8027 	    s/^0  *\(.*\)$/\1/
   8028 	    p
   8029 	}
   8030     }'
   8031 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8032 # Check for a 64-bit object if we didn't find anything.
   8033 if test -z "$aix_libpath"; then
   8034   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8035 fi
   8036 else
   8037   echo "$as_me: failed program was:" >&5
   8038 sed 's/^/| /' conftest.$ac_ext >&5
   8039 
   8040 
   8041 fi
   8042 
   8043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8044       conftest$ac_exeext conftest.$ac_ext
   8045 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8046 
   8047        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8048 	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"
   8049        else
   8050 	if test "$host_cpu" = ia64; then
   8051 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8052 	  allow_undefined_flag="-z nodefs"
   8053 	  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"
   8054 	else
   8055 	 # Determine the default libpath from the value encoded in an empty executable.
   8056 	 cat >conftest.$ac_ext <<_ACEOF
   8057 /* confdefs.h.  */
   8058 _ACEOF
   8059 cat confdefs.h >>conftest.$ac_ext
   8060 cat >>conftest.$ac_ext <<_ACEOF
   8061 /* end confdefs.h.  */
   8062 
   8063 int
   8064 main ()
   8065 {
   8066 
   8067   ;
   8068   return 0;
   8069 }
   8070 _ACEOF
   8071 rm -f conftest.$ac_objext conftest$ac_exeext
   8072 if { (ac_try="$ac_link"
   8073 case "(($ac_try" in
   8074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8075   *) ac_try_echo=$ac_try;;
   8076 esac
   8077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8078   (eval "$ac_link") 2>conftest.er1
   8079   ac_status=$?
   8080   grep -v '^ *+' conftest.er1 >conftest.err
   8081   rm -f conftest.er1
   8082   cat conftest.err >&5
   8083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8084   (exit $ac_status); } && {
   8085 	 test -z "$ac_c_werror_flag" ||
   8086 	 test ! -s conftest.err
   8087        } && test -s conftest$ac_exeext &&
   8088        $as_test_x conftest$ac_exeext; then
   8089 
   8090 lt_aix_libpath_sed='
   8091     /Import File Strings/,/^$/ {
   8092 	/^0/ {
   8093 	    s/^0  *\(.*\)$/\1/
   8094 	    p
   8095 	}
   8096     }'
   8097 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8098 # Check for a 64-bit object if we didn't find anything.
   8099 if test -z "$aix_libpath"; then
   8100   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8101 fi
   8102 else
   8103   echo "$as_me: failed program was:" >&5
   8104 sed 's/^/| /' conftest.$ac_ext >&5
   8105 
   8106 
   8107 fi
   8108 
   8109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8110       conftest$ac_exeext conftest.$ac_ext
   8111 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8112 
   8113 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8114 	  # Warning - without using the other run time loading flags,
   8115 	  # -berok will link without error, but may produce a broken library.
   8116 	  no_undefined_flag=' ${wl}-bernotok'
   8117 	  allow_undefined_flag=' ${wl}-berok'
   8118 	  # Exported symbols can be pulled into shared objects from archives
   8119 	  whole_archive_flag_spec='$convenience'
   8120 	  archive_cmds_need_lc=yes
   8121 	  # This is similar to how AIX traditionally builds its shared libraries.
   8122 	  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'
   8123 	fi
   8124       fi
   8125       ;;
   8126 
   8127     amigaos*)
   8128       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)'
   8129       hardcode_libdir_flag_spec='-L$libdir'
   8130       hardcode_minus_L=yes
   8131       # see comment about different semantics on the GNU ld section
   8132       ld_shlibs=no
   8133       ;;
   8134 
   8135     bsdi[45]*)
   8136       export_dynamic_flag_spec=-rdynamic
   8137       ;;
   8138 
   8139     cygwin* | mingw* | pw32*)
   8140       # When not using gcc, we currently assume that we are using
   8141       # Microsoft Visual C++.
   8142       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8143       # no search path for DLLs.
   8144       hardcode_libdir_flag_spec=' '
   8145       allow_undefined_flag=unsupported
   8146       # Tell ltmain to make .lib files, not .a files.
   8147       libext=lib
   8148       # Tell ltmain to make .dll files, not .so files.
   8149       shrext_cmds=".dll"
   8150       # FIXME: Setting linknames here is a bad hack.
   8151       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8152       # The linker will automatically build a .lib file if we build a DLL.
   8153       old_archive_From_new_cmds='true'
   8154       # FIXME: Should let the user specify the lib program.
   8155       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8156       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8157       enable_shared_with_static_runtimes=yes
   8158       ;;
   8159 
   8160     darwin* | rhapsody*)
   8161       case $host_os in
   8162         rhapsody* | darwin1.[012])
   8163          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8164          ;;
   8165        *) # Darwin 1.3 on
   8166          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8167            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8168          else
   8169            case ${MACOSX_DEPLOYMENT_TARGET} in
   8170              10.[012])
   8171                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8172                ;;
   8173              10.*)
   8174                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8175                ;;
   8176            esac
   8177          fi
   8178          ;;
   8179       esac
   8180       archive_cmds_need_lc=no
   8181       hardcode_direct=no
   8182       hardcode_automatic=yes
   8183       hardcode_shlibpath_var=unsupported
   8184       whole_archive_flag_spec=''
   8185       link_all_deplibs=yes
   8186     if test "$GCC" = yes ; then
   8187     	output_verbose_link_cmd='echo'
   8188         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8189       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8190       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8191       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}'
   8192       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}'
   8193     else
   8194       case $cc_basename in
   8195         xlc*)
   8196          output_verbose_link_cmd='echo'
   8197          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8198          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8199           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8200          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8201           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}'
   8202           ;;
   8203        *)
   8204          ld_shlibs=no
   8205           ;;
   8206       esac
   8207     fi
   8208       ;;
   8209 
   8210     dgux*)
   8211       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8212       hardcode_libdir_flag_spec='-L$libdir'
   8213       hardcode_shlibpath_var=no
   8214       ;;
   8215 
   8216     freebsd1*)
   8217       ld_shlibs=no
   8218       ;;
   8219 
   8220     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8221     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8222     # does not break anything, and helps significantly (at the cost of a little
   8223     # extra space).
   8224     freebsd2.2*)
   8225       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8226       hardcode_libdir_flag_spec='-R$libdir'
   8227       hardcode_direct=yes
   8228       hardcode_shlibpath_var=no
   8229       ;;
   8230 
   8231     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8232     freebsd2*)
   8233       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8234       hardcode_direct=yes
   8235       hardcode_minus_L=yes
   8236       hardcode_shlibpath_var=no
   8237       ;;
   8238 
   8239     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8240     freebsd* | dragonfly*)
   8241       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8242       hardcode_libdir_flag_spec='-R$libdir'
   8243       hardcode_direct=yes
   8244       hardcode_shlibpath_var=no
   8245       ;;
   8246 
   8247     hpux9*)
   8248       if test "$GCC" = yes; then
   8249 	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'
   8250       else
   8251 	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'
   8252       fi
   8253       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8254       hardcode_libdir_separator=:
   8255       hardcode_direct=yes
   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       export_dynamic_flag_spec='${wl}-E'
   8261       ;;
   8262 
   8263     hpux10*)
   8264       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8265 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8266       else
   8267 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8268       fi
   8269       if test "$with_gnu_ld" = no; then
   8270 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8271 	hardcode_libdir_separator=:
   8272 
   8273 	hardcode_direct=yes
   8274 	export_dynamic_flag_spec='${wl}-E'
   8275 
   8276 	# hardcode_minus_L: Not really in the search PATH,
   8277 	# but as the default location of the library.
   8278 	hardcode_minus_L=yes
   8279       fi
   8280       ;;
   8281 
   8282     hpux11*)
   8283       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8284 	case $host_cpu in
   8285 	hppa*64*)
   8286 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8287 	  ;;
   8288 	ia64*)
   8289 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8290 	  ;;
   8291 	*)
   8292 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8293 	  ;;
   8294 	esac
   8295       else
   8296 	case $host_cpu in
   8297 	hppa*64*)
   8298 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8299 	  ;;
   8300 	ia64*)
   8301 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8302 	  ;;
   8303 	*)
   8304 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8305 	  ;;
   8306 	esac
   8307       fi
   8308       if test "$with_gnu_ld" = no; then
   8309 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8310 	hardcode_libdir_separator=:
   8311 
   8312 	case $host_cpu in
   8313 	hppa*64*|ia64*)
   8314 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8315 	  hardcode_direct=no
   8316 	  hardcode_shlibpath_var=no
   8317 	  ;;
   8318 	*)
   8319 	  hardcode_direct=yes
   8320 	  export_dynamic_flag_spec='${wl}-E'
   8321 
   8322 	  # hardcode_minus_L: Not really in the search PATH,
   8323 	  # but as the default location of the library.
   8324 	  hardcode_minus_L=yes
   8325 	  ;;
   8326 	esac
   8327       fi
   8328       ;;
   8329 
   8330     irix5* | irix6* | nonstopux*)
   8331       if test "$GCC" = yes; then
   8332 	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'
   8333       else
   8334 	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'
   8335 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8336       fi
   8337       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8338       hardcode_libdir_separator=:
   8339       link_all_deplibs=yes
   8340       ;;
   8341 
   8342     netbsd*)
   8343       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8344 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8345       else
   8346 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8347       fi
   8348       hardcode_libdir_flag_spec='-R$libdir'
   8349       hardcode_direct=yes
   8350       hardcode_shlibpath_var=no
   8351       ;;
   8352 
   8353     newsos6)
   8354       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8355       hardcode_direct=yes
   8356       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8357       hardcode_libdir_separator=:
   8358       hardcode_shlibpath_var=no
   8359       ;;
   8360 
   8361     openbsd*)
   8362       if test -f /usr/libexec/ld.so; then
   8363 	hardcode_direct=yes
   8364 	hardcode_shlibpath_var=no
   8365 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8366 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8367 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8368 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8369 	  export_dynamic_flag_spec='${wl}-E'
   8370 	else
   8371 	  case $host_os in
   8372 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8373 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8374 	     hardcode_libdir_flag_spec='-R$libdir'
   8375 	     ;;
   8376 	   *)
   8377 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8378 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8379 	     ;;
   8380 	  esac
   8381         fi
   8382       else
   8383 	ld_shlibs=no
   8384       fi
   8385       ;;
   8386 
   8387     os2*)
   8388       hardcode_libdir_flag_spec='-L$libdir'
   8389       hardcode_minus_L=yes
   8390       allow_undefined_flag=unsupported
   8391       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'
   8392       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8393       ;;
   8394 
   8395     osf3*)
   8396       if test "$GCC" = yes; then
   8397 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8398 	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'
   8399       else
   8400 	allow_undefined_flag=' -expect_unresolved \*'
   8401 	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'
   8402       fi
   8403       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8404       hardcode_libdir_separator=:
   8405       ;;
   8406 
   8407     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8408       if test "$GCC" = yes; then
   8409 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8410 	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'
   8411 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8412       else
   8413 	allow_undefined_flag=' -expect_unresolved \*'
   8414 	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'
   8415 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8416 	$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'
   8417 
   8418 	# Both c and cxx compiler support -rpath directly
   8419 	hardcode_libdir_flag_spec='-rpath $libdir'
   8420       fi
   8421       hardcode_libdir_separator=:
   8422       ;;
   8423 
   8424     solaris*)
   8425       no_undefined_flag=' -z text'
   8426       if test "$GCC" = yes; then
   8427 	wlarc='${wl}'
   8428 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8429 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8430 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8431       else
   8432 	wlarc=''
   8433 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8434 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8435   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8436       fi
   8437       hardcode_libdir_flag_spec='-R$libdir'
   8438       hardcode_shlibpath_var=no
   8439       case $host_os in
   8440       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8441       *)
   8442 	# The compiler driver will combine and reorder linker options,
   8443 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8444 	# but is careful enough not to reorder.
   8445  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8446 	if test "$GCC" = yes; then
   8447 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8448 	else
   8449 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8450 	fi
   8451 	;;
   8452       esac
   8453       link_all_deplibs=yes
   8454       ;;
   8455 
   8456     sunos4*)
   8457       if test "x$host_vendor" = xsequent; then
   8458 	# Use $CC to link under sequent, because it throws in some extra .o
   8459 	# files that make .init and .fini sections work.
   8460 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8461       else
   8462 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8463       fi
   8464       hardcode_libdir_flag_spec='-L$libdir'
   8465       hardcode_direct=yes
   8466       hardcode_minus_L=yes
   8467       hardcode_shlibpath_var=no
   8468       ;;
   8469 
   8470     sysv4)
   8471       case $host_vendor in
   8472 	sni)
   8473 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8474 	  hardcode_direct=yes # is this really true???
   8475 	;;
   8476 	siemens)
   8477 	  ## LD is ld it makes a PLAMLIB
   8478 	  ## CC just makes a GrossModule.
   8479 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8480 	  reload_cmds='$CC -r -o $output$reload_objs'
   8481 	  hardcode_direct=no
   8482         ;;
   8483 	motorola)
   8484 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8485 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8486 	;;
   8487       esac
   8488       runpath_var='LD_RUN_PATH'
   8489       hardcode_shlibpath_var=no
   8490       ;;
   8491 
   8492     sysv4.3*)
   8493       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8494       hardcode_shlibpath_var=no
   8495       export_dynamic_flag_spec='-Bexport'
   8496       ;;
   8497 
   8498     sysv4*MP*)
   8499       if test -d /usr/nec; then
   8500 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8501 	hardcode_shlibpath_var=no
   8502 	runpath_var=LD_RUN_PATH
   8503 	hardcode_runpath_var=yes
   8504 	ld_shlibs=yes
   8505       fi
   8506       ;;
   8507 
   8508     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8509       no_undefined_flag='${wl}-z,text'
   8510       archive_cmds_need_lc=no
   8511       hardcode_shlibpath_var=no
   8512       runpath_var='LD_RUN_PATH'
   8513 
   8514       if test "$GCC" = yes; then
   8515 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8516 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8517       else
   8518 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8519 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8520       fi
   8521       ;;
   8522 
   8523     sysv5* | sco3.2v5* | sco5v6*)
   8524       # Note: We can NOT use -z defs as we might desire, because we do not
   8525       # link with -lc, and that would cause any symbols used from libc to
   8526       # always be unresolved, which means just about no library would
   8527       # ever link correctly.  If we're not using GNU ld we use -z text
   8528       # though, which does catch some bad symbols but isn't as heavy-handed
   8529       # as -z defs.
   8530       no_undefined_flag='${wl}-z,text'
   8531       allow_undefined_flag='${wl}-z,nodefs'
   8532       archive_cmds_need_lc=no
   8533       hardcode_shlibpath_var=no
   8534       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8535       hardcode_libdir_separator=':'
   8536       link_all_deplibs=yes
   8537       export_dynamic_flag_spec='${wl}-Bexport'
   8538       runpath_var='LD_RUN_PATH'
   8539 
   8540       if test "$GCC" = yes; then
   8541 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8542 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8543       else
   8544 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8545 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8546       fi
   8547       ;;
   8548 
   8549     uts4*)
   8550       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8551       hardcode_libdir_flag_spec='-L$libdir'
   8552       hardcode_shlibpath_var=no
   8553       ;;
   8554 
   8555     *)
   8556       ld_shlibs=no
   8557       ;;
   8558     esac
   8559   fi
   8560 
   8561 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8562 echo "${ECHO_T}$ld_shlibs" >&6; }
   8563 test "$ld_shlibs" = no && can_build_shared=no
   8564 
   8565 #
   8566 # Do we need to explicitly link libc?
   8567 #
   8568 case "x$archive_cmds_need_lc" in
   8569 x|xyes)
   8570   # Assume -lc should be added
   8571   archive_cmds_need_lc=yes
   8572 
   8573   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8574     case $archive_cmds in
   8575     *'~'*)
   8576       # FIXME: we may have to deal with multi-command sequences.
   8577       ;;
   8578     '$CC '*)
   8579       # Test whether the compiler implicitly links with -lc since on some
   8580       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8581       # to ld, don't add -lc before -lgcc.
   8582       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8583 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8584       $rm conftest*
   8585       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8586 
   8587       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8588   (eval $ac_compile) 2>&5
   8589   ac_status=$?
   8590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8591   (exit $ac_status); } 2>conftest.err; then
   8592         soname=conftest
   8593         lib=conftest
   8594         libobjs=conftest.$ac_objext
   8595         deplibs=
   8596         wl=$lt_prog_compiler_wl
   8597 	pic_flag=$lt_prog_compiler_pic
   8598         compiler_flags=-v
   8599         linker_flags=-v
   8600         verstring=
   8601         output_objdir=.
   8602         libname=conftest
   8603         lt_save_allow_undefined_flag=$allow_undefined_flag
   8604         allow_undefined_flag=
   8605         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8606   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8607   ac_status=$?
   8608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8609   (exit $ac_status); }
   8610         then
   8611 	  archive_cmds_need_lc=no
   8612         else
   8613 	  archive_cmds_need_lc=yes
   8614         fi
   8615         allow_undefined_flag=$lt_save_allow_undefined_flag
   8616       else
   8617         cat conftest.err 1>&5
   8618       fi
   8619       $rm conftest*
   8620       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8621 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8622       ;;
   8623     esac
   8624   fi
   8625   ;;
   8626 esac
   8627 
   8628 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8629 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8630 library_names_spec=
   8631 libname_spec='lib$name'
   8632 soname_spec=
   8633 shrext_cmds=".so"
   8634 postinstall_cmds=
   8635 postuninstall_cmds=
   8636 finish_cmds=
   8637 finish_eval=
   8638 shlibpath_var=
   8639 shlibpath_overrides_runpath=unknown
   8640 version_type=none
   8641 dynamic_linker="$host_os ld.so"
   8642 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8643 
   8644 if test "$GCC" = yes; then
   8645   case $host_os in
   8646     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   8647     *) lt_awk_arg="/^libraries:/" ;;
   8648   esac
   8649   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8650   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   8651     # if the path contains ";" then we assume it to be the separator
   8652     # otherwise default to the standard path separator (i.e. ":") - it is
   8653     # assumed that no part of a normal pathname contains ";" but that should
   8654     # okay in the real world where ";" in dirpaths is itself problematic.
   8655     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   8656   else
   8657     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8658   fi
   8659   # Ok, now we have the path, separated by spaces, we can step through it
   8660   # and add multilib dir if necessary.
   8661   lt_tmp_lt_search_path_spec=
   8662   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   8663   for lt_sys_path in $lt_search_path_spec; do
   8664     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   8665       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   8666     else
   8667       test -d "$lt_sys_path" && \
   8668 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   8669     fi
   8670   done
   8671   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   8672 BEGIN {RS=" "; FS="/|\n";} {
   8673   lt_foo="";
   8674   lt_count=0;
   8675   for (lt_i = NF; lt_i > 0; lt_i--) {
   8676     if ($lt_i != "" && $lt_i != ".") {
   8677       if ($lt_i == "..") {
   8678         lt_count++;
   8679       } else {
   8680         if (lt_count == 0) {
   8681           lt_foo="/" $lt_i lt_foo;
   8682         } else {
   8683           lt_count--;
   8684         }
   8685       }
   8686     }
   8687   }
   8688   if (lt_foo != "") { lt_freq[lt_foo]++; }
   8689   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   8690 }'`
   8691   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   8692 else
   8693   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8694 fi
   8695 need_lib_prefix=unknown
   8696 hardcode_into_libs=no
   8697 
   8698 # when you set need_version to no, make sure it does not cause -set_version
   8699 # flags to be left without arguments
   8700 need_version=unknown
   8701 
   8702 case $host_os in
   8703 aix3*)
   8704   version_type=linux
   8705   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8706   shlibpath_var=LIBPATH
   8707 
   8708   # AIX 3 has no versioning support, so we append a major version to the name.
   8709   soname_spec='${libname}${release}${shared_ext}$major'
   8710   ;;
   8711 
   8712 aix4* | aix5*)
   8713   version_type=linux
   8714   need_lib_prefix=no
   8715   need_version=no
   8716   hardcode_into_libs=yes
   8717   if test "$host_cpu" = ia64; then
   8718     # AIX 5 supports IA64
   8719     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8720     shlibpath_var=LD_LIBRARY_PATH
   8721   else
   8722     # With GCC up to 2.95.x, collect2 would create an import file
   8723     # for dependence libraries.  The import file would start with
   8724     # the line `#! .'.  This would cause the generated library to
   8725     # depend on `.', always an invalid library.  This was fixed in
   8726     # development snapshots of GCC prior to 3.0.
   8727     case $host_os in
   8728       aix4 | aix4.[01] | aix4.[01].*)
   8729       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8730 	   echo ' yes '
   8731 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8732 	:
   8733       else
   8734 	can_build_shared=no
   8735       fi
   8736       ;;
   8737     esac
   8738     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8739     # soname into executable. Probably we can add versioning support to
   8740     # collect2, so additional links can be useful in future.
   8741     if test "$aix_use_runtimelinking" = yes; then
   8742       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8743       # instead of lib<name>.a to let people know that these are not
   8744       # typical AIX shared libraries.
   8745       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8746     else
   8747       # We preserve .a as extension for shared libraries through AIX4.2
   8748       # and later when we are not doing run time linking.
   8749       library_names_spec='${libname}${release}.a $libname.a'
   8750       soname_spec='${libname}${release}${shared_ext}$major'
   8751     fi
   8752     shlibpath_var=LIBPATH
   8753   fi
   8754   ;;
   8755 
   8756 amigaos*)
   8757   library_names_spec='$libname.ixlibrary $libname.a'
   8758   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8759   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'
   8760   ;;
   8761 
   8762 beos*)
   8763   library_names_spec='${libname}${shared_ext}'
   8764   dynamic_linker="$host_os ld.so"
   8765   shlibpath_var=LIBRARY_PATH
   8766   ;;
   8767 
   8768 bsdi[45]*)
   8769   version_type=linux
   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   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8774   shlibpath_var=LD_LIBRARY_PATH
   8775   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8776   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8777   # the default ld.so.conf also contains /usr/contrib/lib and
   8778   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8779   # libtool to hard-code these into programs
   8780   ;;
   8781 
   8782 cygwin* | mingw* | pw32*)
   8783   version_type=windows
   8784   shrext_cmds=".dll"
   8785   need_version=no
   8786   need_lib_prefix=no
   8787 
   8788   case $GCC,$host_os in
   8789   yes,cygwin* | yes,mingw* | yes,pw32*)
   8790     library_names_spec='$libname.dll.a'
   8791     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8792     postinstall_cmds='base_file=`basename \${file}`~
   8793       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8794       dldir=$destdir/`dirname \$dlpath`~
   8795       test -d \$dldir || mkdir -p \$dldir~
   8796       $install_prog $dir/$dlname \$dldir/$dlname~
   8797       chmod a+x \$dldir/$dlname'
   8798     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8799       dlpath=$dir/\$dldll~
   8800        $rm \$dlpath'
   8801     shlibpath_overrides_runpath=yes
   8802 
   8803     case $host_os in
   8804     cygwin*)
   8805       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8806       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8807       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8808       ;;
   8809     mingw*)
   8810       # MinGW DLLs use traditional 'lib' prefix
   8811       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8812       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8813       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8814         # It is most probably a Windows format PATH printed by
   8815         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8816         # path with ; separators, and with drive letters. We can handle the
   8817         # drive letters (cygwin fileutils understands them), so leave them,
   8818         # especially as we might pass files found there to a mingw objdump,
   8819         # which wouldn't understand a cygwinified path. Ahh.
   8820         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8821       else
   8822         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8823       fi
   8824       ;;
   8825     pw32*)
   8826       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8827       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8828       ;;
   8829     esac
   8830     ;;
   8831 
   8832   *)
   8833     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8834     ;;
   8835   esac
   8836   dynamic_linker='Win32 ld.exe'
   8837   # FIXME: first we should search . and the directory the executable is in
   8838   shlibpath_var=PATH
   8839   ;;
   8840 
   8841 darwin* | rhapsody*)
   8842   dynamic_linker="$host_os dyld"
   8843   version_type=darwin
   8844   need_lib_prefix=no
   8845   need_version=no
   8846   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8847   soname_spec='${libname}${release}${major}$shared_ext'
   8848   shlibpath_overrides_runpath=yes
   8849   shlibpath_var=DYLD_LIBRARY_PATH
   8850   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8851 
   8852   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   8853   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8854   ;;
   8855 
   8856 dgux*)
   8857   version_type=linux
   8858   need_lib_prefix=no
   8859   need_version=no
   8860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8861   soname_spec='${libname}${release}${shared_ext}$major'
   8862   shlibpath_var=LD_LIBRARY_PATH
   8863   ;;
   8864 
   8865 freebsd1*)
   8866   dynamic_linker=no
   8867   ;;
   8868 
   8869 freebsd* | dragonfly*)
   8870   # DragonFly does not have aout.  When/if they implement a new
   8871   # versioning mechanism, adjust this.
   8872   if test -x /usr/bin/objformat; then
   8873     objformat=`/usr/bin/objformat`
   8874   else
   8875     case $host_os in
   8876     freebsd[123]*) objformat=aout ;;
   8877     *) objformat=elf ;;
   8878     esac
   8879   fi
   8880   version_type=freebsd-$objformat
   8881   case $version_type in
   8882     freebsd-elf*)
   8883       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8884       need_version=no
   8885       need_lib_prefix=no
   8886       ;;
   8887     freebsd-*)
   8888       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8889       need_version=yes
   8890       ;;
   8891   esac
   8892   shlibpath_var=LD_LIBRARY_PATH
   8893   case $host_os in
   8894   freebsd2*)
   8895     shlibpath_overrides_runpath=yes
   8896     ;;
   8897   freebsd3.[01]* | freebsdelf3.[01]*)
   8898     shlibpath_overrides_runpath=yes
   8899     hardcode_into_libs=yes
   8900     ;;
   8901   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8902   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8903     shlibpath_overrides_runpath=no
   8904     hardcode_into_libs=yes
   8905     ;;
   8906   *) # from 4.6 on, and DragonFly
   8907     shlibpath_overrides_runpath=yes
   8908     hardcode_into_libs=yes
   8909     ;;
   8910   esac
   8911   ;;
   8912 
   8913 gnu*)
   8914   version_type=linux
   8915   need_lib_prefix=no
   8916   need_version=no
   8917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8918   soname_spec='${libname}${release}${shared_ext}$major'
   8919   shlibpath_var=LD_LIBRARY_PATH
   8920   hardcode_into_libs=yes
   8921   ;;
   8922 
   8923 hpux9* | hpux10* | hpux11*)
   8924   # Give a soname corresponding to the major version so that dld.sl refuses to
   8925   # link against other versions.
   8926   version_type=sunos
   8927   need_lib_prefix=no
   8928   need_version=no
   8929   case $host_cpu in
   8930   ia64*)
   8931     shrext_cmds='.so'
   8932     hardcode_into_libs=yes
   8933     dynamic_linker="$host_os dld.so"
   8934     shlibpath_var=LD_LIBRARY_PATH
   8935     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8936     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8937     soname_spec='${libname}${release}${shared_ext}$major'
   8938     if test "X$HPUX_IA64_MODE" = X32; then
   8939       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8940     else
   8941       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8942     fi
   8943     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8944     ;;
   8945    hppa*64*)
   8946      shrext_cmds='.sl'
   8947      hardcode_into_libs=yes
   8948      dynamic_linker="$host_os dld.sl"
   8949      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8950      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8951      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8952      soname_spec='${libname}${release}${shared_ext}$major'
   8953      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8954      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8955      ;;
   8956    *)
   8957     shrext_cmds='.sl'
   8958     dynamic_linker="$host_os dld.sl"
   8959     shlibpath_var=SHLIB_PATH
   8960     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8962     soname_spec='${libname}${release}${shared_ext}$major'
   8963     ;;
   8964   esac
   8965   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8966   postinstall_cmds='chmod 555 $lib'
   8967   ;;
   8968 
   8969 interix[3-9]*)
   8970   version_type=linux
   8971   need_lib_prefix=no
   8972   need_version=no
   8973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8974   soname_spec='${libname}${release}${shared_ext}$major'
   8975   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8976   shlibpath_var=LD_LIBRARY_PATH
   8977   shlibpath_overrides_runpath=no
   8978   hardcode_into_libs=yes
   8979   ;;
   8980 
   8981 irix5* | irix6* | nonstopux*)
   8982   case $host_os in
   8983     nonstopux*) version_type=nonstopux ;;
   8984     *)
   8985 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8986 		version_type=linux
   8987 	else
   8988 		version_type=irix
   8989 	fi ;;
   8990   esac
   8991   need_lib_prefix=no
   8992   need_version=no
   8993   soname_spec='${libname}${release}${shared_ext}$major'
   8994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8995   case $host_os in
   8996   irix5* | nonstopux*)
   8997     libsuff= shlibsuff=
   8998     ;;
   8999   *)
   9000     case $LD in # libtool.m4 will add one of these switches to LD
   9001     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9002       libsuff= shlibsuff= libmagic=32-bit;;
   9003     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9004       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9005     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9006       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9007     *) libsuff= shlibsuff= libmagic=never-match;;
   9008     esac
   9009     ;;
   9010   esac
   9011   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9012   shlibpath_overrides_runpath=no
   9013   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9014   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9015   hardcode_into_libs=yes
   9016   ;;
   9017 
   9018 # No shared lib support for Linux oldld, aout, or coff.
   9019 linux*oldld* | linux*aout* | linux*coff*)
   9020   dynamic_linker=no
   9021   ;;
   9022 
   9023 # This must be Linux ELF.
   9024 linux* | k*bsd*-gnu)
   9025   version_type=linux
   9026   need_lib_prefix=no
   9027   need_version=no
   9028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9029   soname_spec='${libname}${release}${shared_ext}$major'
   9030   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9031   shlibpath_var=LD_LIBRARY_PATH
   9032   shlibpath_overrides_runpath=no
   9033   # This implies no fast_install, which is unacceptable.
   9034   # Some rework will be needed to allow for fast_install
   9035   # before this can be enabled.
   9036   hardcode_into_libs=yes
   9037 
   9038   # Append ld.so.conf contents to the search path
   9039   if test -f /etc/ld.so.conf; then
   9040     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9041     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9042   fi
   9043 
   9044   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9045   # powerpc, because MkLinux only supported shared libraries with the
   9046   # GNU dynamic linker.  Since this was broken with cross compilers,
   9047   # most powerpc-linux boxes support dynamic linking these days and
   9048   # people can always --disable-shared, the test was removed, and we
   9049   # assume the GNU/Linux dynamic linker is in use.
   9050   dynamic_linker='GNU/Linux ld.so'
   9051   ;;
   9052 
   9053 netbsd*)
   9054   version_type=sunos
   9055   need_lib_prefix=no
   9056   need_version=no
   9057   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9058     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9059     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9060     dynamic_linker='NetBSD (a.out) ld.so'
   9061   else
   9062     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9063     soname_spec='${libname}${release}${shared_ext}$major'
   9064     dynamic_linker='NetBSD ld.elf_so'
   9065   fi
   9066   shlibpath_var=LD_LIBRARY_PATH
   9067   shlibpath_overrides_runpath=yes
   9068   hardcode_into_libs=yes
   9069   ;;
   9070 
   9071 newsos6)
   9072   version_type=linux
   9073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9074   shlibpath_var=LD_LIBRARY_PATH
   9075   shlibpath_overrides_runpath=yes
   9076   ;;
   9077 
   9078 nto-qnx*)
   9079   version_type=linux
   9080   need_lib_prefix=no
   9081   need_version=no
   9082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9083   soname_spec='${libname}${release}${shared_ext}$major'
   9084   shlibpath_var=LD_LIBRARY_PATH
   9085   shlibpath_overrides_runpath=yes
   9086   ;;
   9087 
   9088 openbsd*)
   9089   version_type=sunos
   9090   sys_lib_dlsearch_path_spec="/usr/lib"
   9091   need_lib_prefix=no
   9092   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9093   case $host_os in
   9094     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9095     *)                         need_version=no  ;;
   9096   esac
   9097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9098   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9099   shlibpath_var=LD_LIBRARY_PATH
   9100   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9101     case $host_os in
   9102       openbsd2.[89] | openbsd2.[89].*)
   9103 	shlibpath_overrides_runpath=no
   9104 	;;
   9105       *)
   9106 	shlibpath_overrides_runpath=yes
   9107 	;;
   9108       esac
   9109   else
   9110     shlibpath_overrides_runpath=yes
   9111   fi
   9112   ;;
   9113 
   9114 os2*)
   9115   libname_spec='$name'
   9116   shrext_cmds=".dll"
   9117   need_lib_prefix=no
   9118   library_names_spec='$libname${shared_ext} $libname.a'
   9119   dynamic_linker='OS/2 ld.exe'
   9120   shlibpath_var=LIBPATH
   9121   ;;
   9122 
   9123 osf3* | osf4* | osf5*)
   9124   version_type=osf
   9125   need_lib_prefix=no
   9126   need_version=no
   9127   soname_spec='${libname}${release}${shared_ext}$major'
   9128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9129   shlibpath_var=LD_LIBRARY_PATH
   9130   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9131   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9132   ;;
   9133 
   9134 rdos*)
   9135   dynamic_linker=no
   9136   ;;
   9137 
   9138 solaris*)
   9139   version_type=linux
   9140   need_lib_prefix=no
   9141   need_version=no
   9142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9143   soname_spec='${libname}${release}${shared_ext}$major'
   9144   shlibpath_var=LD_LIBRARY_PATH
   9145   shlibpath_overrides_runpath=yes
   9146   hardcode_into_libs=yes
   9147   # ldd complains unless libraries are executable
   9148   postinstall_cmds='chmod +x $lib'
   9149   ;;
   9150 
   9151 sunos4*)
   9152   version_type=sunos
   9153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9154   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9155   shlibpath_var=LD_LIBRARY_PATH
   9156   shlibpath_overrides_runpath=yes
   9157   if test "$with_gnu_ld" = yes; then
   9158     need_lib_prefix=no
   9159   fi
   9160   need_version=yes
   9161   ;;
   9162 
   9163 sysv4 | sysv4.3*)
   9164   version_type=linux
   9165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9166   soname_spec='${libname}${release}${shared_ext}$major'
   9167   shlibpath_var=LD_LIBRARY_PATH
   9168   case $host_vendor in
   9169     sni)
   9170       shlibpath_overrides_runpath=no
   9171       need_lib_prefix=no
   9172       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9173       runpath_var=LD_RUN_PATH
   9174       ;;
   9175     siemens)
   9176       need_lib_prefix=no
   9177       ;;
   9178     motorola)
   9179       need_lib_prefix=no
   9180       need_version=no
   9181       shlibpath_overrides_runpath=no
   9182       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9183       ;;
   9184   esac
   9185   ;;
   9186 
   9187 sysv4*MP*)
   9188   if test -d /usr/nec ;then
   9189     version_type=linux
   9190     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9191     soname_spec='$libname${shared_ext}.$major'
   9192     shlibpath_var=LD_LIBRARY_PATH
   9193   fi
   9194   ;;
   9195 
   9196 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9197   version_type=freebsd-elf
   9198   need_lib_prefix=no
   9199   need_version=no
   9200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9201   soname_spec='${libname}${release}${shared_ext}$major'
   9202   shlibpath_var=LD_LIBRARY_PATH
   9203   hardcode_into_libs=yes
   9204   if test "$with_gnu_ld" = yes; then
   9205     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9206     shlibpath_overrides_runpath=no
   9207   else
   9208     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9209     shlibpath_overrides_runpath=yes
   9210     case $host_os in
   9211       sco3.2v5*)
   9212         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9213 	;;
   9214     esac
   9215   fi
   9216   sys_lib_dlsearch_path_spec='/usr/lib'
   9217   ;;
   9218 
   9219 uts4*)
   9220   version_type=linux
   9221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9222   soname_spec='${libname}${release}${shared_ext}$major'
   9223   shlibpath_var=LD_LIBRARY_PATH
   9224   ;;
   9225 
   9226 *)
   9227   dynamic_linker=no
   9228   ;;
   9229 esac
   9230 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9231 echo "${ECHO_T}$dynamic_linker" >&6; }
   9232 test "$dynamic_linker" = no && can_build_shared=no
   9233 
   9234 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9235 if test "$GCC" = yes; then
   9236   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9237 fi
   9238 
   9239 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9240 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9241 hardcode_action=
   9242 if test -n "$hardcode_libdir_flag_spec" || \
   9243    test -n "$runpath_var" || \
   9244    test "X$hardcode_automatic" = "Xyes" ; then
   9245 
   9246   # We can hardcode non-existant directories.
   9247   if test "$hardcode_direct" != no &&
   9248      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9249      # have to relink, otherwise we might link with an installed library
   9250      # when we should be linking with a yet-to-be-installed one
   9251      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9252      test "$hardcode_minus_L" != no; then
   9253     # Linking always hardcodes the temporary library directory.
   9254     hardcode_action=relink
   9255   else
   9256     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9257     hardcode_action=immediate
   9258   fi
   9259 else
   9260   # We cannot hardcode anything, or else we can only hardcode existing
   9261   # directories.
   9262   hardcode_action=unsupported
   9263 fi
   9264 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9265 echo "${ECHO_T}$hardcode_action" >&6; }
   9266 
   9267 if test "$hardcode_action" = relink; then
   9268   # Fast installation is not supported
   9269   enable_fast_install=no
   9270 elif test "$shlibpath_overrides_runpath" = yes ||
   9271      test "$enable_shared" = no; then
   9272   # Fast installation is not necessary
   9273   enable_fast_install=needless
   9274 fi
   9275 
   9276 striplib=
   9277 old_striplib=
   9278 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9279 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9280 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9281   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9282   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9283   { echo "$as_me:$LINENO: result: yes" >&5
   9284 echo "${ECHO_T}yes" >&6; }
   9285 else
   9286 # FIXME - insert some real tests, host_os isn't really good enough
   9287   case $host_os in
   9288    darwin*)
   9289        if test -n "$STRIP" ; then
   9290          striplib="$STRIP -x"
   9291          old_striplib="$STRIP -S"
   9292          { echo "$as_me:$LINENO: result: yes" >&5
   9293 echo "${ECHO_T}yes" >&6; }
   9294        else
   9295   { echo "$as_me:$LINENO: result: no" >&5
   9296 echo "${ECHO_T}no" >&6; }
   9297 fi
   9298        ;;
   9299    *)
   9300   { echo "$as_me:$LINENO: result: no" >&5
   9301 echo "${ECHO_T}no" >&6; }
   9302     ;;
   9303   esac
   9304 fi
   9305 
   9306 if test "x$enable_dlopen" != xyes; then
   9307   enable_dlopen=unknown
   9308   enable_dlopen_self=unknown
   9309   enable_dlopen_self_static=unknown
   9310 else
   9311   lt_cv_dlopen=no
   9312   lt_cv_dlopen_libs=
   9313 
   9314   case $host_os in
   9315   beos*)
   9316     lt_cv_dlopen="load_add_on"
   9317     lt_cv_dlopen_libs=
   9318     lt_cv_dlopen_self=yes
   9319     ;;
   9320 
   9321   mingw* | pw32*)
   9322     lt_cv_dlopen="LoadLibrary"
   9323     lt_cv_dlopen_libs=
   9324    ;;
   9325 
   9326   cygwin*)
   9327     lt_cv_dlopen="dlopen"
   9328     lt_cv_dlopen_libs=
   9329    ;;
   9330 
   9331   darwin*)
   9332   # if libdl is installed we need to link against it
   9333     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9334 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9335 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9336   echo $ECHO_N "(cached) $ECHO_C" >&6
   9337 else
   9338   ac_check_lib_save_LIBS=$LIBS
   9339 LIBS="-ldl  $LIBS"
   9340 cat >conftest.$ac_ext <<_ACEOF
   9341 /* confdefs.h.  */
   9342 _ACEOF
   9343 cat confdefs.h >>conftest.$ac_ext
   9344 cat >>conftest.$ac_ext <<_ACEOF
   9345 /* end confdefs.h.  */
   9346 
   9347 /* Override any GCC internal prototype to avoid an error.
   9348    Use char because int might match the return type of a GCC
   9349    builtin and then its argument prototype would still apply.  */
   9350 #ifdef __cplusplus
   9351 extern "C"
   9352 #endif
   9353 char dlopen ();
   9354 int
   9355 main ()
   9356 {
   9357 return dlopen ();
   9358   ;
   9359   return 0;
   9360 }
   9361 _ACEOF
   9362 rm -f conftest.$ac_objext conftest$ac_exeext
   9363 if { (ac_try="$ac_link"
   9364 case "(($ac_try" in
   9365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9366   *) ac_try_echo=$ac_try;;
   9367 esac
   9368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9369   (eval "$ac_link") 2>conftest.er1
   9370   ac_status=$?
   9371   grep -v '^ *+' conftest.er1 >conftest.err
   9372   rm -f conftest.er1
   9373   cat conftest.err >&5
   9374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9375   (exit $ac_status); } && {
   9376 	 test -z "$ac_c_werror_flag" ||
   9377 	 test ! -s conftest.err
   9378        } && test -s conftest$ac_exeext &&
   9379        $as_test_x conftest$ac_exeext; then
   9380   ac_cv_lib_dl_dlopen=yes
   9381 else
   9382   echo "$as_me: failed program was:" >&5
   9383 sed 's/^/| /' conftest.$ac_ext >&5
   9384 
   9385 	ac_cv_lib_dl_dlopen=no
   9386 fi
   9387 
   9388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9389       conftest$ac_exeext conftest.$ac_ext
   9390 LIBS=$ac_check_lib_save_LIBS
   9391 fi
   9392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9393 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9394 if test $ac_cv_lib_dl_dlopen = yes; then
   9395   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9396 else
   9397 
   9398     lt_cv_dlopen="dyld"
   9399     lt_cv_dlopen_libs=
   9400     lt_cv_dlopen_self=yes
   9401 
   9402 fi
   9403 
   9404    ;;
   9405 
   9406   *)
   9407     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9408 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9409 if test "${ac_cv_func_shl_load+set}" = set; then
   9410   echo $ECHO_N "(cached) $ECHO_C" >&6
   9411 else
   9412   cat >conftest.$ac_ext <<_ACEOF
   9413 /* confdefs.h.  */
   9414 _ACEOF
   9415 cat confdefs.h >>conftest.$ac_ext
   9416 cat >>conftest.$ac_ext <<_ACEOF
   9417 /* end confdefs.h.  */
   9418 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9420 #define shl_load innocuous_shl_load
   9421 
   9422 /* System header to define __stub macros and hopefully few prototypes,
   9423     which can conflict with char shl_load (); below.
   9424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9425     <limits.h> exists even on freestanding compilers.  */
   9426 
   9427 #ifdef __STDC__
   9428 # include <limits.h>
   9429 #else
   9430 # include <assert.h>
   9431 #endif
   9432 
   9433 #undef shl_load
   9434 
   9435 /* Override any GCC internal prototype to avoid an error.
   9436    Use char because int might match the return type of a GCC
   9437    builtin and then its argument prototype would still apply.  */
   9438 #ifdef __cplusplus
   9439 extern "C"
   9440 #endif
   9441 char shl_load ();
   9442 /* The GNU C library defines this for functions which it implements
   9443     to always fail with ENOSYS.  Some functions are actually named
   9444     something starting with __ and the normal name is an alias.  */
   9445 #if defined __stub_shl_load || defined __stub___shl_load
   9446 choke me
   9447 #endif
   9448 
   9449 int
   9450 main ()
   9451 {
   9452 return shl_load ();
   9453   ;
   9454   return 0;
   9455 }
   9456 _ACEOF
   9457 rm -f conftest.$ac_objext conftest$ac_exeext
   9458 if { (ac_try="$ac_link"
   9459 case "(($ac_try" in
   9460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9461   *) ac_try_echo=$ac_try;;
   9462 esac
   9463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9464   (eval "$ac_link") 2>conftest.er1
   9465   ac_status=$?
   9466   grep -v '^ *+' conftest.er1 >conftest.err
   9467   rm -f conftest.er1
   9468   cat conftest.err >&5
   9469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9470   (exit $ac_status); } && {
   9471 	 test -z "$ac_c_werror_flag" ||
   9472 	 test ! -s conftest.err
   9473        } && test -s conftest$ac_exeext &&
   9474        $as_test_x conftest$ac_exeext; then
   9475   ac_cv_func_shl_load=yes
   9476 else
   9477   echo "$as_me: failed program was:" >&5
   9478 sed 's/^/| /' conftest.$ac_ext >&5
   9479 
   9480 	ac_cv_func_shl_load=no
   9481 fi
   9482 
   9483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9484       conftest$ac_exeext conftest.$ac_ext
   9485 fi
   9486 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9487 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9488 if test $ac_cv_func_shl_load = yes; then
   9489   lt_cv_dlopen="shl_load"
   9490 else
   9491   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9492 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9493 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9494   echo $ECHO_N "(cached) $ECHO_C" >&6
   9495 else
   9496   ac_check_lib_save_LIBS=$LIBS
   9497 LIBS="-ldld  $LIBS"
   9498 cat >conftest.$ac_ext <<_ACEOF
   9499 /* confdefs.h.  */
   9500 _ACEOF
   9501 cat confdefs.h >>conftest.$ac_ext
   9502 cat >>conftest.$ac_ext <<_ACEOF
   9503 /* end confdefs.h.  */
   9504 
   9505 /* Override any GCC internal prototype to avoid an error.
   9506    Use char because int might match the return type of a GCC
   9507    builtin and then its argument prototype would still apply.  */
   9508 #ifdef __cplusplus
   9509 extern "C"
   9510 #endif
   9511 char shl_load ();
   9512 int
   9513 main ()
   9514 {
   9515 return shl_load ();
   9516   ;
   9517   return 0;
   9518 }
   9519 _ACEOF
   9520 rm -f conftest.$ac_objext conftest$ac_exeext
   9521 if { (ac_try="$ac_link"
   9522 case "(($ac_try" in
   9523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9524   *) ac_try_echo=$ac_try;;
   9525 esac
   9526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9527   (eval "$ac_link") 2>conftest.er1
   9528   ac_status=$?
   9529   grep -v '^ *+' conftest.er1 >conftest.err
   9530   rm -f conftest.er1
   9531   cat conftest.err >&5
   9532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9533   (exit $ac_status); } && {
   9534 	 test -z "$ac_c_werror_flag" ||
   9535 	 test ! -s conftest.err
   9536        } && test -s conftest$ac_exeext &&
   9537        $as_test_x conftest$ac_exeext; then
   9538   ac_cv_lib_dld_shl_load=yes
   9539 else
   9540   echo "$as_me: failed program was:" >&5
   9541 sed 's/^/| /' conftest.$ac_ext >&5
   9542 
   9543 	ac_cv_lib_dld_shl_load=no
   9544 fi
   9545 
   9546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9547       conftest$ac_exeext conftest.$ac_ext
   9548 LIBS=$ac_check_lib_save_LIBS
   9549 fi
   9550 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9551 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9552 if test $ac_cv_lib_dld_shl_load = yes; then
   9553   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9554 else
   9555   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9556 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9557 if test "${ac_cv_func_dlopen+set}" = set; then
   9558   echo $ECHO_N "(cached) $ECHO_C" >&6
   9559 else
   9560   cat >conftest.$ac_ext <<_ACEOF
   9561 /* confdefs.h.  */
   9562 _ACEOF
   9563 cat confdefs.h >>conftest.$ac_ext
   9564 cat >>conftest.$ac_ext <<_ACEOF
   9565 /* end confdefs.h.  */
   9566 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9568 #define dlopen innocuous_dlopen
   9569 
   9570 /* System header to define __stub macros and hopefully few prototypes,
   9571     which can conflict with char dlopen (); below.
   9572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9573     <limits.h> exists even on freestanding compilers.  */
   9574 
   9575 #ifdef __STDC__
   9576 # include <limits.h>
   9577 #else
   9578 # include <assert.h>
   9579 #endif
   9580 
   9581 #undef dlopen
   9582 
   9583 /* Override any GCC internal prototype to avoid an error.
   9584    Use char because int might match the return type of a GCC
   9585    builtin and then its argument prototype would still apply.  */
   9586 #ifdef __cplusplus
   9587 extern "C"
   9588 #endif
   9589 char dlopen ();
   9590 /* The GNU C library defines this for functions which it implements
   9591     to always fail with ENOSYS.  Some functions are actually named
   9592     something starting with __ and the normal name is an alias.  */
   9593 #if defined __stub_dlopen || defined __stub___dlopen
   9594 choke me
   9595 #endif
   9596 
   9597 int
   9598 main ()
   9599 {
   9600 return dlopen ();
   9601   ;
   9602   return 0;
   9603 }
   9604 _ACEOF
   9605 rm -f conftest.$ac_objext conftest$ac_exeext
   9606 if { (ac_try="$ac_link"
   9607 case "(($ac_try" in
   9608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9609   *) ac_try_echo=$ac_try;;
   9610 esac
   9611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9612   (eval "$ac_link") 2>conftest.er1
   9613   ac_status=$?
   9614   grep -v '^ *+' conftest.er1 >conftest.err
   9615   rm -f conftest.er1
   9616   cat conftest.err >&5
   9617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9618   (exit $ac_status); } && {
   9619 	 test -z "$ac_c_werror_flag" ||
   9620 	 test ! -s conftest.err
   9621        } && test -s conftest$ac_exeext &&
   9622        $as_test_x conftest$ac_exeext; then
   9623   ac_cv_func_dlopen=yes
   9624 else
   9625   echo "$as_me: failed program was:" >&5
   9626 sed 's/^/| /' conftest.$ac_ext >&5
   9627 
   9628 	ac_cv_func_dlopen=no
   9629 fi
   9630 
   9631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9632       conftest$ac_exeext conftest.$ac_ext
   9633 fi
   9634 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9635 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9636 if test $ac_cv_func_dlopen = yes; then
   9637   lt_cv_dlopen="dlopen"
   9638 else
   9639   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9640 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9641 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9642   echo $ECHO_N "(cached) $ECHO_C" >&6
   9643 else
   9644   ac_check_lib_save_LIBS=$LIBS
   9645 LIBS="-ldl  $LIBS"
   9646 cat >conftest.$ac_ext <<_ACEOF
   9647 /* confdefs.h.  */
   9648 _ACEOF
   9649 cat confdefs.h >>conftest.$ac_ext
   9650 cat >>conftest.$ac_ext <<_ACEOF
   9651 /* end confdefs.h.  */
   9652 
   9653 /* Override any GCC internal prototype to avoid an error.
   9654    Use char because int might match the return type of a GCC
   9655    builtin and then its argument prototype would still apply.  */
   9656 #ifdef __cplusplus
   9657 extern "C"
   9658 #endif
   9659 char dlopen ();
   9660 int
   9661 main ()
   9662 {
   9663 return dlopen ();
   9664   ;
   9665   return 0;
   9666 }
   9667 _ACEOF
   9668 rm -f conftest.$ac_objext conftest$ac_exeext
   9669 if { (ac_try="$ac_link"
   9670 case "(($ac_try" in
   9671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9672   *) ac_try_echo=$ac_try;;
   9673 esac
   9674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9675   (eval "$ac_link") 2>conftest.er1
   9676   ac_status=$?
   9677   grep -v '^ *+' conftest.er1 >conftest.err
   9678   rm -f conftest.er1
   9679   cat conftest.err >&5
   9680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9681   (exit $ac_status); } && {
   9682 	 test -z "$ac_c_werror_flag" ||
   9683 	 test ! -s conftest.err
   9684        } && test -s conftest$ac_exeext &&
   9685        $as_test_x conftest$ac_exeext; then
   9686   ac_cv_lib_dl_dlopen=yes
   9687 else
   9688   echo "$as_me: failed program was:" >&5
   9689 sed 's/^/| /' conftest.$ac_ext >&5
   9690 
   9691 	ac_cv_lib_dl_dlopen=no
   9692 fi
   9693 
   9694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9695       conftest$ac_exeext conftest.$ac_ext
   9696 LIBS=$ac_check_lib_save_LIBS
   9697 fi
   9698 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9699 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9700 if test $ac_cv_lib_dl_dlopen = yes; then
   9701   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9702 else
   9703   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9704 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9705 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9706   echo $ECHO_N "(cached) $ECHO_C" >&6
   9707 else
   9708   ac_check_lib_save_LIBS=$LIBS
   9709 LIBS="-lsvld  $LIBS"
   9710 cat >conftest.$ac_ext <<_ACEOF
   9711 /* confdefs.h.  */
   9712 _ACEOF
   9713 cat confdefs.h >>conftest.$ac_ext
   9714 cat >>conftest.$ac_ext <<_ACEOF
   9715 /* end confdefs.h.  */
   9716 
   9717 /* Override any GCC internal prototype to avoid an error.
   9718    Use char because int might match the return type of a GCC
   9719    builtin and then its argument prototype would still apply.  */
   9720 #ifdef __cplusplus
   9721 extern "C"
   9722 #endif
   9723 char dlopen ();
   9724 int
   9725 main ()
   9726 {
   9727 return dlopen ();
   9728   ;
   9729   return 0;
   9730 }
   9731 _ACEOF
   9732 rm -f conftest.$ac_objext conftest$ac_exeext
   9733 if { (ac_try="$ac_link"
   9734 case "(($ac_try" in
   9735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9736   *) ac_try_echo=$ac_try;;
   9737 esac
   9738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9739   (eval "$ac_link") 2>conftest.er1
   9740   ac_status=$?
   9741   grep -v '^ *+' conftest.er1 >conftest.err
   9742   rm -f conftest.er1
   9743   cat conftest.err >&5
   9744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9745   (exit $ac_status); } && {
   9746 	 test -z "$ac_c_werror_flag" ||
   9747 	 test ! -s conftest.err
   9748        } && test -s conftest$ac_exeext &&
   9749        $as_test_x conftest$ac_exeext; then
   9750   ac_cv_lib_svld_dlopen=yes
   9751 else
   9752   echo "$as_me: failed program was:" >&5
   9753 sed 's/^/| /' conftest.$ac_ext >&5
   9754 
   9755 	ac_cv_lib_svld_dlopen=no
   9756 fi
   9757 
   9758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9759       conftest$ac_exeext conftest.$ac_ext
   9760 LIBS=$ac_check_lib_save_LIBS
   9761 fi
   9762 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9763 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9764 if test $ac_cv_lib_svld_dlopen = yes; then
   9765   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9766 else
   9767   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9768 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9769 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9770   echo $ECHO_N "(cached) $ECHO_C" >&6
   9771 else
   9772   ac_check_lib_save_LIBS=$LIBS
   9773 LIBS="-ldld  $LIBS"
   9774 cat >conftest.$ac_ext <<_ACEOF
   9775 /* confdefs.h.  */
   9776 _ACEOF
   9777 cat confdefs.h >>conftest.$ac_ext
   9778 cat >>conftest.$ac_ext <<_ACEOF
   9779 /* end confdefs.h.  */
   9780 
   9781 /* Override any GCC internal prototype to avoid an error.
   9782    Use char because int might match the return type of a GCC
   9783    builtin and then its argument prototype would still apply.  */
   9784 #ifdef __cplusplus
   9785 extern "C"
   9786 #endif
   9787 char dld_link ();
   9788 int
   9789 main ()
   9790 {
   9791 return dld_link ();
   9792   ;
   9793   return 0;
   9794 }
   9795 _ACEOF
   9796 rm -f conftest.$ac_objext conftest$ac_exeext
   9797 if { (ac_try="$ac_link"
   9798 case "(($ac_try" in
   9799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9800   *) ac_try_echo=$ac_try;;
   9801 esac
   9802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9803   (eval "$ac_link") 2>conftest.er1
   9804   ac_status=$?
   9805   grep -v '^ *+' conftest.er1 >conftest.err
   9806   rm -f conftest.er1
   9807   cat conftest.err >&5
   9808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9809   (exit $ac_status); } && {
   9810 	 test -z "$ac_c_werror_flag" ||
   9811 	 test ! -s conftest.err
   9812        } && test -s conftest$ac_exeext &&
   9813        $as_test_x conftest$ac_exeext; then
   9814   ac_cv_lib_dld_dld_link=yes
   9815 else
   9816   echo "$as_me: failed program was:" >&5
   9817 sed 's/^/| /' conftest.$ac_ext >&5
   9818 
   9819 	ac_cv_lib_dld_dld_link=no
   9820 fi
   9821 
   9822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9823       conftest$ac_exeext conftest.$ac_ext
   9824 LIBS=$ac_check_lib_save_LIBS
   9825 fi
   9826 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9827 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9828 if test $ac_cv_lib_dld_dld_link = yes; then
   9829   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9830 fi
   9831 
   9832 
   9833 fi
   9834 
   9835 
   9836 fi
   9837 
   9838 
   9839 fi
   9840 
   9841 
   9842 fi
   9843 
   9844 
   9845 fi
   9846 
   9847     ;;
   9848   esac
   9849 
   9850   if test "x$lt_cv_dlopen" != xno; then
   9851     enable_dlopen=yes
   9852   else
   9853     enable_dlopen=no
   9854   fi
   9855 
   9856   case $lt_cv_dlopen in
   9857   dlopen)
   9858     save_CPPFLAGS="$CPPFLAGS"
   9859     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9860 
   9861     save_LDFLAGS="$LDFLAGS"
   9862     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9863 
   9864     save_LIBS="$LIBS"
   9865     LIBS="$lt_cv_dlopen_libs $LIBS"
   9866 
   9867     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9868 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9869 if test "${lt_cv_dlopen_self+set}" = set; then
   9870   echo $ECHO_N "(cached) $ECHO_C" >&6
   9871 else
   9872   	  if test "$cross_compiling" = yes; then :
   9873   lt_cv_dlopen_self=cross
   9874 else
   9875   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9876   lt_status=$lt_dlunknown
   9877   cat > conftest.$ac_ext <<EOF
   9878 #line 9878 "configure"
   9879 #include "confdefs.h"
   9880 
   9881 #if HAVE_DLFCN_H
   9882 #include <dlfcn.h>
   9883 #endif
   9884 
   9885 #include <stdio.h>
   9886 
   9887 #ifdef RTLD_GLOBAL
   9888 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9889 #else
   9890 #  ifdef DL_GLOBAL
   9891 #    define LT_DLGLOBAL		DL_GLOBAL
   9892 #  else
   9893 #    define LT_DLGLOBAL		0
   9894 #  endif
   9895 #endif
   9896 
   9897 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9898    find out it does not work in some platform. */
   9899 #ifndef LT_DLLAZY_OR_NOW
   9900 #  ifdef RTLD_LAZY
   9901 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9902 #  else
   9903 #    ifdef DL_LAZY
   9904 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9905 #    else
   9906 #      ifdef RTLD_NOW
   9907 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9908 #      else
   9909 #        ifdef DL_NOW
   9910 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9911 #        else
   9912 #          define LT_DLLAZY_OR_NOW	0
   9913 #        endif
   9914 #      endif
   9915 #    endif
   9916 #  endif
   9917 #endif
   9918 
   9919 #ifdef __cplusplus
   9920 extern "C" void exit (int);
   9921 #endif
   9922 
   9923 void fnord() { int i=42;}
   9924 int main ()
   9925 {
   9926   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9927   int status = $lt_dlunknown;
   9928 
   9929   if (self)
   9930     {
   9931       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9932       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9933       /* dlclose (self); */
   9934     }
   9935   else
   9936     puts (dlerror ());
   9937 
   9938     exit (status);
   9939 }
   9940 EOF
   9941   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9942   (eval $ac_link) 2>&5
   9943   ac_status=$?
   9944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9945   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9946     (./conftest; exit; ) >&5 2>/dev/null
   9947     lt_status=$?
   9948     case x$lt_status in
   9949       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9950       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9951       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9952     esac
   9953   else :
   9954     # compilation failed
   9955     lt_cv_dlopen_self=no
   9956   fi
   9957 fi
   9958 rm -fr conftest*
   9959 
   9960 
   9961 fi
   9962 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9963 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9964 
   9965     if test "x$lt_cv_dlopen_self" = xyes; then
   9966       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9967       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9968 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9969 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9970   echo $ECHO_N "(cached) $ECHO_C" >&6
   9971 else
   9972   	  if test "$cross_compiling" = yes; then :
   9973   lt_cv_dlopen_self_static=cross
   9974 else
   9975   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9976   lt_status=$lt_dlunknown
   9977   cat > conftest.$ac_ext <<EOF
   9978 #line 9978 "configure"
   9979 #include "confdefs.h"
   9980 
   9981 #if HAVE_DLFCN_H
   9982 #include <dlfcn.h>
   9983 #endif
   9984 
   9985 #include <stdio.h>
   9986 
   9987 #ifdef RTLD_GLOBAL
   9988 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9989 #else
   9990 #  ifdef DL_GLOBAL
   9991 #    define LT_DLGLOBAL		DL_GLOBAL
   9992 #  else
   9993 #    define LT_DLGLOBAL		0
   9994 #  endif
   9995 #endif
   9996 
   9997 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9998    find out it does not work in some platform. */
   9999 #ifndef LT_DLLAZY_OR_NOW
   10000 #  ifdef RTLD_LAZY
   10001 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10002 #  else
   10003 #    ifdef DL_LAZY
   10004 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10005 #    else
   10006 #      ifdef RTLD_NOW
   10007 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10008 #      else
   10009 #        ifdef DL_NOW
   10010 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10011 #        else
   10012 #          define LT_DLLAZY_OR_NOW	0
   10013 #        endif
   10014 #      endif
   10015 #    endif
   10016 #  endif
   10017 #endif
   10018 
   10019 #ifdef __cplusplus
   10020 extern "C" void exit (int);
   10021 #endif
   10022 
   10023 void fnord() { int i=42;}
   10024 int main ()
   10025 {
   10026   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10027   int status = $lt_dlunknown;
   10028 
   10029   if (self)
   10030     {
   10031       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10032       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10033       /* dlclose (self); */
   10034     }
   10035   else
   10036     puts (dlerror ());
   10037 
   10038     exit (status);
   10039 }
   10040 EOF
   10041   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10042   (eval $ac_link) 2>&5
   10043   ac_status=$?
   10044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10045   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10046     (./conftest; exit; ) >&5 2>/dev/null
   10047     lt_status=$?
   10048     case x$lt_status in
   10049       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10050       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10051       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10052     esac
   10053   else :
   10054     # compilation failed
   10055     lt_cv_dlopen_self_static=no
   10056   fi
   10057 fi
   10058 rm -fr conftest*
   10059 
   10060 
   10061 fi
   10062 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10063 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10064     fi
   10065 
   10066     CPPFLAGS="$save_CPPFLAGS"
   10067     LDFLAGS="$save_LDFLAGS"
   10068     LIBS="$save_LIBS"
   10069     ;;
   10070   esac
   10071 
   10072   case $lt_cv_dlopen_self in
   10073   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10074   *) enable_dlopen_self=unknown ;;
   10075   esac
   10076 
   10077   case $lt_cv_dlopen_self_static in
   10078   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10079   *) enable_dlopen_self_static=unknown ;;
   10080   esac
   10081 fi
   10082 
   10083 
   10084 # Report which library types will actually be built
   10085 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10086 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10087 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10088 echo "${ECHO_T}$can_build_shared" >&6; }
   10089 
   10090 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10091 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10092 test "$can_build_shared" = "no" && enable_shared=no
   10093 
   10094 # On AIX, shared libraries and static libraries use the same namespace, and
   10095 # are all built from PIC.
   10096 case $host_os in
   10097 aix3*)
   10098   test "$enable_shared" = yes && enable_static=no
   10099   if test -n "$RANLIB"; then
   10100     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10101     postinstall_cmds='$RANLIB $lib'
   10102   fi
   10103   ;;
   10104 
   10105 aix4* | aix5*)
   10106   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10107     test "$enable_shared" = yes && enable_static=no
   10108   fi
   10109     ;;
   10110 esac
   10111 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10112 echo "${ECHO_T}$enable_shared" >&6; }
   10113 
   10114 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10115 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10116 # Make sure either enable_shared or enable_static is yes.
   10117 test "$enable_shared" = yes || enable_static=yes
   10118 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10119 echo "${ECHO_T}$enable_static" >&6; }
   10120 
   10121 # The else clause should only fire when bootstrapping the
   10122 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10123 # with your package, and you will get complaints that there are
   10124 # no rules to generate ltmain.sh.
   10125 if test -f "$ltmain"; then
   10126   # See if we are running on zsh, and set the options which allow our commands through
   10127   # without removal of \ escapes.
   10128   if test -n "${ZSH_VERSION+set}" ; then
   10129     setopt NO_GLOB_SUBST
   10130   fi
   10131   # Now quote all the things that may contain metacharacters while being
   10132   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10133   # variables and quote the copies for generation of the libtool script.
   10134   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10135     SED SHELL STRIP \
   10136     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10137     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10138     deplibs_check_method reload_flag reload_cmds need_locks \
   10139     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10140     lt_cv_sys_global_symbol_to_c_name_address \
   10141     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10142     old_postinstall_cmds old_postuninstall_cmds \
   10143     compiler \
   10144     CC \
   10145     LD \
   10146     lt_prog_compiler_wl \
   10147     lt_prog_compiler_pic \
   10148     lt_prog_compiler_static \
   10149     lt_prog_compiler_no_builtin_flag \
   10150     export_dynamic_flag_spec \
   10151     thread_safe_flag_spec \
   10152     whole_archive_flag_spec \
   10153     enable_shared_with_static_runtimes \
   10154     old_archive_cmds \
   10155     old_archive_from_new_cmds \
   10156     predep_objects \
   10157     postdep_objects \
   10158     predeps \
   10159     postdeps \
   10160     compiler_lib_search_path \
   10161     archive_cmds \
   10162     archive_expsym_cmds \
   10163     postinstall_cmds \
   10164     postuninstall_cmds \
   10165     old_archive_from_expsyms_cmds \
   10166     allow_undefined_flag \
   10167     no_undefined_flag \
   10168     export_symbols_cmds \
   10169     hardcode_libdir_flag_spec \
   10170     hardcode_libdir_flag_spec_ld \
   10171     hardcode_libdir_separator \
   10172     hardcode_automatic \
   10173     module_cmds \
   10174     module_expsym_cmds \
   10175     lt_cv_prog_compiler_c_o \
   10176     fix_srcfile_path \
   10177     exclude_expsyms \
   10178     include_expsyms; do
   10179 
   10180     case $var in
   10181     old_archive_cmds | \
   10182     old_archive_from_new_cmds | \
   10183     archive_cmds | \
   10184     archive_expsym_cmds | \
   10185     module_cmds | \
   10186     module_expsym_cmds | \
   10187     old_archive_from_expsyms_cmds | \
   10188     export_symbols_cmds | \
   10189     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10190     postinstall_cmds | postuninstall_cmds | \
   10191     old_postinstall_cmds | old_postuninstall_cmds | \
   10192     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10193       # Double-quote double-evaled strings.
   10194       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10195       ;;
   10196     *)
   10197       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10198       ;;
   10199     esac
   10200   done
   10201 
   10202   case $lt_echo in
   10203   *'\$0 --fallback-echo"')
   10204     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10205     ;;
   10206   esac
   10207 
   10208 cfgfile="${ofile}T"
   10209   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10210   $rm -f "$cfgfile"
   10211   { echo "$as_me:$LINENO: creating $ofile" >&5
   10212 echo "$as_me: creating $ofile" >&6;}
   10213 
   10214   cat <<__EOF__ >> "$cfgfile"
   10215 #! $SHELL
   10216 
   10217 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10218 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10219 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10220 #
   10221 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   10222 # Free Software Foundation, Inc.
   10223 #
   10224 # This file is part of GNU Libtool:
   10225 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10226 #
   10227 # This program is free software; you can redistribute it and/or modify
   10228 # it under the terms of the GNU General Public License as published by
   10229 # the Free Software Foundation; either version 2 of the License, or
   10230 # (at your option) any later version.
   10231 #
   10232 # This program is distributed in the hope that it will be useful, but
   10233 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10234 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10235 # General Public License for more details.
   10236 #
   10237 # You should have received a copy of the GNU General Public License
   10238 # along with this program; if not, write to the Free Software
   10239 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10240 #
   10241 # As a special exception to the GNU General Public License, if you
   10242 # distribute this file as part of a program that contains a
   10243 # configuration script generated by Autoconf, you may include it under
   10244 # the same distribution terms that you use for the rest of that program.
   10245 
   10246 # A sed program that does not truncate output.
   10247 SED=$lt_SED
   10248 
   10249 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10250 Xsed="$SED -e 1s/^X//"
   10251 
   10252 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10253 # if CDPATH is set.
   10254 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10255 
   10256 # The names of the tagged configurations supported by this script.
   10257 available_tags=
   10258 
   10259 # ### BEGIN LIBTOOL CONFIG
   10260 
   10261 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10262 
   10263 # Shell to use when invoking shell scripts.
   10264 SHELL=$lt_SHELL
   10265 
   10266 # Whether or not to build shared libraries.
   10267 build_libtool_libs=$enable_shared
   10268 
   10269 # Whether or not to build static libraries.
   10270 build_old_libs=$enable_static
   10271 
   10272 # Whether or not to add -lc for building shared libraries.
   10273 build_libtool_need_lc=$archive_cmds_need_lc
   10274 
   10275 # Whether or not to disallow shared libs when runtime libs are static
   10276 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10277 
   10278 # Whether or not to optimize for fast installation.
   10279 fast_install=$enable_fast_install
   10280 
   10281 # The host system.
   10282 host_alias=$host_alias
   10283 host=$host
   10284 host_os=$host_os
   10285 
   10286 # The build system.
   10287 build_alias=$build_alias
   10288 build=$build
   10289 build_os=$build_os
   10290 
   10291 # An echo program that does not interpret backslashes.
   10292 echo=$lt_echo
   10293 
   10294 # The archiver.
   10295 AR=$lt_AR
   10296 AR_FLAGS=$lt_AR_FLAGS
   10297 
   10298 # A C compiler.
   10299 LTCC=$lt_LTCC
   10300 
   10301 # LTCC compiler flags.
   10302 LTCFLAGS=$lt_LTCFLAGS
   10303 
   10304 # A language-specific compiler.
   10305 CC=$lt_compiler
   10306 
   10307 # Is the compiler the GNU C compiler?
   10308 with_gcc=$GCC
   10309 
   10310 # An ERE matcher.
   10311 EGREP=$lt_EGREP
   10312 
   10313 # The linker used to build libraries.
   10314 LD=$lt_LD
   10315 
   10316 # Whether we need hard or soft links.
   10317 LN_S=$lt_LN_S
   10318 
   10319 # A BSD-compatible nm program.
   10320 NM=$lt_NM
   10321 
   10322 # A symbol stripping program
   10323 STRIP=$lt_STRIP
   10324 
   10325 # Used to examine libraries when file_magic_cmd begins "file"
   10326 MAGIC_CMD=$MAGIC_CMD
   10327 
   10328 # Used on cygwin: DLL creation program.
   10329 DLLTOOL="$DLLTOOL"
   10330 
   10331 # Used on cygwin: object dumper.
   10332 OBJDUMP="$OBJDUMP"
   10333 
   10334 # Used on cygwin: assembler.
   10335 AS="$AS"
   10336 
   10337 # The name of the directory that contains temporary libtool files.
   10338 objdir=$objdir
   10339 
   10340 # How to create reloadable object files.
   10341 reload_flag=$lt_reload_flag
   10342 reload_cmds=$lt_reload_cmds
   10343 
   10344 # How to pass a linker flag through the compiler.
   10345 wl=$lt_lt_prog_compiler_wl
   10346 
   10347 # Object file suffix (normally "o").
   10348 objext="$ac_objext"
   10349 
   10350 # Old archive suffix (normally "a").
   10351 libext="$libext"
   10352 
   10353 # Shared library suffix (normally ".so").
   10354 shrext_cmds='$shrext_cmds'
   10355 
   10356 # Executable file suffix (normally "").
   10357 exeext="$exeext"
   10358 
   10359 # Additional compiler flags for building library objects.
   10360 pic_flag=$lt_lt_prog_compiler_pic
   10361 pic_mode=$pic_mode
   10362 
   10363 # What is the maximum length of a command?
   10364 max_cmd_len=$lt_cv_sys_max_cmd_len
   10365 
   10366 # Does compiler simultaneously support -c and -o options?
   10367 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10368 
   10369 # Must we lock files when doing compilation?
   10370 need_locks=$lt_need_locks
   10371 
   10372 # Do we need the lib prefix for modules?
   10373 need_lib_prefix=$need_lib_prefix
   10374 
   10375 # Do we need a version for libraries?
   10376 need_version=$need_version
   10377 
   10378 # Whether dlopen is supported.
   10379 dlopen_support=$enable_dlopen
   10380 
   10381 # Whether dlopen of programs is supported.
   10382 dlopen_self=$enable_dlopen_self
   10383 
   10384 # Whether dlopen of statically linked programs is supported.
   10385 dlopen_self_static=$enable_dlopen_self_static
   10386 
   10387 # Compiler flag to prevent dynamic linking.
   10388 link_static_flag=$lt_lt_prog_compiler_static
   10389 
   10390 # Compiler flag to turn off builtin functions.
   10391 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10392 
   10393 # Compiler flag to allow reflexive dlopens.
   10394 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10395 
   10396 # Compiler flag to generate shared objects directly from archives.
   10397 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10398 
   10399 # Compiler flag to generate thread-safe objects.
   10400 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10401 
   10402 # Library versioning type.
   10403 version_type=$version_type
   10404 
   10405 # Format of library name prefix.
   10406 libname_spec=$lt_libname_spec
   10407 
   10408 # List of archive names.  First name is the real one, the rest are links.
   10409 # The last name is the one that the linker finds with -lNAME.
   10410 library_names_spec=$lt_library_names_spec
   10411 
   10412 # The coded name of the library, if different from the real name.
   10413 soname_spec=$lt_soname_spec
   10414 
   10415 # Commands used to build and install an old-style archive.
   10416 RANLIB=$lt_RANLIB
   10417 old_archive_cmds=$lt_old_archive_cmds
   10418 old_postinstall_cmds=$lt_old_postinstall_cmds
   10419 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10420 
   10421 # Create an old-style archive from a shared archive.
   10422 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10423 
   10424 # Create a temporary old-style archive to link instead of a shared archive.
   10425 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10426 
   10427 # Commands used to build and install a shared archive.
   10428 archive_cmds=$lt_archive_cmds
   10429 archive_expsym_cmds=$lt_archive_expsym_cmds
   10430 postinstall_cmds=$lt_postinstall_cmds
   10431 postuninstall_cmds=$lt_postuninstall_cmds
   10432 
   10433 # Commands used to build a loadable module (assumed same as above if empty)
   10434 module_cmds=$lt_module_cmds
   10435 module_expsym_cmds=$lt_module_expsym_cmds
   10436 
   10437 # Commands to strip libraries.
   10438 old_striplib=$lt_old_striplib
   10439 striplib=$lt_striplib
   10440 
   10441 # Dependencies to place before the objects being linked to create a
   10442 # shared library.
   10443 predep_objects=$lt_predep_objects
   10444 
   10445 # Dependencies to place after the objects being linked to create a
   10446 # shared library.
   10447 postdep_objects=$lt_postdep_objects
   10448 
   10449 # Dependencies to place before the objects being linked to create a
   10450 # shared library.
   10451 predeps=$lt_predeps
   10452 
   10453 # Dependencies to place after the objects being linked to create a
   10454 # shared library.
   10455 postdeps=$lt_postdeps
   10456 
   10457 # The library search path used internally by the compiler when linking
   10458 # a shared library.
   10459 compiler_lib_search_path=$lt_compiler_lib_search_path
   10460 
   10461 # Method to check whether dependent libraries are shared objects.
   10462 deplibs_check_method=$lt_deplibs_check_method
   10463 
   10464 # Command to use when deplibs_check_method == file_magic.
   10465 file_magic_cmd=$lt_file_magic_cmd
   10466 
   10467 # Flag that allows shared libraries with undefined symbols to be built.
   10468 allow_undefined_flag=$lt_allow_undefined_flag
   10469 
   10470 # Flag that forces no undefined symbols.
   10471 no_undefined_flag=$lt_no_undefined_flag
   10472 
   10473 # Commands used to finish a libtool library installation in a directory.
   10474 finish_cmds=$lt_finish_cmds
   10475 
   10476 # Same as above, but a single script fragment to be evaled but not shown.
   10477 finish_eval=$lt_finish_eval
   10478 
   10479 # Take the output of nm and produce a listing of raw symbols and C names.
   10480 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10481 
   10482 # Transform the output of nm in a proper C declaration
   10483 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10484 
   10485 # Transform the output of nm in a C name address pair
   10486 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10487 
   10488 # This is the shared library runtime path variable.
   10489 runpath_var=$runpath_var
   10490 
   10491 # This is the shared library path variable.
   10492 shlibpath_var=$shlibpath_var
   10493 
   10494 # Is shlibpath searched before the hard-coded library search path?
   10495 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10496 
   10497 # How to hardcode a shared library path into an executable.
   10498 hardcode_action=$hardcode_action
   10499 
   10500 # Whether we should hardcode library paths into libraries.
   10501 hardcode_into_libs=$hardcode_into_libs
   10502 
   10503 # Flag to hardcode \$libdir into a binary during linking.
   10504 # This must work even if \$libdir does not exist.
   10505 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10506 
   10507 # If ld is used when linking, flag to hardcode \$libdir into
   10508 # a binary during linking. This must work even if \$libdir does
   10509 # not exist.
   10510 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10511 
   10512 # Whether we need a single -rpath flag with a separated argument.
   10513 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10514 
   10515 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10516 # resulting binary.
   10517 hardcode_direct=$hardcode_direct
   10518 
   10519 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10520 # resulting binary.
   10521 hardcode_minus_L=$hardcode_minus_L
   10522 
   10523 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10524 # the resulting binary.
   10525 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10526 
   10527 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10528 # and all subsequent libraries and executables linked against it.
   10529 hardcode_automatic=$hardcode_automatic
   10530 
   10531 # Variables whose values should be saved in libtool wrapper scripts and
   10532 # restored at relink time.
   10533 variables_saved_for_relink="$variables_saved_for_relink"
   10534 
   10535 # Whether libtool must link a program against all its dependency libraries.
   10536 link_all_deplibs=$link_all_deplibs
   10537 
   10538 # Compile-time system search path for libraries
   10539 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10540 
   10541 # Run-time system search path for libraries
   10542 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10543 
   10544 # Fix the shell variable \$srcfile for the compiler.
   10545 fix_srcfile_path=$lt_fix_srcfile_path
   10546 
   10547 # Set to yes if exported symbols are required.
   10548 always_export_symbols=$always_export_symbols
   10549 
   10550 # The commands to list exported symbols.
   10551 export_symbols_cmds=$lt_export_symbols_cmds
   10552 
   10553 # The commands to extract the exported symbol list from a shared archive.
   10554 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10555 
   10556 # Symbols that should not be listed in the preloaded symbols.
   10557 exclude_expsyms=$lt_exclude_expsyms
   10558 
   10559 # Symbols that must always be exported.
   10560 include_expsyms=$lt_include_expsyms
   10561 
   10562 # ### END LIBTOOL CONFIG
   10563 
   10564 __EOF__
   10565 
   10566 
   10567   case $host_os in
   10568   aix3*)
   10569     cat <<\EOF >> "$cfgfile"
   10570 
   10571 # AIX sometimes has problems with the GCC collect2 program.  For some
   10572 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10573 # vanish in a puff of smoke.
   10574 if test "X${COLLECT_NAMES+set}" != Xset; then
   10575   COLLECT_NAMES=
   10576   export COLLECT_NAMES
   10577 fi
   10578 EOF
   10579     ;;
   10580   esac
   10581 
   10582   # We use sed instead of cat because bash on DJGPP gets confused if
   10583   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10584   # text mode, it properly converts lines to CR/LF.  This bash problem
   10585   # is reportedly fixed, but why not run on old versions too?
   10586   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10587 
   10588   mv -f "$cfgfile" "$ofile" || \
   10589     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10590   chmod +x "$ofile"
   10591 
   10592 else
   10593   # If there is no Makefile yet, we rely on a make rule to execute
   10594   # `config.status --recheck' to rerun these tests and create the
   10595   # libtool script then.
   10596   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10597   if test -f "$ltmain_in"; then
   10598     test -f Makefile && make "$ltmain"
   10599   fi
   10600 fi
   10601 
   10602 
   10603 ac_ext=c
   10604 ac_cpp='$CPP $CPPFLAGS'
   10605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10608 
   10609 CC="$lt_save_CC"
   10610 
   10611 
   10612 # Check whether --with-tags was given.
   10613 if test "${with_tags+set}" = set; then
   10614   withval=$with_tags; tagnames="$withval"
   10615 fi
   10616 
   10617 
   10618 if test -f "$ltmain" && test -n "$tagnames"; then
   10619   if test ! -f "${ofile}"; then
   10620     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10621 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10622   fi
   10623 
   10624   if test -z "$LTCC"; then
   10625     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10626     if test -z "$LTCC"; then
   10627       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10628 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10629     else
   10630       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10631 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10632     fi
   10633   fi
   10634   if test -z "$LTCFLAGS"; then
   10635     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10636   fi
   10637 
   10638   # Extract list of available tagged configurations in $ofile.
   10639   # Note that this assumes the entire list is on one line.
   10640   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10641 
   10642   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10643   for tagname in $tagnames; do
   10644     IFS="$lt_save_ifs"
   10645     # Check whether tagname contains only valid characters
   10646     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10647     "") ;;
   10648     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10649 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10650    { (exit 1); exit 1; }; }
   10651 	;;
   10652     esac
   10653 
   10654     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10655     then
   10656       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10657 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10658    { (exit 1); exit 1; }; }
   10659     fi
   10660 
   10661     # Update the list of available tags.
   10662     if test -n "$tagname"; then
   10663       echo appending configuration tag \"$tagname\" to $ofile
   10664 
   10665       case $tagname in
   10666       CXX)
   10667 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10668 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10669 	    (test "X$CXX" != "Xg++"))) ; then
   10670 	  ac_ext=cpp
   10671 ac_cpp='$CXXCPP $CPPFLAGS'
   10672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10675 
   10676 
   10677 
   10678 
   10679 archive_cmds_need_lc_CXX=no
   10680 allow_undefined_flag_CXX=
   10681 always_export_symbols_CXX=no
   10682 archive_expsym_cmds_CXX=
   10683 export_dynamic_flag_spec_CXX=
   10684 hardcode_direct_CXX=no
   10685 hardcode_libdir_flag_spec_CXX=
   10686 hardcode_libdir_flag_spec_ld_CXX=
   10687 hardcode_libdir_separator_CXX=
   10688 hardcode_minus_L_CXX=no
   10689 hardcode_shlibpath_var_CXX=unsupported
   10690 hardcode_automatic_CXX=no
   10691 module_cmds_CXX=
   10692 module_expsym_cmds_CXX=
   10693 link_all_deplibs_CXX=unknown
   10694 old_archive_cmds_CXX=$old_archive_cmds
   10695 no_undefined_flag_CXX=
   10696 whole_archive_flag_spec_CXX=
   10697 enable_shared_with_static_runtimes_CXX=no
   10698 
   10699 # Dependencies to place before and after the object being linked:
   10700 predep_objects_CXX=
   10701 postdep_objects_CXX=
   10702 predeps_CXX=
   10703 postdeps_CXX=
   10704 compiler_lib_search_path_CXX=
   10705 
   10706 # Source file extension for C++ test sources.
   10707 ac_ext=cpp
   10708 
   10709 # Object file extension for compiled C++ test sources.
   10710 objext=o
   10711 objext_CXX=$objext
   10712 
   10713 # Code to be used in simple compile tests
   10714 lt_simple_compile_test_code="int some_variable = 0;"
   10715 
   10716 # Code to be used in simple link tests
   10717 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   10718 
   10719 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10720 
   10721 # If no C compiler was specified, use CC.
   10722 LTCC=${LTCC-"$CC"}
   10723 
   10724 # If no C compiler flags were specified, use CFLAGS.
   10725 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10726 
   10727 # Allow CC to be a program name with arguments.
   10728 compiler=$CC
   10729 
   10730 
   10731 # save warnings/boilerplate of simple test code
   10732 ac_outfile=conftest.$ac_objext
   10733 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10734 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10735 _lt_compiler_boilerplate=`cat conftest.err`
   10736 $rm conftest*
   10737 
   10738 ac_outfile=conftest.$ac_objext
   10739 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10740 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10741 _lt_linker_boilerplate=`cat conftest.err`
   10742 $rm conftest*
   10743 
   10744 
   10745 # Allow CC to be a program name with arguments.
   10746 lt_save_CC=$CC
   10747 lt_save_LD=$LD
   10748 lt_save_GCC=$GCC
   10749 GCC=$GXX
   10750 lt_save_with_gnu_ld=$with_gnu_ld
   10751 lt_save_path_LD=$lt_cv_path_LD
   10752 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10753   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10754 else
   10755   $as_unset lt_cv_prog_gnu_ld
   10756 fi
   10757 if test -n "${lt_cv_path_LDCXX+set}"; then
   10758   lt_cv_path_LD=$lt_cv_path_LDCXX
   10759 else
   10760   $as_unset lt_cv_path_LD
   10761 fi
   10762 test -z "${LDCXX+set}" || LD=$LDCXX
   10763 CC=${CXX-"c++"}
   10764 compiler=$CC
   10765 compiler_CXX=$CC
   10766 for cc_temp in $compiler""; do
   10767   case $cc_temp in
   10768     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10769     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10770     \-*) ;;
   10771     *) break;;
   10772   esac
   10773 done
   10774 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10775 
   10776 
   10777 # We don't want -fno-exception wen compiling C++ code, so set the
   10778 # no_builtin_flag separately
   10779 if test "$GXX" = yes; then
   10780   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10781 else
   10782   lt_prog_compiler_no_builtin_flag_CXX=
   10783 fi
   10784 
   10785 if test "$GXX" = yes; then
   10786   # Set up default GNU C++ configuration
   10787 
   10788 
   10789 # Check whether --with-gnu-ld was given.
   10790 if test "${with_gnu_ld+set}" = set; then
   10791   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10792 else
   10793   with_gnu_ld=no
   10794 fi
   10795 
   10796 ac_prog=ld
   10797 if test "$GCC" = yes; then
   10798   # Check if gcc -print-prog-name=ld gives a path.
   10799   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10800 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10801   case $host in
   10802   *-*-mingw*)
   10803     # gcc leaves a trailing carriage return which upsets mingw
   10804     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10805   *)
   10806     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10807   esac
   10808   case $ac_prog in
   10809     # Accept absolute paths.
   10810     [\\/]* | ?:[\\/]*)
   10811       re_direlt='/[^/][^/]*/\.\./'
   10812       # Canonicalize the pathname of ld
   10813       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10814       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10815 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10816       done
   10817       test -z "$LD" && LD="$ac_prog"
   10818       ;;
   10819   "")
   10820     # If it fails, then pretend we aren't using GCC.
   10821     ac_prog=ld
   10822     ;;
   10823   *)
   10824     # If it is relative, then search for the first ld in PATH.
   10825     with_gnu_ld=unknown
   10826     ;;
   10827   esac
   10828 elif test "$with_gnu_ld" = yes; then
   10829   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10830 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10831 else
   10832   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10833 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10834 fi
   10835 if test "${lt_cv_path_LD+set}" = set; then
   10836   echo $ECHO_N "(cached) $ECHO_C" >&6
   10837 else
   10838   if test -z "$LD"; then
   10839   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10840   for ac_dir in $PATH; do
   10841     IFS="$lt_save_ifs"
   10842     test -z "$ac_dir" && ac_dir=.
   10843     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10844       lt_cv_path_LD="$ac_dir/$ac_prog"
   10845       # Check to see if the program is GNU ld.  I'd rather use --version,
   10846       # but apparently some variants of GNU ld only accept -v.
   10847       # Break only if it was the GNU/non-GNU ld that we prefer.
   10848       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10849       *GNU* | *'with BFD'*)
   10850 	test "$with_gnu_ld" != no && break
   10851 	;;
   10852       *)
   10853 	test "$with_gnu_ld" != yes && break
   10854 	;;
   10855       esac
   10856     fi
   10857   done
   10858   IFS="$lt_save_ifs"
   10859 else
   10860   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10861 fi
   10862 fi
   10863 
   10864 LD="$lt_cv_path_LD"
   10865 if test -n "$LD"; then
   10866   { echo "$as_me:$LINENO: result: $LD" >&5
   10867 echo "${ECHO_T}$LD" >&6; }
   10868 else
   10869   { echo "$as_me:$LINENO: result: no" >&5
   10870 echo "${ECHO_T}no" >&6; }
   10871 fi
   10872 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10873 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10874    { (exit 1); exit 1; }; }
   10875 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10876 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10877 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10878   echo $ECHO_N "(cached) $ECHO_C" >&6
   10879 else
   10880   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10881 case `$LD -v 2>&1 </dev/null` in
   10882 *GNU* | *'with BFD'*)
   10883   lt_cv_prog_gnu_ld=yes
   10884   ;;
   10885 *)
   10886   lt_cv_prog_gnu_ld=no
   10887   ;;
   10888 esac
   10889 fi
   10890 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10891 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10892 with_gnu_ld=$lt_cv_prog_gnu_ld
   10893 
   10894 
   10895 
   10896   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10897   # archiving commands below assume that GNU ld is being used.
   10898   if test "$with_gnu_ld" = yes; then
   10899     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10900     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'
   10901 
   10902     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10903     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10904 
   10905     # If archive_cmds runs LD, not CC, wlarc should be empty
   10906     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10907     #     investigate it a little bit more. (MM)
   10908     wlarc='${wl}'
   10909 
   10910     # ancient GNU ld didn't support --whole-archive et. al.
   10911     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10912 	grep 'no-whole-archive' > /dev/null; then
   10913       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10914     else
   10915       whole_archive_flag_spec_CXX=
   10916     fi
   10917   else
   10918     with_gnu_ld=no
   10919     wlarc=
   10920 
   10921     # A generic and very simple default shared library creation
   10922     # command for GNU C++ for the case where it uses the native
   10923     # linker, instead of GNU ld.  If possible, this setting should
   10924     # overridden to take advantage of the native linker features on
   10925     # the platform it is being used on.
   10926     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10927   fi
   10928 
   10929   # Commands to make compiler produce verbose output that lists
   10930   # what "hidden" libraries, object files and flags are used when
   10931   # linking a shared library.
   10932   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10933 
   10934 else
   10935   GXX=no
   10936   with_gnu_ld=no
   10937   wlarc=
   10938 fi
   10939 
   10940 # PORTME: fill in a description of your system's C++ link characteristics
   10941 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10942 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10943 ld_shlibs_CXX=yes
   10944 case $host_os in
   10945   aix3*)
   10946     # FIXME: insert proper C++ library support
   10947     ld_shlibs_CXX=no
   10948     ;;
   10949   aix4* | aix5*)
   10950     if test "$host_cpu" = ia64; then
   10951       # On IA64, the linker does run time linking by default, so we don't
   10952       # have to do anything special.
   10953       aix_use_runtimelinking=no
   10954       exp_sym_flag='-Bexport'
   10955       no_entry_flag=""
   10956     else
   10957       aix_use_runtimelinking=no
   10958 
   10959       # Test if we are trying to use run time linking or normal
   10960       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10961       # need to do runtime linking.
   10962       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10963 	for ld_flag in $LDFLAGS; do
   10964 	  case $ld_flag in
   10965 	  *-brtl*)
   10966 	    aix_use_runtimelinking=yes
   10967 	    break
   10968 	    ;;
   10969 	  esac
   10970 	done
   10971 	;;
   10972       esac
   10973 
   10974       exp_sym_flag='-bexport'
   10975       no_entry_flag='-bnoentry'
   10976     fi
   10977 
   10978     # When large executables or shared objects are built, AIX ld can
   10979     # have problems creating the table of contents.  If linking a library
   10980     # or program results in "error TOC overflow" add -mminimal-toc to
   10981     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10982     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10983 
   10984     archive_cmds_CXX=''
   10985     hardcode_direct_CXX=yes
   10986     hardcode_libdir_separator_CXX=':'
   10987     link_all_deplibs_CXX=yes
   10988 
   10989     if test "$GXX" = yes; then
   10990       case $host_os in aix4.[012]|aix4.[012].*)
   10991       # We only want to do this on AIX 4.2 and lower, the check
   10992       # below for broken collect2 doesn't work under 4.3+
   10993 	collect2name=`${CC} -print-prog-name=collect2`
   10994 	if test -f "$collect2name" && \
   10995 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10996 	then
   10997 	  # We have reworked collect2
   10998 	  :
   10999 	else
   11000 	  # We have old collect2
   11001 	  hardcode_direct_CXX=unsupported
   11002 	  # It fails to find uninstalled libraries when the uninstalled
   11003 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11004 	  # to unsupported forces relinking
   11005 	  hardcode_minus_L_CXX=yes
   11006 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11007 	  hardcode_libdir_separator_CXX=
   11008 	fi
   11009 	;;
   11010       esac
   11011       shared_flag='-shared'
   11012       if test "$aix_use_runtimelinking" = yes; then
   11013 	shared_flag="$shared_flag "'${wl}-G'
   11014       fi
   11015     else
   11016       # not using gcc
   11017       if test "$host_cpu" = ia64; then
   11018 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11019 	# chokes on -Wl,-G. The following line is correct:
   11020 	shared_flag='-G'
   11021       else
   11022 	if test "$aix_use_runtimelinking" = yes; then
   11023 	  shared_flag='${wl}-G'
   11024 	else
   11025 	  shared_flag='${wl}-bM:SRE'
   11026 	fi
   11027       fi
   11028     fi
   11029 
   11030     # It seems that -bexpall does not export symbols beginning with
   11031     # underscore (_), so it is better to generate a list of symbols to export.
   11032     always_export_symbols_CXX=yes
   11033     if test "$aix_use_runtimelinking" = yes; then
   11034       # Warning - without using the other runtime loading flags (-brtl),
   11035       # -berok will link without error, but may produce a broken library.
   11036       allow_undefined_flag_CXX='-berok'
   11037       # Determine the default libpath from the value encoded in an empty executable.
   11038       cat >conftest.$ac_ext <<_ACEOF
   11039 /* confdefs.h.  */
   11040 _ACEOF
   11041 cat confdefs.h >>conftest.$ac_ext
   11042 cat >>conftest.$ac_ext <<_ACEOF
   11043 /* end confdefs.h.  */
   11044 
   11045 int
   11046 main ()
   11047 {
   11048 
   11049   ;
   11050   return 0;
   11051 }
   11052 _ACEOF
   11053 rm -f conftest.$ac_objext conftest$ac_exeext
   11054 if { (ac_try="$ac_link"
   11055 case "(($ac_try" in
   11056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11057   *) ac_try_echo=$ac_try;;
   11058 esac
   11059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11060   (eval "$ac_link") 2>conftest.er1
   11061   ac_status=$?
   11062   grep -v '^ *+' conftest.er1 >conftest.err
   11063   rm -f conftest.er1
   11064   cat conftest.err >&5
   11065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11066   (exit $ac_status); } && {
   11067 	 test -z "$ac_cxx_werror_flag" ||
   11068 	 test ! -s conftest.err
   11069        } && test -s conftest$ac_exeext &&
   11070        $as_test_x conftest$ac_exeext; then
   11071 
   11072 lt_aix_libpath_sed='
   11073     /Import File Strings/,/^$/ {
   11074 	/^0/ {
   11075 	    s/^0  *\(.*\)$/\1/
   11076 	    p
   11077 	}
   11078     }'
   11079 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11080 # Check for a 64-bit object if we didn't find anything.
   11081 if test -z "$aix_libpath"; then
   11082   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11083 fi
   11084 else
   11085   echo "$as_me: failed program was:" >&5
   11086 sed 's/^/| /' conftest.$ac_ext >&5
   11087 
   11088 
   11089 fi
   11090 
   11091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11092       conftest$ac_exeext conftest.$ac_ext
   11093 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11094 
   11095       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11096 
   11097       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"
   11098      else
   11099       if test "$host_cpu" = ia64; then
   11100 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11101 	allow_undefined_flag_CXX="-z nodefs"
   11102 	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"
   11103       else
   11104 	# Determine the default libpath from the value encoded in an empty executable.
   11105 	cat >conftest.$ac_ext <<_ACEOF
   11106 /* confdefs.h.  */
   11107 _ACEOF
   11108 cat confdefs.h >>conftest.$ac_ext
   11109 cat >>conftest.$ac_ext <<_ACEOF
   11110 /* end confdefs.h.  */
   11111 
   11112 int
   11113 main ()
   11114 {
   11115 
   11116   ;
   11117   return 0;
   11118 }
   11119 _ACEOF
   11120 rm -f conftest.$ac_objext conftest$ac_exeext
   11121 if { (ac_try="$ac_link"
   11122 case "(($ac_try" in
   11123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11124   *) ac_try_echo=$ac_try;;
   11125 esac
   11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11127   (eval "$ac_link") 2>conftest.er1
   11128   ac_status=$?
   11129   grep -v '^ *+' conftest.er1 >conftest.err
   11130   rm -f conftest.er1
   11131   cat conftest.err >&5
   11132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11133   (exit $ac_status); } && {
   11134 	 test -z "$ac_cxx_werror_flag" ||
   11135 	 test ! -s conftest.err
   11136        } && test -s conftest$ac_exeext &&
   11137        $as_test_x conftest$ac_exeext; then
   11138 
   11139 lt_aix_libpath_sed='
   11140     /Import File Strings/,/^$/ {
   11141 	/^0/ {
   11142 	    s/^0  *\(.*\)$/\1/
   11143 	    p
   11144 	}
   11145     }'
   11146 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11147 # Check for a 64-bit object if we didn't find anything.
   11148 if test -z "$aix_libpath"; then
   11149   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11150 fi
   11151 else
   11152   echo "$as_me: failed program was:" >&5
   11153 sed 's/^/| /' conftest.$ac_ext >&5
   11154 
   11155 
   11156 fi
   11157 
   11158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11159       conftest$ac_exeext conftest.$ac_ext
   11160 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11161 
   11162 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11163 	# Warning - without using the other run time loading flags,
   11164 	# -berok will link without error, but may produce a broken library.
   11165 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11166 	allow_undefined_flag_CXX=' ${wl}-berok'
   11167 	# Exported symbols can be pulled into shared objects from archives
   11168 	whole_archive_flag_spec_CXX='$convenience'
   11169 	archive_cmds_need_lc_CXX=yes
   11170 	# This is similar to how AIX traditionally builds its shared libraries.
   11171 	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'
   11172       fi
   11173     fi
   11174     ;;
   11175 
   11176   beos*)
   11177     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11178       allow_undefined_flag_CXX=unsupported
   11179       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11180       # support --undefined.  This deserves some investigation.  FIXME
   11181       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11182     else
   11183       ld_shlibs_CXX=no
   11184     fi
   11185     ;;
   11186 
   11187   chorus*)
   11188     case $cc_basename in
   11189       *)
   11190 	# FIXME: insert proper C++ library support
   11191 	ld_shlibs_CXX=no
   11192 	;;
   11193     esac
   11194     ;;
   11195 
   11196   cygwin* | mingw* | pw32*)
   11197     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11198     # as there is no search path for DLLs.
   11199     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11200     allow_undefined_flag_CXX=unsupported
   11201     always_export_symbols_CXX=no
   11202     enable_shared_with_static_runtimes_CXX=yes
   11203 
   11204     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11205       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'
   11206       # If the export-symbols file already is a .def file (1st line
   11207       # is EXPORTS), use it as is; otherwise, prepend...
   11208       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11209 	cp $export_symbols $output_objdir/$soname.def;
   11210       else
   11211 	echo EXPORTS > $output_objdir/$soname.def;
   11212 	cat $export_symbols >> $output_objdir/$soname.def;
   11213       fi~
   11214       $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'
   11215     else
   11216       ld_shlibs_CXX=no
   11217     fi
   11218   ;;
   11219       darwin* | rhapsody*)
   11220         case $host_os in
   11221         rhapsody* | darwin1.[012])
   11222          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11223          ;;
   11224        *) # Darwin 1.3 on
   11225          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11226            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11227          else
   11228            case ${MACOSX_DEPLOYMENT_TARGET} in
   11229              10.[012])
   11230                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11231                ;;
   11232              10.*)
   11233                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11234                ;;
   11235            esac
   11236          fi
   11237          ;;
   11238         esac
   11239       archive_cmds_need_lc_CXX=no
   11240       hardcode_direct_CXX=no
   11241       hardcode_automatic_CXX=yes
   11242       hardcode_shlibpath_var_CXX=unsupported
   11243       whole_archive_flag_spec_CXX=''
   11244       link_all_deplibs_CXX=yes
   11245 
   11246     if test "$GXX" = yes ; then
   11247       lt_int_apple_cc_single_mod=no
   11248       output_verbose_link_cmd='echo'
   11249       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11250        lt_int_apple_cc_single_mod=yes
   11251       fi
   11252       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11253        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11254       else
   11255           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'
   11256         fi
   11257         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11258         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11259           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11260             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}'
   11261           else
   11262             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}'
   11263           fi
   11264             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}'
   11265       else
   11266       case $cc_basename in
   11267         xlc*)
   11268          output_verbose_link_cmd='echo'
   11269           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11270           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11271           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11272           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11273           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}'
   11274           ;;
   11275        *)
   11276          ld_shlibs_CXX=no
   11277           ;;
   11278       esac
   11279       fi
   11280         ;;
   11281 
   11282   dgux*)
   11283     case $cc_basename in
   11284       ec++*)
   11285 	# FIXME: insert proper C++ library support
   11286 	ld_shlibs_CXX=no
   11287 	;;
   11288       ghcx*)
   11289 	# Green Hills C++ Compiler
   11290 	# FIXME: insert proper C++ library support
   11291 	ld_shlibs_CXX=no
   11292 	;;
   11293       *)
   11294 	# FIXME: insert proper C++ library support
   11295 	ld_shlibs_CXX=no
   11296 	;;
   11297     esac
   11298     ;;
   11299   freebsd[12]*)
   11300     # C++ shared libraries reported to be fairly broken before switch to ELF
   11301     ld_shlibs_CXX=no
   11302     ;;
   11303   freebsd-elf*)
   11304     archive_cmds_need_lc_CXX=no
   11305     ;;
   11306   freebsd* | dragonfly*)
   11307     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11308     # conventions
   11309     ld_shlibs_CXX=yes
   11310     ;;
   11311   gnu*)
   11312     ;;
   11313   hpux9*)
   11314     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11315     hardcode_libdir_separator_CXX=:
   11316     export_dynamic_flag_spec_CXX='${wl}-E'
   11317     hardcode_direct_CXX=yes
   11318     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11319 				# but as the default
   11320 				# location of the library.
   11321 
   11322     case $cc_basename in
   11323     CC*)
   11324       # FIXME: insert proper C++ library support
   11325       ld_shlibs_CXX=no
   11326       ;;
   11327     aCC*)
   11328       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'
   11329       # Commands to make compiler produce verbose output that lists
   11330       # what "hidden" libraries, object files and flags are used when
   11331       # linking a shared library.
   11332       #
   11333       # There doesn't appear to be a way to prevent this compiler from
   11334       # explicitly linking system object files so we need to strip them
   11335       # from the output so that they don't get included in the library
   11336       # dependencies.
   11337       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'
   11338       ;;
   11339     *)
   11340       if test "$GXX" = yes; then
   11341         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'
   11342       else
   11343         # FIXME: insert proper C++ library support
   11344         ld_shlibs_CXX=no
   11345       fi
   11346       ;;
   11347     esac
   11348     ;;
   11349   hpux10*|hpux11*)
   11350     if test $with_gnu_ld = no; then
   11351       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11352       hardcode_libdir_separator_CXX=:
   11353 
   11354       case $host_cpu in
   11355       hppa*64*|ia64*) ;;
   11356       *)
   11357 	export_dynamic_flag_spec_CXX='${wl}-E'
   11358         ;;
   11359       esac
   11360     fi
   11361     case $host_cpu in
   11362     hppa*64*|ia64*)
   11363       hardcode_direct_CXX=no
   11364       hardcode_shlibpath_var_CXX=no
   11365       ;;
   11366     *)
   11367       hardcode_direct_CXX=yes
   11368       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11369 					      # but as the default
   11370 					      # location of the library.
   11371       ;;
   11372     esac
   11373 
   11374     case $cc_basename in
   11375       CC*)
   11376 	# FIXME: insert proper C++ library support
   11377 	ld_shlibs_CXX=no
   11378 	;;
   11379       aCC*)
   11380 	case $host_cpu in
   11381 	hppa*64*)
   11382 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11383 	  ;;
   11384 	ia64*)
   11385 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11386 	  ;;
   11387 	*)
   11388 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11389 	  ;;
   11390 	esac
   11391 	# Commands to make compiler produce verbose output that lists
   11392 	# what "hidden" libraries, object files and flags are used when
   11393 	# linking a shared library.
   11394 	#
   11395 	# There doesn't appear to be a way to prevent this compiler from
   11396 	# explicitly linking system object files so we need to strip them
   11397 	# from the output so that they don't get included in the library
   11398 	# dependencies.
   11399 	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'
   11400 	;;
   11401       *)
   11402 	if test "$GXX" = yes; then
   11403 	  if test $with_gnu_ld = no; then
   11404 	    case $host_cpu in
   11405 	    hppa*64*)
   11406 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11407 	      ;;
   11408 	    ia64*)
   11409 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11410 	      ;;
   11411 	    *)
   11412 	      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'
   11413 	      ;;
   11414 	    esac
   11415 	  fi
   11416 	else
   11417 	  # FIXME: insert proper C++ library support
   11418 	  ld_shlibs_CXX=no
   11419 	fi
   11420 	;;
   11421     esac
   11422     ;;
   11423   interix[3-9]*)
   11424     hardcode_direct_CXX=no
   11425     hardcode_shlibpath_var_CXX=no
   11426     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11427     export_dynamic_flag_spec_CXX='${wl}-E'
   11428     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11429     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11430     # default) and relocated if they conflict, which is a slow very memory
   11431     # consuming and fragmenting process.  To avoid this, we pick a random,
   11432     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11433     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11434     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'
   11435     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'
   11436     ;;
   11437   irix5* | irix6*)
   11438     case $cc_basename in
   11439       CC*)
   11440 	# SGI C++
   11441 	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'
   11442 
   11443 	# Archives containing C++ object files must be created using
   11444 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11445 	# necessary to make sure instantiated templates are included
   11446 	# in the archive.
   11447 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11448 	;;
   11449       *)
   11450 	if test "$GXX" = yes; then
   11451 	  if test "$with_gnu_ld" = no; then
   11452 	    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'
   11453 	  else
   11454 	    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'
   11455 	  fi
   11456 	fi
   11457 	link_all_deplibs_CXX=yes
   11458 	;;
   11459     esac
   11460     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11461     hardcode_libdir_separator_CXX=:
   11462     ;;
   11463   linux* | k*bsd*-gnu)
   11464     case $cc_basename in
   11465       KCC*)
   11466 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11467 
   11468 	# KCC will only create a shared library if the output file
   11469 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11470 	# to its proper name (with version) after linking.
   11471 	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'
   11472 	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'
   11473 	# Commands to make compiler produce verbose output that lists
   11474 	# what "hidden" libraries, object files and flags are used when
   11475 	# linking a shared library.
   11476 	#
   11477 	# There doesn't appear to be a way to prevent this compiler from
   11478 	# explicitly linking system object files so we need to strip them
   11479 	# from the output so that they don't get included in the library
   11480 	# dependencies.
   11481 	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'
   11482 
   11483 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11484 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11485 
   11486 	# Archives containing C++ object files must be created using
   11487 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11488 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11489 	;;
   11490       icpc*)
   11491 	# Intel C++
   11492 	with_gnu_ld=yes
   11493 	# version 8.0 and above of icpc choke on multiply defined symbols
   11494 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11495 	# earlier do not add the objects themselves.
   11496 	case `$CC -V 2>&1` in
   11497 	*"Version 7."*)
   11498   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11499   	  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'
   11500 	  ;;
   11501 	*)  # Version 8.0 or newer
   11502 	  tmp_idyn=
   11503 	  case $host_cpu in
   11504 	    ia64*) tmp_idyn=' -i_dynamic';;
   11505 	  esac
   11506   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11507 	  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'
   11508 	  ;;
   11509 	esac
   11510 	archive_cmds_need_lc_CXX=no
   11511 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11512 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11513 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11514 	;;
   11515       pgCC*)
   11516         # Portland Group C++ compiler
   11517 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11518   	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'
   11519 
   11520 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11521 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11522 	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'
   11523         ;;
   11524       cxx*)
   11525 	# Compaq C++
   11526 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11527 	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'
   11528 
   11529 	runpath_var=LD_RUN_PATH
   11530 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11531 	hardcode_libdir_separator_CXX=:
   11532 
   11533 	# Commands to make compiler produce verbose output that lists
   11534 	# what "hidden" libraries, object files and flags are used when
   11535 	# linking a shared library.
   11536 	#
   11537 	# There doesn't appear to be a way to prevent this compiler from
   11538 	# explicitly linking system object files so we need to strip them
   11539 	# from the output so that they don't get included in the library
   11540 	# dependencies.
   11541 	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'
   11542 	;;
   11543       *)
   11544 	case `$CC -V 2>&1 | sed 5q` in
   11545 	*Sun\ C*)
   11546 	  # Sun C++ 5.9
   11547 	  no_undefined_flag_CXX=' -zdefs'
   11548 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11549 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   11550 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11551 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   11552 
   11553 	  # Not sure whether something based on
   11554 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11555 	  # would be better.
   11556 	  output_verbose_link_cmd='echo'
   11557 
   11558 	  # Archives containing C++ object files must be created using
   11559 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11560 	  # necessary to make sure instantiated templates are included
   11561 	  # in the archive.
   11562 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11563 	  ;;
   11564 	esac
   11565 	;;
   11566     esac
   11567     ;;
   11568   lynxos*)
   11569     # FIXME: insert proper C++ library support
   11570     ld_shlibs_CXX=no
   11571     ;;
   11572   m88k*)
   11573     # FIXME: insert proper C++ library support
   11574     ld_shlibs_CXX=no
   11575     ;;
   11576   mvs*)
   11577     case $cc_basename in
   11578       cxx*)
   11579 	# FIXME: insert proper C++ library support
   11580 	ld_shlibs_CXX=no
   11581 	;;
   11582       *)
   11583 	# FIXME: insert proper C++ library support
   11584 	ld_shlibs_CXX=no
   11585 	;;
   11586     esac
   11587     ;;
   11588   netbsd*)
   11589     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11590       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11591       wlarc=
   11592       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11593       hardcode_direct_CXX=yes
   11594       hardcode_shlibpath_var_CXX=no
   11595     fi
   11596     # Workaround some broken pre-1.5 toolchains
   11597     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11598     ;;
   11599   openbsd2*)
   11600     # C++ shared libraries are fairly broken
   11601     ld_shlibs_CXX=no
   11602     ;;
   11603   openbsd*)
   11604     if test -f /usr/libexec/ld.so; then
   11605       hardcode_direct_CXX=yes
   11606       hardcode_shlibpath_var_CXX=no
   11607       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11608       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11609       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11610 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11611 	export_dynamic_flag_spec_CXX='${wl}-E'
   11612 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11613       fi
   11614       output_verbose_link_cmd='echo'
   11615     else
   11616       ld_shlibs_CXX=no
   11617     fi
   11618     ;;
   11619   osf3*)
   11620     case $cc_basename in
   11621       KCC*)
   11622 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11623 
   11624 	# KCC will only create a shared library if the output file
   11625 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11626 	# to its proper name (with version) after linking.
   11627 	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'
   11628 
   11629 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11630 	hardcode_libdir_separator_CXX=:
   11631 
   11632 	# Archives containing C++ object files must be created using
   11633 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11634 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11635 
   11636 	;;
   11637       RCC*)
   11638 	# Rational C++ 2.4.1
   11639 	# FIXME: insert proper C++ library support
   11640 	ld_shlibs_CXX=no
   11641 	;;
   11642       cxx*)
   11643 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11644 	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'
   11645 
   11646 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11647 	hardcode_libdir_separator_CXX=:
   11648 
   11649 	# Commands to make compiler produce verbose output that lists
   11650 	# what "hidden" libraries, object files and flags are used when
   11651 	# linking a shared library.
   11652 	#
   11653 	# There doesn't appear to be a way to prevent this compiler from
   11654 	# explicitly linking system object files so we need to strip them
   11655 	# from the output so that they don't get included in the library
   11656 	# dependencies.
   11657 	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'
   11658 	;;
   11659       *)
   11660 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11661 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11662 	  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'
   11663 
   11664 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11665 	  hardcode_libdir_separator_CXX=:
   11666 
   11667 	  # Commands to make compiler produce verbose output that lists
   11668 	  # what "hidden" libraries, object files and flags are used when
   11669 	  # linking a shared library.
   11670 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11671 
   11672 	else
   11673 	  # FIXME: insert proper C++ library support
   11674 	  ld_shlibs_CXX=no
   11675 	fi
   11676 	;;
   11677     esac
   11678     ;;
   11679   osf4* | osf5*)
   11680     case $cc_basename in
   11681       KCC*)
   11682 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11683 
   11684 	# KCC will only create a shared library if the output file
   11685 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11686 	# to its proper name (with version) after linking.
   11687 	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'
   11688 
   11689 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11690 	hardcode_libdir_separator_CXX=:
   11691 
   11692 	# Archives containing C++ object files must be created using
   11693 	# the KAI C++ compiler.
   11694 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11695 	;;
   11696       RCC*)
   11697 	# Rational C++ 2.4.1
   11698 	# FIXME: insert proper C++ library support
   11699 	ld_shlibs_CXX=no
   11700 	;;
   11701       cxx*)
   11702 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11703 	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'
   11704 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11705 	  echo "-hidden">> $lib.exp~
   11706 	  $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~
   11707 	  $rm $lib.exp'
   11708 
   11709 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11710 	hardcode_libdir_separator_CXX=:
   11711 
   11712 	# Commands to make compiler produce verbose output that lists
   11713 	# what "hidden" libraries, object files and flags are used when
   11714 	# linking a shared library.
   11715 	#
   11716 	# There doesn't appear to be a way to prevent this compiler from
   11717 	# explicitly linking system object files so we need to strip them
   11718 	# from the output so that they don't get included in the library
   11719 	# dependencies.
   11720 	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'
   11721 	;;
   11722       *)
   11723 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11724 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11725 	 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'
   11726 
   11727 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11728 	  hardcode_libdir_separator_CXX=:
   11729 
   11730 	  # Commands to make compiler produce verbose output that lists
   11731 	  # what "hidden" libraries, object files and flags are used when
   11732 	  # linking a shared library.
   11733 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11734 
   11735 	else
   11736 	  # FIXME: insert proper C++ library support
   11737 	  ld_shlibs_CXX=no
   11738 	fi
   11739 	;;
   11740     esac
   11741     ;;
   11742   psos*)
   11743     # FIXME: insert proper C++ library support
   11744     ld_shlibs_CXX=no
   11745     ;;
   11746   sunos4*)
   11747     case $cc_basename in
   11748       CC*)
   11749 	# Sun C++ 4.x
   11750 	# FIXME: insert proper C++ library support
   11751 	ld_shlibs_CXX=no
   11752 	;;
   11753       lcc*)
   11754 	# Lucid
   11755 	# FIXME: insert proper C++ library support
   11756 	ld_shlibs_CXX=no
   11757 	;;
   11758       *)
   11759 	# FIXME: insert proper C++ library support
   11760 	ld_shlibs_CXX=no
   11761 	;;
   11762     esac
   11763     ;;
   11764   solaris*)
   11765     case $cc_basename in
   11766       CC*)
   11767 	# Sun C++ 4.2, 5.x and Centerline C++
   11768         archive_cmds_need_lc_CXX=yes
   11769 	no_undefined_flag_CXX=' -zdefs'
   11770 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11771 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11772 	$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'
   11773 
   11774 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11775 	hardcode_shlibpath_var_CXX=no
   11776 	case $host_os in
   11777 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11778 	  *)
   11779 	    # The compiler driver will combine and reorder linker options,
   11780 	    # but understands `-z linker_flag'.
   11781 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11782 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   11783 	    ;;
   11784 	esac
   11785 	link_all_deplibs_CXX=yes
   11786 
   11787 	output_verbose_link_cmd='echo'
   11788 
   11789 	# Archives containing C++ object files must be created using
   11790 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11791 	# necessary to make sure instantiated templates are included
   11792 	# in the archive.
   11793 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11794 	;;
   11795       gcx*)
   11796 	# Green Hills C++ Compiler
   11797 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11798 
   11799 	# The C++ compiler must be used to create the archive.
   11800 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11801 	;;
   11802       *)
   11803 	# GNU C++ compiler with Solaris linker
   11804 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11805 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11806 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11807 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11808 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11809 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11810 
   11811 	    # Commands to make compiler produce verbose output that lists
   11812 	    # what "hidden" libraries, object files and flags are used when
   11813 	    # linking a shared library.
   11814 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11815 	  else
   11816 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11817 	    # platform.
   11818 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11819 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11820 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11821 
   11822 	    # Commands to make compiler produce verbose output that lists
   11823 	    # what "hidden" libraries, object files and flags are used when
   11824 	    # linking a shared library.
   11825 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11826 	  fi
   11827 
   11828 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11829 	  case $host_os in
   11830 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11831 	  *)
   11832 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11833 	    ;;
   11834 	  esac
   11835 	fi
   11836 	;;
   11837     esac
   11838     ;;
   11839   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11840     no_undefined_flag_CXX='${wl}-z,text'
   11841     archive_cmds_need_lc_CXX=no
   11842     hardcode_shlibpath_var_CXX=no
   11843     runpath_var='LD_RUN_PATH'
   11844 
   11845     case $cc_basename in
   11846       CC*)
   11847 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11848 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11849 	;;
   11850       *)
   11851 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11852 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11853 	;;
   11854     esac
   11855     ;;
   11856   sysv5* | sco3.2v5* | sco5v6*)
   11857     # Note: We can NOT use -z defs as we might desire, because we do not
   11858     # link with -lc, and that would cause any symbols used from libc to
   11859     # always be unresolved, which means just about no library would
   11860     # ever link correctly.  If we're not using GNU ld we use -z text
   11861     # though, which does catch some bad symbols but isn't as heavy-handed
   11862     # as -z defs.
   11863     # For security reasons, it is highly recommended that you always
   11864     # use absolute paths for naming shared libraries, and exclude the
   11865     # DT_RUNPATH tag from executables and libraries.  But doing so
   11866     # requires that you compile everything twice, which is a pain.
   11867     # So that behaviour is only enabled if SCOABSPATH is set to a
   11868     # non-empty value in the environment.  Most likely only useful for
   11869     # creating official distributions of packages.
   11870     # This is a hack until libtool officially supports absolute path
   11871     # names for shared libraries.
   11872     no_undefined_flag_CXX='${wl}-z,text'
   11873     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11874     archive_cmds_need_lc_CXX=no
   11875     hardcode_shlibpath_var_CXX=no
   11876     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11877     hardcode_libdir_separator_CXX=':'
   11878     link_all_deplibs_CXX=yes
   11879     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11880     runpath_var='LD_RUN_PATH'
   11881 
   11882     case $cc_basename in
   11883       CC*)
   11884 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11885 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11886 	;;
   11887       *)
   11888 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11889 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11890 	;;
   11891     esac
   11892     ;;
   11893   tandem*)
   11894     case $cc_basename in
   11895       NCC*)
   11896 	# NonStop-UX NCC 3.20
   11897 	# FIXME: insert proper C++ library support
   11898 	ld_shlibs_CXX=no
   11899 	;;
   11900       *)
   11901 	# FIXME: insert proper C++ library support
   11902 	ld_shlibs_CXX=no
   11903 	;;
   11904     esac
   11905     ;;
   11906   vxworks*)
   11907     # FIXME: insert proper C++ library support
   11908     ld_shlibs_CXX=no
   11909     ;;
   11910   *)
   11911     # FIXME: insert proper C++ library support
   11912     ld_shlibs_CXX=no
   11913     ;;
   11914 esac
   11915 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11916 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11917 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11918 
   11919 GCC_CXX="$GXX"
   11920 LD_CXX="$LD"
   11921 
   11922 
   11923 cat > conftest.$ac_ext <<EOF
   11924 class Foo
   11925 {
   11926 public:
   11927   Foo (void) { a = 0; }
   11928 private:
   11929   int a;
   11930 };
   11931 EOF
   11932 
   11933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11934   (eval $ac_compile) 2>&5
   11935   ac_status=$?
   11936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11937   (exit $ac_status); }; then
   11938   # Parse the compiler output and extract the necessary
   11939   # objects, libraries and library flags.
   11940 
   11941   # Sentinel used to keep track of whether or not we are before
   11942   # the conftest object file.
   11943   pre_test_object_deps_done=no
   11944 
   11945   # The `*' in the case matches for architectures that use `case' in
   11946   # $output_verbose_cmd can trigger glob expansion during the loop
   11947   # eval without this substitution.
   11948   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11949 
   11950   for p in `eval $output_verbose_link_cmd`; do
   11951     case $p in
   11952 
   11953     -L* | -R* | -l*)
   11954        # Some compilers place space between "-{L,R}" and the path.
   11955        # Remove the space.
   11956        if test $p = "-L" \
   11957 	  || test $p = "-R"; then
   11958 	 prev=$p
   11959 	 continue
   11960        else
   11961 	 prev=
   11962        fi
   11963 
   11964        if test "$pre_test_object_deps_done" = no; then
   11965 	 case $p in
   11966 	 -L* | -R*)
   11967 	   # Internal compiler library paths should come after those
   11968 	   # provided the user.  The postdeps already come after the
   11969 	   # user supplied libs so there is no need to process them.
   11970 	   if test -z "$compiler_lib_search_path_CXX"; then
   11971 	     compiler_lib_search_path_CXX="${prev}${p}"
   11972 	   else
   11973 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11974 	   fi
   11975 	   ;;
   11976 	 # The "-l" case would never come before the object being
   11977 	 # linked, so don't bother handling this case.
   11978 	 esac
   11979        else
   11980 	 if test -z "$postdeps_CXX"; then
   11981 	   postdeps_CXX="${prev}${p}"
   11982 	 else
   11983 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11984 	 fi
   11985        fi
   11986        ;;
   11987 
   11988     *.$objext)
   11989        # This assumes that the test object file only shows up
   11990        # once in the compiler output.
   11991        if test "$p" = "conftest.$objext"; then
   11992 	 pre_test_object_deps_done=yes
   11993 	 continue
   11994        fi
   11995 
   11996        if test "$pre_test_object_deps_done" = no; then
   11997 	 if test -z "$predep_objects_CXX"; then
   11998 	   predep_objects_CXX="$p"
   11999 	 else
   12000 	   predep_objects_CXX="$predep_objects_CXX $p"
   12001 	 fi
   12002        else
   12003 	 if test -z "$postdep_objects_CXX"; then
   12004 	   postdep_objects_CXX="$p"
   12005 	 else
   12006 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12007 	 fi
   12008        fi
   12009        ;;
   12010 
   12011     *) ;; # Ignore the rest.
   12012 
   12013     esac
   12014   done
   12015 
   12016   # Clean up.
   12017   rm -f a.out a.exe
   12018 else
   12019   echo "libtool.m4: error: problem compiling CXX test program"
   12020 fi
   12021 
   12022 $rm -f confest.$objext
   12023 
   12024 # PORTME: override above test on systems where it is broken
   12025 case $host_os in
   12026 interix[3-9]*)
   12027   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12028   # hack all around it, let's just trust "g++" to DTRT.
   12029   predep_objects_CXX=
   12030   postdep_objects_CXX=
   12031   postdeps_CXX=
   12032   ;;
   12033 
   12034 linux*)
   12035   case `$CC -V 2>&1 | sed 5q` in
   12036   *Sun\ C*)
   12037     # Sun C++ 5.9
   12038     #
   12039     # The more standards-conforming stlport4 library is
   12040     # incompatible with the Cstd library. Avoid specifying
   12041     # it if it's in CXXFLAGS. Ignore libCrun as
   12042     # -library=stlport4 depends on it.
   12043     case " $CXX $CXXFLAGS " in
   12044     *" -library=stlport4 "*)
   12045       solaris_use_stlport4=yes
   12046       ;;
   12047     esac
   12048     if test "$solaris_use_stlport4" != yes; then
   12049       postdeps_CXX='-library=Cstd -library=Crun'
   12050     fi
   12051     ;;
   12052   esac
   12053   ;;
   12054 
   12055 solaris*)
   12056   case $cc_basename in
   12057   CC*)
   12058     # The more standards-conforming stlport4 library is
   12059     # incompatible with the Cstd library. Avoid specifying
   12060     # it if it's in CXXFLAGS. Ignore libCrun as
   12061     # -library=stlport4 depends on it.
   12062     case " $CXX $CXXFLAGS " in
   12063     *" -library=stlport4 "*)
   12064       solaris_use_stlport4=yes
   12065       ;;
   12066     esac
   12067 
   12068     # Adding this requires a known-good setup of shared libraries for
   12069     # Sun compiler versions before 5.6, else PIC objects from an old
   12070     # archive will be linked into the output, leading to subtle bugs.
   12071     if test "$solaris_use_stlport4" != yes; then
   12072       postdeps_CXX='-library=Cstd -library=Crun'
   12073     fi
   12074     ;;
   12075   esac
   12076   ;;
   12077 esac
   12078 
   12079 
   12080 case " $postdeps_CXX " in
   12081 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12082 esac
   12083 
   12084 lt_prog_compiler_wl_CXX=
   12085 lt_prog_compiler_pic_CXX=
   12086 lt_prog_compiler_static_CXX=
   12087 
   12088 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12089 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12090 
   12091   # C++ specific cases for pic, static, wl, etc.
   12092   if test "$GXX" = yes; then
   12093     lt_prog_compiler_wl_CXX='-Wl,'
   12094     lt_prog_compiler_static_CXX='-static'
   12095 
   12096     case $host_os in
   12097     aix*)
   12098       # All AIX code is PIC.
   12099       if test "$host_cpu" = ia64; then
   12100 	# AIX 5 now supports IA64 processor
   12101 	lt_prog_compiler_static_CXX='-Bstatic'
   12102       fi
   12103       ;;
   12104     amigaos*)
   12105       # FIXME: we need at least 68020 code to build shared libraries, but
   12106       # adding the `-m68020' flag to GCC prevents building anything better,
   12107       # like `-m68040'.
   12108       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12109       ;;
   12110     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12111       # PIC is the default for these OSes.
   12112       ;;
   12113     mingw* | cygwin* | os2* | pw32*)
   12114       # This hack is so that the source file can tell whether it is being
   12115       # built for inclusion in a dll (and should export symbols for example).
   12116       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12117       # (--disable-auto-import) libraries
   12118       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12119       ;;
   12120     darwin* | rhapsody*)
   12121       # PIC is the default on this platform
   12122       # Common symbols not allowed in MH_DYLIB files
   12123       lt_prog_compiler_pic_CXX='-fno-common'
   12124       ;;
   12125     *djgpp*)
   12126       # DJGPP does not support shared libraries at all
   12127       lt_prog_compiler_pic_CXX=
   12128       ;;
   12129     interix[3-9]*)
   12130       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12131       # Instead, we relocate shared libraries at runtime.
   12132       ;;
   12133     sysv4*MP*)
   12134       if test -d /usr/nec; then
   12135 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12136       fi
   12137       ;;
   12138     hpux*)
   12139       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12140       # not for PA HP-UX.
   12141       case $host_cpu in
   12142       hppa*64*|ia64*)
   12143 	;;
   12144       *)
   12145 	lt_prog_compiler_pic_CXX='-fPIC'
   12146 	;;
   12147       esac
   12148       ;;
   12149     *)
   12150       lt_prog_compiler_pic_CXX='-fPIC'
   12151       ;;
   12152     esac
   12153   else
   12154     case $host_os in
   12155       aix4* | aix5*)
   12156 	# All AIX code is PIC.
   12157 	if test "$host_cpu" = ia64; then
   12158 	  # AIX 5 now supports IA64 processor
   12159 	  lt_prog_compiler_static_CXX='-Bstatic'
   12160 	else
   12161 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12162 	fi
   12163 	;;
   12164       chorus*)
   12165 	case $cc_basename in
   12166 	cxch68*)
   12167 	  # Green Hills C++ Compiler
   12168 	  # _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"
   12169 	  ;;
   12170 	esac
   12171 	;;
   12172        darwin*)
   12173          # PIC is the default on this platform
   12174          # Common symbols not allowed in MH_DYLIB files
   12175          case $cc_basename in
   12176            xlc*)
   12177            lt_prog_compiler_pic_CXX='-qnocommon'
   12178            lt_prog_compiler_wl_CXX='-Wl,'
   12179            ;;
   12180          esac
   12181        ;;
   12182       dgux*)
   12183 	case $cc_basename in
   12184 	  ec++*)
   12185 	    lt_prog_compiler_pic_CXX='-KPIC'
   12186 	    ;;
   12187 	  ghcx*)
   12188 	    # Green Hills C++ Compiler
   12189 	    lt_prog_compiler_pic_CXX='-pic'
   12190 	    ;;
   12191 	  *)
   12192 	    ;;
   12193 	esac
   12194 	;;
   12195       freebsd* | dragonfly*)
   12196 	# FreeBSD uses GNU C++
   12197 	;;
   12198       hpux9* | hpux10* | hpux11*)
   12199 	case $cc_basename in
   12200 	  CC*)
   12201 	    lt_prog_compiler_wl_CXX='-Wl,'
   12202 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12203 	    if test "$host_cpu" != ia64; then
   12204 	      lt_prog_compiler_pic_CXX='+Z'
   12205 	    fi
   12206 	    ;;
   12207 	  aCC*)
   12208 	    lt_prog_compiler_wl_CXX='-Wl,'
   12209 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12210 	    case $host_cpu in
   12211 	    hppa*64*|ia64*)
   12212 	      # +Z the default
   12213 	      ;;
   12214 	    *)
   12215 	      lt_prog_compiler_pic_CXX='+Z'
   12216 	      ;;
   12217 	    esac
   12218 	    ;;
   12219 	  *)
   12220 	    ;;
   12221 	esac
   12222 	;;
   12223       interix*)
   12224 	# This is c89, which is MS Visual C++ (no shared libs)
   12225 	# Anyone wants to do a port?
   12226 	;;
   12227       irix5* | irix6* | nonstopux*)
   12228 	case $cc_basename in
   12229 	  CC*)
   12230 	    lt_prog_compiler_wl_CXX='-Wl,'
   12231 	    lt_prog_compiler_static_CXX='-non_shared'
   12232 	    # CC pic flag -KPIC is the default.
   12233 	    ;;
   12234 	  *)
   12235 	    ;;
   12236 	esac
   12237 	;;
   12238       linux* | k*bsd*-gnu)
   12239 	case $cc_basename in
   12240 	  KCC*)
   12241 	    # KAI C++ Compiler
   12242 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12243 	    lt_prog_compiler_pic_CXX='-fPIC'
   12244 	    ;;
   12245 	  icpc* | ecpc*)
   12246 	    # Intel C++
   12247 	    lt_prog_compiler_wl_CXX='-Wl,'
   12248 	    lt_prog_compiler_pic_CXX='-KPIC'
   12249 	    lt_prog_compiler_static_CXX='-static'
   12250 	    ;;
   12251 	  pgCC*)
   12252 	    # Portland Group C++ compiler.
   12253 	    lt_prog_compiler_wl_CXX='-Wl,'
   12254 	    lt_prog_compiler_pic_CXX='-fpic'
   12255 	    lt_prog_compiler_static_CXX='-Bstatic'
   12256 	    ;;
   12257 	  cxx*)
   12258 	    # Compaq C++
   12259 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12260 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12261 	    lt_prog_compiler_pic_CXX=
   12262 	    lt_prog_compiler_static_CXX='-non_shared'
   12263 	    ;;
   12264 	  *)
   12265 	    case `$CC -V 2>&1 | sed 5q` in
   12266 	    *Sun\ C*)
   12267 	      # Sun C++ 5.9
   12268 	      lt_prog_compiler_pic_CXX='-KPIC'
   12269 	      lt_prog_compiler_static_CXX='-Bstatic'
   12270 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12271 	      ;;
   12272 	    esac
   12273 	    ;;
   12274 	esac
   12275 	;;
   12276       lynxos*)
   12277 	;;
   12278       m88k*)
   12279 	;;
   12280       mvs*)
   12281 	case $cc_basename in
   12282 	  cxx*)
   12283 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12284 	    ;;
   12285 	  *)
   12286 	    ;;
   12287 	esac
   12288 	;;
   12289       netbsd*)
   12290 	;;
   12291       osf3* | osf4* | osf5*)
   12292 	case $cc_basename in
   12293 	  KCC*)
   12294 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12295 	    ;;
   12296 	  RCC*)
   12297 	    # Rational C++ 2.4.1
   12298 	    lt_prog_compiler_pic_CXX='-pic'
   12299 	    ;;
   12300 	  cxx*)
   12301 	    # Digital/Compaq C++
   12302 	    lt_prog_compiler_wl_CXX='-Wl,'
   12303 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12304 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12305 	    lt_prog_compiler_pic_CXX=
   12306 	    lt_prog_compiler_static_CXX='-non_shared'
   12307 	    ;;
   12308 	  *)
   12309 	    ;;
   12310 	esac
   12311 	;;
   12312       psos*)
   12313 	;;
   12314       solaris*)
   12315 	case $cc_basename in
   12316 	  CC*)
   12317 	    # Sun C++ 4.2, 5.x and Centerline C++
   12318 	    lt_prog_compiler_pic_CXX='-KPIC'
   12319 	    lt_prog_compiler_static_CXX='-Bstatic'
   12320 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12321 	    ;;
   12322 	  gcx*)
   12323 	    # Green Hills C++ Compiler
   12324 	    lt_prog_compiler_pic_CXX='-PIC'
   12325 	    ;;
   12326 	  *)
   12327 	    ;;
   12328 	esac
   12329 	;;
   12330       sunos4*)
   12331 	case $cc_basename in
   12332 	  CC*)
   12333 	    # Sun C++ 4.x
   12334 	    lt_prog_compiler_pic_CXX='-pic'
   12335 	    lt_prog_compiler_static_CXX='-Bstatic'
   12336 	    ;;
   12337 	  lcc*)
   12338 	    # Lucid
   12339 	    lt_prog_compiler_pic_CXX='-pic'
   12340 	    ;;
   12341 	  *)
   12342 	    ;;
   12343 	esac
   12344 	;;
   12345       tandem*)
   12346 	case $cc_basename in
   12347 	  NCC*)
   12348 	    # NonStop-UX NCC 3.20
   12349 	    lt_prog_compiler_pic_CXX='-KPIC'
   12350 	    ;;
   12351 	  *)
   12352 	    ;;
   12353 	esac
   12354 	;;
   12355       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12356 	case $cc_basename in
   12357 	  CC*)
   12358 	    lt_prog_compiler_wl_CXX='-Wl,'
   12359 	    lt_prog_compiler_pic_CXX='-KPIC'
   12360 	    lt_prog_compiler_static_CXX='-Bstatic'
   12361 	    ;;
   12362 	esac
   12363 	;;
   12364       vxworks*)
   12365 	;;
   12366       *)
   12367 	lt_prog_compiler_can_build_shared_CXX=no
   12368 	;;
   12369     esac
   12370   fi
   12371 
   12372 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12373 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12374 
   12375 #
   12376 # Check to make sure the PIC flag actually works.
   12377 #
   12378 if test -n "$lt_prog_compiler_pic_CXX"; then
   12379 
   12380 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12381 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12382 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12383   echo $ECHO_N "(cached) $ECHO_C" >&6
   12384 else
   12385   lt_prog_compiler_pic_works_CXX=no
   12386   ac_outfile=conftest.$ac_objext
   12387    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12388    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12389    # Insert the option either (1) after the last *FLAGS variable, or
   12390    # (2) before a word containing "conftest.", or (3) at the end.
   12391    # Note that $ac_compile itself does not contain backslashes and begins
   12392    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12393    # The option is referenced via a variable to avoid confusing sed.
   12394    lt_compile=`echo "$ac_compile" | $SED \
   12395    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12396    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12397    -e 's:$: $lt_compiler_flag:'`
   12398    (eval echo "\"\$as_me:12398: $lt_compile\"" >&5)
   12399    (eval "$lt_compile" 2>conftest.err)
   12400    ac_status=$?
   12401    cat conftest.err >&5
   12402    echo "$as_me:12402: \$? = $ac_status" >&5
   12403    if (exit $ac_status) && test -s "$ac_outfile"; then
   12404      # The compiler can only warn and ignore the option if not recognized
   12405      # So say no if there are warnings other than the usual output.
   12406      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12407      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12408      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12409        lt_prog_compiler_pic_works_CXX=yes
   12410      fi
   12411    fi
   12412    $rm conftest*
   12413 
   12414 fi
   12415 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12416 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12417 
   12418 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12419     case $lt_prog_compiler_pic_CXX in
   12420      "" | " "*) ;;
   12421      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12422      esac
   12423 else
   12424     lt_prog_compiler_pic_CXX=
   12425      lt_prog_compiler_can_build_shared_CXX=no
   12426 fi
   12427 
   12428 fi
   12429 case $host_os in
   12430   # For platforms which do not support PIC, -DPIC is meaningless:
   12431   *djgpp*)
   12432     lt_prog_compiler_pic_CXX=
   12433     ;;
   12434   *)
   12435     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12436     ;;
   12437 esac
   12438 
   12439 #
   12440 # Check to make sure the static flag actually works.
   12441 #
   12442 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12443 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12444 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12445 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12446   echo $ECHO_N "(cached) $ECHO_C" >&6
   12447 else
   12448   lt_prog_compiler_static_works_CXX=no
   12449    save_LDFLAGS="$LDFLAGS"
   12450    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12451    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12452    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12453      # The linker can only warn and ignore the option if not recognized
   12454      # So say no if there are warnings
   12455      if test -s conftest.err; then
   12456        # Append any errors to the config.log.
   12457        cat conftest.err 1>&5
   12458        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12459        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12460        if diff conftest.exp conftest.er2 >/dev/null; then
   12461          lt_prog_compiler_static_works_CXX=yes
   12462        fi
   12463      else
   12464        lt_prog_compiler_static_works_CXX=yes
   12465      fi
   12466    fi
   12467    $rm conftest*
   12468    LDFLAGS="$save_LDFLAGS"
   12469 
   12470 fi
   12471 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12472 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12473 
   12474 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12475     :
   12476 else
   12477     lt_prog_compiler_static_CXX=
   12478 fi
   12479 
   12480 
   12481 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12482 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12483 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12484   echo $ECHO_N "(cached) $ECHO_C" >&6
   12485 else
   12486   lt_cv_prog_compiler_c_o_CXX=no
   12487    $rm -r conftest 2>/dev/null
   12488    mkdir conftest
   12489    cd conftest
   12490    mkdir out
   12491    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12492 
   12493    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12494    # Insert the option either (1) after the last *FLAGS variable, or
   12495    # (2) before a word containing "conftest.", or (3) at the end.
   12496    # Note that $ac_compile itself does not contain backslashes and begins
   12497    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12498    lt_compile=`echo "$ac_compile" | $SED \
   12499    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12500    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12501    -e 's:$: $lt_compiler_flag:'`
   12502    (eval echo "\"\$as_me:12502: $lt_compile\"" >&5)
   12503    (eval "$lt_compile" 2>out/conftest.err)
   12504    ac_status=$?
   12505    cat out/conftest.err >&5
   12506    echo "$as_me:12506: \$? = $ac_status" >&5
   12507    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12508    then
   12509      # The compiler can only warn and ignore the option if not recognized
   12510      # So say no if there are warnings
   12511      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12512      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12513      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12514        lt_cv_prog_compiler_c_o_CXX=yes
   12515      fi
   12516    fi
   12517    chmod u+w . 2>&5
   12518    $rm conftest*
   12519    # SGI C++ compiler will create directory out/ii_files/ for
   12520    # template instantiation
   12521    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12522    $rm out/* && rmdir out
   12523    cd ..
   12524    rmdir conftest
   12525    $rm conftest*
   12526 
   12527 fi
   12528 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12529 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12530 
   12531 
   12532 hard_links="nottested"
   12533 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12534   # do not overwrite the value of need_locks provided by the user
   12535   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12536 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12537   hard_links=yes
   12538   $rm conftest*
   12539   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12540   touch conftest.a
   12541   ln conftest.a conftest.b 2>&5 || hard_links=no
   12542   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12543   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12544 echo "${ECHO_T}$hard_links" >&6; }
   12545   if test "$hard_links" = no; then
   12546     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12547 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12548     need_locks=warn
   12549   fi
   12550 else
   12551   need_locks=no
   12552 fi
   12553 
   12554 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12555 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12556 
   12557   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12558   case $host_os in
   12559   aix4* | aix5*)
   12560     # If we're using GNU nm, then we don't want the "-C" option.
   12561     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12562     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12563       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'
   12564     else
   12565       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'
   12566     fi
   12567     ;;
   12568   pw32*)
   12569     export_symbols_cmds_CXX="$ltdll_cmds"
   12570   ;;
   12571   cygwin* | mingw*)
   12572     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'
   12573   ;;
   12574   *)
   12575     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12576   ;;
   12577   esac
   12578 
   12579 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12580 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12581 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12582 
   12583 #
   12584 # Do we need to explicitly link libc?
   12585 #
   12586 case "x$archive_cmds_need_lc_CXX" in
   12587 x|xyes)
   12588   # Assume -lc should be added
   12589   archive_cmds_need_lc_CXX=yes
   12590 
   12591   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12592     case $archive_cmds_CXX in
   12593     *'~'*)
   12594       # FIXME: we may have to deal with multi-command sequences.
   12595       ;;
   12596     '$CC '*)
   12597       # Test whether the compiler implicitly links with -lc since on some
   12598       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12599       # to ld, don't add -lc before -lgcc.
   12600       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12601 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12602       $rm conftest*
   12603       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12604 
   12605       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12606   (eval $ac_compile) 2>&5
   12607   ac_status=$?
   12608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12609   (exit $ac_status); } 2>conftest.err; then
   12610         soname=conftest
   12611         lib=conftest
   12612         libobjs=conftest.$ac_objext
   12613         deplibs=
   12614         wl=$lt_prog_compiler_wl_CXX
   12615 	pic_flag=$lt_prog_compiler_pic_CXX
   12616         compiler_flags=-v
   12617         linker_flags=-v
   12618         verstring=
   12619         output_objdir=.
   12620         libname=conftest
   12621         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12622         allow_undefined_flag_CXX=
   12623         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12624   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12625   ac_status=$?
   12626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12627   (exit $ac_status); }
   12628         then
   12629 	  archive_cmds_need_lc_CXX=no
   12630         else
   12631 	  archive_cmds_need_lc_CXX=yes
   12632         fi
   12633         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12634       else
   12635         cat conftest.err 1>&5
   12636       fi
   12637       $rm conftest*
   12638       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12639 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12640       ;;
   12641     esac
   12642   fi
   12643   ;;
   12644 esac
   12645 
   12646 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12647 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12648 library_names_spec=
   12649 libname_spec='lib$name'
   12650 soname_spec=
   12651 shrext_cmds=".so"
   12652 postinstall_cmds=
   12653 postuninstall_cmds=
   12654 finish_cmds=
   12655 finish_eval=
   12656 shlibpath_var=
   12657 shlibpath_overrides_runpath=unknown
   12658 version_type=none
   12659 dynamic_linker="$host_os ld.so"
   12660 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12661 
   12662 need_lib_prefix=unknown
   12663 hardcode_into_libs=no
   12664 
   12665 # when you set need_version to no, make sure it does not cause -set_version
   12666 # flags to be left without arguments
   12667 need_version=unknown
   12668 
   12669 case $host_os in
   12670 aix3*)
   12671   version_type=linux
   12672   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12673   shlibpath_var=LIBPATH
   12674 
   12675   # AIX 3 has no versioning support, so we append a major version to the name.
   12676   soname_spec='${libname}${release}${shared_ext}$major'
   12677   ;;
   12678 
   12679 aix4* | aix5*)
   12680   version_type=linux
   12681   need_lib_prefix=no
   12682   need_version=no
   12683   hardcode_into_libs=yes
   12684   if test "$host_cpu" = ia64; then
   12685     # AIX 5 supports IA64
   12686     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12687     shlibpath_var=LD_LIBRARY_PATH
   12688   else
   12689     # With GCC up to 2.95.x, collect2 would create an import file
   12690     # for dependence libraries.  The import file would start with
   12691     # the line `#! .'.  This would cause the generated library to
   12692     # depend on `.', always an invalid library.  This was fixed in
   12693     # development snapshots of GCC prior to 3.0.
   12694     case $host_os in
   12695       aix4 | aix4.[01] | aix4.[01].*)
   12696       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12697 	   echo ' yes '
   12698 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12699 	:
   12700       else
   12701 	can_build_shared=no
   12702       fi
   12703       ;;
   12704     esac
   12705     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12706     # soname into executable. Probably we can add versioning support to
   12707     # collect2, so additional links can be useful in future.
   12708     if test "$aix_use_runtimelinking" = yes; then
   12709       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12710       # instead of lib<name>.a to let people know that these are not
   12711       # typical AIX shared libraries.
   12712       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12713     else
   12714       # We preserve .a as extension for shared libraries through AIX4.2
   12715       # and later when we are not doing run time linking.
   12716       library_names_spec='${libname}${release}.a $libname.a'
   12717       soname_spec='${libname}${release}${shared_ext}$major'
   12718     fi
   12719     shlibpath_var=LIBPATH
   12720   fi
   12721   ;;
   12722 
   12723 amigaos*)
   12724   library_names_spec='$libname.ixlibrary $libname.a'
   12725   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12726   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'
   12727   ;;
   12728 
   12729 beos*)
   12730   library_names_spec='${libname}${shared_ext}'
   12731   dynamic_linker="$host_os ld.so"
   12732   shlibpath_var=LIBRARY_PATH
   12733   ;;
   12734 
   12735 bsdi[45]*)
   12736   version_type=linux
   12737   need_version=no
   12738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12739   soname_spec='${libname}${release}${shared_ext}$major'
   12740   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12741   shlibpath_var=LD_LIBRARY_PATH
   12742   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12743   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12744   # the default ld.so.conf also contains /usr/contrib/lib and
   12745   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12746   # libtool to hard-code these into programs
   12747   ;;
   12748 
   12749 cygwin* | mingw* | pw32*)
   12750   version_type=windows
   12751   shrext_cmds=".dll"
   12752   need_version=no
   12753   need_lib_prefix=no
   12754 
   12755   case $GCC,$host_os in
   12756   yes,cygwin* | yes,mingw* | yes,pw32*)
   12757     library_names_spec='$libname.dll.a'
   12758     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12759     postinstall_cmds='base_file=`basename \${file}`~
   12760       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12761       dldir=$destdir/`dirname \$dlpath`~
   12762       test -d \$dldir || mkdir -p \$dldir~
   12763       $install_prog $dir/$dlname \$dldir/$dlname~
   12764       chmod a+x \$dldir/$dlname'
   12765     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12766       dlpath=$dir/\$dldll~
   12767        $rm \$dlpath'
   12768     shlibpath_overrides_runpath=yes
   12769 
   12770     case $host_os in
   12771     cygwin*)
   12772       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12773       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12774       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12775       ;;
   12776     mingw*)
   12777       # MinGW DLLs use traditional 'lib' prefix
   12778       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12779       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12780       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12781         # It is most probably a Windows format PATH printed by
   12782         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12783         # path with ; separators, and with drive letters. We can handle the
   12784         # drive letters (cygwin fileutils understands them), so leave them,
   12785         # especially as we might pass files found there to a mingw objdump,
   12786         # which wouldn't understand a cygwinified path. Ahh.
   12787         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12788       else
   12789         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12790       fi
   12791       ;;
   12792     pw32*)
   12793       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12794       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12795       ;;
   12796     esac
   12797     ;;
   12798 
   12799   *)
   12800     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12801     ;;
   12802   esac
   12803   dynamic_linker='Win32 ld.exe'
   12804   # FIXME: first we should search . and the directory the executable is in
   12805   shlibpath_var=PATH
   12806   ;;
   12807 
   12808 darwin* | rhapsody*)
   12809   dynamic_linker="$host_os dyld"
   12810   version_type=darwin
   12811   need_lib_prefix=no
   12812   need_version=no
   12813   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12814   soname_spec='${libname}${release}${major}$shared_ext'
   12815   shlibpath_overrides_runpath=yes
   12816   shlibpath_var=DYLD_LIBRARY_PATH
   12817   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12818 
   12819   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12820   ;;
   12821 
   12822 dgux*)
   12823   version_type=linux
   12824   need_lib_prefix=no
   12825   need_version=no
   12826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12827   soname_spec='${libname}${release}${shared_ext}$major'
   12828   shlibpath_var=LD_LIBRARY_PATH
   12829   ;;
   12830 
   12831 freebsd1*)
   12832   dynamic_linker=no
   12833   ;;
   12834 
   12835 freebsd* | dragonfly*)
   12836   # DragonFly does not have aout.  When/if they implement a new
   12837   # versioning mechanism, adjust this.
   12838   if test -x /usr/bin/objformat; then
   12839     objformat=`/usr/bin/objformat`
   12840   else
   12841     case $host_os in
   12842     freebsd[123]*) objformat=aout ;;
   12843     *) objformat=elf ;;
   12844     esac
   12845   fi
   12846   version_type=freebsd-$objformat
   12847   case $version_type in
   12848     freebsd-elf*)
   12849       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12850       need_version=no
   12851       need_lib_prefix=no
   12852       ;;
   12853     freebsd-*)
   12854       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12855       need_version=yes
   12856       ;;
   12857   esac
   12858   shlibpath_var=LD_LIBRARY_PATH
   12859   case $host_os in
   12860   freebsd2*)
   12861     shlibpath_overrides_runpath=yes
   12862     ;;
   12863   freebsd3.[01]* | freebsdelf3.[01]*)
   12864     shlibpath_overrides_runpath=yes
   12865     hardcode_into_libs=yes
   12866     ;;
   12867   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12868   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12869     shlibpath_overrides_runpath=no
   12870     hardcode_into_libs=yes
   12871     ;;
   12872   *) # from 4.6 on, and DragonFly
   12873     shlibpath_overrides_runpath=yes
   12874     hardcode_into_libs=yes
   12875     ;;
   12876   esac
   12877   ;;
   12878 
   12879 gnu*)
   12880   version_type=linux
   12881   need_lib_prefix=no
   12882   need_version=no
   12883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12884   soname_spec='${libname}${release}${shared_ext}$major'
   12885   shlibpath_var=LD_LIBRARY_PATH
   12886   hardcode_into_libs=yes
   12887   ;;
   12888 
   12889 hpux9* | hpux10* | hpux11*)
   12890   # Give a soname corresponding to the major version so that dld.sl refuses to
   12891   # link against other versions.
   12892   version_type=sunos
   12893   need_lib_prefix=no
   12894   need_version=no
   12895   case $host_cpu in
   12896   ia64*)
   12897     shrext_cmds='.so'
   12898     hardcode_into_libs=yes
   12899     dynamic_linker="$host_os dld.so"
   12900     shlibpath_var=LD_LIBRARY_PATH
   12901     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12902     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12903     soname_spec='${libname}${release}${shared_ext}$major'
   12904     if test "X$HPUX_IA64_MODE" = X32; then
   12905       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12906     else
   12907       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12908     fi
   12909     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12910     ;;
   12911    hppa*64*)
   12912      shrext_cmds='.sl'
   12913      hardcode_into_libs=yes
   12914      dynamic_linker="$host_os dld.sl"
   12915      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12916      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12917      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12918      soname_spec='${libname}${release}${shared_ext}$major'
   12919      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12920      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12921      ;;
   12922    *)
   12923     shrext_cmds='.sl'
   12924     dynamic_linker="$host_os dld.sl"
   12925     shlibpath_var=SHLIB_PATH
   12926     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12927     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12928     soname_spec='${libname}${release}${shared_ext}$major'
   12929     ;;
   12930   esac
   12931   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12932   postinstall_cmds='chmod 555 $lib'
   12933   ;;
   12934 
   12935 interix[3-9]*)
   12936   version_type=linux
   12937   need_lib_prefix=no
   12938   need_version=no
   12939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12940   soname_spec='${libname}${release}${shared_ext}$major'
   12941   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12942   shlibpath_var=LD_LIBRARY_PATH
   12943   shlibpath_overrides_runpath=no
   12944   hardcode_into_libs=yes
   12945   ;;
   12946 
   12947 irix5* | irix6* | nonstopux*)
   12948   case $host_os in
   12949     nonstopux*) version_type=nonstopux ;;
   12950     *)
   12951 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12952 		version_type=linux
   12953 	else
   12954 		version_type=irix
   12955 	fi ;;
   12956   esac
   12957   need_lib_prefix=no
   12958   need_version=no
   12959   soname_spec='${libname}${release}${shared_ext}$major'
   12960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12961   case $host_os in
   12962   irix5* | nonstopux*)
   12963     libsuff= shlibsuff=
   12964     ;;
   12965   *)
   12966     case $LD in # libtool.m4 will add one of these switches to LD
   12967     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12968       libsuff= shlibsuff= libmagic=32-bit;;
   12969     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12970       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12971     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12972       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12973     *) libsuff= shlibsuff= libmagic=never-match;;
   12974     esac
   12975     ;;
   12976   esac
   12977   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12978   shlibpath_overrides_runpath=no
   12979   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12980   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12981   hardcode_into_libs=yes
   12982   ;;
   12983 
   12984 # No shared lib support for Linux oldld, aout, or coff.
   12985 linux*oldld* | linux*aout* | linux*coff*)
   12986   dynamic_linker=no
   12987   ;;
   12988 
   12989 # This must be Linux ELF.
   12990 linux* | k*bsd*-gnu)
   12991   version_type=linux
   12992   need_lib_prefix=no
   12993   need_version=no
   12994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12995   soname_spec='${libname}${release}${shared_ext}$major'
   12996   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12997   shlibpath_var=LD_LIBRARY_PATH
   12998   shlibpath_overrides_runpath=no
   12999   # This implies no fast_install, which is unacceptable.
   13000   # Some rework will be needed to allow for fast_install
   13001   # before this can be enabled.
   13002   hardcode_into_libs=yes
   13003 
   13004   # Append ld.so.conf contents to the search path
   13005   if test -f /etc/ld.so.conf; then
   13006     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13007     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13008   fi
   13009 
   13010   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13011   # powerpc, because MkLinux only supported shared libraries with the
   13012   # GNU dynamic linker.  Since this was broken with cross compilers,
   13013   # most powerpc-linux boxes support dynamic linking these days and
   13014   # people can always --disable-shared, the test was removed, and we
   13015   # assume the GNU/Linux dynamic linker is in use.
   13016   dynamic_linker='GNU/Linux ld.so'
   13017   ;;
   13018 
   13019 netbsd*)
   13020   version_type=sunos
   13021   need_lib_prefix=no
   13022   need_version=no
   13023   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13024     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13025     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13026     dynamic_linker='NetBSD (a.out) ld.so'
   13027   else
   13028     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13029     soname_spec='${libname}${release}${shared_ext}$major'
   13030     dynamic_linker='NetBSD ld.elf_so'
   13031   fi
   13032   shlibpath_var=LD_LIBRARY_PATH
   13033   shlibpath_overrides_runpath=yes
   13034   hardcode_into_libs=yes
   13035   ;;
   13036 
   13037 newsos6)
   13038   version_type=linux
   13039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13040   shlibpath_var=LD_LIBRARY_PATH
   13041   shlibpath_overrides_runpath=yes
   13042   ;;
   13043 
   13044 nto-qnx*)
   13045   version_type=linux
   13046   need_lib_prefix=no
   13047   need_version=no
   13048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13049   soname_spec='${libname}${release}${shared_ext}$major'
   13050   shlibpath_var=LD_LIBRARY_PATH
   13051   shlibpath_overrides_runpath=yes
   13052   ;;
   13053 
   13054 openbsd*)
   13055   version_type=sunos
   13056   sys_lib_dlsearch_path_spec="/usr/lib"
   13057   need_lib_prefix=no
   13058   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13059   case $host_os in
   13060     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13061     *)                         need_version=no  ;;
   13062   esac
   13063   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13064   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13065   shlibpath_var=LD_LIBRARY_PATH
   13066   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13067     case $host_os in
   13068       openbsd2.[89] | openbsd2.[89].*)
   13069 	shlibpath_overrides_runpath=no
   13070 	;;
   13071       *)
   13072 	shlibpath_overrides_runpath=yes
   13073 	;;
   13074       esac
   13075   else
   13076     shlibpath_overrides_runpath=yes
   13077   fi
   13078   ;;
   13079 
   13080 os2*)
   13081   libname_spec='$name'
   13082   shrext_cmds=".dll"
   13083   need_lib_prefix=no
   13084   library_names_spec='$libname${shared_ext} $libname.a'
   13085   dynamic_linker='OS/2 ld.exe'
   13086   shlibpath_var=LIBPATH
   13087   ;;
   13088 
   13089 osf3* | osf4* | osf5*)
   13090   version_type=osf
   13091   need_lib_prefix=no
   13092   need_version=no
   13093   soname_spec='${libname}${release}${shared_ext}$major'
   13094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13095   shlibpath_var=LD_LIBRARY_PATH
   13096   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13097   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13098   ;;
   13099 
   13100 rdos*)
   13101   dynamic_linker=no
   13102   ;;
   13103 
   13104 solaris*)
   13105   version_type=linux
   13106   need_lib_prefix=no
   13107   need_version=no
   13108   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13109   soname_spec='${libname}${release}${shared_ext}$major'
   13110   shlibpath_var=LD_LIBRARY_PATH
   13111   shlibpath_overrides_runpath=yes
   13112   hardcode_into_libs=yes
   13113   # ldd complains unless libraries are executable
   13114   postinstall_cmds='chmod +x $lib'
   13115   ;;
   13116 
   13117 sunos4*)
   13118   version_type=sunos
   13119   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13120   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13121   shlibpath_var=LD_LIBRARY_PATH
   13122   shlibpath_overrides_runpath=yes
   13123   if test "$with_gnu_ld" = yes; then
   13124     need_lib_prefix=no
   13125   fi
   13126   need_version=yes
   13127   ;;
   13128 
   13129 sysv4 | sysv4.3*)
   13130   version_type=linux
   13131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13132   soname_spec='${libname}${release}${shared_ext}$major'
   13133   shlibpath_var=LD_LIBRARY_PATH
   13134   case $host_vendor in
   13135     sni)
   13136       shlibpath_overrides_runpath=no
   13137       need_lib_prefix=no
   13138       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13139       runpath_var=LD_RUN_PATH
   13140       ;;
   13141     siemens)
   13142       need_lib_prefix=no
   13143       ;;
   13144     motorola)
   13145       need_lib_prefix=no
   13146       need_version=no
   13147       shlibpath_overrides_runpath=no
   13148       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13149       ;;
   13150   esac
   13151   ;;
   13152 
   13153 sysv4*MP*)
   13154   if test -d /usr/nec ;then
   13155     version_type=linux
   13156     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13157     soname_spec='$libname${shared_ext}.$major'
   13158     shlibpath_var=LD_LIBRARY_PATH
   13159   fi
   13160   ;;
   13161 
   13162 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13163   version_type=freebsd-elf
   13164   need_lib_prefix=no
   13165   need_version=no
   13166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13167   soname_spec='${libname}${release}${shared_ext}$major'
   13168   shlibpath_var=LD_LIBRARY_PATH
   13169   hardcode_into_libs=yes
   13170   if test "$with_gnu_ld" = yes; then
   13171     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13172     shlibpath_overrides_runpath=no
   13173   else
   13174     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13175     shlibpath_overrides_runpath=yes
   13176     case $host_os in
   13177       sco3.2v5*)
   13178         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13179 	;;
   13180     esac
   13181   fi
   13182   sys_lib_dlsearch_path_spec='/usr/lib'
   13183   ;;
   13184 
   13185 uts4*)
   13186   version_type=linux
   13187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13188   soname_spec='${libname}${release}${shared_ext}$major'
   13189   shlibpath_var=LD_LIBRARY_PATH
   13190   ;;
   13191 
   13192 *)
   13193   dynamic_linker=no
   13194   ;;
   13195 esac
   13196 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13197 echo "${ECHO_T}$dynamic_linker" >&6; }
   13198 test "$dynamic_linker" = no && can_build_shared=no
   13199 
   13200 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13201 if test "$GCC" = yes; then
   13202   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13203 fi
   13204 
   13205 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13206 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13207 hardcode_action_CXX=
   13208 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13209    test -n "$runpath_var_CXX" || \
   13210    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13211 
   13212   # We can hardcode non-existant directories.
   13213   if test "$hardcode_direct_CXX" != no &&
   13214      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13215      # have to relink, otherwise we might link with an installed library
   13216      # when we should be linking with a yet-to-be-installed one
   13217      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13218      test "$hardcode_minus_L_CXX" != no; then
   13219     # Linking always hardcodes the temporary library directory.
   13220     hardcode_action_CXX=relink
   13221   else
   13222     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13223     hardcode_action_CXX=immediate
   13224   fi
   13225 else
   13226   # We cannot hardcode anything, or else we can only hardcode existing
   13227   # directories.
   13228   hardcode_action_CXX=unsupported
   13229 fi
   13230 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13231 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13232 
   13233 if test "$hardcode_action_CXX" = relink; then
   13234   # Fast installation is not supported
   13235   enable_fast_install=no
   13236 elif test "$shlibpath_overrides_runpath" = yes ||
   13237      test "$enable_shared" = no; then
   13238   # Fast installation is not necessary
   13239   enable_fast_install=needless
   13240 fi
   13241 
   13242 
   13243 # The else clause should only fire when bootstrapping the
   13244 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13245 # with your package, and you will get complaints that there are
   13246 # no rules to generate ltmain.sh.
   13247 if test -f "$ltmain"; then
   13248   # See if we are running on zsh, and set the options which allow our commands through
   13249   # without removal of \ escapes.
   13250   if test -n "${ZSH_VERSION+set}" ; then
   13251     setopt NO_GLOB_SUBST
   13252   fi
   13253   # Now quote all the things that may contain metacharacters while being
   13254   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13255   # variables and quote the copies for generation of the libtool script.
   13256   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13257     SED SHELL STRIP \
   13258     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13259     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13260     deplibs_check_method reload_flag reload_cmds need_locks \
   13261     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13262     lt_cv_sys_global_symbol_to_c_name_address \
   13263     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13264     old_postinstall_cmds old_postuninstall_cmds \
   13265     compiler_CXX \
   13266     CC_CXX \
   13267     LD_CXX \
   13268     lt_prog_compiler_wl_CXX \
   13269     lt_prog_compiler_pic_CXX \
   13270     lt_prog_compiler_static_CXX \
   13271     lt_prog_compiler_no_builtin_flag_CXX \
   13272     export_dynamic_flag_spec_CXX \
   13273     thread_safe_flag_spec_CXX \
   13274     whole_archive_flag_spec_CXX \
   13275     enable_shared_with_static_runtimes_CXX \
   13276     old_archive_cmds_CXX \
   13277     old_archive_from_new_cmds_CXX \
   13278     predep_objects_CXX \
   13279     postdep_objects_CXX \
   13280     predeps_CXX \
   13281     postdeps_CXX \
   13282     compiler_lib_search_path_CXX \
   13283     archive_cmds_CXX \
   13284     archive_expsym_cmds_CXX \
   13285     postinstall_cmds_CXX \
   13286     postuninstall_cmds_CXX \
   13287     old_archive_from_expsyms_cmds_CXX \
   13288     allow_undefined_flag_CXX \
   13289     no_undefined_flag_CXX \
   13290     export_symbols_cmds_CXX \
   13291     hardcode_libdir_flag_spec_CXX \
   13292     hardcode_libdir_flag_spec_ld_CXX \
   13293     hardcode_libdir_separator_CXX \
   13294     hardcode_automatic_CXX \
   13295     module_cmds_CXX \
   13296     module_expsym_cmds_CXX \
   13297     lt_cv_prog_compiler_c_o_CXX \
   13298     fix_srcfile_path_CXX \
   13299     exclude_expsyms_CXX \
   13300     include_expsyms_CXX; do
   13301 
   13302     case $var in
   13303     old_archive_cmds_CXX | \
   13304     old_archive_from_new_cmds_CXX | \
   13305     archive_cmds_CXX | \
   13306     archive_expsym_cmds_CXX | \
   13307     module_cmds_CXX | \
   13308     module_expsym_cmds_CXX | \
   13309     old_archive_from_expsyms_cmds_CXX | \
   13310     export_symbols_cmds_CXX | \
   13311     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13312     postinstall_cmds | postuninstall_cmds | \
   13313     old_postinstall_cmds | old_postuninstall_cmds | \
   13314     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13315       # Double-quote double-evaled strings.
   13316       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13317       ;;
   13318     *)
   13319       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13320       ;;
   13321     esac
   13322   done
   13323 
   13324   case $lt_echo in
   13325   *'\$0 --fallback-echo"')
   13326     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13327     ;;
   13328   esac
   13329 
   13330 cfgfile="$ofile"
   13331 
   13332   cat <<__EOF__ >> "$cfgfile"
   13333 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13334 
   13335 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13336 
   13337 # Shell to use when invoking shell scripts.
   13338 SHELL=$lt_SHELL
   13339 
   13340 # Whether or not to build shared libraries.
   13341 build_libtool_libs=$enable_shared
   13342 
   13343 # Whether or not to build static libraries.
   13344 build_old_libs=$enable_static
   13345 
   13346 # Whether or not to add -lc for building shared libraries.
   13347 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13348 
   13349 # Whether or not to disallow shared libs when runtime libs are static
   13350 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13351 
   13352 # Whether or not to optimize for fast installation.
   13353 fast_install=$enable_fast_install
   13354 
   13355 # The host system.
   13356 host_alias=$host_alias
   13357 host=$host
   13358 host_os=$host_os
   13359 
   13360 # The build system.
   13361 build_alias=$build_alias
   13362 build=$build
   13363 build_os=$build_os
   13364 
   13365 # An echo program that does not interpret backslashes.
   13366 echo=$lt_echo
   13367 
   13368 # The archiver.
   13369 AR=$lt_AR
   13370 AR_FLAGS=$lt_AR_FLAGS
   13371 
   13372 # A C compiler.
   13373 LTCC=$lt_LTCC
   13374 
   13375 # LTCC compiler flags.
   13376 LTCFLAGS=$lt_LTCFLAGS
   13377 
   13378 # A language-specific compiler.
   13379 CC=$lt_compiler_CXX
   13380 
   13381 # Is the compiler the GNU C compiler?
   13382 with_gcc=$GCC_CXX
   13383 
   13384 # An ERE matcher.
   13385 EGREP=$lt_EGREP
   13386 
   13387 # The linker used to build libraries.
   13388 LD=$lt_LD_CXX
   13389 
   13390 # Whether we need hard or soft links.
   13391 LN_S=$lt_LN_S
   13392 
   13393 # A BSD-compatible nm program.
   13394 NM=$lt_NM
   13395 
   13396 # A symbol stripping program
   13397 STRIP=$lt_STRIP
   13398 
   13399 # Used to examine libraries when file_magic_cmd begins "file"
   13400 MAGIC_CMD=$MAGIC_CMD
   13401 
   13402 # Used on cygwin: DLL creation program.
   13403 DLLTOOL="$DLLTOOL"
   13404 
   13405 # Used on cygwin: object dumper.
   13406 OBJDUMP="$OBJDUMP"
   13407 
   13408 # Used on cygwin: assembler.
   13409 AS="$AS"
   13410 
   13411 # The name of the directory that contains temporary libtool files.
   13412 objdir=$objdir
   13413 
   13414 # How to create reloadable object files.
   13415 reload_flag=$lt_reload_flag
   13416 reload_cmds=$lt_reload_cmds
   13417 
   13418 # How to pass a linker flag through the compiler.
   13419 wl=$lt_lt_prog_compiler_wl_CXX
   13420 
   13421 # Object file suffix (normally "o").
   13422 objext="$ac_objext"
   13423 
   13424 # Old archive suffix (normally "a").
   13425 libext="$libext"
   13426 
   13427 # Shared library suffix (normally ".so").
   13428 shrext_cmds='$shrext_cmds'
   13429 
   13430 # Executable file suffix (normally "").
   13431 exeext="$exeext"
   13432 
   13433 # Additional compiler flags for building library objects.
   13434 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13435 pic_mode=$pic_mode
   13436 
   13437 # What is the maximum length of a command?
   13438 max_cmd_len=$lt_cv_sys_max_cmd_len
   13439 
   13440 # Does compiler simultaneously support -c and -o options?
   13441 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13442 
   13443 # Must we lock files when doing compilation?
   13444 need_locks=$lt_need_locks
   13445 
   13446 # Do we need the lib prefix for modules?
   13447 need_lib_prefix=$need_lib_prefix
   13448 
   13449 # Do we need a version for libraries?
   13450 need_version=$need_version
   13451 
   13452 # Whether dlopen is supported.
   13453 dlopen_support=$enable_dlopen
   13454 
   13455 # Whether dlopen of programs is supported.
   13456 dlopen_self=$enable_dlopen_self
   13457 
   13458 # Whether dlopen of statically linked programs is supported.
   13459 dlopen_self_static=$enable_dlopen_self_static
   13460 
   13461 # Compiler flag to prevent dynamic linking.
   13462 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13463 
   13464 # Compiler flag to turn off builtin functions.
   13465 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13466 
   13467 # Compiler flag to allow reflexive dlopens.
   13468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13469 
   13470 # Compiler flag to generate shared objects directly from archives.
   13471 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13472 
   13473 # Compiler flag to generate thread-safe objects.
   13474 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13475 
   13476 # Library versioning type.
   13477 version_type=$version_type
   13478 
   13479 # Format of library name prefix.
   13480 libname_spec=$lt_libname_spec
   13481 
   13482 # List of archive names.  First name is the real one, the rest are links.
   13483 # The last name is the one that the linker finds with -lNAME.
   13484 library_names_spec=$lt_library_names_spec
   13485 
   13486 # The coded name of the library, if different from the real name.
   13487 soname_spec=$lt_soname_spec
   13488 
   13489 # Commands used to build and install an old-style archive.
   13490 RANLIB=$lt_RANLIB
   13491 old_archive_cmds=$lt_old_archive_cmds_CXX
   13492 old_postinstall_cmds=$lt_old_postinstall_cmds
   13493 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13494 
   13495 # Create an old-style archive from a shared archive.
   13496 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13497 
   13498 # Create a temporary old-style archive to link instead of a shared archive.
   13499 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13500 
   13501 # Commands used to build and install a shared archive.
   13502 archive_cmds=$lt_archive_cmds_CXX
   13503 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13504 postinstall_cmds=$lt_postinstall_cmds
   13505 postuninstall_cmds=$lt_postuninstall_cmds
   13506 
   13507 # Commands used to build a loadable module (assumed same as above if empty)
   13508 module_cmds=$lt_module_cmds_CXX
   13509 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13510 
   13511 # Commands to strip libraries.
   13512 old_striplib=$lt_old_striplib
   13513 striplib=$lt_striplib
   13514 
   13515 # Dependencies to place before the objects being linked to create a
   13516 # shared library.
   13517 predep_objects=$lt_predep_objects_CXX
   13518 
   13519 # Dependencies to place after the objects being linked to create a
   13520 # shared library.
   13521 postdep_objects=$lt_postdep_objects_CXX
   13522 
   13523 # Dependencies to place before the objects being linked to create a
   13524 # shared library.
   13525 predeps=$lt_predeps_CXX
   13526 
   13527 # Dependencies to place after the objects being linked to create a
   13528 # shared library.
   13529 postdeps=$lt_postdeps_CXX
   13530 
   13531 # The library search path used internally by the compiler when linking
   13532 # a shared library.
   13533 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13534 
   13535 # Method to check whether dependent libraries are shared objects.
   13536 deplibs_check_method=$lt_deplibs_check_method
   13537 
   13538 # Command to use when deplibs_check_method == file_magic.
   13539 file_magic_cmd=$lt_file_magic_cmd
   13540 
   13541 # Flag that allows shared libraries with undefined symbols to be built.
   13542 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13543 
   13544 # Flag that forces no undefined symbols.
   13545 no_undefined_flag=$lt_no_undefined_flag_CXX
   13546 
   13547 # Commands used to finish a libtool library installation in a directory.
   13548 finish_cmds=$lt_finish_cmds
   13549 
   13550 # Same as above, but a single script fragment to be evaled but not shown.
   13551 finish_eval=$lt_finish_eval
   13552 
   13553 # Take the output of nm and produce a listing of raw symbols and C names.
   13554 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13555 
   13556 # Transform the output of nm in a proper C declaration
   13557 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13558 
   13559 # Transform the output of nm in a C name address pair
   13560 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13561 
   13562 # This is the shared library runtime path variable.
   13563 runpath_var=$runpath_var
   13564 
   13565 # This is the shared library path variable.
   13566 shlibpath_var=$shlibpath_var
   13567 
   13568 # Is shlibpath searched before the hard-coded library search path?
   13569 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13570 
   13571 # How to hardcode a shared library path into an executable.
   13572 hardcode_action=$hardcode_action_CXX
   13573 
   13574 # Whether we should hardcode library paths into libraries.
   13575 hardcode_into_libs=$hardcode_into_libs
   13576 
   13577 # Flag to hardcode \$libdir into a binary during linking.
   13578 # This must work even if \$libdir does not exist.
   13579 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13580 
   13581 # If ld is used when linking, flag to hardcode \$libdir into
   13582 # a binary during linking. This must work even if \$libdir does
   13583 # not exist.
   13584 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13585 
   13586 # Whether we need a single -rpath flag with a separated argument.
   13587 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13588 
   13589 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13590 # resulting binary.
   13591 hardcode_direct=$hardcode_direct_CXX
   13592 
   13593 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13594 # resulting binary.
   13595 hardcode_minus_L=$hardcode_minus_L_CXX
   13596 
   13597 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13598 # the resulting binary.
   13599 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13600 
   13601 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13602 # and all subsequent libraries and executables linked against it.
   13603 hardcode_automatic=$hardcode_automatic_CXX
   13604 
   13605 # Variables whose values should be saved in libtool wrapper scripts and
   13606 # restored at relink time.
   13607 variables_saved_for_relink="$variables_saved_for_relink"
   13608 
   13609 # Whether libtool must link a program against all its dependency libraries.
   13610 link_all_deplibs=$link_all_deplibs_CXX
   13611 
   13612 # Compile-time system search path for libraries
   13613 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13614 
   13615 # Run-time system search path for libraries
   13616 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13617 
   13618 # Fix the shell variable \$srcfile for the compiler.
   13619 fix_srcfile_path=$lt_fix_srcfile_path
   13620 
   13621 # Set to yes if exported symbols are required.
   13622 always_export_symbols=$always_export_symbols_CXX
   13623 
   13624 # The commands to list exported symbols.
   13625 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13626 
   13627 # The commands to extract the exported symbol list from a shared archive.
   13628 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13629 
   13630 # Symbols that should not be listed in the preloaded symbols.
   13631 exclude_expsyms=$lt_exclude_expsyms_CXX
   13632 
   13633 # Symbols that must always be exported.
   13634 include_expsyms=$lt_include_expsyms_CXX
   13635 
   13636 # ### END LIBTOOL TAG CONFIG: $tagname
   13637 
   13638 __EOF__
   13639 
   13640 
   13641 else
   13642   # If there is no Makefile yet, we rely on a make rule to execute
   13643   # `config.status --recheck' to rerun these tests and create the
   13644   # libtool script then.
   13645   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13646   if test -f "$ltmain_in"; then
   13647     test -f Makefile && make "$ltmain"
   13648   fi
   13649 fi
   13650 
   13651 
   13652 ac_ext=c
   13653 ac_cpp='$CPP $CPPFLAGS'
   13654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13657 
   13658 CC=$lt_save_CC
   13659 LDCXX=$LD
   13660 LD=$lt_save_LD
   13661 GCC=$lt_save_GCC
   13662 with_gnu_ldcxx=$with_gnu_ld
   13663 with_gnu_ld=$lt_save_with_gnu_ld
   13664 lt_cv_path_LDCXX=$lt_cv_path_LD
   13665 lt_cv_path_LD=$lt_save_path_LD
   13666 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13667 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13668 
   13669 	else
   13670 	  tagname=""
   13671 	fi
   13672 	;;
   13673 
   13674       F77)
   13675 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13676 
   13677 ac_ext=f
   13678 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13679 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13680 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13681 
   13682 
   13683 archive_cmds_need_lc_F77=no
   13684 allow_undefined_flag_F77=
   13685 always_export_symbols_F77=no
   13686 archive_expsym_cmds_F77=
   13687 export_dynamic_flag_spec_F77=
   13688 hardcode_direct_F77=no
   13689 hardcode_libdir_flag_spec_F77=
   13690 hardcode_libdir_flag_spec_ld_F77=
   13691 hardcode_libdir_separator_F77=
   13692 hardcode_minus_L_F77=no
   13693 hardcode_automatic_F77=no
   13694 module_cmds_F77=
   13695 module_expsym_cmds_F77=
   13696 link_all_deplibs_F77=unknown
   13697 old_archive_cmds_F77=$old_archive_cmds
   13698 no_undefined_flag_F77=
   13699 whole_archive_flag_spec_F77=
   13700 enable_shared_with_static_runtimes_F77=no
   13701 
   13702 # Source file extension for f77 test sources.
   13703 ac_ext=f
   13704 
   13705 # Object file extension for compiled f77 test sources.
   13706 objext=o
   13707 objext_F77=$objext
   13708 
   13709 # Code to be used in simple compile tests
   13710 lt_simple_compile_test_code="\
   13711       subroutine t
   13712       return
   13713       end
   13714 "
   13715 
   13716 # Code to be used in simple link tests
   13717 lt_simple_link_test_code="\
   13718       program t
   13719       end
   13720 "
   13721 
   13722 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13723 
   13724 # If no C compiler was specified, use CC.
   13725 LTCC=${LTCC-"$CC"}
   13726 
   13727 # If no C compiler flags were specified, use CFLAGS.
   13728 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13729 
   13730 # Allow CC to be a program name with arguments.
   13731 compiler=$CC
   13732 
   13733 
   13734 # save warnings/boilerplate of simple test code
   13735 ac_outfile=conftest.$ac_objext
   13736 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13737 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13738 _lt_compiler_boilerplate=`cat conftest.err`
   13739 $rm conftest*
   13740 
   13741 ac_outfile=conftest.$ac_objext
   13742 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13743 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13744 _lt_linker_boilerplate=`cat conftest.err`
   13745 $rm conftest*
   13746 
   13747 
   13748 # Allow CC to be a program name with arguments.
   13749 lt_save_CC="$CC"
   13750 CC=${F77-"f77"}
   13751 compiler=$CC
   13752 compiler_F77=$CC
   13753 for cc_temp in $compiler""; do
   13754   case $cc_temp in
   13755     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13756     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13757     \-*) ;;
   13758     *) break;;
   13759   esac
   13760 done
   13761 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13762 
   13763 
   13764 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13765 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13766 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13767 echo "${ECHO_T}$can_build_shared" >&6; }
   13768 
   13769 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13770 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13771 test "$can_build_shared" = "no" && enable_shared=no
   13772 
   13773 # On AIX, shared libraries and static libraries use the same namespace, and
   13774 # are all built from PIC.
   13775 case $host_os in
   13776 aix3*)
   13777   test "$enable_shared" = yes && enable_static=no
   13778   if test -n "$RANLIB"; then
   13779     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13780     postinstall_cmds='$RANLIB $lib'
   13781   fi
   13782   ;;
   13783 aix4* | aix5*)
   13784   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13785     test "$enable_shared" = yes && enable_static=no
   13786   fi
   13787   ;;
   13788 esac
   13789 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13790 echo "${ECHO_T}$enable_shared" >&6; }
   13791 
   13792 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13793 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13794 # Make sure either enable_shared or enable_static is yes.
   13795 test "$enable_shared" = yes || enable_static=yes
   13796 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13797 echo "${ECHO_T}$enable_static" >&6; }
   13798 
   13799 GCC_F77="$G77"
   13800 LD_F77="$LD"
   13801 
   13802 lt_prog_compiler_wl_F77=
   13803 lt_prog_compiler_pic_F77=
   13804 lt_prog_compiler_static_F77=
   13805 
   13806 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13807 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13808 
   13809   if test "$GCC" = yes; then
   13810     lt_prog_compiler_wl_F77='-Wl,'
   13811     lt_prog_compiler_static_F77='-static'
   13812 
   13813     case $host_os in
   13814       aix*)
   13815       # All AIX code is PIC.
   13816       if test "$host_cpu" = ia64; then
   13817 	# AIX 5 now supports IA64 processor
   13818 	lt_prog_compiler_static_F77='-Bstatic'
   13819       fi
   13820       ;;
   13821 
   13822     amigaos*)
   13823       # FIXME: we need at least 68020 code to build shared libraries, but
   13824       # adding the `-m68020' flag to GCC prevents building anything better,
   13825       # like `-m68040'.
   13826       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13827       ;;
   13828 
   13829     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13830       # PIC is the default for these OSes.
   13831       ;;
   13832 
   13833     mingw* | cygwin* | pw32* | os2*)
   13834       # This hack is so that the source file can tell whether it is being
   13835       # built for inclusion in a dll (and should export symbols for example).
   13836       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13837       # (--disable-auto-import) libraries
   13838       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13839       ;;
   13840 
   13841     darwin* | rhapsody*)
   13842       # PIC is the default on this platform
   13843       # Common symbols not allowed in MH_DYLIB files
   13844       lt_prog_compiler_pic_F77='-fno-common'
   13845       ;;
   13846 
   13847     interix[3-9]*)
   13848       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13849       # Instead, we relocate shared libraries at runtime.
   13850       ;;
   13851 
   13852     msdosdjgpp*)
   13853       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13854       # on systems that don't support them.
   13855       lt_prog_compiler_can_build_shared_F77=no
   13856       enable_shared=no
   13857       ;;
   13858 
   13859     sysv4*MP*)
   13860       if test -d /usr/nec; then
   13861 	lt_prog_compiler_pic_F77=-Kconform_pic
   13862       fi
   13863       ;;
   13864 
   13865     hpux*)
   13866       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13867       # not for PA HP-UX.
   13868       case $host_cpu in
   13869       hppa*64*|ia64*)
   13870 	# +Z the default
   13871 	;;
   13872       *)
   13873 	lt_prog_compiler_pic_F77='-fPIC'
   13874 	;;
   13875       esac
   13876       ;;
   13877 
   13878     *)
   13879       lt_prog_compiler_pic_F77='-fPIC'
   13880       ;;
   13881     esac
   13882   else
   13883     # PORTME Check for flag to pass linker flags through the system compiler.
   13884     case $host_os in
   13885     aix*)
   13886       lt_prog_compiler_wl_F77='-Wl,'
   13887       if test "$host_cpu" = ia64; then
   13888 	# AIX 5 now supports IA64 processor
   13889 	lt_prog_compiler_static_F77='-Bstatic'
   13890       else
   13891 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13892       fi
   13893       ;;
   13894       darwin*)
   13895         # PIC is the default on this platform
   13896         # Common symbols not allowed in MH_DYLIB files
   13897        case $cc_basename in
   13898          xlc*)
   13899          lt_prog_compiler_pic_F77='-qnocommon'
   13900          lt_prog_compiler_wl_F77='-Wl,'
   13901          ;;
   13902        esac
   13903        ;;
   13904 
   13905     mingw* | cygwin* | pw32* | os2*)
   13906       # This hack is so that the source file can tell whether it is being
   13907       # built for inclusion in a dll (and should export symbols for example).
   13908       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13909       ;;
   13910 
   13911     hpux9* | hpux10* | hpux11*)
   13912       lt_prog_compiler_wl_F77='-Wl,'
   13913       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13914       # not for PA HP-UX.
   13915       case $host_cpu in
   13916       hppa*64*|ia64*)
   13917 	# +Z the default
   13918 	;;
   13919       *)
   13920 	lt_prog_compiler_pic_F77='+Z'
   13921 	;;
   13922       esac
   13923       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13924       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13925       ;;
   13926 
   13927     irix5* | irix6* | nonstopux*)
   13928       lt_prog_compiler_wl_F77='-Wl,'
   13929       # PIC (with -KPIC) is the default.
   13930       lt_prog_compiler_static_F77='-non_shared'
   13931       ;;
   13932 
   13933     newsos6)
   13934       lt_prog_compiler_pic_F77='-KPIC'
   13935       lt_prog_compiler_static_F77='-Bstatic'
   13936       ;;
   13937 
   13938     linux* | k*bsd*-gnu)
   13939       case $cc_basename in
   13940       icc* | ecc*)
   13941 	lt_prog_compiler_wl_F77='-Wl,'
   13942 	lt_prog_compiler_pic_F77='-KPIC'
   13943 	lt_prog_compiler_static_F77='-static'
   13944         ;;
   13945       pgcc* | pgf77* | pgf90* | pgf95*)
   13946         # Portland Group compilers (*not* the Pentium gcc compiler,
   13947 	# which looks to be a dead project)
   13948 	lt_prog_compiler_wl_F77='-Wl,'
   13949 	lt_prog_compiler_pic_F77='-fpic'
   13950 	lt_prog_compiler_static_F77='-Bstatic'
   13951         ;;
   13952       ccc*)
   13953         lt_prog_compiler_wl_F77='-Wl,'
   13954         # All Alpha code is PIC.
   13955         lt_prog_compiler_static_F77='-non_shared'
   13956         ;;
   13957       *)
   13958         case `$CC -V 2>&1 | sed 5q` in
   13959 	*Sun\ C*)
   13960 	  # Sun C 5.9
   13961 	  lt_prog_compiler_pic_F77='-KPIC'
   13962 	  lt_prog_compiler_static_F77='-Bstatic'
   13963 	  lt_prog_compiler_wl_F77='-Wl,'
   13964 	  ;;
   13965 	*Sun\ F*)
   13966 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13967 	  lt_prog_compiler_pic_F77='-KPIC'
   13968 	  lt_prog_compiler_static_F77='-Bstatic'
   13969 	  lt_prog_compiler_wl_F77=''
   13970 	  ;;
   13971 	esac
   13972 	;;
   13973       esac
   13974       ;;
   13975 
   13976     osf3* | osf4* | osf5*)
   13977       lt_prog_compiler_wl_F77='-Wl,'
   13978       # All OSF/1 code is PIC.
   13979       lt_prog_compiler_static_F77='-non_shared'
   13980       ;;
   13981 
   13982     rdos*)
   13983       lt_prog_compiler_static_F77='-non_shared'
   13984       ;;
   13985 
   13986     solaris*)
   13987       lt_prog_compiler_pic_F77='-KPIC'
   13988       lt_prog_compiler_static_F77='-Bstatic'
   13989       case $cc_basename in
   13990       f77* | f90* | f95*)
   13991 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13992       *)
   13993 	lt_prog_compiler_wl_F77='-Wl,';;
   13994       esac
   13995       ;;
   13996 
   13997     sunos4*)
   13998       lt_prog_compiler_wl_F77='-Qoption ld '
   13999       lt_prog_compiler_pic_F77='-PIC'
   14000       lt_prog_compiler_static_F77='-Bstatic'
   14001       ;;
   14002 
   14003     sysv4 | sysv4.2uw2* | sysv4.3*)
   14004       lt_prog_compiler_wl_F77='-Wl,'
   14005       lt_prog_compiler_pic_F77='-KPIC'
   14006       lt_prog_compiler_static_F77='-Bstatic'
   14007       ;;
   14008 
   14009     sysv4*MP*)
   14010       if test -d /usr/nec ;then
   14011 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14012 	lt_prog_compiler_static_F77='-Bstatic'
   14013       fi
   14014       ;;
   14015 
   14016     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14017       lt_prog_compiler_wl_F77='-Wl,'
   14018       lt_prog_compiler_pic_F77='-KPIC'
   14019       lt_prog_compiler_static_F77='-Bstatic'
   14020       ;;
   14021 
   14022     unicos*)
   14023       lt_prog_compiler_wl_F77='-Wl,'
   14024       lt_prog_compiler_can_build_shared_F77=no
   14025       ;;
   14026 
   14027     uts4*)
   14028       lt_prog_compiler_pic_F77='-pic'
   14029       lt_prog_compiler_static_F77='-Bstatic'
   14030       ;;
   14031 
   14032     *)
   14033       lt_prog_compiler_can_build_shared_F77=no
   14034       ;;
   14035     esac
   14036   fi
   14037 
   14038 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14039 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14040 
   14041 #
   14042 # Check to make sure the PIC flag actually works.
   14043 #
   14044 if test -n "$lt_prog_compiler_pic_F77"; then
   14045 
   14046 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14047 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14048 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14049   echo $ECHO_N "(cached) $ECHO_C" >&6
   14050 else
   14051   lt_prog_compiler_pic_works_F77=no
   14052   ac_outfile=conftest.$ac_objext
   14053    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14054    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14055    # Insert the option either (1) after the last *FLAGS variable, or
   14056    # (2) before a word containing "conftest.", or (3) at the end.
   14057    # Note that $ac_compile itself does not contain backslashes and begins
   14058    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14059    # The option is referenced via a variable to avoid confusing sed.
   14060    lt_compile=`echo "$ac_compile" | $SED \
   14061    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14062    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14063    -e 's:$: $lt_compiler_flag:'`
   14064    (eval echo "\"\$as_me:14064: $lt_compile\"" >&5)
   14065    (eval "$lt_compile" 2>conftest.err)
   14066    ac_status=$?
   14067    cat conftest.err >&5
   14068    echo "$as_me:14068: \$? = $ac_status" >&5
   14069    if (exit $ac_status) && test -s "$ac_outfile"; then
   14070      # The compiler can only warn and ignore the option if not recognized
   14071      # So say no if there are warnings other than the usual output.
   14072      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14073      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14074      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14075        lt_prog_compiler_pic_works_F77=yes
   14076      fi
   14077    fi
   14078    $rm conftest*
   14079 
   14080 fi
   14081 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14082 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14083 
   14084 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14085     case $lt_prog_compiler_pic_F77 in
   14086      "" | " "*) ;;
   14087      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14088      esac
   14089 else
   14090     lt_prog_compiler_pic_F77=
   14091      lt_prog_compiler_can_build_shared_F77=no
   14092 fi
   14093 
   14094 fi
   14095 case $host_os in
   14096   # For platforms which do not support PIC, -DPIC is meaningless:
   14097   *djgpp*)
   14098     lt_prog_compiler_pic_F77=
   14099     ;;
   14100   *)
   14101     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14102     ;;
   14103 esac
   14104 
   14105 #
   14106 # Check to make sure the static flag actually works.
   14107 #
   14108 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14109 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14110 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14111 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14112   echo $ECHO_N "(cached) $ECHO_C" >&6
   14113 else
   14114   lt_prog_compiler_static_works_F77=no
   14115    save_LDFLAGS="$LDFLAGS"
   14116    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14117    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14118    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14119      # The linker can only warn and ignore the option if not recognized
   14120      # So say no if there are warnings
   14121      if test -s conftest.err; then
   14122        # Append any errors to the config.log.
   14123        cat conftest.err 1>&5
   14124        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14125        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14126        if diff conftest.exp conftest.er2 >/dev/null; then
   14127          lt_prog_compiler_static_works_F77=yes
   14128        fi
   14129      else
   14130        lt_prog_compiler_static_works_F77=yes
   14131      fi
   14132    fi
   14133    $rm conftest*
   14134    LDFLAGS="$save_LDFLAGS"
   14135 
   14136 fi
   14137 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14138 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14139 
   14140 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14141     :
   14142 else
   14143     lt_prog_compiler_static_F77=
   14144 fi
   14145 
   14146 
   14147 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14148 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14149 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14150   echo $ECHO_N "(cached) $ECHO_C" >&6
   14151 else
   14152   lt_cv_prog_compiler_c_o_F77=no
   14153    $rm -r conftest 2>/dev/null
   14154    mkdir conftest
   14155    cd conftest
   14156    mkdir out
   14157    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14158 
   14159    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14160    # Insert the option either (1) after the last *FLAGS variable, or
   14161    # (2) before a word containing "conftest.", or (3) at the end.
   14162    # Note that $ac_compile itself does not contain backslashes and begins
   14163    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14164    lt_compile=`echo "$ac_compile" | $SED \
   14165    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14166    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14167    -e 's:$: $lt_compiler_flag:'`
   14168    (eval echo "\"\$as_me:14168: $lt_compile\"" >&5)
   14169    (eval "$lt_compile" 2>out/conftest.err)
   14170    ac_status=$?
   14171    cat out/conftest.err >&5
   14172    echo "$as_me:14172: \$? = $ac_status" >&5
   14173    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14174    then
   14175      # The compiler can only warn and ignore the option if not recognized
   14176      # So say no if there are warnings
   14177      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14178      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14179      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14180        lt_cv_prog_compiler_c_o_F77=yes
   14181      fi
   14182    fi
   14183    chmod u+w . 2>&5
   14184    $rm conftest*
   14185    # SGI C++ compiler will create directory out/ii_files/ for
   14186    # template instantiation
   14187    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14188    $rm out/* && rmdir out
   14189    cd ..
   14190    rmdir conftest
   14191    $rm conftest*
   14192 
   14193 fi
   14194 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14195 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14196 
   14197 
   14198 hard_links="nottested"
   14199 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14200   # do not overwrite the value of need_locks provided by the user
   14201   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14202 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14203   hard_links=yes
   14204   $rm conftest*
   14205   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14206   touch conftest.a
   14207   ln conftest.a conftest.b 2>&5 || hard_links=no
   14208   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14209   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14210 echo "${ECHO_T}$hard_links" >&6; }
   14211   if test "$hard_links" = no; then
   14212     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14213 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14214     need_locks=warn
   14215   fi
   14216 else
   14217   need_locks=no
   14218 fi
   14219 
   14220 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14221 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14222 
   14223   runpath_var=
   14224   allow_undefined_flag_F77=
   14225   enable_shared_with_static_runtimes_F77=no
   14226   archive_cmds_F77=
   14227   archive_expsym_cmds_F77=
   14228   old_archive_From_new_cmds_F77=
   14229   old_archive_from_expsyms_cmds_F77=
   14230   export_dynamic_flag_spec_F77=
   14231   whole_archive_flag_spec_F77=
   14232   thread_safe_flag_spec_F77=
   14233   hardcode_libdir_flag_spec_F77=
   14234   hardcode_libdir_flag_spec_ld_F77=
   14235   hardcode_libdir_separator_F77=
   14236   hardcode_direct_F77=no
   14237   hardcode_minus_L_F77=no
   14238   hardcode_shlibpath_var_F77=unsupported
   14239   link_all_deplibs_F77=unknown
   14240   hardcode_automatic_F77=no
   14241   module_cmds_F77=
   14242   module_expsym_cmds_F77=
   14243   always_export_symbols_F77=no
   14244   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14245   # include_expsyms should be a list of space-separated symbols to be *always*
   14246   # included in the symbol list
   14247   include_expsyms_F77=
   14248   # exclude_expsyms can be an extended regexp of symbols to exclude
   14249   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14250   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14251   # as well as any symbol that contains `d'.
   14252   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14253   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14254   # platforms (ab)use it in PIC code, but their linkers get confused if
   14255   # the symbol is explicitly referenced.  Since portable code cannot
   14256   # rely on this symbol name, it's probably fine to never include it in
   14257   # preloaded symbol tables.
   14258   extract_expsyms_cmds=
   14259   # Just being paranoid about ensuring that cc_basename is set.
   14260   for cc_temp in $compiler""; do
   14261   case $cc_temp in
   14262     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14263     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14264     \-*) ;;
   14265     *) break;;
   14266   esac
   14267 done
   14268 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14269 
   14270   case $host_os in
   14271   cygwin* | mingw* | pw32*)
   14272     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14273     # When not using gcc, we currently assume that we are using
   14274     # Microsoft Visual C++.
   14275     if test "$GCC" != yes; then
   14276       with_gnu_ld=no
   14277     fi
   14278     ;;
   14279   interix*)
   14280     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14281     with_gnu_ld=yes
   14282     ;;
   14283   openbsd*)
   14284     with_gnu_ld=no
   14285     ;;
   14286   esac
   14287 
   14288   ld_shlibs_F77=yes
   14289   if test "$with_gnu_ld" = yes; then
   14290     # If archive_cmds runs LD, not CC, wlarc should be empty
   14291     wlarc='${wl}'
   14292 
   14293     # Set some defaults for GNU ld with shared library support. These
   14294     # are reset later if shared libraries are not supported. Putting them
   14295     # here allows them to be overridden if necessary.
   14296     runpath_var=LD_RUN_PATH
   14297     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14298     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14299     # ancient GNU ld didn't support --whole-archive et. al.
   14300     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14301 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14302       else
   14303   	whole_archive_flag_spec_F77=
   14304     fi
   14305     supports_anon_versioning=no
   14306     case `$LD -v 2>/dev/null` in
   14307       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14308       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14309       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14310       *\ 2.11.*) ;; # other 2.11 versions
   14311       *) supports_anon_versioning=yes ;;
   14312     esac
   14313 
   14314     # See if GNU ld supports shared libraries.
   14315     case $host_os in
   14316     aix3* | aix4* | aix5*)
   14317       # On AIX/PPC, the GNU linker is very broken
   14318       if test "$host_cpu" != ia64; then
   14319 	ld_shlibs_F77=no
   14320 	cat <<EOF 1>&2
   14321 
   14322 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14323 *** to be unable to reliably create shared libraries on AIX.
   14324 *** Therefore, libtool is disabling shared libraries support.  If you
   14325 *** really care for shared libraries, you may want to modify your PATH
   14326 *** so that a non-GNU linker is found, and then restart.
   14327 
   14328 EOF
   14329       fi
   14330       ;;
   14331 
   14332     amigaos*)
   14333       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)'
   14334       hardcode_libdir_flag_spec_F77='-L$libdir'
   14335       hardcode_minus_L_F77=yes
   14336 
   14337       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14338       # that the semantics of dynamic libraries on AmigaOS, at least up
   14339       # to version 4, is to share data among multiple programs linked
   14340       # with the same dynamic library.  Since this doesn't match the
   14341       # behavior of shared libraries on other platforms, we can't use
   14342       # them.
   14343       ld_shlibs_F77=no
   14344       ;;
   14345 
   14346     beos*)
   14347       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14348 	allow_undefined_flag_F77=unsupported
   14349 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14350 	# support --undefined.  This deserves some investigation.  FIXME
   14351 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14352       else
   14353 	ld_shlibs_F77=no
   14354       fi
   14355       ;;
   14356 
   14357     cygwin* | mingw* | pw32*)
   14358       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14359       # as there is no search path for DLLs.
   14360       hardcode_libdir_flag_spec_F77='-L$libdir'
   14361       allow_undefined_flag_F77=unsupported
   14362       always_export_symbols_F77=no
   14363       enable_shared_with_static_runtimes_F77=yes
   14364       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14365 
   14366       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14367         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14368 	# If the export-symbols file already is a .def file (1st line
   14369 	# is EXPORTS), use it as is; otherwise, prepend...
   14370 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14371 	  cp $export_symbols $output_objdir/$soname.def;
   14372 	else
   14373 	  echo EXPORTS > $output_objdir/$soname.def;
   14374 	  cat $export_symbols >> $output_objdir/$soname.def;
   14375 	fi~
   14376 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14377       else
   14378 	ld_shlibs_F77=no
   14379       fi
   14380       ;;
   14381 
   14382     interix[3-9]*)
   14383       hardcode_direct_F77=no
   14384       hardcode_shlibpath_var_F77=no
   14385       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14386       export_dynamic_flag_spec_F77='${wl}-E'
   14387       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14388       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14389       # default) and relocated if they conflict, which is a slow very memory
   14390       # consuming and fragmenting process.  To avoid this, we pick a random,
   14391       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14392       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14393       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'
   14394       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'
   14395       ;;
   14396 
   14397     gnu* | linux* | k*bsd*-gnu)
   14398       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14399 	tmp_addflag=
   14400 	case $cc_basename,$host_cpu in
   14401 	pgcc*)				# Portland Group C compiler
   14402 	  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'
   14403 	  tmp_addflag=' $pic_flag'
   14404 	  ;;
   14405 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14406 	  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'
   14407 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14408 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14409 	  tmp_addflag=' -i_dynamic' ;;
   14410 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14411 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14412 	ifc* | ifort*)			# Intel Fortran compiler
   14413 	  tmp_addflag=' -nofor_main' ;;
   14414 	esac
   14415 	case `$CC -V 2>&1 | sed 5q` in
   14416 	*Sun\ C*)			# Sun C 5.9
   14417 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14418 	  tmp_sharedflag='-G' ;;
   14419 	*Sun\ F*)			# Sun Fortran 8.3
   14420 	  tmp_sharedflag='-G' ;;
   14421 	*)
   14422 	  tmp_sharedflag='-shared' ;;
   14423 	esac
   14424 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14425 
   14426 	if test $supports_anon_versioning = yes; then
   14427 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14428   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14429   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14430 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14431 	fi
   14432       else
   14433 	ld_shlibs_F77=no
   14434       fi
   14435       ;;
   14436 
   14437     netbsd*)
   14438       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14439 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14440 	wlarc=
   14441       else
   14442 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14443 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14444       fi
   14445       ;;
   14446 
   14447     solaris*)
   14448       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14449 	ld_shlibs_F77=no
   14450 	cat <<EOF 1>&2
   14451 
   14452 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14453 *** create shared libraries on Solaris systems.  Therefore, libtool
   14454 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14455 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14456 *** your PATH or compiler configuration so that the native linker is
   14457 *** used, and then restart.
   14458 
   14459 EOF
   14460       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14461 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14462 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14463       else
   14464 	ld_shlibs_F77=no
   14465       fi
   14466       ;;
   14467 
   14468     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14469       case `$LD -v 2>&1` in
   14470         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14471 	ld_shlibs_F77=no
   14472 	cat <<_LT_EOF 1>&2
   14473 
   14474 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14475 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14476 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14477 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14478 *** your PATH or compiler configuration so that the native linker is
   14479 *** used, and then restart.
   14480 
   14481 _LT_EOF
   14482 	;;
   14483 	*)
   14484 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14485 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14486 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14487 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14488 	  else
   14489 	    ld_shlibs_F77=no
   14490 	  fi
   14491 	;;
   14492       esac
   14493       ;;
   14494 
   14495     sunos4*)
   14496       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14497       wlarc=
   14498       hardcode_direct_F77=yes
   14499       hardcode_shlibpath_var_F77=no
   14500       ;;
   14501 
   14502     *)
   14503       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14504 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14505 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14506       else
   14507 	ld_shlibs_F77=no
   14508       fi
   14509       ;;
   14510     esac
   14511 
   14512     if test "$ld_shlibs_F77" = no; then
   14513       runpath_var=
   14514       hardcode_libdir_flag_spec_F77=
   14515       export_dynamic_flag_spec_F77=
   14516       whole_archive_flag_spec_F77=
   14517     fi
   14518   else
   14519     # PORTME fill in a description of your system's linker (not GNU ld)
   14520     case $host_os in
   14521     aix3*)
   14522       allow_undefined_flag_F77=unsupported
   14523       always_export_symbols_F77=yes
   14524       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'
   14525       # Note: this linker hardcodes the directories in LIBPATH if there
   14526       # are no directories specified by -L.
   14527       hardcode_minus_L_F77=yes
   14528       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14529 	# Neither direct hardcoding nor static linking is supported with a
   14530 	# broken collect2.
   14531 	hardcode_direct_F77=unsupported
   14532       fi
   14533       ;;
   14534 
   14535     aix4* | aix5*)
   14536       if test "$host_cpu" = ia64; then
   14537 	# On IA64, the linker does run time linking by default, so we don't
   14538 	# have to do anything special.
   14539 	aix_use_runtimelinking=no
   14540 	exp_sym_flag='-Bexport'
   14541 	no_entry_flag=""
   14542       else
   14543 	# If we're using GNU nm, then we don't want the "-C" option.
   14544 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14545 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14546 	  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'
   14547 	else
   14548 	  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'
   14549 	fi
   14550 	aix_use_runtimelinking=no
   14551 
   14552 	# Test if we are trying to use run time linking or normal
   14553 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14554 	# need to do runtime linking.
   14555 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14556 	  for ld_flag in $LDFLAGS; do
   14557   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14558   	    aix_use_runtimelinking=yes
   14559   	    break
   14560   	  fi
   14561 	  done
   14562 	  ;;
   14563 	esac
   14564 
   14565 	exp_sym_flag='-bexport'
   14566 	no_entry_flag='-bnoentry'
   14567       fi
   14568 
   14569       # When large executables or shared objects are built, AIX ld can
   14570       # have problems creating the table of contents.  If linking a library
   14571       # or program results in "error TOC overflow" add -mminimal-toc to
   14572       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14573       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14574 
   14575       archive_cmds_F77=''
   14576       hardcode_direct_F77=yes
   14577       hardcode_libdir_separator_F77=':'
   14578       link_all_deplibs_F77=yes
   14579 
   14580       if test "$GCC" = yes; then
   14581 	case $host_os in aix4.[012]|aix4.[012].*)
   14582 	# We only want to do this on AIX 4.2 and lower, the check
   14583 	# below for broken collect2 doesn't work under 4.3+
   14584 	  collect2name=`${CC} -print-prog-name=collect2`
   14585 	  if test -f "$collect2name" && \
   14586   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14587 	  then
   14588   	  # We have reworked collect2
   14589   	  :
   14590 	  else
   14591   	  # We have old collect2
   14592   	  hardcode_direct_F77=unsupported
   14593   	  # It fails to find uninstalled libraries when the uninstalled
   14594   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14595   	  # to unsupported forces relinking
   14596   	  hardcode_minus_L_F77=yes
   14597   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14598   	  hardcode_libdir_separator_F77=
   14599 	  fi
   14600 	  ;;
   14601 	esac
   14602 	shared_flag='-shared'
   14603 	if test "$aix_use_runtimelinking" = yes; then
   14604 	  shared_flag="$shared_flag "'${wl}-G'
   14605 	fi
   14606       else
   14607 	# not using gcc
   14608 	if test "$host_cpu" = ia64; then
   14609   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14610   	# chokes on -Wl,-G. The following line is correct:
   14611 	  shared_flag='-G'
   14612 	else
   14613 	  if test "$aix_use_runtimelinking" = yes; then
   14614 	    shared_flag='${wl}-G'
   14615 	  else
   14616 	    shared_flag='${wl}-bM:SRE'
   14617 	  fi
   14618 	fi
   14619       fi
   14620 
   14621       # It seems that -bexpall does not export symbols beginning with
   14622       # underscore (_), so it is better to generate a list of symbols to export.
   14623       always_export_symbols_F77=yes
   14624       if test "$aix_use_runtimelinking" = yes; then
   14625 	# Warning - without using the other runtime loading flags (-brtl),
   14626 	# -berok will link without error, but may produce a broken library.
   14627 	allow_undefined_flag_F77='-berok'
   14628        # Determine the default libpath from the value encoded in an empty executable.
   14629        cat >conftest.$ac_ext <<_ACEOF
   14630       program main
   14631 
   14632       end
   14633 _ACEOF
   14634 rm -f conftest.$ac_objext conftest$ac_exeext
   14635 if { (ac_try="$ac_link"
   14636 case "(($ac_try" in
   14637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14638   *) ac_try_echo=$ac_try;;
   14639 esac
   14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14641   (eval "$ac_link") 2>conftest.er1
   14642   ac_status=$?
   14643   grep -v '^ *+' conftest.er1 >conftest.err
   14644   rm -f conftest.er1
   14645   cat conftest.err >&5
   14646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14647   (exit $ac_status); } && {
   14648 	 test -z "$ac_f77_werror_flag" ||
   14649 	 test ! -s conftest.err
   14650        } && test -s conftest$ac_exeext &&
   14651        $as_test_x conftest$ac_exeext; then
   14652 
   14653 lt_aix_libpath_sed='
   14654     /Import File Strings/,/^$/ {
   14655 	/^0/ {
   14656 	    s/^0  *\(.*\)$/\1/
   14657 	    p
   14658 	}
   14659     }'
   14660 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14661 # Check for a 64-bit object if we didn't find anything.
   14662 if test -z "$aix_libpath"; then
   14663   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14664 fi
   14665 else
   14666   echo "$as_me: failed program was:" >&5
   14667 sed 's/^/| /' conftest.$ac_ext >&5
   14668 
   14669 
   14670 fi
   14671 
   14672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14673       conftest$ac_exeext conftest.$ac_ext
   14674 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14675 
   14676        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14677 	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"
   14678        else
   14679 	if test "$host_cpu" = ia64; then
   14680 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14681 	  allow_undefined_flag_F77="-z nodefs"
   14682 	  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"
   14683 	else
   14684 	 # Determine the default libpath from the value encoded in an empty executable.
   14685 	 cat >conftest.$ac_ext <<_ACEOF
   14686       program main
   14687 
   14688       end
   14689 _ACEOF
   14690 rm -f conftest.$ac_objext conftest$ac_exeext
   14691 if { (ac_try="$ac_link"
   14692 case "(($ac_try" in
   14693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14694   *) ac_try_echo=$ac_try;;
   14695 esac
   14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14697   (eval "$ac_link") 2>conftest.er1
   14698   ac_status=$?
   14699   grep -v '^ *+' conftest.er1 >conftest.err
   14700   rm -f conftest.er1
   14701   cat conftest.err >&5
   14702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14703   (exit $ac_status); } && {
   14704 	 test -z "$ac_f77_werror_flag" ||
   14705 	 test ! -s conftest.err
   14706        } && test -s conftest$ac_exeext &&
   14707        $as_test_x conftest$ac_exeext; then
   14708 
   14709 lt_aix_libpath_sed='
   14710     /Import File Strings/,/^$/ {
   14711 	/^0/ {
   14712 	    s/^0  *\(.*\)$/\1/
   14713 	    p
   14714 	}
   14715     }'
   14716 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14717 # Check for a 64-bit object if we didn't find anything.
   14718 if test -z "$aix_libpath"; then
   14719   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14720 fi
   14721 else
   14722   echo "$as_me: failed program was:" >&5
   14723 sed 's/^/| /' conftest.$ac_ext >&5
   14724 
   14725 
   14726 fi
   14727 
   14728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14729       conftest$ac_exeext conftest.$ac_ext
   14730 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14731 
   14732 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14733 	  # Warning - without using the other run time loading flags,
   14734 	  # -berok will link without error, but may produce a broken library.
   14735 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14736 	  allow_undefined_flag_F77=' ${wl}-berok'
   14737 	  # Exported symbols can be pulled into shared objects from archives
   14738 	  whole_archive_flag_spec_F77='$convenience'
   14739 	  archive_cmds_need_lc_F77=yes
   14740 	  # This is similar to how AIX traditionally builds its shared libraries.
   14741 	  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'
   14742 	fi
   14743       fi
   14744       ;;
   14745 
   14746     amigaos*)
   14747       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)'
   14748       hardcode_libdir_flag_spec_F77='-L$libdir'
   14749       hardcode_minus_L_F77=yes
   14750       # see comment about different semantics on the GNU ld section
   14751       ld_shlibs_F77=no
   14752       ;;
   14753 
   14754     bsdi[45]*)
   14755       export_dynamic_flag_spec_F77=-rdynamic
   14756       ;;
   14757 
   14758     cygwin* | mingw* | pw32*)
   14759       # When not using gcc, we currently assume that we are using
   14760       # Microsoft Visual C++.
   14761       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14762       # no search path for DLLs.
   14763       hardcode_libdir_flag_spec_F77=' '
   14764       allow_undefined_flag_F77=unsupported
   14765       # Tell ltmain to make .lib files, not .a files.
   14766       libext=lib
   14767       # Tell ltmain to make .dll files, not .so files.
   14768       shrext_cmds=".dll"
   14769       # FIXME: Setting linknames here is a bad hack.
   14770       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14771       # The linker will automatically build a .lib file if we build a DLL.
   14772       old_archive_From_new_cmds_F77='true'
   14773       # FIXME: Should let the user specify the lib program.
   14774       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14775       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14776       enable_shared_with_static_runtimes_F77=yes
   14777       ;;
   14778 
   14779     darwin* | rhapsody*)
   14780       case $host_os in
   14781         rhapsody* | darwin1.[012])
   14782          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14783          ;;
   14784        *) # Darwin 1.3 on
   14785          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14786            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14787          else
   14788            case ${MACOSX_DEPLOYMENT_TARGET} in
   14789              10.[012])
   14790                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14791                ;;
   14792              10.*)
   14793                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14794                ;;
   14795            esac
   14796          fi
   14797          ;;
   14798       esac
   14799       archive_cmds_need_lc_F77=no
   14800       hardcode_direct_F77=no
   14801       hardcode_automatic_F77=yes
   14802       hardcode_shlibpath_var_F77=unsupported
   14803       whole_archive_flag_spec_F77=''
   14804       link_all_deplibs_F77=yes
   14805     if test "$GCC" = yes ; then
   14806     	output_verbose_link_cmd='echo'
   14807         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14808       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14809       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14810       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}'
   14811       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}'
   14812     else
   14813       case $cc_basename in
   14814         xlc*)
   14815          output_verbose_link_cmd='echo'
   14816          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   14817          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14818           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14819          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14820           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}'
   14821           ;;
   14822        *)
   14823          ld_shlibs_F77=no
   14824           ;;
   14825       esac
   14826     fi
   14827       ;;
   14828 
   14829     dgux*)
   14830       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14831       hardcode_libdir_flag_spec_F77='-L$libdir'
   14832       hardcode_shlibpath_var_F77=no
   14833       ;;
   14834 
   14835     freebsd1*)
   14836       ld_shlibs_F77=no
   14837       ;;
   14838 
   14839     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14840     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14841     # does not break anything, and helps significantly (at the cost of a little
   14842     # extra space).
   14843     freebsd2.2*)
   14844       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14845       hardcode_libdir_flag_spec_F77='-R$libdir'
   14846       hardcode_direct_F77=yes
   14847       hardcode_shlibpath_var_F77=no
   14848       ;;
   14849 
   14850     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14851     freebsd2*)
   14852       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14853       hardcode_direct_F77=yes
   14854       hardcode_minus_L_F77=yes
   14855       hardcode_shlibpath_var_F77=no
   14856       ;;
   14857 
   14858     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14859     freebsd* | dragonfly*)
   14860       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14861       hardcode_libdir_flag_spec_F77='-R$libdir'
   14862       hardcode_direct_F77=yes
   14863       hardcode_shlibpath_var_F77=no
   14864       ;;
   14865 
   14866     hpux9*)
   14867       if test "$GCC" = yes; then
   14868 	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'
   14869       else
   14870 	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'
   14871       fi
   14872       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14873       hardcode_libdir_separator_F77=:
   14874       hardcode_direct_F77=yes
   14875 
   14876       # hardcode_minus_L: Not really in the search PATH,
   14877       # but as the default location of the library.
   14878       hardcode_minus_L_F77=yes
   14879       export_dynamic_flag_spec_F77='${wl}-E'
   14880       ;;
   14881 
   14882     hpux10*)
   14883       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14884 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14885       else
   14886 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14887       fi
   14888       if test "$with_gnu_ld" = no; then
   14889 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14890 	hardcode_libdir_separator_F77=:
   14891 
   14892 	hardcode_direct_F77=yes
   14893 	export_dynamic_flag_spec_F77='${wl}-E'
   14894 
   14895 	# hardcode_minus_L: Not really in the search PATH,
   14896 	# but as the default location of the library.
   14897 	hardcode_minus_L_F77=yes
   14898       fi
   14899       ;;
   14900 
   14901     hpux11*)
   14902       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14903 	case $host_cpu in
   14904 	hppa*64*)
   14905 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14906 	  ;;
   14907 	ia64*)
   14908 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14909 	  ;;
   14910 	*)
   14911 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14912 	  ;;
   14913 	esac
   14914       else
   14915 	case $host_cpu in
   14916 	hppa*64*)
   14917 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14918 	  ;;
   14919 	ia64*)
   14920 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14921 	  ;;
   14922 	*)
   14923 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14924 	  ;;
   14925 	esac
   14926       fi
   14927       if test "$with_gnu_ld" = no; then
   14928 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14929 	hardcode_libdir_separator_F77=:
   14930 
   14931 	case $host_cpu in
   14932 	hppa*64*|ia64*)
   14933 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14934 	  hardcode_direct_F77=no
   14935 	  hardcode_shlibpath_var_F77=no
   14936 	  ;;
   14937 	*)
   14938 	  hardcode_direct_F77=yes
   14939 	  export_dynamic_flag_spec_F77='${wl}-E'
   14940 
   14941 	  # hardcode_minus_L: Not really in the search PATH,
   14942 	  # but as the default location of the library.
   14943 	  hardcode_minus_L_F77=yes
   14944 	  ;;
   14945 	esac
   14946       fi
   14947       ;;
   14948 
   14949     irix5* | irix6* | nonstopux*)
   14950       if test "$GCC" = yes; then
   14951 	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'
   14952       else
   14953 	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'
   14954 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14955       fi
   14956       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14957       hardcode_libdir_separator_F77=:
   14958       link_all_deplibs_F77=yes
   14959       ;;
   14960 
   14961     netbsd*)
   14962       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14963 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14964       else
   14965 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14966       fi
   14967       hardcode_libdir_flag_spec_F77='-R$libdir'
   14968       hardcode_direct_F77=yes
   14969       hardcode_shlibpath_var_F77=no
   14970       ;;
   14971 
   14972     newsos6)
   14973       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14974       hardcode_direct_F77=yes
   14975       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14976       hardcode_libdir_separator_F77=:
   14977       hardcode_shlibpath_var_F77=no
   14978       ;;
   14979 
   14980     openbsd*)
   14981       if test -f /usr/libexec/ld.so; then
   14982 	hardcode_direct_F77=yes
   14983 	hardcode_shlibpath_var_F77=no
   14984 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14985 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14986 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14987 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14988 	  export_dynamic_flag_spec_F77='${wl}-E'
   14989 	else
   14990 	  case $host_os in
   14991 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14992 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14993 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   14994 	     ;;
   14995 	   *)
   14996 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14997 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14998 	     ;;
   14999 	  esac
   15000         fi
   15001       else
   15002 	ld_shlibs_F77=no
   15003       fi
   15004       ;;
   15005 
   15006     os2*)
   15007       hardcode_libdir_flag_spec_F77='-L$libdir'
   15008       hardcode_minus_L_F77=yes
   15009       allow_undefined_flag_F77=unsupported
   15010       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'
   15011       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15012       ;;
   15013 
   15014     osf3*)
   15015       if test "$GCC" = yes; then
   15016 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15017 	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'
   15018       else
   15019 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15020 	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'
   15021       fi
   15022       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15023       hardcode_libdir_separator_F77=:
   15024       ;;
   15025 
   15026     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15027       if test "$GCC" = yes; then
   15028 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15029 	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'
   15030 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15031       else
   15032 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15033 	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'
   15034 	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~
   15035 	$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'
   15036 
   15037 	# Both c and cxx compiler support -rpath directly
   15038 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15039       fi
   15040       hardcode_libdir_separator_F77=:
   15041       ;;
   15042 
   15043     solaris*)
   15044       no_undefined_flag_F77=' -z text'
   15045       if test "$GCC" = yes; then
   15046 	wlarc='${wl}'
   15047 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15048 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15049 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15050       else
   15051 	wlarc=''
   15052 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15053 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15054   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15055       fi
   15056       hardcode_libdir_flag_spec_F77='-R$libdir'
   15057       hardcode_shlibpath_var_F77=no
   15058       case $host_os in
   15059       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15060       *)
   15061 	# The compiler driver will combine and reorder linker options,
   15062 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15063 	# but is careful enough not to reorder.
   15064  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15065 	if test "$GCC" = yes; then
   15066 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15067 	else
   15068 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15069 	fi
   15070 	;;
   15071       esac
   15072       link_all_deplibs_F77=yes
   15073       ;;
   15074 
   15075     sunos4*)
   15076       if test "x$host_vendor" = xsequent; then
   15077 	# Use $CC to link under sequent, because it throws in some extra .o
   15078 	# files that make .init and .fini sections work.
   15079 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15080       else
   15081 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15082       fi
   15083       hardcode_libdir_flag_spec_F77='-L$libdir'
   15084       hardcode_direct_F77=yes
   15085       hardcode_minus_L_F77=yes
   15086       hardcode_shlibpath_var_F77=no
   15087       ;;
   15088 
   15089     sysv4)
   15090       case $host_vendor in
   15091 	sni)
   15092 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15093 	  hardcode_direct_F77=yes # is this really true???
   15094 	;;
   15095 	siemens)
   15096 	  ## LD is ld it makes a PLAMLIB
   15097 	  ## CC just makes a GrossModule.
   15098 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15099 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15100 	  hardcode_direct_F77=no
   15101         ;;
   15102 	motorola)
   15103 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15104 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15105 	;;
   15106       esac
   15107       runpath_var='LD_RUN_PATH'
   15108       hardcode_shlibpath_var_F77=no
   15109       ;;
   15110 
   15111     sysv4.3*)
   15112       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15113       hardcode_shlibpath_var_F77=no
   15114       export_dynamic_flag_spec_F77='-Bexport'
   15115       ;;
   15116 
   15117     sysv4*MP*)
   15118       if test -d /usr/nec; then
   15119 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15120 	hardcode_shlibpath_var_F77=no
   15121 	runpath_var=LD_RUN_PATH
   15122 	hardcode_runpath_var=yes
   15123 	ld_shlibs_F77=yes
   15124       fi
   15125       ;;
   15126 
   15127     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15128       no_undefined_flag_F77='${wl}-z,text'
   15129       archive_cmds_need_lc_F77=no
   15130       hardcode_shlibpath_var_F77=no
   15131       runpath_var='LD_RUN_PATH'
   15132 
   15133       if test "$GCC" = yes; then
   15134 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15135 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15136       else
   15137 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15138 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15139       fi
   15140       ;;
   15141 
   15142     sysv5* | sco3.2v5* | sco5v6*)
   15143       # Note: We can NOT use -z defs as we might desire, because we do not
   15144       # link with -lc, and that would cause any symbols used from libc to
   15145       # always be unresolved, which means just about no library would
   15146       # ever link correctly.  If we're not using GNU ld we use -z text
   15147       # though, which does catch some bad symbols but isn't as heavy-handed
   15148       # as -z defs.
   15149       no_undefined_flag_F77='${wl}-z,text'
   15150       allow_undefined_flag_F77='${wl}-z,nodefs'
   15151       archive_cmds_need_lc_F77=no
   15152       hardcode_shlibpath_var_F77=no
   15153       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15154       hardcode_libdir_separator_F77=':'
   15155       link_all_deplibs_F77=yes
   15156       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15157       runpath_var='LD_RUN_PATH'
   15158 
   15159       if test "$GCC" = yes; then
   15160 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15161 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15162       else
   15163 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15164 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15165       fi
   15166       ;;
   15167 
   15168     uts4*)
   15169       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15170       hardcode_libdir_flag_spec_F77='-L$libdir'
   15171       hardcode_shlibpath_var_F77=no
   15172       ;;
   15173 
   15174     *)
   15175       ld_shlibs_F77=no
   15176       ;;
   15177     esac
   15178   fi
   15179 
   15180 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15181 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15182 test "$ld_shlibs_F77" = no && can_build_shared=no
   15183 
   15184 #
   15185 # Do we need to explicitly link libc?
   15186 #
   15187 case "x$archive_cmds_need_lc_F77" in
   15188 x|xyes)
   15189   # Assume -lc should be added
   15190   archive_cmds_need_lc_F77=yes
   15191 
   15192   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15193     case $archive_cmds_F77 in
   15194     *'~'*)
   15195       # FIXME: we may have to deal with multi-command sequences.
   15196       ;;
   15197     '$CC '*)
   15198       # Test whether the compiler implicitly links with -lc since on some
   15199       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15200       # to ld, don't add -lc before -lgcc.
   15201       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15202 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15203       $rm conftest*
   15204       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15205 
   15206       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15207   (eval $ac_compile) 2>&5
   15208   ac_status=$?
   15209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15210   (exit $ac_status); } 2>conftest.err; then
   15211         soname=conftest
   15212         lib=conftest
   15213         libobjs=conftest.$ac_objext
   15214         deplibs=
   15215         wl=$lt_prog_compiler_wl_F77
   15216 	pic_flag=$lt_prog_compiler_pic_F77
   15217         compiler_flags=-v
   15218         linker_flags=-v
   15219         verstring=
   15220         output_objdir=.
   15221         libname=conftest
   15222         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15223         allow_undefined_flag_F77=
   15224         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15225   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15226   ac_status=$?
   15227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15228   (exit $ac_status); }
   15229         then
   15230 	  archive_cmds_need_lc_F77=no
   15231         else
   15232 	  archive_cmds_need_lc_F77=yes
   15233         fi
   15234         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15235       else
   15236         cat conftest.err 1>&5
   15237       fi
   15238       $rm conftest*
   15239       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15240 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15241       ;;
   15242     esac
   15243   fi
   15244   ;;
   15245 esac
   15246 
   15247 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15248 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15249 library_names_spec=
   15250 libname_spec='lib$name'
   15251 soname_spec=
   15252 shrext_cmds=".so"
   15253 postinstall_cmds=
   15254 postuninstall_cmds=
   15255 finish_cmds=
   15256 finish_eval=
   15257 shlibpath_var=
   15258 shlibpath_overrides_runpath=unknown
   15259 version_type=none
   15260 dynamic_linker="$host_os ld.so"
   15261 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15262 
   15263 need_lib_prefix=unknown
   15264 hardcode_into_libs=no
   15265 
   15266 # when you set need_version to no, make sure it does not cause -set_version
   15267 # flags to be left without arguments
   15268 need_version=unknown
   15269 
   15270 case $host_os in
   15271 aix3*)
   15272   version_type=linux
   15273   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15274   shlibpath_var=LIBPATH
   15275 
   15276   # AIX 3 has no versioning support, so we append a major version to the name.
   15277   soname_spec='${libname}${release}${shared_ext}$major'
   15278   ;;
   15279 
   15280 aix4* | aix5*)
   15281   version_type=linux
   15282   need_lib_prefix=no
   15283   need_version=no
   15284   hardcode_into_libs=yes
   15285   if test "$host_cpu" = ia64; then
   15286     # AIX 5 supports IA64
   15287     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15288     shlibpath_var=LD_LIBRARY_PATH
   15289   else
   15290     # With GCC up to 2.95.x, collect2 would create an import file
   15291     # for dependence libraries.  The import file would start with
   15292     # the line `#! .'.  This would cause the generated library to
   15293     # depend on `.', always an invalid library.  This was fixed in
   15294     # development snapshots of GCC prior to 3.0.
   15295     case $host_os in
   15296       aix4 | aix4.[01] | aix4.[01].*)
   15297       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15298 	   echo ' yes '
   15299 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15300 	:
   15301       else
   15302 	can_build_shared=no
   15303       fi
   15304       ;;
   15305     esac
   15306     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15307     # soname into executable. Probably we can add versioning support to
   15308     # collect2, so additional links can be useful in future.
   15309     if test "$aix_use_runtimelinking" = yes; then
   15310       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15311       # instead of lib<name>.a to let people know that these are not
   15312       # typical AIX shared libraries.
   15313       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15314     else
   15315       # We preserve .a as extension for shared libraries through AIX4.2
   15316       # and later when we are not doing run time linking.
   15317       library_names_spec='${libname}${release}.a $libname.a'
   15318       soname_spec='${libname}${release}${shared_ext}$major'
   15319     fi
   15320     shlibpath_var=LIBPATH
   15321   fi
   15322   ;;
   15323 
   15324 amigaos*)
   15325   library_names_spec='$libname.ixlibrary $libname.a'
   15326   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15327   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'
   15328   ;;
   15329 
   15330 beos*)
   15331   library_names_spec='${libname}${shared_ext}'
   15332   dynamic_linker="$host_os ld.so"
   15333   shlibpath_var=LIBRARY_PATH
   15334   ;;
   15335 
   15336 bsdi[45]*)
   15337   version_type=linux
   15338   need_version=no
   15339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15340   soname_spec='${libname}${release}${shared_ext}$major'
   15341   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15342   shlibpath_var=LD_LIBRARY_PATH
   15343   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15344   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15345   # the default ld.so.conf also contains /usr/contrib/lib and
   15346   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15347   # libtool to hard-code these into programs
   15348   ;;
   15349 
   15350 cygwin* | mingw* | pw32*)
   15351   version_type=windows
   15352   shrext_cmds=".dll"
   15353   need_version=no
   15354   need_lib_prefix=no
   15355 
   15356   case $GCC,$host_os in
   15357   yes,cygwin* | yes,mingw* | yes,pw32*)
   15358     library_names_spec='$libname.dll.a'
   15359     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15360     postinstall_cmds='base_file=`basename \${file}`~
   15361       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15362       dldir=$destdir/`dirname \$dlpath`~
   15363       test -d \$dldir || mkdir -p \$dldir~
   15364       $install_prog $dir/$dlname \$dldir/$dlname~
   15365       chmod a+x \$dldir/$dlname'
   15366     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15367       dlpath=$dir/\$dldll~
   15368        $rm \$dlpath'
   15369     shlibpath_overrides_runpath=yes
   15370 
   15371     case $host_os in
   15372     cygwin*)
   15373       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15374       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15375       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15376       ;;
   15377     mingw*)
   15378       # MinGW DLLs use traditional 'lib' prefix
   15379       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15380       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15381       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15382         # It is most probably a Windows format PATH printed by
   15383         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15384         # path with ; separators, and with drive letters. We can handle the
   15385         # drive letters (cygwin fileutils understands them), so leave them,
   15386         # especially as we might pass files found there to a mingw objdump,
   15387         # which wouldn't understand a cygwinified path. Ahh.
   15388         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15389       else
   15390         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15391       fi
   15392       ;;
   15393     pw32*)
   15394       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15395       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15396       ;;
   15397     esac
   15398     ;;
   15399 
   15400   *)
   15401     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15402     ;;
   15403   esac
   15404   dynamic_linker='Win32 ld.exe'
   15405   # FIXME: first we should search . and the directory the executable is in
   15406   shlibpath_var=PATH
   15407   ;;
   15408 
   15409 darwin* | rhapsody*)
   15410   dynamic_linker="$host_os dyld"
   15411   version_type=darwin
   15412   need_lib_prefix=no
   15413   need_version=no
   15414   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15415   soname_spec='${libname}${release}${major}$shared_ext'
   15416   shlibpath_overrides_runpath=yes
   15417   shlibpath_var=DYLD_LIBRARY_PATH
   15418   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15419 
   15420   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15421   ;;
   15422 
   15423 dgux*)
   15424   version_type=linux
   15425   need_lib_prefix=no
   15426   need_version=no
   15427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15428   soname_spec='${libname}${release}${shared_ext}$major'
   15429   shlibpath_var=LD_LIBRARY_PATH
   15430   ;;
   15431 
   15432 freebsd1*)
   15433   dynamic_linker=no
   15434   ;;
   15435 
   15436 freebsd* | dragonfly*)
   15437   # DragonFly does not have aout.  When/if they implement a new
   15438   # versioning mechanism, adjust this.
   15439   if test -x /usr/bin/objformat; then
   15440     objformat=`/usr/bin/objformat`
   15441   else
   15442     case $host_os in
   15443     freebsd[123]*) objformat=aout ;;
   15444     *) objformat=elf ;;
   15445     esac
   15446   fi
   15447   version_type=freebsd-$objformat
   15448   case $version_type in
   15449     freebsd-elf*)
   15450       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15451       need_version=no
   15452       need_lib_prefix=no
   15453       ;;
   15454     freebsd-*)
   15455       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15456       need_version=yes
   15457       ;;
   15458   esac
   15459   shlibpath_var=LD_LIBRARY_PATH
   15460   case $host_os in
   15461   freebsd2*)
   15462     shlibpath_overrides_runpath=yes
   15463     ;;
   15464   freebsd3.[01]* | freebsdelf3.[01]*)
   15465     shlibpath_overrides_runpath=yes
   15466     hardcode_into_libs=yes
   15467     ;;
   15468   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15469   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15470     shlibpath_overrides_runpath=no
   15471     hardcode_into_libs=yes
   15472     ;;
   15473   *) # from 4.6 on, and DragonFly
   15474     shlibpath_overrides_runpath=yes
   15475     hardcode_into_libs=yes
   15476     ;;
   15477   esac
   15478   ;;
   15479 
   15480 gnu*)
   15481   version_type=linux
   15482   need_lib_prefix=no
   15483   need_version=no
   15484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15485   soname_spec='${libname}${release}${shared_ext}$major'
   15486   shlibpath_var=LD_LIBRARY_PATH
   15487   hardcode_into_libs=yes
   15488   ;;
   15489 
   15490 hpux9* | hpux10* | hpux11*)
   15491   # Give a soname corresponding to the major version so that dld.sl refuses to
   15492   # link against other versions.
   15493   version_type=sunos
   15494   need_lib_prefix=no
   15495   need_version=no
   15496   case $host_cpu in
   15497   ia64*)
   15498     shrext_cmds='.so'
   15499     hardcode_into_libs=yes
   15500     dynamic_linker="$host_os dld.so"
   15501     shlibpath_var=LD_LIBRARY_PATH
   15502     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15503     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15504     soname_spec='${libname}${release}${shared_ext}$major'
   15505     if test "X$HPUX_IA64_MODE" = X32; then
   15506       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15507     else
   15508       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15509     fi
   15510     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15511     ;;
   15512    hppa*64*)
   15513      shrext_cmds='.sl'
   15514      hardcode_into_libs=yes
   15515      dynamic_linker="$host_os dld.sl"
   15516      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15517      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15518      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15519      soname_spec='${libname}${release}${shared_ext}$major'
   15520      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15521      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15522      ;;
   15523    *)
   15524     shrext_cmds='.sl'
   15525     dynamic_linker="$host_os dld.sl"
   15526     shlibpath_var=SHLIB_PATH
   15527     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15528     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15529     soname_spec='${libname}${release}${shared_ext}$major'
   15530     ;;
   15531   esac
   15532   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15533   postinstall_cmds='chmod 555 $lib'
   15534   ;;
   15535 
   15536 interix[3-9]*)
   15537   version_type=linux
   15538   need_lib_prefix=no
   15539   need_version=no
   15540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15541   soname_spec='${libname}${release}${shared_ext}$major'
   15542   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15543   shlibpath_var=LD_LIBRARY_PATH
   15544   shlibpath_overrides_runpath=no
   15545   hardcode_into_libs=yes
   15546   ;;
   15547 
   15548 irix5* | irix6* | nonstopux*)
   15549   case $host_os in
   15550     nonstopux*) version_type=nonstopux ;;
   15551     *)
   15552 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15553 		version_type=linux
   15554 	else
   15555 		version_type=irix
   15556 	fi ;;
   15557   esac
   15558   need_lib_prefix=no
   15559   need_version=no
   15560   soname_spec='${libname}${release}${shared_ext}$major'
   15561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15562   case $host_os in
   15563   irix5* | nonstopux*)
   15564     libsuff= shlibsuff=
   15565     ;;
   15566   *)
   15567     case $LD in # libtool.m4 will add one of these switches to LD
   15568     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15569       libsuff= shlibsuff= libmagic=32-bit;;
   15570     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15571       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15572     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15573       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15574     *) libsuff= shlibsuff= libmagic=never-match;;
   15575     esac
   15576     ;;
   15577   esac
   15578   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15579   shlibpath_overrides_runpath=no
   15580   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15581   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15582   hardcode_into_libs=yes
   15583   ;;
   15584 
   15585 # No shared lib support for Linux oldld, aout, or coff.
   15586 linux*oldld* | linux*aout* | linux*coff*)
   15587   dynamic_linker=no
   15588   ;;
   15589 
   15590 # This must be Linux ELF.
   15591 linux* | k*bsd*-gnu)
   15592   version_type=linux
   15593   need_lib_prefix=no
   15594   need_version=no
   15595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15596   soname_spec='${libname}${release}${shared_ext}$major'
   15597   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15598   shlibpath_var=LD_LIBRARY_PATH
   15599   shlibpath_overrides_runpath=no
   15600   # This implies no fast_install, which is unacceptable.
   15601   # Some rework will be needed to allow for fast_install
   15602   # before this can be enabled.
   15603   hardcode_into_libs=yes
   15604 
   15605   # Append ld.so.conf contents to the search path
   15606   if test -f /etc/ld.so.conf; then
   15607     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   15608     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15609   fi
   15610 
   15611   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15612   # powerpc, because MkLinux only supported shared libraries with the
   15613   # GNU dynamic linker.  Since this was broken with cross compilers,
   15614   # most powerpc-linux boxes support dynamic linking these days and
   15615   # people can always --disable-shared, the test was removed, and we
   15616   # assume the GNU/Linux dynamic linker is in use.
   15617   dynamic_linker='GNU/Linux ld.so'
   15618   ;;
   15619 
   15620 netbsd*)
   15621   version_type=sunos
   15622   need_lib_prefix=no
   15623   need_version=no
   15624   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15625     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15626     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15627     dynamic_linker='NetBSD (a.out) ld.so'
   15628   else
   15629     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15630     soname_spec='${libname}${release}${shared_ext}$major'
   15631     dynamic_linker='NetBSD ld.elf_so'
   15632   fi
   15633   shlibpath_var=LD_LIBRARY_PATH
   15634   shlibpath_overrides_runpath=yes
   15635   hardcode_into_libs=yes
   15636   ;;
   15637 
   15638 newsos6)
   15639   version_type=linux
   15640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15641   shlibpath_var=LD_LIBRARY_PATH
   15642   shlibpath_overrides_runpath=yes
   15643   ;;
   15644 
   15645 nto-qnx*)
   15646   version_type=linux
   15647   need_lib_prefix=no
   15648   need_version=no
   15649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15650   soname_spec='${libname}${release}${shared_ext}$major'
   15651   shlibpath_var=LD_LIBRARY_PATH
   15652   shlibpath_overrides_runpath=yes
   15653   ;;
   15654 
   15655 openbsd*)
   15656   version_type=sunos
   15657   sys_lib_dlsearch_path_spec="/usr/lib"
   15658   need_lib_prefix=no
   15659   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15660   case $host_os in
   15661     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15662     *)                         need_version=no  ;;
   15663   esac
   15664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15665   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15666   shlibpath_var=LD_LIBRARY_PATH
   15667   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15668     case $host_os in
   15669       openbsd2.[89] | openbsd2.[89].*)
   15670 	shlibpath_overrides_runpath=no
   15671 	;;
   15672       *)
   15673 	shlibpath_overrides_runpath=yes
   15674 	;;
   15675       esac
   15676   else
   15677     shlibpath_overrides_runpath=yes
   15678   fi
   15679   ;;
   15680 
   15681 os2*)
   15682   libname_spec='$name'
   15683   shrext_cmds=".dll"
   15684   need_lib_prefix=no
   15685   library_names_spec='$libname${shared_ext} $libname.a'
   15686   dynamic_linker='OS/2 ld.exe'
   15687   shlibpath_var=LIBPATH
   15688   ;;
   15689 
   15690 osf3* | osf4* | osf5*)
   15691   version_type=osf
   15692   need_lib_prefix=no
   15693   need_version=no
   15694   soname_spec='${libname}${release}${shared_ext}$major'
   15695   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15696   shlibpath_var=LD_LIBRARY_PATH
   15697   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15698   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15699   ;;
   15700 
   15701 rdos*)
   15702   dynamic_linker=no
   15703   ;;
   15704 
   15705 solaris*)
   15706   version_type=linux
   15707   need_lib_prefix=no
   15708   need_version=no
   15709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15710   soname_spec='${libname}${release}${shared_ext}$major'
   15711   shlibpath_var=LD_LIBRARY_PATH
   15712   shlibpath_overrides_runpath=yes
   15713   hardcode_into_libs=yes
   15714   # ldd complains unless libraries are executable
   15715   postinstall_cmds='chmod +x $lib'
   15716   ;;
   15717 
   15718 sunos4*)
   15719   version_type=sunos
   15720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15721   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15722   shlibpath_var=LD_LIBRARY_PATH
   15723   shlibpath_overrides_runpath=yes
   15724   if test "$with_gnu_ld" = yes; then
   15725     need_lib_prefix=no
   15726   fi
   15727   need_version=yes
   15728   ;;
   15729 
   15730 sysv4 | sysv4.3*)
   15731   version_type=linux
   15732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15733   soname_spec='${libname}${release}${shared_ext}$major'
   15734   shlibpath_var=LD_LIBRARY_PATH
   15735   case $host_vendor in
   15736     sni)
   15737       shlibpath_overrides_runpath=no
   15738       need_lib_prefix=no
   15739       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15740       runpath_var=LD_RUN_PATH
   15741       ;;
   15742     siemens)
   15743       need_lib_prefix=no
   15744       ;;
   15745     motorola)
   15746       need_lib_prefix=no
   15747       need_version=no
   15748       shlibpath_overrides_runpath=no
   15749       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15750       ;;
   15751   esac
   15752   ;;
   15753 
   15754 sysv4*MP*)
   15755   if test -d /usr/nec ;then
   15756     version_type=linux
   15757     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15758     soname_spec='$libname${shared_ext}.$major'
   15759     shlibpath_var=LD_LIBRARY_PATH
   15760   fi
   15761   ;;
   15762 
   15763 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15764   version_type=freebsd-elf
   15765   need_lib_prefix=no
   15766   need_version=no
   15767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15768   soname_spec='${libname}${release}${shared_ext}$major'
   15769   shlibpath_var=LD_LIBRARY_PATH
   15770   hardcode_into_libs=yes
   15771   if test "$with_gnu_ld" = yes; then
   15772     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15773     shlibpath_overrides_runpath=no
   15774   else
   15775     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15776     shlibpath_overrides_runpath=yes
   15777     case $host_os in
   15778       sco3.2v5*)
   15779         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15780 	;;
   15781     esac
   15782   fi
   15783   sys_lib_dlsearch_path_spec='/usr/lib'
   15784   ;;
   15785 
   15786 uts4*)
   15787   version_type=linux
   15788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15789   soname_spec='${libname}${release}${shared_ext}$major'
   15790   shlibpath_var=LD_LIBRARY_PATH
   15791   ;;
   15792 
   15793 *)
   15794   dynamic_linker=no
   15795   ;;
   15796 esac
   15797 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15798 echo "${ECHO_T}$dynamic_linker" >&6; }
   15799 test "$dynamic_linker" = no && can_build_shared=no
   15800 
   15801 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15802 if test "$GCC" = yes; then
   15803   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15804 fi
   15805 
   15806 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15807 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15808 hardcode_action_F77=
   15809 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15810    test -n "$runpath_var_F77" || \
   15811    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15812 
   15813   # We can hardcode non-existant directories.
   15814   if test "$hardcode_direct_F77" != no &&
   15815      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15816      # have to relink, otherwise we might link with an installed library
   15817      # when we should be linking with a yet-to-be-installed one
   15818      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15819      test "$hardcode_minus_L_F77" != no; then
   15820     # Linking always hardcodes the temporary library directory.
   15821     hardcode_action_F77=relink
   15822   else
   15823     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15824     hardcode_action_F77=immediate
   15825   fi
   15826 else
   15827   # We cannot hardcode anything, or else we can only hardcode existing
   15828   # directories.
   15829   hardcode_action_F77=unsupported
   15830 fi
   15831 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15832 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15833 
   15834 if test "$hardcode_action_F77" = relink; then
   15835   # Fast installation is not supported
   15836   enable_fast_install=no
   15837 elif test "$shlibpath_overrides_runpath" = yes ||
   15838      test "$enable_shared" = no; then
   15839   # Fast installation is not necessary
   15840   enable_fast_install=needless
   15841 fi
   15842 
   15843 
   15844 # The else clause should only fire when bootstrapping the
   15845 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15846 # with your package, and you will get complaints that there are
   15847 # no rules to generate ltmain.sh.
   15848 if test -f "$ltmain"; then
   15849   # See if we are running on zsh, and set the options which allow our commands through
   15850   # without removal of \ escapes.
   15851   if test -n "${ZSH_VERSION+set}" ; then
   15852     setopt NO_GLOB_SUBST
   15853   fi
   15854   # Now quote all the things that may contain metacharacters while being
   15855   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15856   # variables and quote the copies for generation of the libtool script.
   15857   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15858     SED SHELL STRIP \
   15859     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15860     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15861     deplibs_check_method reload_flag reload_cmds need_locks \
   15862     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15863     lt_cv_sys_global_symbol_to_c_name_address \
   15864     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15865     old_postinstall_cmds old_postuninstall_cmds \
   15866     compiler_F77 \
   15867     CC_F77 \
   15868     LD_F77 \
   15869     lt_prog_compiler_wl_F77 \
   15870     lt_prog_compiler_pic_F77 \
   15871     lt_prog_compiler_static_F77 \
   15872     lt_prog_compiler_no_builtin_flag_F77 \
   15873     export_dynamic_flag_spec_F77 \
   15874     thread_safe_flag_spec_F77 \
   15875     whole_archive_flag_spec_F77 \
   15876     enable_shared_with_static_runtimes_F77 \
   15877     old_archive_cmds_F77 \
   15878     old_archive_from_new_cmds_F77 \
   15879     predep_objects_F77 \
   15880     postdep_objects_F77 \
   15881     predeps_F77 \
   15882     postdeps_F77 \
   15883     compiler_lib_search_path_F77 \
   15884     archive_cmds_F77 \
   15885     archive_expsym_cmds_F77 \
   15886     postinstall_cmds_F77 \
   15887     postuninstall_cmds_F77 \
   15888     old_archive_from_expsyms_cmds_F77 \
   15889     allow_undefined_flag_F77 \
   15890     no_undefined_flag_F77 \
   15891     export_symbols_cmds_F77 \
   15892     hardcode_libdir_flag_spec_F77 \
   15893     hardcode_libdir_flag_spec_ld_F77 \
   15894     hardcode_libdir_separator_F77 \
   15895     hardcode_automatic_F77 \
   15896     module_cmds_F77 \
   15897     module_expsym_cmds_F77 \
   15898     lt_cv_prog_compiler_c_o_F77 \
   15899     fix_srcfile_path_F77 \
   15900     exclude_expsyms_F77 \
   15901     include_expsyms_F77; do
   15902 
   15903     case $var in
   15904     old_archive_cmds_F77 | \
   15905     old_archive_from_new_cmds_F77 | \
   15906     archive_cmds_F77 | \
   15907     archive_expsym_cmds_F77 | \
   15908     module_cmds_F77 | \
   15909     module_expsym_cmds_F77 | \
   15910     old_archive_from_expsyms_cmds_F77 | \
   15911     export_symbols_cmds_F77 | \
   15912     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15913     postinstall_cmds | postuninstall_cmds | \
   15914     old_postinstall_cmds | old_postuninstall_cmds | \
   15915     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15916       # Double-quote double-evaled strings.
   15917       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15918       ;;
   15919     *)
   15920       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15921       ;;
   15922     esac
   15923   done
   15924 
   15925   case $lt_echo in
   15926   *'\$0 --fallback-echo"')
   15927     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15928     ;;
   15929   esac
   15930 
   15931 cfgfile="$ofile"
   15932 
   15933   cat <<__EOF__ >> "$cfgfile"
   15934 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15935 
   15936 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15937 
   15938 # Shell to use when invoking shell scripts.
   15939 SHELL=$lt_SHELL
   15940 
   15941 # Whether or not to build shared libraries.
   15942 build_libtool_libs=$enable_shared
   15943 
   15944 # Whether or not to build static libraries.
   15945 build_old_libs=$enable_static
   15946 
   15947 # Whether or not to add -lc for building shared libraries.
   15948 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15949 
   15950 # Whether or not to disallow shared libs when runtime libs are static
   15951 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15952 
   15953 # Whether or not to optimize for fast installation.
   15954 fast_install=$enable_fast_install
   15955 
   15956 # The host system.
   15957 host_alias=$host_alias
   15958 host=$host
   15959 host_os=$host_os
   15960 
   15961 # The build system.
   15962 build_alias=$build_alias
   15963 build=$build
   15964 build_os=$build_os
   15965 
   15966 # An echo program that does not interpret backslashes.
   15967 echo=$lt_echo
   15968 
   15969 # The archiver.
   15970 AR=$lt_AR
   15971 AR_FLAGS=$lt_AR_FLAGS
   15972 
   15973 # A C compiler.
   15974 LTCC=$lt_LTCC
   15975 
   15976 # LTCC compiler flags.
   15977 LTCFLAGS=$lt_LTCFLAGS
   15978 
   15979 # A language-specific compiler.
   15980 CC=$lt_compiler_F77
   15981 
   15982 # Is the compiler the GNU C compiler?
   15983 with_gcc=$GCC_F77
   15984 
   15985 # An ERE matcher.
   15986 EGREP=$lt_EGREP
   15987 
   15988 # The linker used to build libraries.
   15989 LD=$lt_LD_F77
   15990 
   15991 # Whether we need hard or soft links.
   15992 LN_S=$lt_LN_S
   15993 
   15994 # A BSD-compatible nm program.
   15995 NM=$lt_NM
   15996 
   15997 # A symbol stripping program
   15998 STRIP=$lt_STRIP
   15999 
   16000 # Used to examine libraries when file_magic_cmd begins "file"
   16001 MAGIC_CMD=$MAGIC_CMD
   16002 
   16003 # Used on cygwin: DLL creation program.
   16004 DLLTOOL="$DLLTOOL"
   16005 
   16006 # Used on cygwin: object dumper.
   16007 OBJDUMP="$OBJDUMP"
   16008 
   16009 # Used on cygwin: assembler.
   16010 AS="$AS"
   16011 
   16012 # The name of the directory that contains temporary libtool files.
   16013 objdir=$objdir
   16014 
   16015 # How to create reloadable object files.
   16016 reload_flag=$lt_reload_flag
   16017 reload_cmds=$lt_reload_cmds
   16018 
   16019 # How to pass a linker flag through the compiler.
   16020 wl=$lt_lt_prog_compiler_wl_F77
   16021 
   16022 # Object file suffix (normally "o").
   16023 objext="$ac_objext"
   16024 
   16025 # Old archive suffix (normally "a").
   16026 libext="$libext"
   16027 
   16028 # Shared library suffix (normally ".so").
   16029 shrext_cmds='$shrext_cmds'
   16030 
   16031 # Executable file suffix (normally "").
   16032 exeext="$exeext"
   16033 
   16034 # Additional compiler flags for building library objects.
   16035 pic_flag=$lt_lt_prog_compiler_pic_F77
   16036 pic_mode=$pic_mode
   16037 
   16038 # What is the maximum length of a command?
   16039 max_cmd_len=$lt_cv_sys_max_cmd_len
   16040 
   16041 # Does compiler simultaneously support -c and -o options?
   16042 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16043 
   16044 # Must we lock files when doing compilation?
   16045 need_locks=$lt_need_locks
   16046 
   16047 # Do we need the lib prefix for modules?
   16048 need_lib_prefix=$need_lib_prefix
   16049 
   16050 # Do we need a version for libraries?
   16051 need_version=$need_version
   16052 
   16053 # Whether dlopen is supported.
   16054 dlopen_support=$enable_dlopen
   16055 
   16056 # Whether dlopen of programs is supported.
   16057 dlopen_self=$enable_dlopen_self
   16058 
   16059 # Whether dlopen of statically linked programs is supported.
   16060 dlopen_self_static=$enable_dlopen_self_static
   16061 
   16062 # Compiler flag to prevent dynamic linking.
   16063 link_static_flag=$lt_lt_prog_compiler_static_F77
   16064 
   16065 # Compiler flag to turn off builtin functions.
   16066 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16067 
   16068 # Compiler flag to allow reflexive dlopens.
   16069 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16070 
   16071 # Compiler flag to generate shared objects directly from archives.
   16072 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16073 
   16074 # Compiler flag to generate thread-safe objects.
   16075 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16076 
   16077 # Library versioning type.
   16078 version_type=$version_type
   16079 
   16080 # Format of library name prefix.
   16081 libname_spec=$lt_libname_spec
   16082 
   16083 # List of archive names.  First name is the real one, the rest are links.
   16084 # The last name is the one that the linker finds with -lNAME.
   16085 library_names_spec=$lt_library_names_spec
   16086 
   16087 # The coded name of the library, if different from the real name.
   16088 soname_spec=$lt_soname_spec
   16089 
   16090 # Commands used to build and install an old-style archive.
   16091 RANLIB=$lt_RANLIB
   16092 old_archive_cmds=$lt_old_archive_cmds_F77
   16093 old_postinstall_cmds=$lt_old_postinstall_cmds
   16094 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16095 
   16096 # Create an old-style archive from a shared archive.
   16097 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16098 
   16099 # Create a temporary old-style archive to link instead of a shared archive.
   16100 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16101 
   16102 # Commands used to build and install a shared archive.
   16103 archive_cmds=$lt_archive_cmds_F77
   16104 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16105 postinstall_cmds=$lt_postinstall_cmds
   16106 postuninstall_cmds=$lt_postuninstall_cmds
   16107 
   16108 # Commands used to build a loadable module (assumed same as above if empty)
   16109 module_cmds=$lt_module_cmds_F77
   16110 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16111 
   16112 # Commands to strip libraries.
   16113 old_striplib=$lt_old_striplib
   16114 striplib=$lt_striplib
   16115 
   16116 # Dependencies to place before the objects being linked to create a
   16117 # shared library.
   16118 predep_objects=$lt_predep_objects_F77
   16119 
   16120 # Dependencies to place after the objects being linked to create a
   16121 # shared library.
   16122 postdep_objects=$lt_postdep_objects_F77
   16123 
   16124 # Dependencies to place before the objects being linked to create a
   16125 # shared library.
   16126 predeps=$lt_predeps_F77
   16127 
   16128 # Dependencies to place after the objects being linked to create a
   16129 # shared library.
   16130 postdeps=$lt_postdeps_F77
   16131 
   16132 # The library search path used internally by the compiler when linking
   16133 # a shared library.
   16134 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16135 
   16136 # Method to check whether dependent libraries are shared objects.
   16137 deplibs_check_method=$lt_deplibs_check_method
   16138 
   16139 # Command to use when deplibs_check_method == file_magic.
   16140 file_magic_cmd=$lt_file_magic_cmd
   16141 
   16142 # Flag that allows shared libraries with undefined symbols to be built.
   16143 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16144 
   16145 # Flag that forces no undefined symbols.
   16146 no_undefined_flag=$lt_no_undefined_flag_F77
   16147 
   16148 # Commands used to finish a libtool library installation in a directory.
   16149 finish_cmds=$lt_finish_cmds
   16150 
   16151 # Same as above, but a single script fragment to be evaled but not shown.
   16152 finish_eval=$lt_finish_eval
   16153 
   16154 # Take the output of nm and produce a listing of raw symbols and C names.
   16155 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16156 
   16157 # Transform the output of nm in a proper C declaration
   16158 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16159 
   16160 # Transform the output of nm in a C name address pair
   16161 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16162 
   16163 # This is the shared library runtime path variable.
   16164 runpath_var=$runpath_var
   16165 
   16166 # This is the shared library path variable.
   16167 shlibpath_var=$shlibpath_var
   16168 
   16169 # Is shlibpath searched before the hard-coded library search path?
   16170 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16171 
   16172 # How to hardcode a shared library path into an executable.
   16173 hardcode_action=$hardcode_action_F77
   16174 
   16175 # Whether we should hardcode library paths into libraries.
   16176 hardcode_into_libs=$hardcode_into_libs
   16177 
   16178 # Flag to hardcode \$libdir into a binary during linking.
   16179 # This must work even if \$libdir does not exist.
   16180 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16181 
   16182 # If ld is used when linking, flag to hardcode \$libdir into
   16183 # a binary during linking. This must work even if \$libdir does
   16184 # not exist.
   16185 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16186 
   16187 # Whether we need a single -rpath flag with a separated argument.
   16188 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16189 
   16190 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16191 # resulting binary.
   16192 hardcode_direct=$hardcode_direct_F77
   16193 
   16194 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16195 # resulting binary.
   16196 hardcode_minus_L=$hardcode_minus_L_F77
   16197 
   16198 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16199 # the resulting binary.
   16200 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16201 
   16202 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16203 # and all subsequent libraries and executables linked against it.
   16204 hardcode_automatic=$hardcode_automatic_F77
   16205 
   16206 # Variables whose values should be saved in libtool wrapper scripts and
   16207 # restored at relink time.
   16208 variables_saved_for_relink="$variables_saved_for_relink"
   16209 
   16210 # Whether libtool must link a program against all its dependency libraries.
   16211 link_all_deplibs=$link_all_deplibs_F77
   16212 
   16213 # Compile-time system search path for libraries
   16214 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16215 
   16216 # Run-time system search path for libraries
   16217 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16218 
   16219 # Fix the shell variable \$srcfile for the compiler.
   16220 fix_srcfile_path=$lt_fix_srcfile_path
   16221 
   16222 # Set to yes if exported symbols are required.
   16223 always_export_symbols=$always_export_symbols_F77
   16224 
   16225 # The commands to list exported symbols.
   16226 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16227 
   16228 # The commands to extract the exported symbol list from a shared archive.
   16229 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16230 
   16231 # Symbols that should not be listed in the preloaded symbols.
   16232 exclude_expsyms=$lt_exclude_expsyms_F77
   16233 
   16234 # Symbols that must always be exported.
   16235 include_expsyms=$lt_include_expsyms_F77
   16236 
   16237 # ### END LIBTOOL TAG CONFIG: $tagname
   16238 
   16239 __EOF__
   16240 
   16241 
   16242 else
   16243   # If there is no Makefile yet, we rely on a make rule to execute
   16244   # `config.status --recheck' to rerun these tests and create the
   16245   # libtool script then.
   16246   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16247   if test -f "$ltmain_in"; then
   16248     test -f Makefile && make "$ltmain"
   16249   fi
   16250 fi
   16251 
   16252 
   16253 ac_ext=c
   16254 ac_cpp='$CPP $CPPFLAGS'
   16255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16258 
   16259 CC="$lt_save_CC"
   16260 
   16261 	else
   16262 	  tagname=""
   16263 	fi
   16264 	;;
   16265 
   16266       GCJ)
   16267 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16268 
   16269 
   16270 # Source file extension for Java test sources.
   16271 ac_ext=java
   16272 
   16273 # Object file extension for compiled Java test sources.
   16274 objext=o
   16275 objext_GCJ=$objext
   16276 
   16277 # Code to be used in simple compile tests
   16278 lt_simple_compile_test_code="class foo {}"
   16279 
   16280 # Code to be used in simple link tests
   16281 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16282 
   16283 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16284 
   16285 # If no C compiler was specified, use CC.
   16286 LTCC=${LTCC-"$CC"}
   16287 
   16288 # If no C compiler flags were specified, use CFLAGS.
   16289 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16290 
   16291 # Allow CC to be a program name with arguments.
   16292 compiler=$CC
   16293 
   16294 
   16295 # save warnings/boilerplate of simple test code
   16296 ac_outfile=conftest.$ac_objext
   16297 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16298 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16299 _lt_compiler_boilerplate=`cat conftest.err`
   16300 $rm conftest*
   16301 
   16302 ac_outfile=conftest.$ac_objext
   16303 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16304 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16305 _lt_linker_boilerplate=`cat conftest.err`
   16306 $rm conftest*
   16307 
   16308 
   16309 # Allow CC to be a program name with arguments.
   16310 lt_save_CC="$CC"
   16311 CC=${GCJ-"gcj"}
   16312 compiler=$CC
   16313 compiler_GCJ=$CC
   16314 for cc_temp in $compiler""; do
   16315   case $cc_temp in
   16316     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16317     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16318     \-*) ;;
   16319     *) break;;
   16320   esac
   16321 done
   16322 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16323 
   16324 
   16325 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16326 archive_cmds_need_lc_GCJ=no
   16327 
   16328 old_archive_cmds_GCJ=$old_archive_cmds
   16329 
   16330 
   16331 lt_prog_compiler_no_builtin_flag_GCJ=
   16332 
   16333 if test "$GCC" = yes; then
   16334   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16335 
   16336 
   16337 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16338 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16339 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16340   echo $ECHO_N "(cached) $ECHO_C" >&6
   16341 else
   16342   lt_cv_prog_compiler_rtti_exceptions=no
   16343   ac_outfile=conftest.$ac_objext
   16344    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16345    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16346    # Insert the option either (1) after the last *FLAGS variable, or
   16347    # (2) before a word containing "conftest.", or (3) at the end.
   16348    # Note that $ac_compile itself does not contain backslashes and begins
   16349    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16350    # The option is referenced via a variable to avoid confusing sed.
   16351    lt_compile=`echo "$ac_compile" | $SED \
   16352    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16353    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16354    -e 's:$: $lt_compiler_flag:'`
   16355    (eval echo "\"\$as_me:16355: $lt_compile\"" >&5)
   16356    (eval "$lt_compile" 2>conftest.err)
   16357    ac_status=$?
   16358    cat conftest.err >&5
   16359    echo "$as_me:16359: \$? = $ac_status" >&5
   16360    if (exit $ac_status) && test -s "$ac_outfile"; then
   16361      # The compiler can only warn and ignore the option if not recognized
   16362      # So say no if there are warnings other than the usual output.
   16363      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16364      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16365      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16366        lt_cv_prog_compiler_rtti_exceptions=yes
   16367      fi
   16368    fi
   16369    $rm conftest*
   16370 
   16371 fi
   16372 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16373 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16374 
   16375 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16376     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16377 else
   16378     :
   16379 fi
   16380 
   16381 fi
   16382 
   16383 lt_prog_compiler_wl_GCJ=
   16384 lt_prog_compiler_pic_GCJ=
   16385 lt_prog_compiler_static_GCJ=
   16386 
   16387 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16388 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16389 
   16390   if test "$GCC" = yes; then
   16391     lt_prog_compiler_wl_GCJ='-Wl,'
   16392     lt_prog_compiler_static_GCJ='-static'
   16393 
   16394     case $host_os in
   16395       aix*)
   16396       # All AIX code is PIC.
   16397       if test "$host_cpu" = ia64; then
   16398 	# AIX 5 now supports IA64 processor
   16399 	lt_prog_compiler_static_GCJ='-Bstatic'
   16400       fi
   16401       ;;
   16402 
   16403     amigaos*)
   16404       # FIXME: we need at least 68020 code to build shared libraries, but
   16405       # adding the `-m68020' flag to GCC prevents building anything better,
   16406       # like `-m68040'.
   16407       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16408       ;;
   16409 
   16410     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16411       # PIC is the default for these OSes.
   16412       ;;
   16413 
   16414     mingw* | cygwin* | pw32* | os2*)
   16415       # This hack is so that the source file can tell whether it is being
   16416       # built for inclusion in a dll (and should export symbols for example).
   16417       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16418       # (--disable-auto-import) libraries
   16419       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16420       ;;
   16421 
   16422     darwin* | rhapsody*)
   16423       # PIC is the default on this platform
   16424       # Common symbols not allowed in MH_DYLIB files
   16425       lt_prog_compiler_pic_GCJ='-fno-common'
   16426       ;;
   16427 
   16428     interix[3-9]*)
   16429       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16430       # Instead, we relocate shared libraries at runtime.
   16431       ;;
   16432 
   16433     msdosdjgpp*)
   16434       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16435       # on systems that don't support them.
   16436       lt_prog_compiler_can_build_shared_GCJ=no
   16437       enable_shared=no
   16438       ;;
   16439 
   16440     sysv4*MP*)
   16441       if test -d /usr/nec; then
   16442 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16443       fi
   16444       ;;
   16445 
   16446     hpux*)
   16447       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16448       # not for PA HP-UX.
   16449       case $host_cpu in
   16450       hppa*64*|ia64*)
   16451 	# +Z the default
   16452 	;;
   16453       *)
   16454 	lt_prog_compiler_pic_GCJ='-fPIC'
   16455 	;;
   16456       esac
   16457       ;;
   16458 
   16459     *)
   16460       lt_prog_compiler_pic_GCJ='-fPIC'
   16461       ;;
   16462     esac
   16463   else
   16464     # PORTME Check for flag to pass linker flags through the system compiler.
   16465     case $host_os in
   16466     aix*)
   16467       lt_prog_compiler_wl_GCJ='-Wl,'
   16468       if test "$host_cpu" = ia64; then
   16469 	# AIX 5 now supports IA64 processor
   16470 	lt_prog_compiler_static_GCJ='-Bstatic'
   16471       else
   16472 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16473       fi
   16474       ;;
   16475       darwin*)
   16476         # PIC is the default on this platform
   16477         # Common symbols not allowed in MH_DYLIB files
   16478        case $cc_basename in
   16479          xlc*)
   16480          lt_prog_compiler_pic_GCJ='-qnocommon'
   16481          lt_prog_compiler_wl_GCJ='-Wl,'
   16482          ;;
   16483        esac
   16484        ;;
   16485 
   16486     mingw* | cygwin* | pw32* | os2*)
   16487       # This hack is so that the source file can tell whether it is being
   16488       # built for inclusion in a dll (and should export symbols for example).
   16489       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16490       ;;
   16491 
   16492     hpux9* | hpux10* | hpux11*)
   16493       lt_prog_compiler_wl_GCJ='-Wl,'
   16494       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16495       # not for PA HP-UX.
   16496       case $host_cpu in
   16497       hppa*64*|ia64*)
   16498 	# +Z the default
   16499 	;;
   16500       *)
   16501 	lt_prog_compiler_pic_GCJ='+Z'
   16502 	;;
   16503       esac
   16504       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16505       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16506       ;;
   16507 
   16508     irix5* | irix6* | nonstopux*)
   16509       lt_prog_compiler_wl_GCJ='-Wl,'
   16510       # PIC (with -KPIC) is the default.
   16511       lt_prog_compiler_static_GCJ='-non_shared'
   16512       ;;
   16513 
   16514     newsos6)
   16515       lt_prog_compiler_pic_GCJ='-KPIC'
   16516       lt_prog_compiler_static_GCJ='-Bstatic'
   16517       ;;
   16518 
   16519     linux* | k*bsd*-gnu)
   16520       case $cc_basename in
   16521       icc* | ecc*)
   16522 	lt_prog_compiler_wl_GCJ='-Wl,'
   16523 	lt_prog_compiler_pic_GCJ='-KPIC'
   16524 	lt_prog_compiler_static_GCJ='-static'
   16525         ;;
   16526       pgcc* | pgf77* | pgf90* | pgf95*)
   16527         # Portland Group compilers (*not* the Pentium gcc compiler,
   16528 	# which looks to be a dead project)
   16529 	lt_prog_compiler_wl_GCJ='-Wl,'
   16530 	lt_prog_compiler_pic_GCJ='-fpic'
   16531 	lt_prog_compiler_static_GCJ='-Bstatic'
   16532         ;;
   16533       ccc*)
   16534         lt_prog_compiler_wl_GCJ='-Wl,'
   16535         # All Alpha code is PIC.
   16536         lt_prog_compiler_static_GCJ='-non_shared'
   16537         ;;
   16538       *)
   16539         case `$CC -V 2>&1 | sed 5q` in
   16540 	*Sun\ C*)
   16541 	  # Sun C 5.9
   16542 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16543 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16544 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16545 	  ;;
   16546 	*Sun\ F*)
   16547 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16548 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16549 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16550 	  lt_prog_compiler_wl_GCJ=''
   16551 	  ;;
   16552 	esac
   16553 	;;
   16554       esac
   16555       ;;
   16556 
   16557     osf3* | osf4* | osf5*)
   16558       lt_prog_compiler_wl_GCJ='-Wl,'
   16559       # All OSF/1 code is PIC.
   16560       lt_prog_compiler_static_GCJ='-non_shared'
   16561       ;;
   16562 
   16563     rdos*)
   16564       lt_prog_compiler_static_GCJ='-non_shared'
   16565       ;;
   16566 
   16567     solaris*)
   16568       lt_prog_compiler_pic_GCJ='-KPIC'
   16569       lt_prog_compiler_static_GCJ='-Bstatic'
   16570       case $cc_basename in
   16571       f77* | f90* | f95*)
   16572 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16573       *)
   16574 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16575       esac
   16576       ;;
   16577 
   16578     sunos4*)
   16579       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16580       lt_prog_compiler_pic_GCJ='-PIC'
   16581       lt_prog_compiler_static_GCJ='-Bstatic'
   16582       ;;
   16583 
   16584     sysv4 | sysv4.2uw2* | sysv4.3*)
   16585       lt_prog_compiler_wl_GCJ='-Wl,'
   16586       lt_prog_compiler_pic_GCJ='-KPIC'
   16587       lt_prog_compiler_static_GCJ='-Bstatic'
   16588       ;;
   16589 
   16590     sysv4*MP*)
   16591       if test -d /usr/nec ;then
   16592 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16593 	lt_prog_compiler_static_GCJ='-Bstatic'
   16594       fi
   16595       ;;
   16596 
   16597     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16598       lt_prog_compiler_wl_GCJ='-Wl,'
   16599       lt_prog_compiler_pic_GCJ='-KPIC'
   16600       lt_prog_compiler_static_GCJ='-Bstatic'
   16601       ;;
   16602 
   16603     unicos*)
   16604       lt_prog_compiler_wl_GCJ='-Wl,'
   16605       lt_prog_compiler_can_build_shared_GCJ=no
   16606       ;;
   16607 
   16608     uts4*)
   16609       lt_prog_compiler_pic_GCJ='-pic'
   16610       lt_prog_compiler_static_GCJ='-Bstatic'
   16611       ;;
   16612 
   16613     *)
   16614       lt_prog_compiler_can_build_shared_GCJ=no
   16615       ;;
   16616     esac
   16617   fi
   16618 
   16619 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16620 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16621 
   16622 #
   16623 # Check to make sure the PIC flag actually works.
   16624 #
   16625 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16626 
   16627 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16628 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16629 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16630   echo $ECHO_N "(cached) $ECHO_C" >&6
   16631 else
   16632   lt_prog_compiler_pic_works_GCJ=no
   16633   ac_outfile=conftest.$ac_objext
   16634    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16635    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16636    # Insert the option either (1) after the last *FLAGS variable, or
   16637    # (2) before a word containing "conftest.", or (3) at the end.
   16638    # Note that $ac_compile itself does not contain backslashes and begins
   16639    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16640    # The option is referenced via a variable to avoid confusing sed.
   16641    lt_compile=`echo "$ac_compile" | $SED \
   16642    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16643    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16644    -e 's:$: $lt_compiler_flag:'`
   16645    (eval echo "\"\$as_me:16645: $lt_compile\"" >&5)
   16646    (eval "$lt_compile" 2>conftest.err)
   16647    ac_status=$?
   16648    cat conftest.err >&5
   16649    echo "$as_me:16649: \$? = $ac_status" >&5
   16650    if (exit $ac_status) && test -s "$ac_outfile"; then
   16651      # The compiler can only warn and ignore the option if not recognized
   16652      # So say no if there are warnings other than the usual output.
   16653      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16654      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16655      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16656        lt_prog_compiler_pic_works_GCJ=yes
   16657      fi
   16658    fi
   16659    $rm conftest*
   16660 
   16661 fi
   16662 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16663 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16664 
   16665 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16666     case $lt_prog_compiler_pic_GCJ in
   16667      "" | " "*) ;;
   16668      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16669      esac
   16670 else
   16671     lt_prog_compiler_pic_GCJ=
   16672      lt_prog_compiler_can_build_shared_GCJ=no
   16673 fi
   16674 
   16675 fi
   16676 case $host_os in
   16677   # For platforms which do not support PIC, -DPIC is meaningless:
   16678   *djgpp*)
   16679     lt_prog_compiler_pic_GCJ=
   16680     ;;
   16681   *)
   16682     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16683     ;;
   16684 esac
   16685 
   16686 #
   16687 # Check to make sure the static flag actually works.
   16688 #
   16689 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16690 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16691 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16692 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16693   echo $ECHO_N "(cached) $ECHO_C" >&6
   16694 else
   16695   lt_prog_compiler_static_works_GCJ=no
   16696    save_LDFLAGS="$LDFLAGS"
   16697    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16698    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16699    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16700      # The linker can only warn and ignore the option if not recognized
   16701      # So say no if there are warnings
   16702      if test -s conftest.err; then
   16703        # Append any errors to the config.log.
   16704        cat conftest.err 1>&5
   16705        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16706        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16707        if diff conftest.exp conftest.er2 >/dev/null; then
   16708          lt_prog_compiler_static_works_GCJ=yes
   16709        fi
   16710      else
   16711        lt_prog_compiler_static_works_GCJ=yes
   16712      fi
   16713    fi
   16714    $rm conftest*
   16715    LDFLAGS="$save_LDFLAGS"
   16716 
   16717 fi
   16718 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16719 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16720 
   16721 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16722     :
   16723 else
   16724     lt_prog_compiler_static_GCJ=
   16725 fi
   16726 
   16727 
   16728 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16729 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16730 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16731   echo $ECHO_N "(cached) $ECHO_C" >&6
   16732 else
   16733   lt_cv_prog_compiler_c_o_GCJ=no
   16734    $rm -r conftest 2>/dev/null
   16735    mkdir conftest
   16736    cd conftest
   16737    mkdir out
   16738    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16739 
   16740    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16741    # Insert the option either (1) after the last *FLAGS variable, or
   16742    # (2) before a word containing "conftest.", or (3) at the end.
   16743    # Note that $ac_compile itself does not contain backslashes and begins
   16744    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16745    lt_compile=`echo "$ac_compile" | $SED \
   16746    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16747    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16748    -e 's:$: $lt_compiler_flag:'`
   16749    (eval echo "\"\$as_me:16749: $lt_compile\"" >&5)
   16750    (eval "$lt_compile" 2>out/conftest.err)
   16751    ac_status=$?
   16752    cat out/conftest.err >&5
   16753    echo "$as_me:16753: \$? = $ac_status" >&5
   16754    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16755    then
   16756      # The compiler can only warn and ignore the option if not recognized
   16757      # So say no if there are warnings
   16758      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16759      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16760      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16761        lt_cv_prog_compiler_c_o_GCJ=yes
   16762      fi
   16763    fi
   16764    chmod u+w . 2>&5
   16765    $rm conftest*
   16766    # SGI C++ compiler will create directory out/ii_files/ for
   16767    # template instantiation
   16768    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16769    $rm out/* && rmdir out
   16770    cd ..
   16771    rmdir conftest
   16772    $rm conftest*
   16773 
   16774 fi
   16775 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16776 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16777 
   16778 
   16779 hard_links="nottested"
   16780 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16781   # do not overwrite the value of need_locks provided by the user
   16782   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16783 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16784   hard_links=yes
   16785   $rm conftest*
   16786   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16787   touch conftest.a
   16788   ln conftest.a conftest.b 2>&5 || hard_links=no
   16789   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16790   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16791 echo "${ECHO_T}$hard_links" >&6; }
   16792   if test "$hard_links" = no; then
   16793     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16794 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16795     need_locks=warn
   16796   fi
   16797 else
   16798   need_locks=no
   16799 fi
   16800 
   16801 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16802 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16803 
   16804   runpath_var=
   16805   allow_undefined_flag_GCJ=
   16806   enable_shared_with_static_runtimes_GCJ=no
   16807   archive_cmds_GCJ=
   16808   archive_expsym_cmds_GCJ=
   16809   old_archive_From_new_cmds_GCJ=
   16810   old_archive_from_expsyms_cmds_GCJ=
   16811   export_dynamic_flag_spec_GCJ=
   16812   whole_archive_flag_spec_GCJ=
   16813   thread_safe_flag_spec_GCJ=
   16814   hardcode_libdir_flag_spec_GCJ=
   16815   hardcode_libdir_flag_spec_ld_GCJ=
   16816   hardcode_libdir_separator_GCJ=
   16817   hardcode_direct_GCJ=no
   16818   hardcode_minus_L_GCJ=no
   16819   hardcode_shlibpath_var_GCJ=unsupported
   16820   link_all_deplibs_GCJ=unknown
   16821   hardcode_automatic_GCJ=no
   16822   module_cmds_GCJ=
   16823   module_expsym_cmds_GCJ=
   16824   always_export_symbols_GCJ=no
   16825   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16826   # include_expsyms should be a list of space-separated symbols to be *always*
   16827   # included in the symbol list
   16828   include_expsyms_GCJ=
   16829   # exclude_expsyms can be an extended regexp of symbols to exclude
   16830   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16831   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16832   # as well as any symbol that contains `d'.
   16833   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16834   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16835   # platforms (ab)use it in PIC code, but their linkers get confused if
   16836   # the symbol is explicitly referenced.  Since portable code cannot
   16837   # rely on this symbol name, it's probably fine to never include it in
   16838   # preloaded symbol tables.
   16839   extract_expsyms_cmds=
   16840   # Just being paranoid about ensuring that cc_basename is set.
   16841   for cc_temp in $compiler""; do
   16842   case $cc_temp in
   16843     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16844     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16845     \-*) ;;
   16846     *) break;;
   16847   esac
   16848 done
   16849 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16850 
   16851   case $host_os in
   16852   cygwin* | mingw* | pw32*)
   16853     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16854     # When not using gcc, we currently assume that we are using
   16855     # Microsoft Visual C++.
   16856     if test "$GCC" != yes; then
   16857       with_gnu_ld=no
   16858     fi
   16859     ;;
   16860   interix*)
   16861     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16862     with_gnu_ld=yes
   16863     ;;
   16864   openbsd*)
   16865     with_gnu_ld=no
   16866     ;;
   16867   esac
   16868 
   16869   ld_shlibs_GCJ=yes
   16870   if test "$with_gnu_ld" = yes; then
   16871     # If archive_cmds runs LD, not CC, wlarc should be empty
   16872     wlarc='${wl}'
   16873 
   16874     # Set some defaults for GNU ld with shared library support. These
   16875     # are reset later if shared libraries are not supported. Putting them
   16876     # here allows them to be overridden if necessary.
   16877     runpath_var=LD_RUN_PATH
   16878     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16879     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16880     # ancient GNU ld didn't support --whole-archive et. al.
   16881     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16882 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16883       else
   16884   	whole_archive_flag_spec_GCJ=
   16885     fi
   16886     supports_anon_versioning=no
   16887     case `$LD -v 2>/dev/null` in
   16888       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16889       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16890       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16891       *\ 2.11.*) ;; # other 2.11 versions
   16892       *) supports_anon_versioning=yes ;;
   16893     esac
   16894 
   16895     # See if GNU ld supports shared libraries.
   16896     case $host_os in
   16897     aix3* | aix4* | aix5*)
   16898       # On AIX/PPC, the GNU linker is very broken
   16899       if test "$host_cpu" != ia64; then
   16900 	ld_shlibs_GCJ=no
   16901 	cat <<EOF 1>&2
   16902 
   16903 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16904 *** to be unable to reliably create shared libraries on AIX.
   16905 *** Therefore, libtool is disabling shared libraries support.  If you
   16906 *** really care for shared libraries, you may want to modify your PATH
   16907 *** so that a non-GNU linker is found, and then restart.
   16908 
   16909 EOF
   16910       fi
   16911       ;;
   16912 
   16913     amigaos*)
   16914       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)'
   16915       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16916       hardcode_minus_L_GCJ=yes
   16917 
   16918       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16919       # that the semantics of dynamic libraries on AmigaOS, at least up
   16920       # to version 4, is to share data among multiple programs linked
   16921       # with the same dynamic library.  Since this doesn't match the
   16922       # behavior of shared libraries on other platforms, we can't use
   16923       # them.
   16924       ld_shlibs_GCJ=no
   16925       ;;
   16926 
   16927     beos*)
   16928       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16929 	allow_undefined_flag_GCJ=unsupported
   16930 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16931 	# support --undefined.  This deserves some investigation.  FIXME
   16932 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16933       else
   16934 	ld_shlibs_GCJ=no
   16935       fi
   16936       ;;
   16937 
   16938     cygwin* | mingw* | pw32*)
   16939       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16940       # as there is no search path for DLLs.
   16941       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16942       allow_undefined_flag_GCJ=unsupported
   16943       always_export_symbols_GCJ=no
   16944       enable_shared_with_static_runtimes_GCJ=yes
   16945       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16946 
   16947       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16948         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16949 	# If the export-symbols file already is a .def file (1st line
   16950 	# is EXPORTS), use it as is; otherwise, prepend...
   16951 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16952 	  cp $export_symbols $output_objdir/$soname.def;
   16953 	else
   16954 	  echo EXPORTS > $output_objdir/$soname.def;
   16955 	  cat $export_symbols >> $output_objdir/$soname.def;
   16956 	fi~
   16957 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16958       else
   16959 	ld_shlibs_GCJ=no
   16960       fi
   16961       ;;
   16962 
   16963     interix[3-9]*)
   16964       hardcode_direct_GCJ=no
   16965       hardcode_shlibpath_var_GCJ=no
   16966       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16967       export_dynamic_flag_spec_GCJ='${wl}-E'
   16968       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16969       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16970       # default) and relocated if they conflict, which is a slow very memory
   16971       # consuming and fragmenting process.  To avoid this, we pick a random,
   16972       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16973       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16974       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'
   16975       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'
   16976       ;;
   16977 
   16978     gnu* | linux* | k*bsd*-gnu)
   16979       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16980 	tmp_addflag=
   16981 	case $cc_basename,$host_cpu in
   16982 	pgcc*)				# Portland Group C compiler
   16983 	  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'
   16984 	  tmp_addflag=' $pic_flag'
   16985 	  ;;
   16986 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16987 	  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'
   16988 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16989 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16990 	  tmp_addflag=' -i_dynamic' ;;
   16991 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16992 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16993 	ifc* | ifort*)			# Intel Fortran compiler
   16994 	  tmp_addflag=' -nofor_main' ;;
   16995 	esac
   16996 	case `$CC -V 2>&1 | sed 5q` in
   16997 	*Sun\ C*)			# Sun C 5.9
   16998 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   16999 	  tmp_sharedflag='-G' ;;
   17000 	*Sun\ F*)			# Sun Fortran 8.3
   17001 	  tmp_sharedflag='-G' ;;
   17002 	*)
   17003 	  tmp_sharedflag='-shared' ;;
   17004 	esac
   17005 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17006 
   17007 	if test $supports_anon_versioning = yes; then
   17008 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17009   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17010   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17011 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17012 	fi
   17013       else
   17014 	ld_shlibs_GCJ=no
   17015       fi
   17016       ;;
   17017 
   17018     netbsd*)
   17019       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17020 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17021 	wlarc=
   17022       else
   17023 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17024 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17025       fi
   17026       ;;
   17027 
   17028     solaris*)
   17029       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17030 	ld_shlibs_GCJ=no
   17031 	cat <<EOF 1>&2
   17032 
   17033 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17034 *** create shared libraries on Solaris systems.  Therefore, libtool
   17035 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17036 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17037 *** your PATH or compiler configuration so that the native linker is
   17038 *** used, and then restart.
   17039 
   17040 EOF
   17041       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17042 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17043 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17044       else
   17045 	ld_shlibs_GCJ=no
   17046       fi
   17047       ;;
   17048 
   17049     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17050       case `$LD -v 2>&1` in
   17051         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17052 	ld_shlibs_GCJ=no
   17053 	cat <<_LT_EOF 1>&2
   17054 
   17055 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17056 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17057 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17058 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17059 *** your PATH or compiler configuration so that the native linker is
   17060 *** used, and then restart.
   17061 
   17062 _LT_EOF
   17063 	;;
   17064 	*)
   17065 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17066 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17067 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17068 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17069 	  else
   17070 	    ld_shlibs_GCJ=no
   17071 	  fi
   17072 	;;
   17073       esac
   17074       ;;
   17075 
   17076     sunos4*)
   17077       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17078       wlarc=
   17079       hardcode_direct_GCJ=yes
   17080       hardcode_shlibpath_var_GCJ=no
   17081       ;;
   17082 
   17083     *)
   17084       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17085 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17086 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17087       else
   17088 	ld_shlibs_GCJ=no
   17089       fi
   17090       ;;
   17091     esac
   17092 
   17093     if test "$ld_shlibs_GCJ" = no; then
   17094       runpath_var=
   17095       hardcode_libdir_flag_spec_GCJ=
   17096       export_dynamic_flag_spec_GCJ=
   17097       whole_archive_flag_spec_GCJ=
   17098     fi
   17099   else
   17100     # PORTME fill in a description of your system's linker (not GNU ld)
   17101     case $host_os in
   17102     aix3*)
   17103       allow_undefined_flag_GCJ=unsupported
   17104       always_export_symbols_GCJ=yes
   17105       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'
   17106       # Note: this linker hardcodes the directories in LIBPATH if there
   17107       # are no directories specified by -L.
   17108       hardcode_minus_L_GCJ=yes
   17109       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17110 	# Neither direct hardcoding nor static linking is supported with a
   17111 	# broken collect2.
   17112 	hardcode_direct_GCJ=unsupported
   17113       fi
   17114       ;;
   17115 
   17116     aix4* | aix5*)
   17117       if test "$host_cpu" = ia64; then
   17118 	# On IA64, the linker does run time linking by default, so we don't
   17119 	# have to do anything special.
   17120 	aix_use_runtimelinking=no
   17121 	exp_sym_flag='-Bexport'
   17122 	no_entry_flag=""
   17123       else
   17124 	# If we're using GNU nm, then we don't want the "-C" option.
   17125 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17126 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17127 	  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'
   17128 	else
   17129 	  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'
   17130 	fi
   17131 	aix_use_runtimelinking=no
   17132 
   17133 	# Test if we are trying to use run time linking or normal
   17134 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17135 	# need to do runtime linking.
   17136 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17137 	  for ld_flag in $LDFLAGS; do
   17138   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17139   	    aix_use_runtimelinking=yes
   17140   	    break
   17141   	  fi
   17142 	  done
   17143 	  ;;
   17144 	esac
   17145 
   17146 	exp_sym_flag='-bexport'
   17147 	no_entry_flag='-bnoentry'
   17148       fi
   17149 
   17150       # When large executables or shared objects are built, AIX ld can
   17151       # have problems creating the table of contents.  If linking a library
   17152       # or program results in "error TOC overflow" add -mminimal-toc to
   17153       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17154       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17155 
   17156       archive_cmds_GCJ=''
   17157       hardcode_direct_GCJ=yes
   17158       hardcode_libdir_separator_GCJ=':'
   17159       link_all_deplibs_GCJ=yes
   17160 
   17161       if test "$GCC" = yes; then
   17162 	case $host_os in aix4.[012]|aix4.[012].*)
   17163 	# We only want to do this on AIX 4.2 and lower, the check
   17164 	# below for broken collect2 doesn't work under 4.3+
   17165 	  collect2name=`${CC} -print-prog-name=collect2`
   17166 	  if test -f "$collect2name" && \
   17167   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17168 	  then
   17169   	  # We have reworked collect2
   17170   	  :
   17171 	  else
   17172   	  # We have old collect2
   17173   	  hardcode_direct_GCJ=unsupported
   17174   	  # It fails to find uninstalled libraries when the uninstalled
   17175   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17176   	  # to unsupported forces relinking
   17177   	  hardcode_minus_L_GCJ=yes
   17178   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17179   	  hardcode_libdir_separator_GCJ=
   17180 	  fi
   17181 	  ;;
   17182 	esac
   17183 	shared_flag='-shared'
   17184 	if test "$aix_use_runtimelinking" = yes; then
   17185 	  shared_flag="$shared_flag "'${wl}-G'
   17186 	fi
   17187       else
   17188 	# not using gcc
   17189 	if test "$host_cpu" = ia64; then
   17190   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17191   	# chokes on -Wl,-G. The following line is correct:
   17192 	  shared_flag='-G'
   17193 	else
   17194 	  if test "$aix_use_runtimelinking" = yes; then
   17195 	    shared_flag='${wl}-G'
   17196 	  else
   17197 	    shared_flag='${wl}-bM:SRE'
   17198 	  fi
   17199 	fi
   17200       fi
   17201 
   17202       # It seems that -bexpall does not export symbols beginning with
   17203       # underscore (_), so it is better to generate a list of symbols to export.
   17204       always_export_symbols_GCJ=yes
   17205       if test "$aix_use_runtimelinking" = yes; then
   17206 	# Warning - without using the other runtime loading flags (-brtl),
   17207 	# -berok will link without error, but may produce a broken library.
   17208 	allow_undefined_flag_GCJ='-berok'
   17209        # Determine the default libpath from the value encoded in an empty executable.
   17210        cat >conftest.$ac_ext <<_ACEOF
   17211 /* confdefs.h.  */
   17212 _ACEOF
   17213 cat confdefs.h >>conftest.$ac_ext
   17214 cat >>conftest.$ac_ext <<_ACEOF
   17215 /* end confdefs.h.  */
   17216 
   17217 int
   17218 main ()
   17219 {
   17220 
   17221   ;
   17222   return 0;
   17223 }
   17224 _ACEOF
   17225 rm -f conftest.$ac_objext conftest$ac_exeext
   17226 if { (ac_try="$ac_link"
   17227 case "(($ac_try" in
   17228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17229   *) ac_try_echo=$ac_try;;
   17230 esac
   17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17232   (eval "$ac_link") 2>conftest.er1
   17233   ac_status=$?
   17234   grep -v '^ *+' conftest.er1 >conftest.err
   17235   rm -f conftest.er1
   17236   cat conftest.err >&5
   17237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17238   (exit $ac_status); } && {
   17239 	 test -z "$ac_c_werror_flag" ||
   17240 	 test ! -s conftest.err
   17241        } && test -s conftest$ac_exeext &&
   17242        $as_test_x conftest$ac_exeext; then
   17243 
   17244 lt_aix_libpath_sed='
   17245     /Import File Strings/,/^$/ {
   17246 	/^0/ {
   17247 	    s/^0  *\(.*\)$/\1/
   17248 	    p
   17249 	}
   17250     }'
   17251 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17252 # Check for a 64-bit object if we didn't find anything.
   17253 if test -z "$aix_libpath"; then
   17254   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17255 fi
   17256 else
   17257   echo "$as_me: failed program was:" >&5
   17258 sed 's/^/| /' conftest.$ac_ext >&5
   17259 
   17260 
   17261 fi
   17262 
   17263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17264       conftest$ac_exeext conftest.$ac_ext
   17265 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17266 
   17267        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17268 	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"
   17269        else
   17270 	if test "$host_cpu" = ia64; then
   17271 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17272 	  allow_undefined_flag_GCJ="-z nodefs"
   17273 	  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"
   17274 	else
   17275 	 # Determine the default libpath from the value encoded in an empty executable.
   17276 	 cat >conftest.$ac_ext <<_ACEOF
   17277 /* confdefs.h.  */
   17278 _ACEOF
   17279 cat confdefs.h >>conftest.$ac_ext
   17280 cat >>conftest.$ac_ext <<_ACEOF
   17281 /* end confdefs.h.  */
   17282 
   17283 int
   17284 main ()
   17285 {
   17286 
   17287   ;
   17288   return 0;
   17289 }
   17290 _ACEOF
   17291 rm -f conftest.$ac_objext conftest$ac_exeext
   17292 if { (ac_try="$ac_link"
   17293 case "(($ac_try" in
   17294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17295   *) ac_try_echo=$ac_try;;
   17296 esac
   17297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17298   (eval "$ac_link") 2>conftest.er1
   17299   ac_status=$?
   17300   grep -v '^ *+' conftest.er1 >conftest.err
   17301   rm -f conftest.er1
   17302   cat conftest.err >&5
   17303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17304   (exit $ac_status); } && {
   17305 	 test -z "$ac_c_werror_flag" ||
   17306 	 test ! -s conftest.err
   17307        } && test -s conftest$ac_exeext &&
   17308        $as_test_x conftest$ac_exeext; then
   17309 
   17310 lt_aix_libpath_sed='
   17311     /Import File Strings/,/^$/ {
   17312 	/^0/ {
   17313 	    s/^0  *\(.*\)$/\1/
   17314 	    p
   17315 	}
   17316     }'
   17317 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17318 # Check for a 64-bit object if we didn't find anything.
   17319 if test -z "$aix_libpath"; then
   17320   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17321 fi
   17322 else
   17323   echo "$as_me: failed program was:" >&5
   17324 sed 's/^/| /' conftest.$ac_ext >&5
   17325 
   17326 
   17327 fi
   17328 
   17329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17330       conftest$ac_exeext conftest.$ac_ext
   17331 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17332 
   17333 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17334 	  # Warning - without using the other run time loading flags,
   17335 	  # -berok will link without error, but may produce a broken library.
   17336 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17337 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17338 	  # Exported symbols can be pulled into shared objects from archives
   17339 	  whole_archive_flag_spec_GCJ='$convenience'
   17340 	  archive_cmds_need_lc_GCJ=yes
   17341 	  # This is similar to how AIX traditionally builds its shared libraries.
   17342 	  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'
   17343 	fi
   17344       fi
   17345       ;;
   17346 
   17347     amigaos*)
   17348       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)'
   17349       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17350       hardcode_minus_L_GCJ=yes
   17351       # see comment about different semantics on the GNU ld section
   17352       ld_shlibs_GCJ=no
   17353       ;;
   17354 
   17355     bsdi[45]*)
   17356       export_dynamic_flag_spec_GCJ=-rdynamic
   17357       ;;
   17358 
   17359     cygwin* | mingw* | pw32*)
   17360       # When not using gcc, we currently assume that we are using
   17361       # Microsoft Visual C++.
   17362       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17363       # no search path for DLLs.
   17364       hardcode_libdir_flag_spec_GCJ=' '
   17365       allow_undefined_flag_GCJ=unsupported
   17366       # Tell ltmain to make .lib files, not .a files.
   17367       libext=lib
   17368       # Tell ltmain to make .dll files, not .so files.
   17369       shrext_cmds=".dll"
   17370       # FIXME: Setting linknames here is a bad hack.
   17371       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17372       # The linker will automatically build a .lib file if we build a DLL.
   17373       old_archive_From_new_cmds_GCJ='true'
   17374       # FIXME: Should let the user specify the lib program.
   17375       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17376       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17377       enable_shared_with_static_runtimes_GCJ=yes
   17378       ;;
   17379 
   17380     darwin* | rhapsody*)
   17381       case $host_os in
   17382         rhapsody* | darwin1.[012])
   17383          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17384          ;;
   17385        *) # Darwin 1.3 on
   17386          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17387            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17388          else
   17389            case ${MACOSX_DEPLOYMENT_TARGET} in
   17390              10.[012])
   17391                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17392                ;;
   17393              10.*)
   17394                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17395                ;;
   17396            esac
   17397          fi
   17398          ;;
   17399       esac
   17400       archive_cmds_need_lc_GCJ=no
   17401       hardcode_direct_GCJ=no
   17402       hardcode_automatic_GCJ=yes
   17403       hardcode_shlibpath_var_GCJ=unsupported
   17404       whole_archive_flag_spec_GCJ=''
   17405       link_all_deplibs_GCJ=yes
   17406     if test "$GCC" = yes ; then
   17407     	output_verbose_link_cmd='echo'
   17408         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17409       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17410       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17411       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}'
   17412       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}'
   17413     else
   17414       case $cc_basename in
   17415         xlc*)
   17416          output_verbose_link_cmd='echo'
   17417          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17418          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17419           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17420          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17421           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}'
   17422           ;;
   17423        *)
   17424          ld_shlibs_GCJ=no
   17425           ;;
   17426       esac
   17427     fi
   17428       ;;
   17429 
   17430     dgux*)
   17431       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17432       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17433       hardcode_shlibpath_var_GCJ=no
   17434       ;;
   17435 
   17436     freebsd1*)
   17437       ld_shlibs_GCJ=no
   17438       ;;
   17439 
   17440     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17441     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17442     # does not break anything, and helps significantly (at the cost of a little
   17443     # extra space).
   17444     freebsd2.2*)
   17445       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17446       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17447       hardcode_direct_GCJ=yes
   17448       hardcode_shlibpath_var_GCJ=no
   17449       ;;
   17450 
   17451     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17452     freebsd2*)
   17453       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17454       hardcode_direct_GCJ=yes
   17455       hardcode_minus_L_GCJ=yes
   17456       hardcode_shlibpath_var_GCJ=no
   17457       ;;
   17458 
   17459     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17460     freebsd* | dragonfly*)
   17461       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17462       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17463       hardcode_direct_GCJ=yes
   17464       hardcode_shlibpath_var_GCJ=no
   17465       ;;
   17466 
   17467     hpux9*)
   17468       if test "$GCC" = yes; then
   17469 	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'
   17470       else
   17471 	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'
   17472       fi
   17473       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17474       hardcode_libdir_separator_GCJ=:
   17475       hardcode_direct_GCJ=yes
   17476 
   17477       # hardcode_minus_L: Not really in the search PATH,
   17478       # but as the default location of the library.
   17479       hardcode_minus_L_GCJ=yes
   17480       export_dynamic_flag_spec_GCJ='${wl}-E'
   17481       ;;
   17482 
   17483     hpux10*)
   17484       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17485 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17486       else
   17487 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17488       fi
   17489       if test "$with_gnu_ld" = no; then
   17490 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17491 	hardcode_libdir_separator_GCJ=:
   17492 
   17493 	hardcode_direct_GCJ=yes
   17494 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17495 
   17496 	# hardcode_minus_L: Not really in the search PATH,
   17497 	# but as the default location of the library.
   17498 	hardcode_minus_L_GCJ=yes
   17499       fi
   17500       ;;
   17501 
   17502     hpux11*)
   17503       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17504 	case $host_cpu in
   17505 	hppa*64*)
   17506 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17507 	  ;;
   17508 	ia64*)
   17509 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17510 	  ;;
   17511 	*)
   17512 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17513 	  ;;
   17514 	esac
   17515       else
   17516 	case $host_cpu in
   17517 	hppa*64*)
   17518 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17519 	  ;;
   17520 	ia64*)
   17521 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17522 	  ;;
   17523 	*)
   17524 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17525 	  ;;
   17526 	esac
   17527       fi
   17528       if test "$with_gnu_ld" = no; then
   17529 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17530 	hardcode_libdir_separator_GCJ=:
   17531 
   17532 	case $host_cpu in
   17533 	hppa*64*|ia64*)
   17534 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17535 	  hardcode_direct_GCJ=no
   17536 	  hardcode_shlibpath_var_GCJ=no
   17537 	  ;;
   17538 	*)
   17539 	  hardcode_direct_GCJ=yes
   17540 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17541 
   17542 	  # hardcode_minus_L: Not really in the search PATH,
   17543 	  # but as the default location of the library.
   17544 	  hardcode_minus_L_GCJ=yes
   17545 	  ;;
   17546 	esac
   17547       fi
   17548       ;;
   17549 
   17550     irix5* | irix6* | nonstopux*)
   17551       if test "$GCC" = yes; then
   17552 	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'
   17553       else
   17554 	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'
   17555 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17556       fi
   17557       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17558       hardcode_libdir_separator_GCJ=:
   17559       link_all_deplibs_GCJ=yes
   17560       ;;
   17561 
   17562     netbsd*)
   17563       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17564 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17565       else
   17566 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17567       fi
   17568       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17569       hardcode_direct_GCJ=yes
   17570       hardcode_shlibpath_var_GCJ=no
   17571       ;;
   17572 
   17573     newsos6)
   17574       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17575       hardcode_direct_GCJ=yes
   17576       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17577       hardcode_libdir_separator_GCJ=:
   17578       hardcode_shlibpath_var_GCJ=no
   17579       ;;
   17580 
   17581     openbsd*)
   17582       if test -f /usr/libexec/ld.so; then
   17583 	hardcode_direct_GCJ=yes
   17584 	hardcode_shlibpath_var_GCJ=no
   17585 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17586 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17587 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17588 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17589 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17590 	else
   17591 	  case $host_os in
   17592 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17593 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17594 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17595 	     ;;
   17596 	   *)
   17597 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17598 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17599 	     ;;
   17600 	  esac
   17601         fi
   17602       else
   17603 	ld_shlibs_GCJ=no
   17604       fi
   17605       ;;
   17606 
   17607     os2*)
   17608       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17609       hardcode_minus_L_GCJ=yes
   17610       allow_undefined_flag_GCJ=unsupported
   17611       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'
   17612       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17613       ;;
   17614 
   17615     osf3*)
   17616       if test "$GCC" = yes; then
   17617 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17618 	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'
   17619       else
   17620 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17621 	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'
   17622       fi
   17623       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17624       hardcode_libdir_separator_GCJ=:
   17625       ;;
   17626 
   17627     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17628       if test "$GCC" = yes; then
   17629 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17630 	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'
   17631 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17632       else
   17633 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17634 	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'
   17635 	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~
   17636 	$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'
   17637 
   17638 	# Both c and cxx compiler support -rpath directly
   17639 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17640       fi
   17641       hardcode_libdir_separator_GCJ=:
   17642       ;;
   17643 
   17644     solaris*)
   17645       no_undefined_flag_GCJ=' -z text'
   17646       if test "$GCC" = yes; then
   17647 	wlarc='${wl}'
   17648 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17649 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17650 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17651       else
   17652 	wlarc=''
   17653 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17654 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17655   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17656       fi
   17657       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17658       hardcode_shlibpath_var_GCJ=no
   17659       case $host_os in
   17660       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17661       *)
   17662 	# The compiler driver will combine and reorder linker options,
   17663 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   17664 	# but is careful enough not to reorder.
   17665  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17666 	if test "$GCC" = yes; then
   17667 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   17668 	else
   17669 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   17670 	fi
   17671 	;;
   17672       esac
   17673       link_all_deplibs_GCJ=yes
   17674       ;;
   17675 
   17676     sunos4*)
   17677       if test "x$host_vendor" = xsequent; then
   17678 	# Use $CC to link under sequent, because it throws in some extra .o
   17679 	# files that make .init and .fini sections work.
   17680 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17681       else
   17682 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17683       fi
   17684       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17685       hardcode_direct_GCJ=yes
   17686       hardcode_minus_L_GCJ=yes
   17687       hardcode_shlibpath_var_GCJ=no
   17688       ;;
   17689 
   17690     sysv4)
   17691       case $host_vendor in
   17692 	sni)
   17693 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17694 	  hardcode_direct_GCJ=yes # is this really true???
   17695 	;;
   17696 	siemens)
   17697 	  ## LD is ld it makes a PLAMLIB
   17698 	  ## CC just makes a GrossModule.
   17699 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17700 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17701 	  hardcode_direct_GCJ=no
   17702         ;;
   17703 	motorola)
   17704 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17705 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17706 	;;
   17707       esac
   17708       runpath_var='LD_RUN_PATH'
   17709       hardcode_shlibpath_var_GCJ=no
   17710       ;;
   17711 
   17712     sysv4.3*)
   17713       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17714       hardcode_shlibpath_var_GCJ=no
   17715       export_dynamic_flag_spec_GCJ='-Bexport'
   17716       ;;
   17717 
   17718     sysv4*MP*)
   17719       if test -d /usr/nec; then
   17720 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17721 	hardcode_shlibpath_var_GCJ=no
   17722 	runpath_var=LD_RUN_PATH
   17723 	hardcode_runpath_var=yes
   17724 	ld_shlibs_GCJ=yes
   17725       fi
   17726       ;;
   17727 
   17728     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17729       no_undefined_flag_GCJ='${wl}-z,text'
   17730       archive_cmds_need_lc_GCJ=no
   17731       hardcode_shlibpath_var_GCJ=no
   17732       runpath_var='LD_RUN_PATH'
   17733 
   17734       if test "$GCC" = yes; then
   17735 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17736 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17737       else
   17738 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17739 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17740       fi
   17741       ;;
   17742 
   17743     sysv5* | sco3.2v5* | sco5v6*)
   17744       # Note: We can NOT use -z defs as we might desire, because we do not
   17745       # link with -lc, and that would cause any symbols used from libc to
   17746       # always be unresolved, which means just about no library would
   17747       # ever link correctly.  If we're not using GNU ld we use -z text
   17748       # though, which does catch some bad symbols but isn't as heavy-handed
   17749       # as -z defs.
   17750       no_undefined_flag_GCJ='${wl}-z,text'
   17751       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17752       archive_cmds_need_lc_GCJ=no
   17753       hardcode_shlibpath_var_GCJ=no
   17754       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17755       hardcode_libdir_separator_GCJ=':'
   17756       link_all_deplibs_GCJ=yes
   17757       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17758       runpath_var='LD_RUN_PATH'
   17759 
   17760       if test "$GCC" = yes; then
   17761 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17762 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17763       else
   17764 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17765 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17766       fi
   17767       ;;
   17768 
   17769     uts4*)
   17770       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17771       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17772       hardcode_shlibpath_var_GCJ=no
   17773       ;;
   17774 
   17775     *)
   17776       ld_shlibs_GCJ=no
   17777       ;;
   17778     esac
   17779   fi
   17780 
   17781 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17782 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17783 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17784 
   17785 #
   17786 # Do we need to explicitly link libc?
   17787 #
   17788 case "x$archive_cmds_need_lc_GCJ" in
   17789 x|xyes)
   17790   # Assume -lc should be added
   17791   archive_cmds_need_lc_GCJ=yes
   17792 
   17793   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17794     case $archive_cmds_GCJ in
   17795     *'~'*)
   17796       # FIXME: we may have to deal with multi-command sequences.
   17797       ;;
   17798     '$CC '*)
   17799       # Test whether the compiler implicitly links with -lc since on some
   17800       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17801       # to ld, don't add -lc before -lgcc.
   17802       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17803 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17804       $rm conftest*
   17805       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17806 
   17807       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17808   (eval $ac_compile) 2>&5
   17809   ac_status=$?
   17810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17811   (exit $ac_status); } 2>conftest.err; then
   17812         soname=conftest
   17813         lib=conftest
   17814         libobjs=conftest.$ac_objext
   17815         deplibs=
   17816         wl=$lt_prog_compiler_wl_GCJ
   17817 	pic_flag=$lt_prog_compiler_pic_GCJ
   17818         compiler_flags=-v
   17819         linker_flags=-v
   17820         verstring=
   17821         output_objdir=.
   17822         libname=conftest
   17823         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17824         allow_undefined_flag_GCJ=
   17825         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17826   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17827   ac_status=$?
   17828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17829   (exit $ac_status); }
   17830         then
   17831 	  archive_cmds_need_lc_GCJ=no
   17832         else
   17833 	  archive_cmds_need_lc_GCJ=yes
   17834         fi
   17835         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17836       else
   17837         cat conftest.err 1>&5
   17838       fi
   17839       $rm conftest*
   17840       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17841 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17842       ;;
   17843     esac
   17844   fi
   17845   ;;
   17846 esac
   17847 
   17848 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17849 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17850 library_names_spec=
   17851 libname_spec='lib$name'
   17852 soname_spec=
   17853 shrext_cmds=".so"
   17854 postinstall_cmds=
   17855 postuninstall_cmds=
   17856 finish_cmds=
   17857 finish_eval=
   17858 shlibpath_var=
   17859 shlibpath_overrides_runpath=unknown
   17860 version_type=none
   17861 dynamic_linker="$host_os ld.so"
   17862 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17863 
   17864 need_lib_prefix=unknown
   17865 hardcode_into_libs=no
   17866 
   17867 # when you set need_version to no, make sure it does not cause -set_version
   17868 # flags to be left without arguments
   17869 need_version=unknown
   17870 
   17871 case $host_os in
   17872 aix3*)
   17873   version_type=linux
   17874   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17875   shlibpath_var=LIBPATH
   17876 
   17877   # AIX 3 has no versioning support, so we append a major version to the name.
   17878   soname_spec='${libname}${release}${shared_ext}$major'
   17879   ;;
   17880 
   17881 aix4* | aix5*)
   17882   version_type=linux
   17883   need_lib_prefix=no
   17884   need_version=no
   17885   hardcode_into_libs=yes
   17886   if test "$host_cpu" = ia64; then
   17887     # AIX 5 supports IA64
   17888     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17889     shlibpath_var=LD_LIBRARY_PATH
   17890   else
   17891     # With GCC up to 2.95.x, collect2 would create an import file
   17892     # for dependence libraries.  The import file would start with
   17893     # the line `#! .'.  This would cause the generated library to
   17894     # depend on `.', always an invalid library.  This was fixed in
   17895     # development snapshots of GCC prior to 3.0.
   17896     case $host_os in
   17897       aix4 | aix4.[01] | aix4.[01].*)
   17898       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17899 	   echo ' yes '
   17900 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17901 	:
   17902       else
   17903 	can_build_shared=no
   17904       fi
   17905       ;;
   17906     esac
   17907     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17908     # soname into executable. Probably we can add versioning support to
   17909     # collect2, so additional links can be useful in future.
   17910     if test "$aix_use_runtimelinking" = yes; then
   17911       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17912       # instead of lib<name>.a to let people know that these are not
   17913       # typical AIX shared libraries.
   17914       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17915     else
   17916       # We preserve .a as extension for shared libraries through AIX4.2
   17917       # and later when we are not doing run time linking.
   17918       library_names_spec='${libname}${release}.a $libname.a'
   17919       soname_spec='${libname}${release}${shared_ext}$major'
   17920     fi
   17921     shlibpath_var=LIBPATH
   17922   fi
   17923   ;;
   17924 
   17925 amigaos*)
   17926   library_names_spec='$libname.ixlibrary $libname.a'
   17927   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17928   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'
   17929   ;;
   17930 
   17931 beos*)
   17932   library_names_spec='${libname}${shared_ext}'
   17933   dynamic_linker="$host_os ld.so"
   17934   shlibpath_var=LIBRARY_PATH
   17935   ;;
   17936 
   17937 bsdi[45]*)
   17938   version_type=linux
   17939   need_version=no
   17940   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17941   soname_spec='${libname}${release}${shared_ext}$major'
   17942   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17943   shlibpath_var=LD_LIBRARY_PATH
   17944   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17945   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17946   # the default ld.so.conf also contains /usr/contrib/lib and
   17947   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17948   # libtool to hard-code these into programs
   17949   ;;
   17950 
   17951 cygwin* | mingw* | pw32*)
   17952   version_type=windows
   17953   shrext_cmds=".dll"
   17954   need_version=no
   17955   need_lib_prefix=no
   17956 
   17957   case $GCC,$host_os in
   17958   yes,cygwin* | yes,mingw* | yes,pw32*)
   17959     library_names_spec='$libname.dll.a'
   17960     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17961     postinstall_cmds='base_file=`basename \${file}`~
   17962       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17963       dldir=$destdir/`dirname \$dlpath`~
   17964       test -d \$dldir || mkdir -p \$dldir~
   17965       $install_prog $dir/$dlname \$dldir/$dlname~
   17966       chmod a+x \$dldir/$dlname'
   17967     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17968       dlpath=$dir/\$dldll~
   17969        $rm \$dlpath'
   17970     shlibpath_overrides_runpath=yes
   17971 
   17972     case $host_os in
   17973     cygwin*)
   17974       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17975       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17976       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17977       ;;
   17978     mingw*)
   17979       # MinGW DLLs use traditional 'lib' prefix
   17980       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17981       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17982       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17983         # It is most probably a Windows format PATH printed by
   17984         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17985         # path with ; separators, and with drive letters. We can handle the
   17986         # drive letters (cygwin fileutils understands them), so leave them,
   17987         # especially as we might pass files found there to a mingw objdump,
   17988         # which wouldn't understand a cygwinified path. Ahh.
   17989         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17990       else
   17991         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17992       fi
   17993       ;;
   17994     pw32*)
   17995       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17996       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17997       ;;
   17998     esac
   17999     ;;
   18000 
   18001   *)
   18002     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18003     ;;
   18004   esac
   18005   dynamic_linker='Win32 ld.exe'
   18006   # FIXME: first we should search . and the directory the executable is in
   18007   shlibpath_var=PATH
   18008   ;;
   18009 
   18010 darwin* | rhapsody*)
   18011   dynamic_linker="$host_os dyld"
   18012   version_type=darwin
   18013   need_lib_prefix=no
   18014   need_version=no
   18015   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18016   soname_spec='${libname}${release}${major}$shared_ext'
   18017   shlibpath_overrides_runpath=yes
   18018   shlibpath_var=DYLD_LIBRARY_PATH
   18019   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18020 
   18021   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18022   ;;
   18023 
   18024 dgux*)
   18025   version_type=linux
   18026   need_lib_prefix=no
   18027   need_version=no
   18028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18029   soname_spec='${libname}${release}${shared_ext}$major'
   18030   shlibpath_var=LD_LIBRARY_PATH
   18031   ;;
   18032 
   18033 freebsd1*)
   18034   dynamic_linker=no
   18035   ;;
   18036 
   18037 freebsd* | dragonfly*)
   18038   # DragonFly does not have aout.  When/if they implement a new
   18039   # versioning mechanism, adjust this.
   18040   if test -x /usr/bin/objformat; then
   18041     objformat=`/usr/bin/objformat`
   18042   else
   18043     case $host_os in
   18044     freebsd[123]*) objformat=aout ;;
   18045     *) objformat=elf ;;
   18046     esac
   18047   fi
   18048   version_type=freebsd-$objformat
   18049   case $version_type in
   18050     freebsd-elf*)
   18051       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18052       need_version=no
   18053       need_lib_prefix=no
   18054       ;;
   18055     freebsd-*)
   18056       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18057       need_version=yes
   18058       ;;
   18059   esac
   18060   shlibpath_var=LD_LIBRARY_PATH
   18061   case $host_os in
   18062   freebsd2*)
   18063     shlibpath_overrides_runpath=yes
   18064     ;;
   18065   freebsd3.[01]* | freebsdelf3.[01]*)
   18066     shlibpath_overrides_runpath=yes
   18067     hardcode_into_libs=yes
   18068     ;;
   18069   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18070   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18071     shlibpath_overrides_runpath=no
   18072     hardcode_into_libs=yes
   18073     ;;
   18074   *) # from 4.6 on, and DragonFly
   18075     shlibpath_overrides_runpath=yes
   18076     hardcode_into_libs=yes
   18077     ;;
   18078   esac
   18079   ;;
   18080 
   18081 gnu*)
   18082   version_type=linux
   18083   need_lib_prefix=no
   18084   need_version=no
   18085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18086   soname_spec='${libname}${release}${shared_ext}$major'
   18087   shlibpath_var=LD_LIBRARY_PATH
   18088   hardcode_into_libs=yes
   18089   ;;
   18090 
   18091 hpux9* | hpux10* | hpux11*)
   18092   # Give a soname corresponding to the major version so that dld.sl refuses to
   18093   # link against other versions.
   18094   version_type=sunos
   18095   need_lib_prefix=no
   18096   need_version=no
   18097   case $host_cpu in
   18098   ia64*)
   18099     shrext_cmds='.so'
   18100     hardcode_into_libs=yes
   18101     dynamic_linker="$host_os dld.so"
   18102     shlibpath_var=LD_LIBRARY_PATH
   18103     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18104     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18105     soname_spec='${libname}${release}${shared_ext}$major'
   18106     if test "X$HPUX_IA64_MODE" = X32; then
   18107       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18108     else
   18109       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18110     fi
   18111     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18112     ;;
   18113    hppa*64*)
   18114      shrext_cmds='.sl'
   18115      hardcode_into_libs=yes
   18116      dynamic_linker="$host_os dld.sl"
   18117      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18118      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18119      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18120      soname_spec='${libname}${release}${shared_ext}$major'
   18121      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18122      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18123      ;;
   18124    *)
   18125     shrext_cmds='.sl'
   18126     dynamic_linker="$host_os dld.sl"
   18127     shlibpath_var=SHLIB_PATH
   18128     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18129     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18130     soname_spec='${libname}${release}${shared_ext}$major'
   18131     ;;
   18132   esac
   18133   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18134   postinstall_cmds='chmod 555 $lib'
   18135   ;;
   18136 
   18137 interix[3-9]*)
   18138   version_type=linux
   18139   need_lib_prefix=no
   18140   need_version=no
   18141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18142   soname_spec='${libname}${release}${shared_ext}$major'
   18143   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18144   shlibpath_var=LD_LIBRARY_PATH
   18145   shlibpath_overrides_runpath=no
   18146   hardcode_into_libs=yes
   18147   ;;
   18148 
   18149 irix5* | irix6* | nonstopux*)
   18150   case $host_os in
   18151     nonstopux*) version_type=nonstopux ;;
   18152     *)
   18153 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18154 		version_type=linux
   18155 	else
   18156 		version_type=irix
   18157 	fi ;;
   18158   esac
   18159   need_lib_prefix=no
   18160   need_version=no
   18161   soname_spec='${libname}${release}${shared_ext}$major'
   18162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18163   case $host_os in
   18164   irix5* | nonstopux*)
   18165     libsuff= shlibsuff=
   18166     ;;
   18167   *)
   18168     case $LD in # libtool.m4 will add one of these switches to LD
   18169     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18170       libsuff= shlibsuff= libmagic=32-bit;;
   18171     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18172       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18173     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18174       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18175     *) libsuff= shlibsuff= libmagic=never-match;;
   18176     esac
   18177     ;;
   18178   esac
   18179   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18180   shlibpath_overrides_runpath=no
   18181   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18182   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18183   hardcode_into_libs=yes
   18184   ;;
   18185 
   18186 # No shared lib support for Linux oldld, aout, or coff.
   18187 linux*oldld* | linux*aout* | linux*coff*)
   18188   dynamic_linker=no
   18189   ;;
   18190 
   18191 # This must be Linux ELF.
   18192 linux* | k*bsd*-gnu)
   18193   version_type=linux
   18194   need_lib_prefix=no
   18195   need_version=no
   18196   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18197   soname_spec='${libname}${release}${shared_ext}$major'
   18198   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18199   shlibpath_var=LD_LIBRARY_PATH
   18200   shlibpath_overrides_runpath=no
   18201   # This implies no fast_install, which is unacceptable.
   18202   # Some rework will be needed to allow for fast_install
   18203   # before this can be enabled.
   18204   hardcode_into_libs=yes
   18205 
   18206   # Append ld.so.conf contents to the search path
   18207   if test -f /etc/ld.so.conf; then
   18208     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18209     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18210   fi
   18211 
   18212   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18213   # powerpc, because MkLinux only supported shared libraries with the
   18214   # GNU dynamic linker.  Since this was broken with cross compilers,
   18215   # most powerpc-linux boxes support dynamic linking these days and
   18216   # people can always --disable-shared, the test was removed, and we
   18217   # assume the GNU/Linux dynamic linker is in use.
   18218   dynamic_linker='GNU/Linux ld.so'
   18219   ;;
   18220 
   18221 netbsd*)
   18222   version_type=sunos
   18223   need_lib_prefix=no
   18224   need_version=no
   18225   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18226     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18227     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18228     dynamic_linker='NetBSD (a.out) ld.so'
   18229   else
   18230     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18231     soname_spec='${libname}${release}${shared_ext}$major'
   18232     dynamic_linker='NetBSD ld.elf_so'
   18233   fi
   18234   shlibpath_var=LD_LIBRARY_PATH
   18235   shlibpath_overrides_runpath=yes
   18236   hardcode_into_libs=yes
   18237   ;;
   18238 
   18239 newsos6)
   18240   version_type=linux
   18241   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18242   shlibpath_var=LD_LIBRARY_PATH
   18243   shlibpath_overrides_runpath=yes
   18244   ;;
   18245 
   18246 nto-qnx*)
   18247   version_type=linux
   18248   need_lib_prefix=no
   18249   need_version=no
   18250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18251   soname_spec='${libname}${release}${shared_ext}$major'
   18252   shlibpath_var=LD_LIBRARY_PATH
   18253   shlibpath_overrides_runpath=yes
   18254   ;;
   18255 
   18256 openbsd*)
   18257   version_type=sunos
   18258   sys_lib_dlsearch_path_spec="/usr/lib"
   18259   need_lib_prefix=no
   18260   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18261   case $host_os in
   18262     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18263     *)                         need_version=no  ;;
   18264   esac
   18265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18266   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18267   shlibpath_var=LD_LIBRARY_PATH
   18268   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18269     case $host_os in
   18270       openbsd2.[89] | openbsd2.[89].*)
   18271 	shlibpath_overrides_runpath=no
   18272 	;;
   18273       *)
   18274 	shlibpath_overrides_runpath=yes
   18275 	;;
   18276       esac
   18277   else
   18278     shlibpath_overrides_runpath=yes
   18279   fi
   18280   ;;
   18281 
   18282 os2*)
   18283   libname_spec='$name'
   18284   shrext_cmds=".dll"
   18285   need_lib_prefix=no
   18286   library_names_spec='$libname${shared_ext} $libname.a'
   18287   dynamic_linker='OS/2 ld.exe'
   18288   shlibpath_var=LIBPATH
   18289   ;;
   18290 
   18291 osf3* | osf4* | osf5*)
   18292   version_type=osf
   18293   need_lib_prefix=no
   18294   need_version=no
   18295   soname_spec='${libname}${release}${shared_ext}$major'
   18296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18297   shlibpath_var=LD_LIBRARY_PATH
   18298   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18299   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18300   ;;
   18301 
   18302 rdos*)
   18303   dynamic_linker=no
   18304   ;;
   18305 
   18306 solaris*)
   18307   version_type=linux
   18308   need_lib_prefix=no
   18309   need_version=no
   18310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18311   soname_spec='${libname}${release}${shared_ext}$major'
   18312   shlibpath_var=LD_LIBRARY_PATH
   18313   shlibpath_overrides_runpath=yes
   18314   hardcode_into_libs=yes
   18315   # ldd complains unless libraries are executable
   18316   postinstall_cmds='chmod +x $lib'
   18317   ;;
   18318 
   18319 sunos4*)
   18320   version_type=sunos
   18321   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18322   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18323   shlibpath_var=LD_LIBRARY_PATH
   18324   shlibpath_overrides_runpath=yes
   18325   if test "$with_gnu_ld" = yes; then
   18326     need_lib_prefix=no
   18327   fi
   18328   need_version=yes
   18329   ;;
   18330 
   18331 sysv4 | sysv4.3*)
   18332   version_type=linux
   18333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18334   soname_spec='${libname}${release}${shared_ext}$major'
   18335   shlibpath_var=LD_LIBRARY_PATH
   18336   case $host_vendor in
   18337     sni)
   18338       shlibpath_overrides_runpath=no
   18339       need_lib_prefix=no
   18340       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18341       runpath_var=LD_RUN_PATH
   18342       ;;
   18343     siemens)
   18344       need_lib_prefix=no
   18345       ;;
   18346     motorola)
   18347       need_lib_prefix=no
   18348       need_version=no
   18349       shlibpath_overrides_runpath=no
   18350       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18351       ;;
   18352   esac
   18353   ;;
   18354 
   18355 sysv4*MP*)
   18356   if test -d /usr/nec ;then
   18357     version_type=linux
   18358     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18359     soname_spec='$libname${shared_ext}.$major'
   18360     shlibpath_var=LD_LIBRARY_PATH
   18361   fi
   18362   ;;
   18363 
   18364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18365   version_type=freebsd-elf
   18366   need_lib_prefix=no
   18367   need_version=no
   18368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18369   soname_spec='${libname}${release}${shared_ext}$major'
   18370   shlibpath_var=LD_LIBRARY_PATH
   18371   hardcode_into_libs=yes
   18372   if test "$with_gnu_ld" = yes; then
   18373     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18374     shlibpath_overrides_runpath=no
   18375   else
   18376     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18377     shlibpath_overrides_runpath=yes
   18378     case $host_os in
   18379       sco3.2v5*)
   18380         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18381 	;;
   18382     esac
   18383   fi
   18384   sys_lib_dlsearch_path_spec='/usr/lib'
   18385   ;;
   18386 
   18387 uts4*)
   18388   version_type=linux
   18389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18390   soname_spec='${libname}${release}${shared_ext}$major'
   18391   shlibpath_var=LD_LIBRARY_PATH
   18392   ;;
   18393 
   18394 *)
   18395   dynamic_linker=no
   18396   ;;
   18397 esac
   18398 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18399 echo "${ECHO_T}$dynamic_linker" >&6; }
   18400 test "$dynamic_linker" = no && can_build_shared=no
   18401 
   18402 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18403 if test "$GCC" = yes; then
   18404   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18405 fi
   18406 
   18407 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18408 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18409 hardcode_action_GCJ=
   18410 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18411    test -n "$runpath_var_GCJ" || \
   18412    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18413 
   18414   # We can hardcode non-existant directories.
   18415   if test "$hardcode_direct_GCJ" != no &&
   18416      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18417      # have to relink, otherwise we might link with an installed library
   18418      # when we should be linking with a yet-to-be-installed one
   18419      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18420      test "$hardcode_minus_L_GCJ" != no; then
   18421     # Linking always hardcodes the temporary library directory.
   18422     hardcode_action_GCJ=relink
   18423   else
   18424     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18425     hardcode_action_GCJ=immediate
   18426   fi
   18427 else
   18428   # We cannot hardcode anything, or else we can only hardcode existing
   18429   # directories.
   18430   hardcode_action_GCJ=unsupported
   18431 fi
   18432 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18433 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18434 
   18435 if test "$hardcode_action_GCJ" = relink; then
   18436   # Fast installation is not supported
   18437   enable_fast_install=no
   18438 elif test "$shlibpath_overrides_runpath" = yes ||
   18439      test "$enable_shared" = no; then
   18440   # Fast installation is not necessary
   18441   enable_fast_install=needless
   18442 fi
   18443 
   18444 
   18445 # The else clause should only fire when bootstrapping the
   18446 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18447 # with your package, and you will get complaints that there are
   18448 # no rules to generate ltmain.sh.
   18449 if test -f "$ltmain"; then
   18450   # See if we are running on zsh, and set the options which allow our commands through
   18451   # without removal of \ escapes.
   18452   if test -n "${ZSH_VERSION+set}" ; then
   18453     setopt NO_GLOB_SUBST
   18454   fi
   18455   # Now quote all the things that may contain metacharacters while being
   18456   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18457   # variables and quote the copies for generation of the libtool script.
   18458   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18459     SED SHELL STRIP \
   18460     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18461     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18462     deplibs_check_method reload_flag reload_cmds need_locks \
   18463     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18464     lt_cv_sys_global_symbol_to_c_name_address \
   18465     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18466     old_postinstall_cmds old_postuninstall_cmds \
   18467     compiler_GCJ \
   18468     CC_GCJ \
   18469     LD_GCJ \
   18470     lt_prog_compiler_wl_GCJ \
   18471     lt_prog_compiler_pic_GCJ \
   18472     lt_prog_compiler_static_GCJ \
   18473     lt_prog_compiler_no_builtin_flag_GCJ \
   18474     export_dynamic_flag_spec_GCJ \
   18475     thread_safe_flag_spec_GCJ \
   18476     whole_archive_flag_spec_GCJ \
   18477     enable_shared_with_static_runtimes_GCJ \
   18478     old_archive_cmds_GCJ \
   18479     old_archive_from_new_cmds_GCJ \
   18480     predep_objects_GCJ \
   18481     postdep_objects_GCJ \
   18482     predeps_GCJ \
   18483     postdeps_GCJ \
   18484     compiler_lib_search_path_GCJ \
   18485     archive_cmds_GCJ \
   18486     archive_expsym_cmds_GCJ \
   18487     postinstall_cmds_GCJ \
   18488     postuninstall_cmds_GCJ \
   18489     old_archive_from_expsyms_cmds_GCJ \
   18490     allow_undefined_flag_GCJ \
   18491     no_undefined_flag_GCJ \
   18492     export_symbols_cmds_GCJ \
   18493     hardcode_libdir_flag_spec_GCJ \
   18494     hardcode_libdir_flag_spec_ld_GCJ \
   18495     hardcode_libdir_separator_GCJ \
   18496     hardcode_automatic_GCJ \
   18497     module_cmds_GCJ \
   18498     module_expsym_cmds_GCJ \
   18499     lt_cv_prog_compiler_c_o_GCJ \
   18500     fix_srcfile_path_GCJ \
   18501     exclude_expsyms_GCJ \
   18502     include_expsyms_GCJ; do
   18503 
   18504     case $var in
   18505     old_archive_cmds_GCJ | \
   18506     old_archive_from_new_cmds_GCJ | \
   18507     archive_cmds_GCJ | \
   18508     archive_expsym_cmds_GCJ | \
   18509     module_cmds_GCJ | \
   18510     module_expsym_cmds_GCJ | \
   18511     old_archive_from_expsyms_cmds_GCJ | \
   18512     export_symbols_cmds_GCJ | \
   18513     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18514     postinstall_cmds | postuninstall_cmds | \
   18515     old_postinstall_cmds | old_postuninstall_cmds | \
   18516     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18517       # Double-quote double-evaled strings.
   18518       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18519       ;;
   18520     *)
   18521       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18522       ;;
   18523     esac
   18524   done
   18525 
   18526   case $lt_echo in
   18527   *'\$0 --fallback-echo"')
   18528     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18529     ;;
   18530   esac
   18531 
   18532 cfgfile="$ofile"
   18533 
   18534   cat <<__EOF__ >> "$cfgfile"
   18535 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18536 
   18537 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18538 
   18539 # Shell to use when invoking shell scripts.
   18540 SHELL=$lt_SHELL
   18541 
   18542 # Whether or not to build shared libraries.
   18543 build_libtool_libs=$enable_shared
   18544 
   18545 # Whether or not to build static libraries.
   18546 build_old_libs=$enable_static
   18547 
   18548 # Whether or not to add -lc for building shared libraries.
   18549 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18550 
   18551 # Whether or not to disallow shared libs when runtime libs are static
   18552 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18553 
   18554 # Whether or not to optimize for fast installation.
   18555 fast_install=$enable_fast_install
   18556 
   18557 # The host system.
   18558 host_alias=$host_alias
   18559 host=$host
   18560 host_os=$host_os
   18561 
   18562 # The build system.
   18563 build_alias=$build_alias
   18564 build=$build
   18565 build_os=$build_os
   18566 
   18567 # An echo program that does not interpret backslashes.
   18568 echo=$lt_echo
   18569 
   18570 # The archiver.
   18571 AR=$lt_AR
   18572 AR_FLAGS=$lt_AR_FLAGS
   18573 
   18574 # A C compiler.
   18575 LTCC=$lt_LTCC
   18576 
   18577 # LTCC compiler flags.
   18578 LTCFLAGS=$lt_LTCFLAGS
   18579 
   18580 # A language-specific compiler.
   18581 CC=$lt_compiler_GCJ
   18582 
   18583 # Is the compiler the GNU C compiler?
   18584 with_gcc=$GCC_GCJ
   18585 
   18586 # An ERE matcher.
   18587 EGREP=$lt_EGREP
   18588 
   18589 # The linker used to build libraries.
   18590 LD=$lt_LD_GCJ
   18591 
   18592 # Whether we need hard or soft links.
   18593 LN_S=$lt_LN_S
   18594 
   18595 # A BSD-compatible nm program.
   18596 NM=$lt_NM
   18597 
   18598 # A symbol stripping program
   18599 STRIP=$lt_STRIP
   18600 
   18601 # Used to examine libraries when file_magic_cmd begins "file"
   18602 MAGIC_CMD=$MAGIC_CMD
   18603 
   18604 # Used on cygwin: DLL creation program.
   18605 DLLTOOL="$DLLTOOL"
   18606 
   18607 # Used on cygwin: object dumper.
   18608 OBJDUMP="$OBJDUMP"
   18609 
   18610 # Used on cygwin: assembler.
   18611 AS="$AS"
   18612 
   18613 # The name of the directory that contains temporary libtool files.
   18614 objdir=$objdir
   18615 
   18616 # How to create reloadable object files.
   18617 reload_flag=$lt_reload_flag
   18618 reload_cmds=$lt_reload_cmds
   18619 
   18620 # How to pass a linker flag through the compiler.
   18621 wl=$lt_lt_prog_compiler_wl_GCJ
   18622 
   18623 # Object file suffix (normally "o").
   18624 objext="$ac_objext"
   18625 
   18626 # Old archive suffix (normally "a").
   18627 libext="$libext"
   18628 
   18629 # Shared library suffix (normally ".so").
   18630 shrext_cmds='$shrext_cmds'
   18631 
   18632 # Executable file suffix (normally "").
   18633 exeext="$exeext"
   18634 
   18635 # Additional compiler flags for building library objects.
   18636 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18637 pic_mode=$pic_mode
   18638 
   18639 # What is the maximum length of a command?
   18640 max_cmd_len=$lt_cv_sys_max_cmd_len
   18641 
   18642 # Does compiler simultaneously support -c and -o options?
   18643 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18644 
   18645 # Must we lock files when doing compilation?
   18646 need_locks=$lt_need_locks
   18647 
   18648 # Do we need the lib prefix for modules?
   18649 need_lib_prefix=$need_lib_prefix
   18650 
   18651 # Do we need a version for libraries?
   18652 need_version=$need_version
   18653 
   18654 # Whether dlopen is supported.
   18655 dlopen_support=$enable_dlopen
   18656 
   18657 # Whether dlopen of programs is supported.
   18658 dlopen_self=$enable_dlopen_self
   18659 
   18660 # Whether dlopen of statically linked programs is supported.
   18661 dlopen_self_static=$enable_dlopen_self_static
   18662 
   18663 # Compiler flag to prevent dynamic linking.
   18664 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18665 
   18666 # Compiler flag to turn off builtin functions.
   18667 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18668 
   18669 # Compiler flag to allow reflexive dlopens.
   18670 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18671 
   18672 # Compiler flag to generate shared objects directly from archives.
   18673 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18674 
   18675 # Compiler flag to generate thread-safe objects.
   18676 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18677 
   18678 # Library versioning type.
   18679 version_type=$version_type
   18680 
   18681 # Format of library name prefix.
   18682 libname_spec=$lt_libname_spec
   18683 
   18684 # List of archive names.  First name is the real one, the rest are links.
   18685 # The last name is the one that the linker finds with -lNAME.
   18686 library_names_spec=$lt_library_names_spec
   18687 
   18688 # The coded name of the library, if different from the real name.
   18689 soname_spec=$lt_soname_spec
   18690 
   18691 # Commands used to build and install an old-style archive.
   18692 RANLIB=$lt_RANLIB
   18693 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18694 old_postinstall_cmds=$lt_old_postinstall_cmds
   18695 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18696 
   18697 # Create an old-style archive from a shared archive.
   18698 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18699 
   18700 # Create a temporary old-style archive to link instead of a shared archive.
   18701 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18702 
   18703 # Commands used to build and install a shared archive.
   18704 archive_cmds=$lt_archive_cmds_GCJ
   18705 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18706 postinstall_cmds=$lt_postinstall_cmds
   18707 postuninstall_cmds=$lt_postuninstall_cmds
   18708 
   18709 # Commands used to build a loadable module (assumed same as above if empty)
   18710 module_cmds=$lt_module_cmds_GCJ
   18711 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18712 
   18713 # Commands to strip libraries.
   18714 old_striplib=$lt_old_striplib
   18715 striplib=$lt_striplib
   18716 
   18717 # Dependencies to place before the objects being linked to create a
   18718 # shared library.
   18719 predep_objects=$lt_predep_objects_GCJ
   18720 
   18721 # Dependencies to place after the objects being linked to create a
   18722 # shared library.
   18723 postdep_objects=$lt_postdep_objects_GCJ
   18724 
   18725 # Dependencies to place before the objects being linked to create a
   18726 # shared library.
   18727 predeps=$lt_predeps_GCJ
   18728 
   18729 # Dependencies to place after the objects being linked to create a
   18730 # shared library.
   18731 postdeps=$lt_postdeps_GCJ
   18732 
   18733 # The library search path used internally by the compiler when linking
   18734 # a shared library.
   18735 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18736 
   18737 # Method to check whether dependent libraries are shared objects.
   18738 deplibs_check_method=$lt_deplibs_check_method
   18739 
   18740 # Command to use when deplibs_check_method == file_magic.
   18741 file_magic_cmd=$lt_file_magic_cmd
   18742 
   18743 # Flag that allows shared libraries with undefined symbols to be built.
   18744 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18745 
   18746 # Flag that forces no undefined symbols.
   18747 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18748 
   18749 # Commands used to finish a libtool library installation in a directory.
   18750 finish_cmds=$lt_finish_cmds
   18751 
   18752 # Same as above, but a single script fragment to be evaled but not shown.
   18753 finish_eval=$lt_finish_eval
   18754 
   18755 # Take the output of nm and produce a listing of raw symbols and C names.
   18756 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18757 
   18758 # Transform the output of nm in a proper C declaration
   18759 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18760 
   18761 # Transform the output of nm in a C name address pair
   18762 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18763 
   18764 # This is the shared library runtime path variable.
   18765 runpath_var=$runpath_var
   18766 
   18767 # This is the shared library path variable.
   18768 shlibpath_var=$shlibpath_var
   18769 
   18770 # Is shlibpath searched before the hard-coded library search path?
   18771 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18772 
   18773 # How to hardcode a shared library path into an executable.
   18774 hardcode_action=$hardcode_action_GCJ
   18775 
   18776 # Whether we should hardcode library paths into libraries.
   18777 hardcode_into_libs=$hardcode_into_libs
   18778 
   18779 # Flag to hardcode \$libdir into a binary during linking.
   18780 # This must work even if \$libdir does not exist.
   18781 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18782 
   18783 # If ld is used when linking, flag to hardcode \$libdir into
   18784 # a binary during linking. This must work even if \$libdir does
   18785 # not exist.
   18786 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18787 
   18788 # Whether we need a single -rpath flag with a separated argument.
   18789 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18790 
   18791 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18792 # resulting binary.
   18793 hardcode_direct=$hardcode_direct_GCJ
   18794 
   18795 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18796 # resulting binary.
   18797 hardcode_minus_L=$hardcode_minus_L_GCJ
   18798 
   18799 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18800 # the resulting binary.
   18801 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18802 
   18803 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18804 # and all subsequent libraries and executables linked against it.
   18805 hardcode_automatic=$hardcode_automatic_GCJ
   18806 
   18807 # Variables whose values should be saved in libtool wrapper scripts and
   18808 # restored at relink time.
   18809 variables_saved_for_relink="$variables_saved_for_relink"
   18810 
   18811 # Whether libtool must link a program against all its dependency libraries.
   18812 link_all_deplibs=$link_all_deplibs_GCJ
   18813 
   18814 # Compile-time system search path for libraries
   18815 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18816 
   18817 # Run-time system search path for libraries
   18818 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18819 
   18820 # Fix the shell variable \$srcfile for the compiler.
   18821 fix_srcfile_path=$lt_fix_srcfile_path
   18822 
   18823 # Set to yes if exported symbols are required.
   18824 always_export_symbols=$always_export_symbols_GCJ
   18825 
   18826 # The commands to list exported symbols.
   18827 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18828 
   18829 # The commands to extract the exported symbol list from a shared archive.
   18830 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18831 
   18832 # Symbols that should not be listed in the preloaded symbols.
   18833 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18834 
   18835 # Symbols that must always be exported.
   18836 include_expsyms=$lt_include_expsyms_GCJ
   18837 
   18838 # ### END LIBTOOL TAG CONFIG: $tagname
   18839 
   18840 __EOF__
   18841 
   18842 
   18843 else
   18844   # If there is no Makefile yet, we rely on a make rule to execute
   18845   # `config.status --recheck' to rerun these tests and create the
   18846   # libtool script then.
   18847   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18848   if test -f "$ltmain_in"; then
   18849     test -f Makefile && make "$ltmain"
   18850   fi
   18851 fi
   18852 
   18853 
   18854 ac_ext=c
   18855 ac_cpp='$CPP $CPPFLAGS'
   18856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18859 
   18860 CC="$lt_save_CC"
   18861 
   18862 	else
   18863 	  tagname=""
   18864 	fi
   18865 	;;
   18866 
   18867       RC)
   18868 
   18869 
   18870 # Source file extension for RC test sources.
   18871 ac_ext=rc
   18872 
   18873 # Object file extension for compiled RC test sources.
   18874 objext=o
   18875 objext_RC=$objext
   18876 
   18877 # Code to be used in simple compile tests
   18878 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   18879 
   18880 # Code to be used in simple link tests
   18881 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18882 
   18883 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18884 
   18885 # If no C compiler was specified, use CC.
   18886 LTCC=${LTCC-"$CC"}
   18887 
   18888 # If no C compiler flags were specified, use CFLAGS.
   18889 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18890 
   18891 # Allow CC to be a program name with arguments.
   18892 compiler=$CC
   18893 
   18894 
   18895 # save warnings/boilerplate of simple test code
   18896 ac_outfile=conftest.$ac_objext
   18897 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   18898 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18899 _lt_compiler_boilerplate=`cat conftest.err`
   18900 $rm conftest*
   18901 
   18902 ac_outfile=conftest.$ac_objext
   18903 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   18904 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18905 _lt_linker_boilerplate=`cat conftest.err`
   18906 $rm conftest*
   18907 
   18908 
   18909 # Allow CC to be a program name with arguments.
   18910 lt_save_CC="$CC"
   18911 CC=${RC-"windres"}
   18912 compiler=$CC
   18913 compiler_RC=$CC
   18914 for cc_temp in $compiler""; do
   18915   case $cc_temp in
   18916     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18917     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18918     \-*) ;;
   18919     *) break;;
   18920   esac
   18921 done
   18922 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18923 
   18924 lt_cv_prog_compiler_c_o_RC=yes
   18925 
   18926 # The else clause should only fire when bootstrapping the
   18927 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18928 # with your package, and you will get complaints that there are
   18929 # no rules to generate ltmain.sh.
   18930 if test -f "$ltmain"; then
   18931   # See if we are running on zsh, and set the options which allow our commands through
   18932   # without removal of \ escapes.
   18933   if test -n "${ZSH_VERSION+set}" ; then
   18934     setopt NO_GLOB_SUBST
   18935   fi
   18936   # Now quote all the things that may contain metacharacters while being
   18937   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18938   # variables and quote the copies for generation of the libtool script.
   18939   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18940     SED SHELL STRIP \
   18941     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18942     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18943     deplibs_check_method reload_flag reload_cmds need_locks \
   18944     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18945     lt_cv_sys_global_symbol_to_c_name_address \
   18946     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18947     old_postinstall_cmds old_postuninstall_cmds \
   18948     compiler_RC \
   18949     CC_RC \
   18950     LD_RC \
   18951     lt_prog_compiler_wl_RC \
   18952     lt_prog_compiler_pic_RC \
   18953     lt_prog_compiler_static_RC \
   18954     lt_prog_compiler_no_builtin_flag_RC \
   18955     export_dynamic_flag_spec_RC \
   18956     thread_safe_flag_spec_RC \
   18957     whole_archive_flag_spec_RC \
   18958     enable_shared_with_static_runtimes_RC \
   18959     old_archive_cmds_RC \
   18960     old_archive_from_new_cmds_RC \
   18961     predep_objects_RC \
   18962     postdep_objects_RC \
   18963     predeps_RC \
   18964     postdeps_RC \
   18965     compiler_lib_search_path_RC \
   18966     archive_cmds_RC \
   18967     archive_expsym_cmds_RC \
   18968     postinstall_cmds_RC \
   18969     postuninstall_cmds_RC \
   18970     old_archive_from_expsyms_cmds_RC \
   18971     allow_undefined_flag_RC \
   18972     no_undefined_flag_RC \
   18973     export_symbols_cmds_RC \
   18974     hardcode_libdir_flag_spec_RC \
   18975     hardcode_libdir_flag_spec_ld_RC \
   18976     hardcode_libdir_separator_RC \
   18977     hardcode_automatic_RC \
   18978     module_cmds_RC \
   18979     module_expsym_cmds_RC \
   18980     lt_cv_prog_compiler_c_o_RC \
   18981     fix_srcfile_path_RC \
   18982     exclude_expsyms_RC \
   18983     include_expsyms_RC; do
   18984 
   18985     case $var in
   18986     old_archive_cmds_RC | \
   18987     old_archive_from_new_cmds_RC | \
   18988     archive_cmds_RC | \
   18989     archive_expsym_cmds_RC | \
   18990     module_cmds_RC | \
   18991     module_expsym_cmds_RC | \
   18992     old_archive_from_expsyms_cmds_RC | \
   18993     export_symbols_cmds_RC | \
   18994     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18995     postinstall_cmds | postuninstall_cmds | \
   18996     old_postinstall_cmds | old_postuninstall_cmds | \
   18997     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18998       # Double-quote double-evaled strings.
   18999       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19000       ;;
   19001     *)
   19002       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19003       ;;
   19004     esac
   19005   done
   19006 
   19007   case $lt_echo in
   19008   *'\$0 --fallback-echo"')
   19009     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19010     ;;
   19011   esac
   19012 
   19013 cfgfile="$ofile"
   19014 
   19015   cat <<__EOF__ >> "$cfgfile"
   19016 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19017 
   19018 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19019 
   19020 # Shell to use when invoking shell scripts.
   19021 SHELL=$lt_SHELL
   19022 
   19023 # Whether or not to build shared libraries.
   19024 build_libtool_libs=$enable_shared
   19025 
   19026 # Whether or not to build static libraries.
   19027 build_old_libs=$enable_static
   19028 
   19029 # Whether or not to add -lc for building shared libraries.
   19030 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19031 
   19032 # Whether or not to disallow shared libs when runtime libs are static
   19033 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19034 
   19035 # Whether or not to optimize for fast installation.
   19036 fast_install=$enable_fast_install
   19037 
   19038 # The host system.
   19039 host_alias=$host_alias
   19040 host=$host
   19041 host_os=$host_os
   19042 
   19043 # The build system.
   19044 build_alias=$build_alias
   19045 build=$build
   19046 build_os=$build_os
   19047 
   19048 # An echo program that does not interpret backslashes.
   19049 echo=$lt_echo
   19050 
   19051 # The archiver.
   19052 AR=$lt_AR
   19053 AR_FLAGS=$lt_AR_FLAGS
   19054 
   19055 # A C compiler.
   19056 LTCC=$lt_LTCC
   19057 
   19058 # LTCC compiler flags.
   19059 LTCFLAGS=$lt_LTCFLAGS
   19060 
   19061 # A language-specific compiler.
   19062 CC=$lt_compiler_RC
   19063 
   19064 # Is the compiler the GNU C compiler?
   19065 with_gcc=$GCC_RC
   19066 
   19067 # An ERE matcher.
   19068 EGREP=$lt_EGREP
   19069 
   19070 # The linker used to build libraries.
   19071 LD=$lt_LD_RC
   19072 
   19073 # Whether we need hard or soft links.
   19074 LN_S=$lt_LN_S
   19075 
   19076 # A BSD-compatible nm program.
   19077 NM=$lt_NM
   19078 
   19079 # A symbol stripping program
   19080 STRIP=$lt_STRIP
   19081 
   19082 # Used to examine libraries when file_magic_cmd begins "file"
   19083 MAGIC_CMD=$MAGIC_CMD
   19084 
   19085 # Used on cygwin: DLL creation program.
   19086 DLLTOOL="$DLLTOOL"
   19087 
   19088 # Used on cygwin: object dumper.
   19089 OBJDUMP="$OBJDUMP"
   19090 
   19091 # Used on cygwin: assembler.
   19092 AS="$AS"
   19093 
   19094 # The name of the directory that contains temporary libtool files.
   19095 objdir=$objdir
   19096 
   19097 # How to create reloadable object files.
   19098 reload_flag=$lt_reload_flag
   19099 reload_cmds=$lt_reload_cmds
   19100 
   19101 # How to pass a linker flag through the compiler.
   19102 wl=$lt_lt_prog_compiler_wl_RC
   19103 
   19104 # Object file suffix (normally "o").
   19105 objext="$ac_objext"
   19106 
   19107 # Old archive suffix (normally "a").
   19108 libext="$libext"
   19109 
   19110 # Shared library suffix (normally ".so").
   19111 shrext_cmds='$shrext_cmds'
   19112 
   19113 # Executable file suffix (normally "").
   19114 exeext="$exeext"
   19115 
   19116 # Additional compiler flags for building library objects.
   19117 pic_flag=$lt_lt_prog_compiler_pic_RC
   19118 pic_mode=$pic_mode
   19119 
   19120 # What is the maximum length of a command?
   19121 max_cmd_len=$lt_cv_sys_max_cmd_len
   19122 
   19123 # Does compiler simultaneously support -c and -o options?
   19124 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19125 
   19126 # Must we lock files when doing compilation?
   19127 need_locks=$lt_need_locks
   19128 
   19129 # Do we need the lib prefix for modules?
   19130 need_lib_prefix=$need_lib_prefix
   19131 
   19132 # Do we need a version for libraries?
   19133 need_version=$need_version
   19134 
   19135 # Whether dlopen is supported.
   19136 dlopen_support=$enable_dlopen
   19137 
   19138 # Whether dlopen of programs is supported.
   19139 dlopen_self=$enable_dlopen_self
   19140 
   19141 # Whether dlopen of statically linked programs is supported.
   19142 dlopen_self_static=$enable_dlopen_self_static
   19143 
   19144 # Compiler flag to prevent dynamic linking.
   19145 link_static_flag=$lt_lt_prog_compiler_static_RC
   19146 
   19147 # Compiler flag to turn off builtin functions.
   19148 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19149 
   19150 # Compiler flag to allow reflexive dlopens.
   19151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19152 
   19153 # Compiler flag to generate shared objects directly from archives.
   19154 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19155 
   19156 # Compiler flag to generate thread-safe objects.
   19157 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19158 
   19159 # Library versioning type.
   19160 version_type=$version_type
   19161 
   19162 # Format of library name prefix.
   19163 libname_spec=$lt_libname_spec
   19164 
   19165 # List of archive names.  First name is the real one, the rest are links.
   19166 # The last name is the one that the linker finds with -lNAME.
   19167 library_names_spec=$lt_library_names_spec
   19168 
   19169 # The coded name of the library, if different from the real name.
   19170 soname_spec=$lt_soname_spec
   19171 
   19172 # Commands used to build and install an old-style archive.
   19173 RANLIB=$lt_RANLIB
   19174 old_archive_cmds=$lt_old_archive_cmds_RC
   19175 old_postinstall_cmds=$lt_old_postinstall_cmds
   19176 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19177 
   19178 # Create an old-style archive from a shared archive.
   19179 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19180 
   19181 # Create a temporary old-style archive to link instead of a shared archive.
   19182 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19183 
   19184 # Commands used to build and install a shared archive.
   19185 archive_cmds=$lt_archive_cmds_RC
   19186 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19187 postinstall_cmds=$lt_postinstall_cmds
   19188 postuninstall_cmds=$lt_postuninstall_cmds
   19189 
   19190 # Commands used to build a loadable module (assumed same as above if empty)
   19191 module_cmds=$lt_module_cmds_RC
   19192 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19193 
   19194 # Commands to strip libraries.
   19195 old_striplib=$lt_old_striplib
   19196 striplib=$lt_striplib
   19197 
   19198 # Dependencies to place before the objects being linked to create a
   19199 # shared library.
   19200 predep_objects=$lt_predep_objects_RC
   19201 
   19202 # Dependencies to place after the objects being linked to create a
   19203 # shared library.
   19204 postdep_objects=$lt_postdep_objects_RC
   19205 
   19206 # Dependencies to place before the objects being linked to create a
   19207 # shared library.
   19208 predeps=$lt_predeps_RC
   19209 
   19210 # Dependencies to place after the objects being linked to create a
   19211 # shared library.
   19212 postdeps=$lt_postdeps_RC
   19213 
   19214 # The library search path used internally by the compiler when linking
   19215 # a shared library.
   19216 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19217 
   19218 # Method to check whether dependent libraries are shared objects.
   19219 deplibs_check_method=$lt_deplibs_check_method
   19220 
   19221 # Command to use when deplibs_check_method == file_magic.
   19222 file_magic_cmd=$lt_file_magic_cmd
   19223 
   19224 # Flag that allows shared libraries with undefined symbols to be built.
   19225 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19226 
   19227 # Flag that forces no undefined symbols.
   19228 no_undefined_flag=$lt_no_undefined_flag_RC
   19229 
   19230 # Commands used to finish a libtool library installation in a directory.
   19231 finish_cmds=$lt_finish_cmds
   19232 
   19233 # Same as above, but a single script fragment to be evaled but not shown.
   19234 finish_eval=$lt_finish_eval
   19235 
   19236 # Take the output of nm and produce a listing of raw symbols and C names.
   19237 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19238 
   19239 # Transform the output of nm in a proper C declaration
   19240 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19241 
   19242 # Transform the output of nm in a C name address pair
   19243 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19244 
   19245 # This is the shared library runtime path variable.
   19246 runpath_var=$runpath_var
   19247 
   19248 # This is the shared library path variable.
   19249 shlibpath_var=$shlibpath_var
   19250 
   19251 # Is shlibpath searched before the hard-coded library search path?
   19252 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19253 
   19254 # How to hardcode a shared library path into an executable.
   19255 hardcode_action=$hardcode_action_RC
   19256 
   19257 # Whether we should hardcode library paths into libraries.
   19258 hardcode_into_libs=$hardcode_into_libs
   19259 
   19260 # Flag to hardcode \$libdir into a binary during linking.
   19261 # This must work even if \$libdir does not exist.
   19262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19263 
   19264 # If ld is used when linking, flag to hardcode \$libdir into
   19265 # a binary during linking. This must work even if \$libdir does
   19266 # not exist.
   19267 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19268 
   19269 # Whether we need a single -rpath flag with a separated argument.
   19270 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19271 
   19272 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19273 # resulting binary.
   19274 hardcode_direct=$hardcode_direct_RC
   19275 
   19276 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19277 # resulting binary.
   19278 hardcode_minus_L=$hardcode_minus_L_RC
   19279 
   19280 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19281 # the resulting binary.
   19282 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19283 
   19284 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19285 # and all subsequent libraries and executables linked against it.
   19286 hardcode_automatic=$hardcode_automatic_RC
   19287 
   19288 # Variables whose values should be saved in libtool wrapper scripts and
   19289 # restored at relink time.
   19290 variables_saved_for_relink="$variables_saved_for_relink"
   19291 
   19292 # Whether libtool must link a program against all its dependency libraries.
   19293 link_all_deplibs=$link_all_deplibs_RC
   19294 
   19295 # Compile-time system search path for libraries
   19296 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19297 
   19298 # Run-time system search path for libraries
   19299 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19300 
   19301 # Fix the shell variable \$srcfile for the compiler.
   19302 fix_srcfile_path=$lt_fix_srcfile_path
   19303 
   19304 # Set to yes if exported symbols are required.
   19305 always_export_symbols=$always_export_symbols_RC
   19306 
   19307 # The commands to list exported symbols.
   19308 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19309 
   19310 # The commands to extract the exported symbol list from a shared archive.
   19311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19312 
   19313 # Symbols that should not be listed in the preloaded symbols.
   19314 exclude_expsyms=$lt_exclude_expsyms_RC
   19315 
   19316 # Symbols that must always be exported.
   19317 include_expsyms=$lt_include_expsyms_RC
   19318 
   19319 # ### END LIBTOOL TAG CONFIG: $tagname
   19320 
   19321 __EOF__
   19322 
   19323 
   19324 else
   19325   # If there is no Makefile yet, we rely on a make rule to execute
   19326   # `config.status --recheck' to rerun these tests and create the
   19327   # libtool script then.
   19328   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19329   if test -f "$ltmain_in"; then
   19330     test -f Makefile && make "$ltmain"
   19331   fi
   19332 fi
   19333 
   19334 
   19335 ac_ext=c
   19336 ac_cpp='$CPP $CPPFLAGS'
   19337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19340 
   19341 CC="$lt_save_CC"
   19342 
   19343 	;;
   19344 
   19345       *)
   19346 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19347 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19348    { (exit 1); exit 1; }; }
   19349 	;;
   19350       esac
   19351 
   19352       # Append the new tag name to the list of available tags.
   19353       if test -n "$tagname" ; then
   19354       available_tags="$available_tags $tagname"
   19355     fi
   19356     fi
   19357   done
   19358   IFS="$lt_save_ifs"
   19359 
   19360   # Now substitute the updated list of available tags.
   19361   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19362     mv "${ofile}T" "$ofile"
   19363     chmod +x "$ofile"
   19364   else
   19365     rm -f "${ofile}T"
   19366     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19367 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19368    { (exit 1); exit 1; }; }
   19369   fi
   19370 fi
   19371 
   19372 
   19373 
   19374 # This can be used to rebuild libtool when needed
   19375 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19376 
   19377 # Always use our own libtool.
   19378 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19379 
   19380 # Prevent multiple expansion
   19381 
   19382 
   19383 
   19384 
   19385 
   19386 
   19387 
   19388 
   19389 
   19390 
   19391 
   19392 
   19393 
   19394 
   19395 
   19396 
   19397 
   19398 
   19399 
   19400 
   19401 # Check whether --enable-debug was given.
   19402 if test "${enable_debug+set}" = set; then
   19403   enableval=$enable_debug;
   19404 	CXXFLAGS="-g -O0 -Wall"
   19405 
   19406 cat >>confdefs.h <<\_ACEOF
   19407 #define WITH_DEBUG
   19408 _ACEOF
   19409 
   19410 
   19411 else
   19412 
   19413 	CXXFLAGS="-O0"
   19414 
   19415 
   19416 fi
   19417 
   19418 
   19419 
   19420 # Check whether --with-libldap was given.
   19421 if test "${with_libldap+set}" = set; then
   19422   withval=$with_libldap;
   19423 	LIBS="-L$with_libldap $LIBS "
   19424 
   19425 else
   19426 
   19427 	LIBS="-L/usr/local/lib $LIBS "
   19428 
   19429 
   19430 fi
   19431 
   19432 
   19433 
   19434 # Check whether --with-ldap-includes was given.
   19435 if test "${with_ldap_includes+set}" = set; then
   19436   withval=$with_ldap_includes;
   19437 	CPPFLAGS="-I$with_ldap_includes $CPPFLAGS "
   19438 
   19439 else
   19440 
   19441 	CPPFLAGS="-I/usr/local/include $CPPFLAGS "
   19442 
   19443 
   19444 fi
   19445 
   19446 
   19447 { echo "$as_me:$LINENO: checking for main in -lresolv" >&5
   19448 echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6; }
   19449 if test "${ac_cv_lib_resolv_main+set}" = set; then
   19450   echo $ECHO_N "(cached) $ECHO_C" >&6
   19451 else
   19452   ac_check_lib_save_LIBS=$LIBS
   19453 LIBS="-lresolv  $LIBS"
   19454 cat >conftest.$ac_ext <<_ACEOF
   19455 /* confdefs.h.  */
   19456 _ACEOF
   19457 cat confdefs.h >>conftest.$ac_ext
   19458 cat >>conftest.$ac_ext <<_ACEOF
   19459 /* end confdefs.h.  */
   19460 
   19461 
   19462 int
   19463 main ()
   19464 {
   19465 return main ();
   19466   ;
   19467   return 0;
   19468 }
   19469 _ACEOF
   19470 rm -f conftest.$ac_objext conftest$ac_exeext
   19471 if { (ac_try="$ac_link"
   19472 case "(($ac_try" in
   19473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19474   *) ac_try_echo=$ac_try;;
   19475 esac
   19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19477   (eval "$ac_link") 2>conftest.er1
   19478   ac_status=$?
   19479   grep -v '^ *+' conftest.er1 >conftest.err
   19480   rm -f conftest.er1
   19481   cat conftest.err >&5
   19482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19483   (exit $ac_status); } && {
   19484 	 test -z "$ac_c_werror_flag" ||
   19485 	 test ! -s conftest.err
   19486        } && test -s conftest$ac_exeext &&
   19487        $as_test_x conftest$ac_exeext; then
   19488   ac_cv_lib_resolv_main=yes
   19489 else
   19490   echo "$as_me: failed program was:" >&5
   19491 sed 's/^/| /' conftest.$ac_ext >&5
   19492 
   19493 	ac_cv_lib_resolv_main=no
   19494 fi
   19495 
   19496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19497       conftest$ac_exeext conftest.$ac_ext
   19498 LIBS=$ac_check_lib_save_LIBS
   19499 fi
   19500 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
   19501 echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6; }
   19502 if test $ac_cv_lib_resolv_main = yes; then
   19503   cat >>confdefs.h <<_ACEOF
   19504 #define HAVE_LIBRESOLV 1
   19505 _ACEOF
   19506 
   19507   LIBS="-lresolv $LIBS"
   19508 
   19509 fi
   19510 
   19511 { echo "$as_me:$LINENO: checking for ber_strdup in -llber" >&5
   19512 echo $ECHO_N "checking for ber_strdup in -llber... $ECHO_C" >&6; }
   19513 if test "${ac_cv_lib_lber_ber_strdup+set}" = set; then
   19514   echo $ECHO_N "(cached) $ECHO_C" >&6
   19515 else
   19516   ac_check_lib_save_LIBS=$LIBS
   19517 LIBS="-llber  $LIBS"
   19518 cat >conftest.$ac_ext <<_ACEOF
   19519 /* confdefs.h.  */
   19520 _ACEOF
   19521 cat confdefs.h >>conftest.$ac_ext
   19522 cat >>conftest.$ac_ext <<_ACEOF
   19523 /* end confdefs.h.  */
   19524 
   19525 /* Override any GCC internal prototype to avoid an error.
   19526    Use char because int might match the return type of a GCC
   19527    builtin and then its argument prototype would still apply.  */
   19528 #ifdef __cplusplus
   19529 extern "C"
   19530 #endif
   19531 char ber_strdup ();
   19532 int
   19533 main ()
   19534 {
   19535 return ber_strdup ();
   19536   ;
   19537   return 0;
   19538 }
   19539 _ACEOF
   19540 rm -f conftest.$ac_objext conftest$ac_exeext
   19541 if { (ac_try="$ac_link"
   19542 case "(($ac_try" in
   19543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19544   *) ac_try_echo=$ac_try;;
   19545 esac
   19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19547   (eval "$ac_link") 2>conftest.er1
   19548   ac_status=$?
   19549   grep -v '^ *+' conftest.er1 >conftest.err
   19550   rm -f conftest.er1
   19551   cat conftest.err >&5
   19552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19553   (exit $ac_status); } && {
   19554 	 test -z "$ac_c_werror_flag" ||
   19555 	 test ! -s conftest.err
   19556        } && test -s conftest$ac_exeext &&
   19557        $as_test_x conftest$ac_exeext; then
   19558   ac_cv_lib_lber_ber_strdup=yes
   19559 else
   19560   echo "$as_me: failed program was:" >&5
   19561 sed 's/^/| /' conftest.$ac_ext >&5
   19562 
   19563 	ac_cv_lib_lber_ber_strdup=no
   19564 fi
   19565 
   19566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19567       conftest$ac_exeext conftest.$ac_ext
   19568 LIBS=$ac_check_lib_save_LIBS
   19569 fi
   19570 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_strdup" >&5
   19571 echo "${ECHO_T}$ac_cv_lib_lber_ber_strdup" >&6; }
   19572 if test $ac_cv_lib_lber_ber_strdup = yes; then
   19573 
   19574         :
   19575 
   19576 else
   19577 
   19578         echo "        didn't find ber_strdup in liblber !";
   19579         echo "        Check for the right version (>= 2.0) of the OpenLDAP libraries";
   19580         echo "        or try the --with-libldap option.";
   19581         exit
   19582 
   19583 fi
   19584 
   19585 { echo "$as_me:$LINENO: checking for ldap_add_ext in -lldap" >&5
   19586 echo $ECHO_N "checking for ldap_add_ext in -lldap... $ECHO_C" >&6; }
   19587 if test "${ac_cv_lib_ldap_ldap_add_ext+set}" = set; then
   19588   echo $ECHO_N "(cached) $ECHO_C" >&6
   19589 else
   19590   ac_check_lib_save_LIBS=$LIBS
   19591 LIBS="-lldap
   19592     -llber
   19593      $LIBS"
   19594 cat >conftest.$ac_ext <<_ACEOF
   19595 /* confdefs.h.  */
   19596 _ACEOF
   19597 cat confdefs.h >>conftest.$ac_ext
   19598 cat >>conftest.$ac_ext <<_ACEOF
   19599 /* end confdefs.h.  */
   19600 
   19601 /* Override any GCC internal prototype to avoid an error.
   19602    Use char because int might match the return type of a GCC
   19603    builtin and then its argument prototype would still apply.  */
   19604 #ifdef __cplusplus
   19605 extern "C"
   19606 #endif
   19607 char ldap_add_ext ();
   19608 int
   19609 main ()
   19610 {
   19611 return ldap_add_ext ();
   19612   ;
   19613   return 0;
   19614 }
   19615 _ACEOF
   19616 rm -f conftest.$ac_objext conftest$ac_exeext
   19617 if { (ac_try="$ac_link"
   19618 case "(($ac_try" in
   19619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19620   *) ac_try_echo=$ac_try;;
   19621 esac
   19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19623   (eval "$ac_link") 2>conftest.er1
   19624   ac_status=$?
   19625   grep -v '^ *+' conftest.er1 >conftest.err
   19626   rm -f conftest.er1
   19627   cat conftest.err >&5
   19628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19629   (exit $ac_status); } && {
   19630 	 test -z "$ac_c_werror_flag" ||
   19631 	 test ! -s conftest.err
   19632        } && test -s conftest$ac_exeext &&
   19633        $as_test_x conftest$ac_exeext; then
   19634   ac_cv_lib_ldap_ldap_add_ext=yes
   19635 else
   19636   echo "$as_me: failed program was:" >&5
   19637 sed 's/^/| /' conftest.$ac_ext >&5
   19638 
   19639 	ac_cv_lib_ldap_ldap_add_ext=no
   19640 fi
   19641 
   19642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19643       conftest$ac_exeext conftest.$ac_ext
   19644 LIBS=$ac_check_lib_save_LIBS
   19645 fi
   19646 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_add_ext" >&5
   19647 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_add_ext" >&6; }
   19648 if test $ac_cv_lib_ldap_ldap_add_ext = yes; then
   19649 
   19650         :
   19651 
   19652 else
   19653 
   19654         echo "        didn't find ldap_add_ext in libldap !";
   19655         echo "        Check for the right version (>= 2.0) of the OpenLDAP libraries";
   19656         echo "        or try the --with-libldap option.";
   19657         exit
   19658 
   19659 fi
   19660 
   19661 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
   19662 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
   19663 if test "${ac_cv_header_time+set}" = set; then
   19664   echo $ECHO_N "(cached) $ECHO_C" >&6
   19665 else
   19666   cat >conftest.$ac_ext <<_ACEOF
   19667 /* confdefs.h.  */
   19668 _ACEOF
   19669 cat confdefs.h >>conftest.$ac_ext
   19670 cat >>conftest.$ac_ext <<_ACEOF
   19671 /* end confdefs.h.  */
   19672 #include <sys/types.h>
   19673 #include <sys/time.h>
   19674 #include <time.h>
   19675 
   19676 int
   19677 main ()
   19678 {
   19679 if ((struct tm *) 0)
   19680 return 0;
   19681   ;
   19682   return 0;
   19683 }
   19684 _ACEOF
   19685 rm -f conftest.$ac_objext
   19686 if { (ac_try="$ac_compile"
   19687 case "(($ac_try" in
   19688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19689   *) ac_try_echo=$ac_try;;
   19690 esac
   19691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19692   (eval "$ac_compile") 2>conftest.er1
   19693   ac_status=$?
   19694   grep -v '^ *+' conftest.er1 >conftest.err
   19695   rm -f conftest.er1
   19696   cat conftest.err >&5
   19697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19698   (exit $ac_status); } && {
   19699 	 test -z "$ac_c_werror_flag" ||
   19700 	 test ! -s conftest.err
   19701        } && test -s conftest.$ac_objext; then
   19702   ac_cv_header_time=yes
   19703 else
   19704   echo "$as_me: failed program was:" >&5
   19705 sed 's/^/| /' conftest.$ac_ext >&5
   19706 
   19707 	ac_cv_header_time=no
   19708 fi
   19709 
   19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19711 fi
   19712 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
   19713 echo "${ECHO_T}$ac_cv_header_time" >&6; }
   19714 if test $ac_cv_header_time = yes; then
   19715 
   19716 cat >>confdefs.h <<\_ACEOF
   19717 #define TIME_WITH_SYS_TIME 1
   19718 _ACEOF
   19719 
   19720 fi
   19721 
   19722 
   19723 
   19724 for ac_header in termios.h ldap.h
   19725 do
   19726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   19727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   19728   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   19729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   19730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   19731   echo $ECHO_N "(cached) $ECHO_C" >&6
   19732 fi
   19733 ac_res=`eval echo '${'$as_ac_Header'}'`
   19734 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   19735 echo "${ECHO_T}$ac_res" >&6; }
   19736 else
   19737   # Is the header compilable?
   19738 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   19739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   19740 cat >conftest.$ac_ext <<_ACEOF
   19741 /* confdefs.h.  */
   19742 _ACEOF
   19743 cat confdefs.h >>conftest.$ac_ext
   19744 cat >>conftest.$ac_ext <<_ACEOF
   19745 /* end confdefs.h.  */
   19746 $ac_includes_default
   19747 #include <$ac_header>
   19748 _ACEOF
   19749 rm -f conftest.$ac_objext
   19750 if { (ac_try="$ac_compile"
   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_compile") 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_objext; then
   19766   ac_header_compiler=yes
   19767 else
   19768   echo "$as_me: failed program was:" >&5
   19769 sed 's/^/| /' conftest.$ac_ext >&5
   19770 
   19771 	ac_header_compiler=no
   19772 fi
   19773 
   19774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19775 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   19776 echo "${ECHO_T}$ac_header_compiler" >&6; }
   19777 
   19778 # Is the header present?
   19779 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   19780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   19781 cat >conftest.$ac_ext <<_ACEOF
   19782 /* confdefs.h.  */
   19783 _ACEOF
   19784 cat confdefs.h >>conftest.$ac_ext
   19785 cat >>conftest.$ac_ext <<_ACEOF
   19786 /* end confdefs.h.  */
   19787 #include <$ac_header>
   19788 _ACEOF
   19789 if { (ac_try="$ac_cpp conftest.$ac_ext"
   19790 case "(($ac_try" in
   19791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19792   *) ac_try_echo=$ac_try;;
   19793 esac
   19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19795   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   19796   ac_status=$?
   19797   grep -v '^ *+' conftest.er1 >conftest.err
   19798   rm -f conftest.er1
   19799   cat conftest.err >&5
   19800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19801   (exit $ac_status); } >/dev/null && {
   19802 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   19803 	 test ! -s conftest.err
   19804        }; then
   19805   ac_header_preproc=yes
   19806 else
   19807   echo "$as_me: failed program was:" >&5
   19808 sed 's/^/| /' conftest.$ac_ext >&5
   19809 
   19810   ac_header_preproc=no
   19811 fi
   19812 
   19813 rm -f conftest.err conftest.$ac_ext
   19814 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   19815 echo "${ECHO_T}$ac_header_preproc" >&6; }
   19816 
   19817 # So?  What about this header?
   19818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   19819   yes:no: )
   19820     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   19821 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   19822     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   19823 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   19824     ac_header_preproc=yes
   19825     ;;
   19826   no:yes:* )
   19827     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   19828 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   19829     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   19830 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   19831     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   19832 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   19833     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   19834 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   19835     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   19836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   19837     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   19838 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   19839 
   19840     ;;
   19841 esac
   19842 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   19843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   19844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   19845   echo $ECHO_N "(cached) $ECHO_C" >&6
   19846 else
   19847   eval "$as_ac_Header=\$ac_header_preproc"
   19848 fi
   19849 ac_res=`eval echo '${'$as_ac_Header'}'`
   19850 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   19851 echo "${ECHO_T}$ac_res" >&6; }
   19852 
   19853 fi
   19854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   19855   cat >>confdefs.h <<_ACEOF
   19856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   19857 _ACEOF
   19858 
   19859 fi
   19860 
   19861 done
   19862 
   19863 cat >conftest.$ac_ext <<_ACEOF
   19864 /* confdefs.h.  */
   19865 _ACEOF
   19866 cat confdefs.h >>conftest.$ac_ext
   19867 cat >>conftest.$ac_ext <<_ACEOF
   19868 /* end confdefs.h.  */
   19869 #include <ldap.h>
   19870 
   19871 _ACEOF
   19872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19873   $EGREP "ldap_add_ext" >/dev/null 2>&1; then
   19874 
   19875         :
   19876 
   19877 else
   19878 
   19879         echo "        didn't find ldap_add_ext in ldap.h!";
   19880         echo "        Check for the right version (>= 2.0) of the OpenLDAP includes";
   19881         echo "        or try --with-ldap-includes option.";
   19882         exit
   19883 
   19884 fi
   19885 rm -f conftest*
   19886 
   19887 if test "${ac_cv_header_lber_h+set}" = set; then
   19888   { echo "$as_me:$LINENO: checking for lber.h" >&5
   19889 echo $ECHO_N "checking for lber.h... $ECHO_C" >&6; }
   19890 if test "${ac_cv_header_lber_h+set}" = set; then
   19891   echo $ECHO_N "(cached) $ECHO_C" >&6
   19892 fi
   19893 { echo "$as_me:$LINENO: result: $ac_cv_header_lber_h" >&5
   19894 echo "${ECHO_T}$ac_cv_header_lber_h" >&6; }
   19895 else
   19896   # Is the header compilable?
   19897 { echo "$as_me:$LINENO: checking lber.h usability" >&5
   19898 echo $ECHO_N "checking lber.h usability... $ECHO_C" >&6; }
   19899 cat >conftest.$ac_ext <<_ACEOF
   19900 /* confdefs.h.  */
   19901 _ACEOF
   19902 cat confdefs.h >>conftest.$ac_ext
   19903 cat >>conftest.$ac_ext <<_ACEOF
   19904 /* end confdefs.h.  */
   19905 $ac_includes_default
   19906 #include <lber.h>
   19907 _ACEOF
   19908 rm -f conftest.$ac_objext
   19909 if { (ac_try="$ac_compile"
   19910 case "(($ac_try" in
   19911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19912   *) ac_try_echo=$ac_try;;
   19913 esac
   19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19915   (eval "$ac_compile") 2>conftest.er1
   19916   ac_status=$?
   19917   grep -v '^ *+' conftest.er1 >conftest.err
   19918   rm -f conftest.er1
   19919   cat conftest.err >&5
   19920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19921   (exit $ac_status); } && {
   19922 	 test -z "$ac_c_werror_flag" ||
   19923 	 test ! -s conftest.err
   19924        } && test -s conftest.$ac_objext; then
   19925   ac_header_compiler=yes
   19926 else
   19927   echo "$as_me: failed program was:" >&5
   19928 sed 's/^/| /' conftest.$ac_ext >&5
   19929 
   19930 	ac_header_compiler=no
   19931 fi
   19932 
   19933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   19935 echo "${ECHO_T}$ac_header_compiler" >&6; }
   19936 
   19937 # Is the header present?
   19938 { echo "$as_me:$LINENO: checking lber.h presence" >&5
   19939 echo $ECHO_N "checking lber.h presence... $ECHO_C" >&6; }
   19940 cat >conftest.$ac_ext <<_ACEOF
   19941 /* confdefs.h.  */
   19942 _ACEOF
   19943 cat confdefs.h >>conftest.$ac_ext
   19944 cat >>conftest.$ac_ext <<_ACEOF
   19945 /* end confdefs.h.  */
   19946 #include <lber.h>
   19947 _ACEOF
   19948 if { (ac_try="$ac_cpp conftest.$ac_ext"
   19949 case "(($ac_try" in
   19950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19951   *) ac_try_echo=$ac_try;;
   19952 esac
   19953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19954   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   19955   ac_status=$?
   19956   grep -v '^ *+' conftest.er1 >conftest.err
   19957   rm -f conftest.er1
   19958   cat conftest.err >&5
   19959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19960   (exit $ac_status); } >/dev/null && {
   19961 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   19962 	 test ! -s conftest.err
   19963        }; then
   19964   ac_header_preproc=yes
   19965 else
   19966   echo "$as_me: failed program was:" >&5
   19967 sed 's/^/| /' conftest.$ac_ext >&5
   19968 
   19969   ac_header_preproc=no
   19970 fi
   19971 
   19972 rm -f conftest.err conftest.$ac_ext
   19973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   19974 echo "${ECHO_T}$ac_header_preproc" >&6; }
   19975 
   19976 # So?  What about this header?
   19977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   19978   yes:no: )
   19979     { echo "$as_me:$LINENO: WARNING: lber.h: accepted by the compiler, rejected by the preprocessor!" >&5
   19980 echo "$as_me: WARNING: lber.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   19981     { echo "$as_me:$LINENO: WARNING: lber.h: proceeding with the compiler's result" >&5
   19982 echo "$as_me: WARNING: lber.h: proceeding with the compiler's result" >&2;}
   19983     ac_header_preproc=yes
   19984     ;;
   19985   no:yes:* )
   19986     { echo "$as_me:$LINENO: WARNING: lber.h: present but cannot be compiled" >&5
   19987 echo "$as_me: WARNING: lber.h: present but cannot be compiled" >&2;}
   19988     { echo "$as_me:$LINENO: WARNING: lber.h:     check for missing prerequisite headers?" >&5
   19989 echo "$as_me: WARNING: lber.h:     check for missing prerequisite headers?" >&2;}
   19990     { echo "$as_me:$LINENO: WARNING: lber.h: see the Autoconf documentation" >&5
   19991 echo "$as_me: WARNING: lber.h: see the Autoconf documentation" >&2;}
   19992     { echo "$as_me:$LINENO: WARNING: lber.h:     section \"Present But Cannot Be Compiled\"" >&5
   19993 echo "$as_me: WARNING: lber.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   19994     { echo "$as_me:$LINENO: WARNING: lber.h: proceeding with the preprocessor's result" >&5
   19995 echo "$as_me: WARNING: lber.h: proceeding with the preprocessor's result" >&2;}
   19996     { echo "$as_me:$LINENO: WARNING: lber.h: in the future, the compiler will take precedence" >&5
   19997 echo "$as_me: WARNING: lber.h: in the future, the compiler will take precedence" >&2;}
   19998 
   19999     ;;
   20000 esac
   20001 { echo "$as_me:$LINENO: checking for lber.h" >&5
   20002 echo $ECHO_N "checking for lber.h... $ECHO_C" >&6; }
   20003 if test "${ac_cv_header_lber_h+set}" = set; then
   20004   echo $ECHO_N "(cached) $ECHO_C" >&6
   20005 else
   20006   ac_cv_header_lber_h=$ac_header_preproc
   20007 fi
   20008 { echo "$as_me:$LINENO: result: $ac_cv_header_lber_h" >&5
   20009 echo "${ECHO_T}$ac_cv_header_lber_h" >&6; }
   20010 
   20011 fi
   20012 
   20013 
   20014 cat >conftest.$ac_ext <<_ACEOF
   20015 /* confdefs.h.  */
   20016 _ACEOF
   20017 cat confdefs.h >>conftest.$ac_ext
   20018 cat >>conftest.$ac_ext <<_ACEOF
   20019 /* end confdefs.h.  */
   20020 #include <lber.h>
   20021 
   20022 _ACEOF
   20023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20024   $EGREP "ber_strdup" >/dev/null 2>&1; then
   20025 
   20026         :
   20027 
   20028 else
   20029 
   20030         echo "        didn't find ber_strdup in lber.h!";
   20031         echo "        Check for the right version (>= 2.0) of the OpenLDAP includes";
   20032         echo "        or try --with-ldap-includes option.";
   20033         exit
   20034 
   20035 fi
   20036 rm -f conftest*
   20037 
   20038 
   20039 
   20040 
   20041 ac_config_files="$ac_config_files Makefile src/Makefile examples/Makefile"
   20042 
   20043 cat >confcache <<\_ACEOF
   20044 # This file is a shell script that caches the results of configure
   20045 # tests run on this system so they can be shared between configure
   20046 # scripts and configure runs, see configure's option --config-cache.
   20047 # It is not useful on other systems.  If it contains results you don't
   20048 # want to keep, you may remove or edit it.
   20049 #
   20050 # config.status only pays attention to the cache file if you give it
   20051 # the --recheck option to rerun configure.
   20052 #
   20053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20055 # following values.
   20056 
   20057 _ACEOF
   20058 
   20059 # The following way of writing the cache mishandles newlines in values,
   20060 # but we know of no workaround that is simple, portable, and efficient.
   20061 # So, we kill variables containing newlines.
   20062 # Ultrix sh set writes to stderr and can't be redirected directly,
   20063 # and sets the high bit in the cache file unless we assign to the vars.
   20064 (
   20065   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20066     eval ac_val=\$$ac_var
   20067     case $ac_val in #(
   20068     *${as_nl}*)
   20069       case $ac_var in #(
   20070       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   20071 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   20072       esac
   20073       case $ac_var in #(
   20074       _ | IFS | as_nl) ;; #(
   20075       *) $as_unset $ac_var ;;
   20076       esac ;;
   20077     esac
   20078   done
   20079 
   20080   (set) 2>&1 |
   20081     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20082     *${as_nl}ac_space=\ *)
   20083       # `set' does not quote correctly, so add quotes (double-quote
   20084       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20085       sed -n \
   20086 	"s/'/'\\\\''/g;
   20087 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20088       ;; #(
   20089     *)
   20090       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20091       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20092       ;;
   20093     esac |
   20094     sort
   20095 ) |
   20096   sed '
   20097      /^ac_cv_env_/b end
   20098      t clear
   20099      :clear
   20100      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20101      t end
   20102      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20103      :end' >>confcache
   20104 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20105   if test -w "$cache_file"; then
   20106     test "x$cache_file" != "x/dev/null" &&
   20107       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20108 echo "$as_me: updating cache $cache_file" >&6;}
   20109     cat confcache >$cache_file
   20110   else
   20111     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20112 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20113   fi
   20114 fi
   20115 rm -f confcache
   20116 
   20117 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20118 # Let make expand exec_prefix.
   20119 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20120 
   20121 DEFS=-DHAVE_CONFIG_H
   20122 
   20123 ac_libobjs=
   20124 ac_ltlibobjs=
   20125 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20126   # 1. Remove the extension, and $U if already installed.
   20127   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20128   ac_i=`echo "$ac_i" | sed "$ac_script"`
   20129   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20130   #    will be set to the directory where LIBOBJS objects are built.
   20131   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20132   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   20133 done
   20134 LIBOBJS=$ac_libobjs
   20135 
   20136 LTLIBOBJS=$ac_ltlibobjs
   20137 
   20138 
   20139 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20140   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20141 Usually this means the macro was only invoked conditionally." >&5
   20142 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20143 Usually this means the macro was only invoked conditionally." >&2;}
   20144    { (exit 1); exit 1; }; }
   20145 fi
   20146 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20147   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20148 Usually this means the macro was only invoked conditionally." >&5
   20149 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20150 Usually this means the macro was only invoked conditionally." >&2;}
   20151    { (exit 1); exit 1; }; }
   20152 fi
   20153 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20154   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20155 Usually this means the macro was only invoked conditionally." >&5
   20156 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20157 Usually this means the macro was only invoked conditionally." >&2;}
   20158    { (exit 1); exit 1; }; }
   20159 fi
   20160 
   20161 : ${CONFIG_STATUS=./config.status}
   20162 ac_clean_files_save=$ac_clean_files
   20163 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20164 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20165 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20166 cat >$CONFIG_STATUS <<_ACEOF
   20167 #! $SHELL
   20168 # Generated by $as_me.
   20169 # Run this file to recreate the current configuration.
   20170 # Compiler output produced by configure, useful for debugging
   20171 # configure, is in config.log if it exists.
   20172 
   20173 debug=false
   20174 ac_cs_recheck=false
   20175 ac_cs_silent=false
   20176 SHELL=\${CONFIG_SHELL-$SHELL}
   20177 _ACEOF
   20178 
   20179 cat >>$CONFIG_STATUS <<\_ACEOF
   20180 ## --------------------- ##
   20181 ## M4sh Initialization.  ##
   20182 ## --------------------- ##
   20183 
   20184 # Be more Bourne compatible
   20185 DUALCASE=1; export DUALCASE # for MKS sh
   20186 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20187   emulate sh
   20188   NULLCMD=:
   20189   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   20190   # is contrary to our usage.  Disable this feature.
   20191   alias -g '${1+"$@"}'='"$@"'
   20192   setopt NO_GLOB_SUBST
   20193 else
   20194   case `(set -o) 2>/dev/null` in
   20195   *posix*) set -o posix ;;
   20196 esac
   20197 
   20198 fi
   20199 
   20200 
   20201 
   20202 
   20203 # PATH needs CR
   20204 # Avoid depending upon Character Ranges.
   20205 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20206 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20207 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20208 as_cr_digits='0123456789'
   20209 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20210 
   20211 # The user is always right.
   20212 if test "${PATH_SEPARATOR+set}" != set; then
   20213   echo "#! /bin/sh" >conf$$.sh
   20214   echo  "exit 0"   >>conf$$.sh
   20215   chmod +x conf$$.sh
   20216   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   20217     PATH_SEPARATOR=';'
   20218   else
   20219     PATH_SEPARATOR=:
   20220   fi
   20221   rm -f conf$$.sh
   20222 fi
   20223 
   20224 # Support unset when possible.
   20225 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   20226   as_unset=unset
   20227 else
   20228   as_unset=false
   20229 fi
   20230 
   20231 
   20232 # IFS
   20233 # We need space, tab and new line, in precisely that order.  Quoting is
   20234 # there to prevent editors from complaining about space-tab.
   20235 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20236 # splitting by setting IFS to empty value.)
   20237 as_nl='
   20238 '
   20239 IFS=" ""	$as_nl"
   20240 
   20241 # Find who we are.  Look in the path if we contain no directory separator.
   20242 case $0 in
   20243   *[\\/]* ) as_myself=$0 ;;
   20244   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20245 for as_dir in $PATH
   20246 do
   20247   IFS=$as_save_IFS
   20248   test -z "$as_dir" && as_dir=.
   20249   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20250 done
   20251 IFS=$as_save_IFS
   20252 
   20253      ;;
   20254 esac
   20255 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20256 # in which case we are not to be found in the path.
   20257 if test "x$as_myself" = x; then
   20258   as_myself=$0
   20259 fi
   20260 if test ! -f "$as_myself"; then
   20261   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20262   { (exit 1); exit 1; }
   20263 fi
   20264 
   20265 # Work around bugs in pre-3.0 UWIN ksh.
   20266 for as_var in ENV MAIL MAILPATH
   20267 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20268 done
   20269 PS1='$ '
   20270 PS2='> '
   20271 PS4='+ '
   20272 
   20273 # NLS nuisances.
   20274 for as_var in \
   20275   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   20276   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   20277   LC_TELEPHONE LC_TIME
   20278 do
   20279   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   20280     eval $as_var=C; export $as_var
   20281   else
   20282     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20283   fi
   20284 done
   20285 
   20286 # Required to use basename.
   20287 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20288    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20289   as_expr=expr
   20290 else
   20291   as_expr=false
   20292 fi
   20293 
   20294 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20295   as_basename=basename
   20296 else
   20297   as_basename=false
   20298 fi
   20299 
   20300 
   20301 # Name of the executable.
   20302 as_me=`$as_basename -- "$0" ||
   20303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20304 	 X"$0" : 'X\(//\)$' \| \
   20305 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20306 echo X/"$0" |
   20307     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20308 	    s//\1/
   20309 	    q
   20310 	  }
   20311 	  /^X\/\(\/\/\)$/{
   20312 	    s//\1/
   20313 	    q
   20314 	  }
   20315 	  /^X\/\(\/\).*/{
   20316 	    s//\1/
   20317 	    q
   20318 	  }
   20319 	  s/.*/./; q'`
   20320 
   20321 # CDPATH.
   20322 $as_unset CDPATH
   20323 
   20324 
   20325 
   20326   as_lineno_1=$LINENO
   20327   as_lineno_2=$LINENO
   20328   test "x$as_lineno_1" != "x$as_lineno_2" &&
   20329   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   20330 
   20331   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   20332   # uniformly replaced by the line number.  The first 'sed' inserts a
   20333   # line-number line after each line using $LINENO; the second 'sed'
   20334   # does the real work.  The second script uses 'N' to pair each
   20335   # line-number line with the line containing $LINENO, and appends
   20336   # trailing '-' during substitution so that $LINENO is not a special
   20337   # case at line end.
   20338   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   20339   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   20340   # E. McMahon (1931-1989) for sed's syntax.  :-)
   20341   sed -n '
   20342     p
   20343     /[$]LINENO/=
   20344   ' <$as_myself |
   20345     sed '
   20346       s/[$]LINENO.*/&-/
   20347       t lineno
   20348       b
   20349       :lineno
   20350       N
   20351       :loop
   20352       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   20353       t loop
   20354       s/-\n.*//
   20355     ' >$as_me.lineno &&
   20356   chmod +x "$as_me.lineno" ||
   20357     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   20358    { (exit 1); exit 1; }; }
   20359 
   20360   # Don't try to exec as it changes $[0], causing all sort of problems
   20361   # (the dirname of $[0] is not the place where we might find the
   20362   # original and so on.  Autoconf is especially sensitive to this).
   20363   . "./$as_me.lineno"
   20364   # Exit status is that of the last command.
   20365   exit
   20366 }
   20367 
   20368 
   20369 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20370   as_dirname=dirname
   20371 else
   20372   as_dirname=false
   20373 fi
   20374 
   20375 ECHO_C= ECHO_N= ECHO_T=
   20376 case `echo -n x` in
   20377 -n*)
   20378   case `echo 'x\c'` in
   20379   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20380   *)   ECHO_C='\c';;
   20381   esac;;
   20382 *)
   20383   ECHO_N='-n';;
   20384 esac
   20385 
   20386 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20388   as_expr=expr
   20389 else
   20390   as_expr=false
   20391 fi
   20392 
   20393 rm -f conf$$ conf$$.exe conf$$.file
   20394 if test -d conf$$.dir; then
   20395   rm -f conf$$.dir/conf$$.file
   20396 else
   20397   rm -f conf$$.dir
   20398   mkdir conf$$.dir
   20399 fi
   20400 echo >conf$$.file
   20401 if ln -s conf$$.file conf$$ 2>/dev/null; then
   20402   as_ln_s='ln -s'
   20403   # ... but there are two gotchas:
   20404   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20405   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20406   # In both cases, we have to default to `cp -p'.
   20407   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20408     as_ln_s='cp -p'
   20409 elif ln conf$$.file conf$$ 2>/dev/null; then
   20410   as_ln_s=ln
   20411 else
   20412   as_ln_s='cp -p'
   20413 fi
   20414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20415 rmdir conf$$.dir 2>/dev/null
   20416 
   20417 if mkdir -p . 2>/dev/null; then
   20418   as_mkdir_p=:
   20419 else
   20420   test -d ./-p && rmdir ./-p
   20421   as_mkdir_p=false
   20422 fi
   20423 
   20424 if test -x / >/dev/null 2>&1; then
   20425   as_test_x='test -x'
   20426 else
   20427   if ls -dL / >/dev/null 2>&1; then
   20428     as_ls_L_option=L
   20429   else
   20430     as_ls_L_option=
   20431   fi
   20432   as_test_x='
   20433     eval sh -c '\''
   20434       if test -d "$1"; then
   20435         test -d "$1/.";
   20436       else
   20437 	case $1 in
   20438         -*)set "./$1";;
   20439 	esac;
   20440 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   20441 	???[sx]*):;;*)false;;esac;fi
   20442     '\'' sh
   20443   '
   20444 fi
   20445 as_executable_p=$as_test_x
   20446 
   20447 # Sed expression to map a string onto a valid CPP name.
   20448 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20449 
   20450 # Sed expression to map a string onto a valid variable name.
   20451 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20452 
   20453 
   20454 exec 6>&1
   20455 
   20456 # Save the log message, to keep $[0] and so on meaningful, and to
   20457 # report actual input values of CONFIG_FILES etc. instead of their
   20458 # values after options handling.
   20459 ac_log="
   20460 This file was extended by ldapcpplib $as_me 0.0.5, which was
   20461 generated by GNU Autoconf 2.61.  Invocation command line was
   20462 
   20463   CONFIG_FILES    = $CONFIG_FILES
   20464   CONFIG_HEADERS  = $CONFIG_HEADERS
   20465   CONFIG_LINKS    = $CONFIG_LINKS
   20466   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20467   $ $0 $@
   20468 
   20469 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20470 "
   20471 
   20472 _ACEOF
   20473 
   20474 cat >>$CONFIG_STATUS <<_ACEOF
   20475 # Files that config.status was made for.
   20476 config_files="$ac_config_files"
   20477 config_headers="$ac_config_headers"
   20478 config_commands="$ac_config_commands"
   20479 
   20480 _ACEOF
   20481 
   20482 cat >>$CONFIG_STATUS <<\_ACEOF
   20483 ac_cs_usage="\
   20484 \`$as_me' instantiates files from templates according to the
   20485 current configuration.
   20486 
   20487 Usage: $0 [OPTIONS] [FILE]...
   20488 
   20489   -h, --help       print this help, then exit
   20490   -V, --version    print version number and configuration settings, then exit
   20491   -q, --quiet      do not print progress messages
   20492   -d, --debug      don't remove temporary files
   20493       --recheck    update $as_me by reconfiguring in the same conditions
   20494   --file=FILE[:TEMPLATE]
   20495 		   instantiate the configuration file FILE
   20496   --header=FILE[:TEMPLATE]
   20497 		   instantiate the configuration header FILE
   20498 
   20499 Configuration files:
   20500 $config_files
   20501 
   20502 Configuration headers:
   20503 $config_headers
   20504 
   20505 Configuration commands:
   20506 $config_commands
   20507 
   20508 Report bugs to <bug-autoconf (at] gnu.org>."
   20509 
   20510 _ACEOF
   20511 cat >>$CONFIG_STATUS <<_ACEOF
   20512 ac_cs_version="\\
   20513 ldapcpplib config.status 0.0.5
   20514 configured by $0, generated by GNU Autoconf 2.61,
   20515   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   20516 
   20517 Copyright (C) 2006 Free Software Foundation, Inc.
   20518 This config.status script is free software; the Free Software Foundation
   20519 gives unlimited permission to copy, distribute and modify it."
   20520 
   20521 ac_pwd='$ac_pwd'
   20522 srcdir='$srcdir'
   20523 INSTALL='$INSTALL'
   20524 MKDIR_P='$MKDIR_P'
   20525 _ACEOF
   20526 
   20527 cat >>$CONFIG_STATUS <<\_ACEOF
   20528 # If no file are specified by the user, then we need to provide default
   20529 # value.  By we need to know if files were specified by the user.
   20530 ac_need_defaults=:
   20531 while test $# != 0
   20532 do
   20533   case $1 in
   20534   --*=*)
   20535     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20536     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20537     ac_shift=:
   20538     ;;
   20539   *)
   20540     ac_option=$1
   20541     ac_optarg=$2
   20542     ac_shift=shift
   20543     ;;
   20544   esac
   20545 
   20546   case $ac_option in
   20547   # Handling of the options.
   20548   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20549     ac_cs_recheck=: ;;
   20550   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20551     echo "$ac_cs_version"; exit ;;
   20552   --debug | --debu | --deb | --de | --d | -d )
   20553     debug=: ;;
   20554   --file | --fil | --fi | --f )
   20555     $ac_shift
   20556     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   20557     ac_need_defaults=false;;
   20558   --header | --heade | --head | --hea )
   20559     $ac_shift
   20560     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   20561     ac_need_defaults=false;;
   20562   --he | --h)
   20563     # Conflict between --help and --header
   20564     { echo "$as_me: error: ambiguous option: $1
   20565 Try \`$0 --help' for more information." >&2
   20566    { (exit 1); exit 1; }; };;
   20567   --help | --hel | -h )
   20568     echo "$ac_cs_usage"; exit ;;
   20569   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20570   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20571     ac_cs_silent=: ;;
   20572 
   20573   # This is an error.
   20574   -*) { echo "$as_me: error: unrecognized option: $1
   20575 Try \`$0 --help' for more information." >&2
   20576    { (exit 1); exit 1; }; } ;;
   20577 
   20578   *) ac_config_targets="$ac_config_targets $1"
   20579      ac_need_defaults=false ;;
   20580 
   20581   esac
   20582   shift
   20583 done
   20584 
   20585 ac_configure_extra_args=
   20586 
   20587 if $ac_cs_silent; then
   20588   exec 6>/dev/null
   20589   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20590 fi
   20591 
   20592 _ACEOF
   20593 cat >>$CONFIG_STATUS <<_ACEOF
   20594 if \$ac_cs_recheck; then
   20595   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   20596   CONFIG_SHELL=$SHELL
   20597   export CONFIG_SHELL
   20598   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20599 fi
   20600 
   20601 _ACEOF
   20602 cat >>$CONFIG_STATUS <<\_ACEOF
   20603 exec 5>>config.log
   20604 {
   20605   echo
   20606   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20607 ## Running $as_me. ##
   20608 _ASBOX
   20609   echo "$ac_log"
   20610 } >&5
   20611 
   20612 _ACEOF
   20613 cat >>$CONFIG_STATUS <<_ACEOF
   20614 #
   20615 # INIT-COMMANDS
   20616 #
   20617 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20618 
   20619 _ACEOF
   20620 
   20621 cat >>$CONFIG_STATUS <<\_ACEOF
   20622 
   20623 # Handling of arguments.
   20624 for ac_config_target in $ac_config_targets
   20625 do
   20626   case $ac_config_target in
   20627     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   20628     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20629     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20630     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20631     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
   20632 
   20633   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   20634 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   20635    { (exit 1); exit 1; }; };;
   20636   esac
   20637 done
   20638 
   20639 
   20640 # If the user did not use the arguments to specify the items to instantiate,
   20641 # then the envvar interface is used.  Set only those that are not.
   20642 # We use the long form for the default assignment because of an extremely
   20643 # bizarre bug on SunOS 4.1.3.
   20644 if $ac_need_defaults; then
   20645   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20646   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20647   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20648 fi
   20649 
   20650 # Have a temporary directory for convenience.  Make it in the build tree
   20651 # simply because there is no reason against having it here, and in addition,
   20652 # creating and moving files from /tmp can sometimes cause problems.
   20653 # Hook for its removal unless debugging.
   20654 # Note that there is a small window in which the directory will not be cleaned:
   20655 # after its creation but before its name has been assigned to `$tmp'.
   20656 $debug ||
   20657 {
   20658   tmp=
   20659   trap 'exit_status=$?
   20660   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   20661 ' 0
   20662   trap '{ (exit 1); exit 1; }' 1 2 13 15
   20663 }
   20664 # Create a (secure) tmp directory for tmp files.
   20665 
   20666 {
   20667   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20668   test -n "$tmp" && test -d "$tmp"
   20669 }  ||
   20670 {
   20671   tmp=./conf$$-$RANDOM
   20672   (umask 077 && mkdir "$tmp")
   20673 } ||
   20674 {
   20675    echo "$me: cannot create a temporary directory in ." >&2
   20676    { (exit 1); exit 1; }
   20677 }
   20678 
   20679 #
   20680 # Set up the sed scripts for CONFIG_FILES section.
   20681 #
   20682 
   20683 # No need to generate the scripts if there are no CONFIG_FILES.
   20684 # This happens for instance when ./config.status config.h
   20685 if test -n "$CONFIG_FILES"; then
   20686 
   20687 _ACEOF
   20688 
   20689 
   20690 
   20691 ac_delim='%!_!# '
   20692 for ac_last_try in false false false false false :; do
   20693   cat >conf$$subs.sed <<_ACEOF
   20694 SHELL!$SHELL$ac_delim
   20695 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   20696 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   20697 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   20698 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   20699 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   20700 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   20701 exec_prefix!$exec_prefix$ac_delim
   20702 prefix!$prefix$ac_delim
   20703 program_transform_name!$program_transform_name$ac_delim
   20704 bindir!$bindir$ac_delim
   20705 sbindir!$sbindir$ac_delim
   20706 libexecdir!$libexecdir$ac_delim
   20707 datarootdir!$datarootdir$ac_delim
   20708 datadir!$datadir$ac_delim
   20709 sysconfdir!$sysconfdir$ac_delim
   20710 sharedstatedir!$sharedstatedir$ac_delim
   20711 localstatedir!$localstatedir$ac_delim
   20712 includedir!$includedir$ac_delim
   20713 oldincludedir!$oldincludedir$ac_delim
   20714 docdir!$docdir$ac_delim
   20715 infodir!$infodir$ac_delim
   20716 htmldir!$htmldir$ac_delim
   20717 dvidir!$dvidir$ac_delim
   20718 pdfdir!$pdfdir$ac_delim
   20719 psdir!$psdir$ac_delim
   20720 libdir!$libdir$ac_delim
   20721 localedir!$localedir$ac_delim
   20722 mandir!$mandir$ac_delim
   20723 DEFS!$DEFS$ac_delim
   20724 ECHO_C!$ECHO_C$ac_delim
   20725 ECHO_N!$ECHO_N$ac_delim
   20726 ECHO_T!$ECHO_T$ac_delim
   20727 LIBS!$LIBS$ac_delim
   20728 build_alias!$build_alias$ac_delim
   20729 host_alias!$host_alias$ac_delim
   20730 target_alias!$target_alias$ac_delim
   20731 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   20732 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   20733 INSTALL_DATA!$INSTALL_DATA$ac_delim
   20734 am__isrc!$am__isrc$ac_delim
   20735 CYGPATH_W!$CYGPATH_W$ac_delim
   20736 PACKAGE!$PACKAGE$ac_delim
   20737 VERSION!$VERSION$ac_delim
   20738 ACLOCAL!$ACLOCAL$ac_delim
   20739 AUTOCONF!$AUTOCONF$ac_delim
   20740 AUTOMAKE!$AUTOMAKE$ac_delim
   20741 AUTOHEADER!$AUTOHEADER$ac_delim
   20742 MAKEINFO!$MAKEINFO$ac_delim
   20743 install_sh!$install_sh$ac_delim
   20744 STRIP!$STRIP$ac_delim
   20745 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   20746 mkdir_p!$mkdir_p$ac_delim
   20747 AWK!$AWK$ac_delim
   20748 SET_MAKE!$SET_MAKE$ac_delim
   20749 am__leading_dot!$am__leading_dot$ac_delim
   20750 AMTAR!$AMTAR$ac_delim
   20751 am__tar!$am__tar$ac_delim
   20752 am__untar!$am__untar$ac_delim
   20753 CXX!$CXX$ac_delim
   20754 CXXFLAGS!$CXXFLAGS$ac_delim
   20755 LDFLAGS!$LDFLAGS$ac_delim
   20756 CPPFLAGS!$CPPFLAGS$ac_delim
   20757 ac_ct_CXX!$ac_ct_CXX$ac_delim
   20758 EXEEXT!$EXEEXT$ac_delim
   20759 OBJEXT!$OBJEXT$ac_delim
   20760 DEPDIR!$DEPDIR$ac_delim
   20761 am__include!$am__include$ac_delim
   20762 am__quote!$am__quote$ac_delim
   20763 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   20764 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   20765 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   20766 CXXDEPMODE!$CXXDEPMODE$ac_delim
   20767 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   20768 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   20769 build!$build$ac_delim
   20770 build_cpu!$build_cpu$ac_delim
   20771 build_vendor!$build_vendor$ac_delim
   20772 build_os!$build_os$ac_delim
   20773 host!$host$ac_delim
   20774 host_cpu!$host_cpu$ac_delim
   20775 host_vendor!$host_vendor$ac_delim
   20776 host_os!$host_os$ac_delim
   20777 CC!$CC$ac_delim
   20778 CFLAGS!$CFLAGS$ac_delim
   20779 ac_ct_CC!$ac_ct_CC$ac_delim
   20780 CCDEPMODE!$CCDEPMODE$ac_delim
   20781 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   20782 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   20783 SED!$SED$ac_delim
   20784 GREP!$GREP$ac_delim
   20785 EGREP!$EGREP$ac_delim
   20786 LN_S!$LN_S$ac_delim
   20787 ECHO!$ECHO$ac_delim
   20788 AR!$AR$ac_delim
   20789 RANLIB!$RANLIB$ac_delim
   20790 CPP!$CPP$ac_delim
   20791 _ACEOF
   20792 
   20793   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   20794     break
   20795   elif $ac_last_try; then
   20796     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20797 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20798    { (exit 1); exit 1; }; }
   20799   else
   20800     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20801   fi
   20802 done
   20803 
   20804 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20805 if test -n "$ac_eof"; then
   20806   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20807   ac_eof=`expr $ac_eof + 1`
   20808 fi
   20809 
   20810 cat >>$CONFIG_STATUS <<_ACEOF
   20811 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   20812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20813 _ACEOF
   20814 sed '
   20815 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20816 s/^/s,@/; s/!/@,|#_!!_#|/
   20817 :n
   20818 t n
   20819 s/'"$ac_delim"'$/,g/; t
   20820 s/$/\\/; p
   20821 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20822 ' >>$CONFIG_STATUS <conf$$subs.sed
   20823 rm -f conf$$subs.sed
   20824 cat >>$CONFIG_STATUS <<_ACEOF
   20825 CEOF$ac_eof
   20826 _ACEOF
   20827 
   20828 
   20829 ac_delim='%!_!# '
   20830 for ac_last_try in false false false false false :; do
   20831   cat >conf$$subs.sed <<_ACEOF
   20832 CXXCPP!$CXXCPP$ac_delim
   20833 F77!$F77$ac_delim
   20834 FFLAGS!$FFLAGS$ac_delim
   20835 ac_ct_F77!$ac_ct_F77$ac_delim
   20836 LIBTOOL!$LIBTOOL$ac_delim
   20837 LIBOBJS!$LIBOBJS$ac_delim
   20838 LTLIBOBJS!$LTLIBOBJS$ac_delim
   20839 _ACEOF
   20840 
   20841   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
   20842     break
   20843   elif $ac_last_try; then
   20844     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20845 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20846    { (exit 1); exit 1; }; }
   20847   else
   20848     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20849   fi
   20850 done
   20851 
   20852 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20853 if test -n "$ac_eof"; then
   20854   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20855   ac_eof=`expr $ac_eof + 1`
   20856 fi
   20857 
   20858 cat >>$CONFIG_STATUS <<_ACEOF
   20859 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   20860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   20861 _ACEOF
   20862 sed '
   20863 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20864 s/^/s,@/; s/!/@,|#_!!_#|/
   20865 :n
   20866 t n
   20867 s/'"$ac_delim"'$/,g/; t
   20868 s/$/\\/; p
   20869 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20870 ' >>$CONFIG_STATUS <conf$$subs.sed
   20871 rm -f conf$$subs.sed
   20872 cat >>$CONFIG_STATUS <<_ACEOF
   20873 :end
   20874 s/|#_!!_#|//g
   20875 CEOF$ac_eof
   20876 _ACEOF
   20877 
   20878 
   20879 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   20880 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   20881 # trailing colons and then remove the whole line if VPATH becomes empty
   20882 # (actually we leave an empty line to preserve line numbers).
   20883 if test "x$srcdir" = x.; then
   20884   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   20885 s/:*\$(srcdir):*/:/
   20886 s/:*\${srcdir}:*/:/
   20887 s/:*@srcdir@:*/:/
   20888 s/^\([^=]*=[	 ]*\):*/\1/
   20889 s/:*$//
   20890 s/^[^=]*=[	 ]*$//
   20891 }'
   20892 fi
   20893 
   20894 cat >>$CONFIG_STATUS <<\_ACEOF
   20895 fi # test -n "$CONFIG_FILES"
   20896 
   20897 
   20898 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   20899 do
   20900   case $ac_tag in
   20901   :[FHLC]) ac_mode=$ac_tag; continue;;
   20902   esac
   20903   case $ac_mode$ac_tag in
   20904   :[FHL]*:*);;
   20905   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   20906 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   20907    { (exit 1); exit 1; }; };;
   20908   :[FH]-) ac_tag=-:-;;
   20909   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20910   esac
   20911   ac_save_IFS=$IFS
   20912   IFS=:
   20913   set x $ac_tag
   20914   IFS=$ac_save_IFS
   20915   shift
   20916   ac_file=$1
   20917   shift
   20918 
   20919   case $ac_mode in
   20920   :L) ac_source=$1;;
   20921   :[FH])
   20922     ac_file_inputs=
   20923     for ac_f
   20924     do
   20925       case $ac_f in
   20926       -) ac_f="$tmp/stdin";;
   20927       *) # Look for the file first in the build tree, then in the source tree
   20928 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20929 	 # because $ac_f cannot contain `:'.
   20930 	 test -f "$ac_f" ||
   20931 	   case $ac_f in
   20932 	   [\\/$]*) false;;
   20933 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20934 	   esac ||
   20935 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   20936 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   20937    { (exit 1); exit 1; }; };;
   20938       esac
   20939       ac_file_inputs="$ac_file_inputs $ac_f"
   20940     done
   20941 
   20942     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20943     # use $as_me), people would be surprised to read:
   20944     #    /* config.h.  Generated by config.status.  */
   20945     configure_input="Generated from "`IFS=:
   20946 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   20947     if test x"$ac_file" != x-; then
   20948       configure_input="$ac_file.  $configure_input"
   20949       { echo "$as_me:$LINENO: creating $ac_file" >&5
   20950 echo "$as_me: creating $ac_file" >&6;}
   20951     fi
   20952 
   20953     case $ac_tag in
   20954     *:-:* | *:-) cat >"$tmp/stdin";;
   20955     esac
   20956     ;;
   20957   esac
   20958 
   20959   ac_dir=`$as_dirname -- "$ac_file" ||
   20960 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20961 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20962 	 X"$ac_file" : 'X\(//\)$' \| \
   20963 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20964 echo X"$ac_file" |
   20965     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20966 	    s//\1/
   20967 	    q
   20968 	  }
   20969 	  /^X\(\/\/\)[^/].*/{
   20970 	    s//\1/
   20971 	    q
   20972 	  }
   20973 	  /^X\(\/\/\)$/{
   20974 	    s//\1/
   20975 	    q
   20976 	  }
   20977 	  /^X\(\/\).*/{
   20978 	    s//\1/
   20979 	    q
   20980 	  }
   20981 	  s/.*/./; q'`
   20982   { as_dir="$ac_dir"
   20983   case $as_dir in #(
   20984   -*) as_dir=./$as_dir;;
   20985   esac
   20986   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   20987     as_dirs=
   20988     while :; do
   20989       case $as_dir in #(
   20990       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   20991       *) as_qdir=$as_dir;;
   20992       esac
   20993       as_dirs="'$as_qdir' $as_dirs"
   20994       as_dir=`$as_dirname -- "$as_dir" ||
   20995 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20996 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20997 	 X"$as_dir" : 'X\(//\)$' \| \
   20998 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20999 echo X"$as_dir" |
   21000     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21001 	    s//\1/
   21002 	    q
   21003 	  }
   21004 	  /^X\(\/\/\)[^/].*/{
   21005 	    s//\1/
   21006 	    q
   21007 	  }
   21008 	  /^X\(\/\/\)$/{
   21009 	    s//\1/
   21010 	    q
   21011 	  }
   21012 	  /^X\(\/\).*/{
   21013 	    s//\1/
   21014 	    q
   21015 	  }
   21016 	  s/.*/./; q'`
   21017       test -d "$as_dir" && break
   21018     done
   21019     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21020   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21021 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21022    { (exit 1); exit 1; }; }; }
   21023   ac_builddir=.
   21024 
   21025 case "$ac_dir" in
   21026 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21027 *)
   21028   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21029   # A ".." for each directory in $ac_dir_suffix.
   21030   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   21031   case $ac_top_builddir_sub in
   21032   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21033   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21034   esac ;;
   21035 esac
   21036 ac_abs_top_builddir=$ac_pwd
   21037 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21038 # for backward compatibility:
   21039 ac_top_builddir=$ac_top_build_prefix
   21040 
   21041 case $srcdir in
   21042   .)  # We are building in place.
   21043     ac_srcdir=.
   21044     ac_top_srcdir=$ac_top_builddir_sub
   21045     ac_abs_top_srcdir=$ac_pwd ;;
   21046   [\\/]* | ?:[\\/]* )  # Absolute name.
   21047     ac_srcdir=$srcdir$ac_dir_suffix;
   21048     ac_top_srcdir=$srcdir
   21049     ac_abs_top_srcdir=$srcdir ;;
   21050   *) # Relative name.
   21051     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21052     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21053     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21054 esac
   21055 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21056 
   21057 
   21058   case $ac_mode in
   21059   :F)
   21060   #
   21061   # CONFIG_FILE
   21062   #
   21063 
   21064   case $INSTALL in
   21065   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21066   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21067   esac
   21068   ac_MKDIR_P=$MKDIR_P
   21069   case $MKDIR_P in
   21070   [\\/$]* | ?:[\\/]* ) ;;
   21071   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21072   esac
   21073 _ACEOF
   21074 
   21075 cat >>$CONFIG_STATUS <<\_ACEOF
   21076 # If the template does not know about datarootdir, expand it.
   21077 # FIXME: This hack should be removed a few years after 2.60.
   21078 ac_datarootdir_hack=; ac_datarootdir_seen=
   21079 
   21080 case `sed -n '/datarootdir/ {
   21081   p
   21082   q
   21083 }
   21084 /@datadir@/p
   21085 /@docdir@/p
   21086 /@infodir@/p
   21087 /@localedir@/p
   21088 /@mandir@/p
   21089 ' $ac_file_inputs` in
   21090 *datarootdir*) ac_datarootdir_seen=yes;;
   21091 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21092   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21093 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21094 _ACEOF
   21095 cat >>$CONFIG_STATUS <<_ACEOF
   21096   ac_datarootdir_hack='
   21097   s&@datadir@&$datadir&g
   21098   s&@docdir@&$docdir&g
   21099   s&@infodir@&$infodir&g
   21100   s&@localedir@&$localedir&g
   21101   s&@mandir@&$mandir&g
   21102     s&\\\${datarootdir}&$datarootdir&g' ;;
   21103 esac
   21104 _ACEOF
   21105 
   21106 # Neutralize VPATH when `$srcdir' = `.'.
   21107 # Shell code in configure.ac might set extrasub.
   21108 # FIXME: do we really want to maintain this feature?
   21109 cat >>$CONFIG_STATUS <<_ACEOF
   21110   sed "$ac_vpsub
   21111 $extrasub
   21112 _ACEOF
   21113 cat >>$CONFIG_STATUS <<\_ACEOF
   21114 :t
   21115 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21116 s&@configure_input@&$configure_input&;t t
   21117 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21118 s&@srcdir@&$ac_srcdir&;t t
   21119 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21120 s&@top_srcdir@&$ac_top_srcdir&;t t
   21121 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21122 s&@builddir@&$ac_builddir&;t t
   21123 s&@abs_builddir@&$ac_abs_builddir&;t t
   21124 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21125 s&@INSTALL@&$ac_INSTALL&;t t
   21126 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21127 $ac_datarootdir_hack
   21128 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   21129 
   21130 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21131   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   21132   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   21133   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21134 which seems to be undefined.  Please make sure it is defined." >&5
   21135 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21136 which seems to be undefined.  Please make sure it is defined." >&2;}
   21137 
   21138   rm -f "$tmp/stdin"
   21139   case $ac_file in
   21140   -) cat "$tmp/out"; rm -f "$tmp/out";;
   21141   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   21142   esac
   21143  ;;
   21144   :H)
   21145   #
   21146   # CONFIG_HEADER
   21147   #
   21148 _ACEOF
   21149 
   21150 # Transform confdefs.h into a sed script `conftest.defines', that
   21151 # substitutes the proper values into config.h.in to produce config.h.
   21152 rm -f conftest.defines conftest.tail
   21153 # First, append a space to every undef/define line, to ease matching.
   21154 echo 's/$/ /' >conftest.defines
   21155 # Then, protect against being on the right side of a sed subst, or in
   21156 # an unquoted here document, in config.status.  If some macros were
   21157 # called several times there might be several #defines for the same
   21158 # symbol, which is useless.  But do not sort them, since the last
   21159 # AC_DEFINE must be honored.
   21160 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21161 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   21162 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   21163 # PARAMS is the parameter list in the macro definition--in most cases, it's
   21164 # just an empty string.
   21165 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   21166 ac_dB='\\)[	 (].*,\\1define\\2'
   21167 ac_dC=' '
   21168 ac_dD=' ,'
   21169 
   21170 uniq confdefs.h |
   21171   sed -n '
   21172 	t rset
   21173 	:rset
   21174 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   21175 	t ok
   21176 	d
   21177 	:ok
   21178 	s/[\\&,]/\\&/g
   21179 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   21180 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   21181   ' >>conftest.defines
   21182 
   21183 # Remove the space that was appended to ease matching.
   21184 # Then replace #undef with comments.  This is necessary, for
   21185 # example, in the case of _POSIX_SOURCE, which is predefined and required
   21186 # on some systems where configure will not decide to define it.
   21187 # (The regexp can be short, since the line contains either #define or #undef.)
   21188 echo 's/ $//
   21189 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   21190 
   21191 # Break up conftest.defines:
   21192 ac_max_sed_lines=50
   21193 
   21194 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   21195 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   21196 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   21197 # et cetera.
   21198 ac_in='$ac_file_inputs'
   21199 ac_out='"$tmp/out1"'
   21200 ac_nxt='"$tmp/out2"'
   21201 
   21202 while :
   21203 do
   21204   # Write a here document:
   21205     cat >>$CONFIG_STATUS <<_ACEOF
   21206     # First, check the format of the line:
   21207     cat >"\$tmp/defines.sed" <<\\CEOF
   21208 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   21209 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   21210 b
   21211 :def
   21212 _ACEOF
   21213   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   21214   echo 'CEOF
   21215     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   21216   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   21217   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   21218   grep . conftest.tail >/dev/null || break
   21219   rm -f conftest.defines
   21220   mv conftest.tail conftest.defines
   21221 done
   21222 rm -f conftest.defines conftest.tail
   21223 
   21224 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   21225 cat >>$CONFIG_STATUS <<\_ACEOF
   21226   if test x"$ac_file" != x-; then
   21227     echo "/* $configure_input  */" >"$tmp/config.h"
   21228     cat "$ac_result" >>"$tmp/config.h"
   21229     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   21230       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   21231 echo "$as_me: $ac_file is unchanged" >&6;}
   21232     else
   21233       rm -f $ac_file
   21234       mv "$tmp/config.h" $ac_file
   21235     fi
   21236   else
   21237     echo "/* $configure_input  */"
   21238     cat "$ac_result"
   21239   fi
   21240   rm -f "$tmp/out12"
   21241 # Compute $ac_file's index in $config_headers.
   21242 _am_stamp_count=1
   21243 for _am_header in $config_headers :; do
   21244   case $_am_header in
   21245     $ac_file | $ac_file:* )
   21246       break ;;
   21247     * )
   21248       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21249   esac
   21250 done
   21251 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   21252 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21253 	 X$ac_file : 'X\(//\)[^/]' \| \
   21254 	 X$ac_file : 'X\(//\)$' \| \
   21255 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   21256 echo X$ac_file |
   21257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21258 	    s//\1/
   21259 	    q
   21260 	  }
   21261 	  /^X\(\/\/\)[^/].*/{
   21262 	    s//\1/
   21263 	    q
   21264 	  }
   21265 	  /^X\(\/\/\)$/{
   21266 	    s//\1/
   21267 	    q
   21268 	  }
   21269 	  /^X\(\/\).*/{
   21270 	    s//\1/
   21271 	    q
   21272 	  }
   21273 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21274  ;;
   21275 
   21276   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   21277 echo "$as_me: executing $ac_file commands" >&6;}
   21278  ;;
   21279   esac
   21280 
   21281 
   21282   case $ac_file$ac_mode in
   21283     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   21284   # Strip MF so we end up with the name of the file.
   21285   mf=`echo "$mf" | sed -e 's/:.*$//'`
   21286   # Check whether this is an Automake generated Makefile or not.
   21287   # We used to match only the files named `Makefile.in', but
   21288   # some people rename them; so instead we look at the file content.
   21289   # Grep'ing the first line is not enough: some people post-process
   21290   # each Makefile.in and add a new line on top of each file to say so.
   21291   # Grep'ing the whole file is not good either: AIX grep has a line
   21292   # limit of 2048, but all sed's we know have understand at least 4000.
   21293   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   21294     dirpart=`$as_dirname -- "$mf" ||
   21295 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21296 	 X"$mf" : 'X\(//\)[^/]' \| \
   21297 	 X"$mf" : 'X\(//\)$' \| \
   21298 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21299 echo X"$mf" |
   21300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21301 	    s//\1/
   21302 	    q
   21303 	  }
   21304 	  /^X\(\/\/\)[^/].*/{
   21305 	    s//\1/
   21306 	    q
   21307 	  }
   21308 	  /^X\(\/\/\)$/{
   21309 	    s//\1/
   21310 	    q
   21311 	  }
   21312 	  /^X\(\/\).*/{
   21313 	    s//\1/
   21314 	    q
   21315 	  }
   21316 	  s/.*/./; q'`
   21317   else
   21318     continue
   21319   fi
   21320   # Extract the definition of DEPDIR, am__include, and am__quote
   21321   # from the Makefile without running `make'.
   21322   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21323   test -z "$DEPDIR" && continue
   21324   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21325   test -z "am__include" && continue
   21326   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21327   # When using ansi2knr, U may be empty or an underscore; expand it
   21328   U=`sed -n 's/^U = //p' < "$mf"`
   21329   # Find all dependency output files, they are included files with
   21330   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21331   # simplest approach to changing $(DEPDIR) to its actual value in the
   21332   # expansion.
   21333   for file in `sed -n "
   21334     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21335        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   21336     # Make sure the directory exists.
   21337     test -f "$dirpart/$file" && continue
   21338     fdir=`$as_dirname -- "$file" ||
   21339 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21340 	 X"$file" : 'X\(//\)[^/]' \| \
   21341 	 X"$file" : 'X\(//\)$' \| \
   21342 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21343 echo X"$file" |
   21344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21345 	    s//\1/
   21346 	    q
   21347 	  }
   21348 	  /^X\(\/\/\)[^/].*/{
   21349 	    s//\1/
   21350 	    q
   21351 	  }
   21352 	  /^X\(\/\/\)$/{
   21353 	    s//\1/
   21354 	    q
   21355 	  }
   21356 	  /^X\(\/\).*/{
   21357 	    s//\1/
   21358 	    q
   21359 	  }
   21360 	  s/.*/./; q'`
   21361     { as_dir=$dirpart/$fdir
   21362   case $as_dir in #(
   21363   -*) as_dir=./$as_dir;;
   21364   esac
   21365   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21366     as_dirs=
   21367     while :; do
   21368       case $as_dir in #(
   21369       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21370       *) as_qdir=$as_dir;;
   21371       esac
   21372       as_dirs="'$as_qdir' $as_dirs"
   21373       as_dir=`$as_dirname -- "$as_dir" ||
   21374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21375 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21376 	 X"$as_dir" : 'X\(//\)$' \| \
   21377 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21378 echo X"$as_dir" |
   21379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21380 	    s//\1/
   21381 	    q
   21382 	  }
   21383 	  /^X\(\/\/\)[^/].*/{
   21384 	    s//\1/
   21385 	    q
   21386 	  }
   21387 	  /^X\(\/\/\)$/{
   21388 	    s//\1/
   21389 	    q
   21390 	  }
   21391 	  /^X\(\/\).*/{
   21392 	    s//\1/
   21393 	    q
   21394 	  }
   21395 	  s/.*/./; q'`
   21396       test -d "$as_dir" && break
   21397     done
   21398     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21399   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21400 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21401    { (exit 1); exit 1; }; }; }
   21402     # echo "creating $dirpart/$file"
   21403     echo '# dummy' > "$dirpart/$file"
   21404   done
   21405 done
   21406  ;;
   21407 
   21408   esac
   21409 done # for ac_tag
   21410 
   21411 
   21412 { (exit 0); exit 0; }
   21413 _ACEOF
   21414 chmod +x $CONFIG_STATUS
   21415 ac_clean_files=$ac_clean_files_save
   21416 
   21417 
   21418 # configure is writing to config.log, and then calls config.status.
   21419 # config.status does its own redirection, appending to config.log.
   21420 # Unfortunately, on DOS this fails, as config.log is still kept open
   21421 # by configure, so config.status won't be able to write to it; its
   21422 # output is simply discarded.  So we exec the FD to /dev/null,
   21423 # effectively closing config.log, so it can be properly (re)opened and
   21424 # appended to by config.status.  When coming back to configure, we
   21425 # need to make the FD available again.
   21426 if test "$no_create" != yes; then
   21427   ac_cs_success=:
   21428   ac_config_status_args=
   21429   test "$silent" = yes &&
   21430     ac_config_status_args="$ac_config_status_args --quiet"
   21431   exec 5>/dev/null
   21432   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21433   exec 5>>config.log
   21434   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21435   # would make configure fail if this is the last instruction.
   21436   $ac_cs_success || { (exit 1); exit 1; }
   21437 fi
   21438 
   21439