Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.60 for libXt 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be Bourne compatible
     16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17   emulate sh
     18   NULLCMD=:
     19   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20   # is contrary to our usage.  Disable this feature.
     21   alias -g '${1+"$@"}'='"$@"'
     22   setopt NO_GLOB_SUBST
     23 else
     24   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
     25 fi
     26 BIN_SH=xpg4; export BIN_SH # for Tru64
     27 DUALCASE=1; export DUALCASE # for MKS sh
     28 
     29 
     30 # PATH needs CR
     31 # Avoid depending upon Character Ranges.
     32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     35 as_cr_digits='0123456789'
     36 as_cr_alnum=$as_cr_Letters$as_cr_digits
     37 
     38 # The user is always right.
     39 if test "${PATH_SEPARATOR+set}" != set; then
     40   echo "#! /bin/sh" >conf$$.sh
     41   echo  "exit 0"   >>conf$$.sh
     42   chmod +x conf$$.sh
     43   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     44     PATH_SEPARATOR=';'
     45   else
     46     PATH_SEPARATOR=:
     47   fi
     48   rm -f conf$$.sh
     49 fi
     50 
     51 # Support unset when possible.
     52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     53   as_unset=unset
     54 else
     55   as_unset=false
     56 fi
     57 
     58 
     59 # IFS
     60 # We need space, tab and new line, in precisely that order.  Quoting is
     61 # there to prevent editors from complaining about space-tab.
     62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     63 # splitting by setting IFS to empty value.)
     64 as_nl='
     65 '
     66 IFS=" ""	$as_nl"
     67 
     68 # Find who we are.  Look in the path if we contain no directory separator.
     69 case $0 in
     70   *[\\/]* ) as_myself=$0 ;;
     71   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     72 for as_dir in $PATH
     73 do
     74   IFS=$as_save_IFS
     75   test -z "$as_dir" && as_dir=.
     76   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     77 done
     78 IFS=$as_save_IFS
     79 
     80      ;;
     81 esac
     82 # We did not find ourselves, most probably we were run as `sh COMMAND'
     83 # in which case we are not to be found in the path.
     84 if test "x$as_myself" = x; then
     85   as_myself=$0
     86 fi
     87 if test ! -f "$as_myself"; then
     88   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     89   { (exit 1); exit 1; }
     90 fi
     91 
     92 # Work around bugs in pre-3.0 UWIN ksh.
     93 for as_var in ENV MAIL MAILPATH
     94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     95 done
     96 PS1='$ '
     97 PS2='> '
     98 PS4='+ '
     99 
    100 # NLS nuisances.
    101 for as_var in \
    102   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    103   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    104   LC_TELEPHONE LC_TIME
    105 do
    106   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    107     eval $as_var=C; export $as_var
    108   else
    109     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    110   fi
    111 done
    112 
    113 # Required to use basename.
    114 if expr a : '\(a\)' >/dev/null 2>&1 &&
    115    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    116   as_expr=expr
    117 else
    118   as_expr=false
    119 fi
    120 
    121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    122   as_basename=basename
    123 else
    124   as_basename=false
    125 fi
    126 
    127 
    128 # Name of the executable.
    129 as_me=`$as_basename -- "$0" ||
    130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    131 	 X"$0" : 'X\(//\)$' \| \
    132 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    133 echo X/"$0" |
    134     sed '/^.*\/\([^/][^/]*\)\/*$/{
    135 	    s//\1/
    136 	    q
    137 	  }
    138 	  /^X\/\(\/\/\)$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\).*/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  s/.*/./; q'`
    147 
    148 # CDPATH.
    149 $as_unset CDPATH
    150 
    151 
    152 if test "x$CONFIG_SHELL" = x; then
    153   if (eval ":") 2>/dev/null; then
    154   as_have_required=yes
    155 else
    156   as_have_required=no
    157 fi
    158 
    159   if test $as_have_required = yes && 	 (eval ":
    160 (as_func_return () {
    161   (exit \$1)
    162 }
    163 as_func_success () {
    164   as_func_return 0
    165 }
    166 as_func_failure () {
    167   as_func_return 1
    168 }
    169 as_func_ret_success () {
    170   return 0
    171 }
    172 as_func_ret_failure () {
    173   return 1
    174 }
    175 
    176 exitcode=0
    177 if as_func_success; then
    178   :
    179 else
    180   exitcode=1
    181   echo as_func_success failed.
    182 fi
    183 
    184 if as_func_failure; then
    185   exitcode=1
    186   echo as_func_failure succeeded.
    187 fi
    188 
    189 if as_func_ret_success; then
    190   :
    191 else
    192   exitcode=1
    193   echo as_func_ret_success failed.
    194 fi
    195 
    196 if as_func_ret_failure; then
    197   exitcode=1
    198   echo as_func_ret_failure succeeded.
    199 fi
    200 
    201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    202   :
    203 else
    204   exitcode=1
    205   echo positional parameters were not saved.
    206 fi
    207 
    208 test \$exitcode = 0) || { (exit 1); exit 1; }
    209 
    210 (
    211   as_lineno_1=\$LINENO
    212   as_lineno_2=\$LINENO
    213   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    214   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    215 ") 2> /dev/null; then
    216   :
    217 else
    218   as_candidate_shells=
    219     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   case $as_dir in
    225 	 /*)
    226 	   for as_base in sh bash ksh sh5; do
    227 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    228 	   done;;
    229        esac
    230 done
    231 IFS=$as_save_IFS
    232 
    233 
    234       for as_shell in $as_candidate_shells $SHELL; do
    235 	 # Try only shells that exist, to save several forks.
    236 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    237 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    238 # Be Bourne compatible
    239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    240   emulate sh
    241   NULLCMD=:
    242   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    243   # is contrary to our usage.  Disable this feature.
    244   alias -g '${1+"$@"}'='"$@"'
    245   setopt NO_GLOB_SUBST
    246 else
    247   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    248 fi
    249 BIN_SH=xpg4; export BIN_SH # for Tru64
    250 DUALCASE=1; export DUALCASE # for MKS sh
    251 
    252 :
    253 _ASEOF
    254 }; then
    255   CONFIG_SHELL=$as_shell
    256 	       as_have_required=yes
    257 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    258 # Be Bourne compatible
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    268 fi
    269 BIN_SH=xpg4; export BIN_SH # for Tru64
    270 DUALCASE=1; export DUALCASE # for MKS sh
    271 
    272 :
    273 (as_func_return () {
    274   (exit $1)
    275 }
    276 as_func_success () {
    277   as_func_return 0
    278 }
    279 as_func_failure () {
    280   as_func_return 1
    281 }
    282 as_func_ret_success () {
    283   return 0
    284 }
    285 as_func_ret_failure () {
    286   return 1
    287 }
    288 
    289 exitcode=0
    290 if as_func_success; then
    291   :
    292 else
    293   exitcode=1
    294   echo as_func_success failed.
    295 fi
    296 
    297 if as_func_failure; then
    298   exitcode=1
    299   echo as_func_failure succeeded.
    300 fi
    301 
    302 if as_func_ret_success; then
    303   :
    304 else
    305   exitcode=1
    306   echo as_func_ret_success failed.
    307 fi
    308 
    309 if as_func_ret_failure; then
    310   exitcode=1
    311   echo as_func_ret_failure succeeded.
    312 fi
    313 
    314 if ( set x; as_func_ret_success y && test x = "$1" ); then
    315   :
    316 else
    317   exitcode=1
    318   echo positional parameters were not saved.
    319 fi
    320 
    321 test $exitcode = 0) || { (exit 1); exit 1; }
    322 
    323 (
    324   as_lineno_1=$LINENO
    325   as_lineno_2=$LINENO
    326   test "x$as_lineno_1" != "x$as_lineno_2" &&
    327   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    328 
    329 _ASEOF
    330 }; then
    331   break
    332 fi
    333 
    334 fi
    335 
    336       done
    337 
    338       if test "x$CONFIG_SHELL" != x; then
    339   for as_var in BASH_ENV ENV
    340         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    341         done
    342         export CONFIG_SHELL
    343         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    344 fi
    345 
    346 
    347     if test $as_have_required = no; then
    348   echo This script requires a shell more modern than all the
    349       echo shells that I found on your system.  Please install a
    350       echo modern shell, or manually run the script under such a
    351       echo shell if you do have one.
    352       { (exit 1); exit 1; }
    353 fi
    354 
    355 
    356 fi
    357 
    358 fi
    359 
    360 
    361 
    362 (eval "as_func_return () {
    363   (exit \$1)
    364 }
    365 as_func_success () {
    366   as_func_return 0
    367 }
    368 as_func_failure () {
    369   as_func_return 1
    370 }
    371 as_func_ret_success () {
    372   return 0
    373 }
    374 as_func_ret_failure () {
    375   return 1
    376 }
    377 
    378 exitcode=0
    379 if as_func_success; then
    380   :
    381 else
    382   exitcode=1
    383   echo as_func_success failed.
    384 fi
    385 
    386 if as_func_failure; then
    387   exitcode=1
    388   echo as_func_failure succeeded.
    389 fi
    390 
    391 if as_func_ret_success; then
    392   :
    393 else
    394   exitcode=1
    395   echo as_func_ret_success failed.
    396 fi
    397 
    398 if as_func_ret_failure; then
    399   exitcode=1
    400   echo as_func_ret_failure succeeded.
    401 fi
    402 
    403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    404   :
    405 else
    406   exitcode=1
    407   echo positional parameters were not saved.
    408 fi
    409 
    410 test \$exitcode = 0") || {
    411   echo No shell found that supports shell functions.
    412   echo Please tell autoconf@gnu.org about your system,
    413   echo including any error possibly output before this
    414   echo message
    415 }
    416 
    417 
    418 
    419   as_lineno_1=$LINENO
    420   as_lineno_2=$LINENO
    421   test "x$as_lineno_1" != "x$as_lineno_2" &&
    422   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    423 
    424   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    425   # uniformly replaced by the line number.  The first 'sed' inserts a
    426   # line-number line after each line using $LINENO; the second 'sed'
    427   # does the real work.  The second script uses 'N' to pair each
    428   # line-number line with the line containing $LINENO, and appends
    429   # trailing '-' during substitution so that $LINENO is not a special
    430   # case at line end.
    431   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    432   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    433   # E. McMahon (1931-1989) for sed's syntax.  :-)
    434   sed -n '
    435     p
    436     /[$]LINENO/=
    437   ' <$as_myself |
    438     sed '
    439       s/[$]LINENO.*/&-/
    440       t lineno
    441       b
    442       :lineno
    443       N
    444       :loop
    445       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    446       t loop
    447       s/-\n.*//
    448     ' >$as_me.lineno &&
    449   chmod +x "$as_me.lineno" ||
    450     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    451    { (exit 1); exit 1; }; }
    452 
    453   # Don't try to exec as it changes $[0], causing all sort of problems
    454   # (the dirname of $[0] is not the place where we might find the
    455   # original and so on.  Autoconf is especially sensitive to this).
    456   . "./$as_me.lineno"
    457   # Exit status is that of the last command.
    458   exit
    459 }
    460 
    461 
    462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    463   as_dirname=dirname
    464 else
    465   as_dirname=false
    466 fi
    467 
    468 ECHO_C= ECHO_N= ECHO_T=
    469 case `echo -n x` in
    470 -n*)
    471   case `echo 'x\c'` in
    472   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    473   *)   ECHO_C='\c';;
    474   esac;;
    475 *)
    476   ECHO_N='-n';;
    477 esac
    478 
    479 if expr a : '\(a\)' >/dev/null 2>&1 &&
    480    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    481   as_expr=expr
    482 else
    483   as_expr=false
    484 fi
    485 
    486 rm -f conf$$ conf$$.exe conf$$.file
    487 if test -d conf$$.dir; then
    488   rm -f conf$$.dir/conf$$.file
    489 else
    490   rm -f conf$$.dir
    491   mkdir conf$$.dir
    492 fi
    493 echo >conf$$.file
    494 if ln -s conf$$.file conf$$ 2>/dev/null; then
    495   as_ln_s='ln -s'
    496   # ... but there are two gotchas:
    497   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    498   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    499   # In both cases, we have to default to `cp -p'.
    500   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    501     as_ln_s='cp -p'
    502 elif ln conf$$.file conf$$ 2>/dev/null; then
    503   as_ln_s=ln
    504 else
    505   as_ln_s='cp -p'
    506 fi
    507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    508 rmdir conf$$.dir 2>/dev/null
    509 
    510 if mkdir -p . 2>/dev/null; then
    511   as_mkdir_p=:
    512 else
    513   test -d ./-p && rmdir ./-p
    514   as_mkdir_p=false
    515 fi
    516 
    517 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
    518 # systems may use methods other than mode bits to determine executability.
    519 cat >conf$$.file <<_ASEOF
    520 #! /bin/sh
    521 exit 0
    522 _ASEOF
    523 chmod +x conf$$.file
    524 if test -x conf$$.file >/dev/null 2>&1; then
    525   as_executable_p="test -x"
    526 else
    527   as_executable_p=:
    528 fi
    529 rm -f conf$$.file
    530 
    531 # Sed expression to map a string onto a valid CPP name.
    532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    533 
    534 # Sed expression to map a string onto a valid variable name.
    535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 
    538 
    539 
    540 # Check that we are running under the correct shell.
    541 SHELL=${CONFIG_SHELL-/bin/sh}
    542 
    543 case X$ECHO in
    544 X*--fallback-echo)
    545   # Remove one level of quotation (which was required for Make).
    546   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    547   ;;
    548 esac
    549 
    550 echo=${ECHO-echo}
    551 if test "X$1" = X--no-reexec; then
    552   # Discard the --no-reexec flag, and continue.
    553   shift
    554 elif test "X$1" = X--fallback-echo; then
    555   # Avoid inline document here, it may be left over
    556   :
    557 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    558   # Yippee, $echo works!
    559   :
    560 else
    561   # Restart under the correct shell.
    562   exec $SHELL "$0" --no-reexec ${1+"$@"}
    563 fi
    564 
    565 if test "X$1" = X--fallback-echo; then
    566   # used as fallback echo
    567   shift
    568   cat <<EOF
    569 $*
    570 EOF
    571   exit 0
    572 fi
    573 
    574 # The HP-UX ksh and POSIX shell print the target directory to stdout
    575 # if CDPATH is set.
    576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    577 
    578 if test -z "$ECHO"; then
    579 if test "X${echo_test_string+set}" != Xset; then
    580 # find a string as large as possible, as long as the shell can cope with it
    581   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    582     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    583     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    584        echo_test_string=`eval $cmd` &&
    585        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    586     then
    587       break
    588     fi
    589   done
    590 fi
    591 
    592 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    593    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    594    test "X$echo_testing_string" = "X$echo_test_string"; then
    595   :
    596 else
    597   # The Solaris, AIX, and Digital Unix default echo programs unquote
    598   # backslashes.  This makes it impossible to quote backslashes using
    599   #   echo "$something" | sed 's/\\/\\\\/g'
    600   #
    601   # So, first we look for a working echo in the user's PATH.
    602 
    603   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    604   for dir in $PATH /usr/ucb; do
    605     IFS="$lt_save_ifs"
    606     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    607        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    608        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    609        test "X$echo_testing_string" = "X$echo_test_string"; then
    610       echo="$dir/echo"
    611       break
    612     fi
    613   done
    614   IFS="$lt_save_ifs"
    615 
    616   if test "X$echo" = Xecho; then
    617     # We didn't find a better echo, so look for alternatives.
    618     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    619        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    620        test "X$echo_testing_string" = "X$echo_test_string"; then
    621       # This shell has a builtin print -r that does the trick.
    622       echo='print -r'
    623     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    624 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    625       # If we have ksh, try running configure again with it.
    626       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    627       export ORIGINAL_CONFIG_SHELL
    628       CONFIG_SHELL=/bin/ksh
    629       export CONFIG_SHELL
    630       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    631     else
    632       # Try using printf.
    633       echo='printf %s\n'
    634       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    635 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    636 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    637 	# Cool, printf works
    638 	:
    639       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    640 	   test "X$echo_testing_string" = 'X\t' &&
    641 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    642 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    643 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    644 	export CONFIG_SHELL
    645 	SHELL="$CONFIG_SHELL"
    646 	export SHELL
    647 	echo="$CONFIG_SHELL $0 --fallback-echo"
    648       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    649 	   test "X$echo_testing_string" = 'X\t' &&
    650 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    651 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	echo="$CONFIG_SHELL $0 --fallback-echo"
    653       else
    654 	# maybe with a smaller string...
    655 	prev=:
    656 
    657 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    658 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    659 	  then
    660 	    break
    661 	  fi
    662 	  prev="$cmd"
    663 	done
    664 
    665 	if test "$prev" != 'sed 50q "$0"'; then
    666 	  echo_test_string=`eval $prev`
    667 	  export echo_test_string
    668 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    669 	else
    670 	  # Oops.  We lost completely, so just stick with echo.
    671 	  echo=echo
    672 	fi
    673       fi
    674     fi
    675   fi
    676 fi
    677 fi
    678 
    679 # Copy echo and quote the copy suitably for passing to libtool from
    680 # the Makefile, instead of quoting the original, which is used later.
    681 ECHO=$echo
    682 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    683    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    684 fi
    685 
    686 
    687 
    688 
    689 tagnames=${tagnames+${tagnames},}CXX
    690 
    691 tagnames=${tagnames+${tagnames},}F77
    692 
    693 exec 7<&0 </dev/null 6>&1
    694 
    695 # Name of the host.
    696 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    697 # so uname gets run too.
    698 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    699 
    700 #
    701 # Initializations.
    702 #
    703 ac_default_prefix=/usr/local
    704 ac_clean_files=
    705 ac_config_libobj_dir=.
    706 LIBOBJS=
    707 cross_compiling=no
    708 subdirs=
    709 MFLAGS=
    710 MAKEFLAGS=
    711 SHELL=${CONFIG_SHELL-/bin/sh}
    712 
    713 # Identity of this package.
    714 PACKAGE_NAME='libXt'
    715 PACKAGE_TARNAME='libXt'
    716 PACKAGE_VERSION='1.0.5'
    717 PACKAGE_STRING='libXt 1.0.5'
    718 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    719 
    720 # Factoring default headers for most tests.
    721 ac_includes_default="\
    722 #include <stdio.h>
    723 #if HAVE_SYS_TYPES_H
    724 # include <sys/types.h>
    725 #endif
    726 #if HAVE_SYS_STAT_H
    727 # include <sys/stat.h>
    728 #endif
    729 #if STDC_HEADERS
    730 # include <stdlib.h>
    731 # include <stddef.h>
    732 #else
    733 # if HAVE_STDLIB_H
    734 #  include <stdlib.h>
    735 # endif
    736 #endif
    737 #if HAVE_STRING_H
    738 # if !STDC_HEADERS && HAVE_MEMORY_H
    739 #  include <memory.h>
    740 # endif
    741 # include <string.h>
    742 #endif
    743 #if HAVE_STRINGS_H
    744 # include <strings.h>
    745 #endif
    746 #if HAVE_INTTYPES_H
    747 # include <inttypes.h>
    748 #endif
    749 #if HAVE_STDINT_H
    750 # include <stdint.h>
    751 #endif
    752 #if HAVE_UNISTD_H
    753 # include <unistd.h>
    754 #endif"
    755 
    756 ac_subst_vars='SHELL
    757 PATH_SEPARATOR
    758 PACKAGE_NAME
    759 PACKAGE_TARNAME
    760 PACKAGE_VERSION
    761 PACKAGE_STRING
    762 PACKAGE_BUGREPORT
    763 exec_prefix
    764 prefix
    765 program_transform_name
    766 bindir
    767 sbindir
    768 libexecdir
    769 datarootdir
    770 datadir
    771 sysconfdir
    772 sharedstatedir
    773 localstatedir
    774 includedir
    775 oldincludedir
    776 docdir
    777 infodir
    778 htmldir
    779 dvidir
    780 pdfdir
    781 psdir
    782 libdir
    783 localedir
    784 mandir
    785 DEFS
    786 ECHO_C
    787 ECHO_N
    788 ECHO_T
    789 LIBS
    790 build_alias
    791 host_alias
    792 target_alias
    793 INSTALL_PROGRAM
    794 INSTALL_SCRIPT
    795 INSTALL_DATA
    796 CYGPATH_W
    797 PACKAGE
    798 VERSION
    799 ACLOCAL
    800 AUTOCONF
    801 AUTOMAKE
    802 AUTOHEADER
    803 MAKEINFO
    804 install_sh
    805 STRIP
    806 INSTALL_STRIP_PROGRAM
    807 mkdir_p
    808 AWK
    809 SET_MAKE
    810 am__leading_dot
    811 AMTAR
    812 am__tar
    813 am__untar
    814 MAINTAINER_MODE_TRUE
    815 MAINTAINER_MODE_FALSE
    816 MAINT
    817 CC
    818 CFLAGS
    819 LDFLAGS
    820 CPPFLAGS
    821 ac_ct_CC
    822 EXEEXT
    823 OBJEXT
    824 DEPDIR
    825 am__include
    826 am__quote
    827 AMDEP_TRUE
    828 AMDEP_FALSE
    829 AMDEPBACKSLASH
    830 CCDEPMODE
    831 am__fastdepCC_TRUE
    832 am__fastdepCC_FALSE
    833 build
    834 build_cpu
    835 build_vendor
    836 build_os
    837 host
    838 host_cpu
    839 host_vendor
    840 host_os
    841 GREP
    842 EGREP
    843 LN_S
    844 ECHO
    845 AR
    846 RANLIB
    847 CPP
    848 CXX
    849 CXXFLAGS
    850 ac_ct_CXX
    851 CXXDEPMODE
    852 am__fastdepCXX_TRUE
    853 am__fastdepCXX_FALSE
    854 CXXCPP
    855 F77
    856 FFLAGS
    857 ac_ct_F77
    858 LIBTOOL
    859 PKG_CONFIG
    860 XT_CFLAGS
    861 XT_LIBS
    862 INSTALL_MAKESTRS_TRUE
    863 INSTALL_MAKESTRS_FALSE
    864 XFILESEARCHPATHDEFAULT
    865 appdefaultdir
    866 STRINGSABIOPTIONS
    867 RAWCPP
    868 RAWCPPFLAGS
    869 APP_MAN_SUFFIX
    870 LIB_MAN_SUFFIX
    871 FILE_MAN_SUFFIX
    872 MISC_MAN_SUFFIX
    873 DRIVER_MAN_SUFFIX
    874 ADMIN_MAN_SUFFIX
    875 APP_MAN_DIR
    876 LIB_MAN_DIR
    877 FILE_MAN_DIR
    878 MISC_MAN_DIR
    879 DRIVER_MAN_DIR
    880 ADMIN_MAN_DIR
    881 MALLOC_ZERO_CFLAGS
    882 XMALLOC_ZERO_CFLAGS
    883 XTMALLOC_ZERO_CFLAGS
    884 LIBOBJS
    885 LTLIBOBJS'
    886 ac_subst_files=''
    887       ac_precious_vars='build_alias
    888 host_alias
    889 target_alias
    890 CC
    891 CFLAGS
    892 LDFLAGS
    893 CPPFLAGS
    894 CPP
    895 CXX
    896 CXXFLAGS
    897 CCC
    898 CXXCPP
    899 F77
    900 FFLAGS
    901 PKG_CONFIG
    902 XT_CFLAGS
    903 XT_LIBS'
    904 
    905 
    906 # Initialize some variables set by options.
    907 ac_init_help=
    908 ac_init_version=false
    909 # The variables have the same names as the options, with
    910 # dashes changed to underlines.
    911 cache_file=/dev/null
    912 exec_prefix=NONE
    913 no_create=
    914 no_recursion=
    915 prefix=NONE
    916 program_prefix=NONE
    917 program_suffix=NONE
    918 program_transform_name=s,x,x,
    919 silent=
    920 site=
    921 srcdir=
    922 verbose=
    923 x_includes=NONE
    924 x_libraries=NONE
    925 
    926 # Installation directory options.
    927 # These are left unexpanded so users can "make install exec_prefix=/foo"
    928 # and all the variables that are supposed to be based on exec_prefix
    929 # by default will actually change.
    930 # Use braces instead of parens because sh, perl, etc. also accept them.
    931 # (The list follows the same order as the GNU Coding Standards.)
    932 bindir='${exec_prefix}/bin'
    933 sbindir='${exec_prefix}/sbin'
    934 libexecdir='${exec_prefix}/libexec'
    935 datarootdir='${prefix}/share'
    936 datadir='${datarootdir}'
    937 sysconfdir='${prefix}/etc'
    938 sharedstatedir='${prefix}/com'
    939 localstatedir='${prefix}/var'
    940 includedir='${prefix}/include'
    941 oldincludedir='/usr/include'
    942 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    943 infodir='${datarootdir}/info'
    944 htmldir='${docdir}'
    945 dvidir='${docdir}'
    946 pdfdir='${docdir}'
    947 psdir='${docdir}'
    948 libdir='${exec_prefix}/lib'
    949 localedir='${datarootdir}/locale'
    950 mandir='${datarootdir}/man'
    951 
    952 ac_prev=
    953 ac_dashdash=
    954 for ac_option
    955 do
    956   # If the previous option needs an argument, assign it.
    957   if test -n "$ac_prev"; then
    958     eval $ac_prev=\$ac_option
    959     ac_prev=
    960     continue
    961   fi
    962 
    963   case $ac_option in
    964   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    965   *)	ac_optarg=yes ;;
    966   esac
    967 
    968   # Accept the important Cygnus configure options, so we can diagnose typos.
    969 
    970   case $ac_dashdash$ac_option in
    971   --)
    972     ac_dashdash=yes ;;
    973 
    974   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    975     ac_prev=bindir ;;
    976   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    977     bindir=$ac_optarg ;;
    978 
    979   -build | --build | --buil | --bui | --bu)
    980     ac_prev=build_alias ;;
    981   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    982     build_alias=$ac_optarg ;;
    983 
    984   -cache-file | --cache-file | --cache-fil | --cache-fi \
    985   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    986     ac_prev=cache_file ;;
    987   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    988   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    989     cache_file=$ac_optarg ;;
    990 
    991   --config-cache | -C)
    992     cache_file=config.cache ;;
    993 
    994   -datadir | --datadir | --datadi | --datad)
    995     ac_prev=datadir ;;
    996   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    997     datadir=$ac_optarg ;;
    998 
    999   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1000   | --dataroo | --dataro | --datar)
   1001     ac_prev=datarootdir ;;
   1002   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1003   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1004     datarootdir=$ac_optarg ;;
   1005 
   1006   -disable-* | --disable-*)
   1007     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1008     # Reject names that are not valid shell variable names.
   1009     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1010       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1011    { (exit 1); exit 1; }; }
   1012     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   1013     eval enable_$ac_feature=no ;;
   1014 
   1015   -docdir | --docdir | --docdi | --doc | --do)
   1016     ac_prev=docdir ;;
   1017   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1018     docdir=$ac_optarg ;;
   1019 
   1020   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1021     ac_prev=dvidir ;;
   1022   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1023     dvidir=$ac_optarg ;;
   1024 
   1025   -enable-* | --enable-*)
   1026     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1027     # Reject names that are not valid shell variable names.
   1028     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1029       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1030    { (exit 1); exit 1; }; }
   1031     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   1032     eval enable_$ac_feature=\$ac_optarg ;;
   1033 
   1034   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1035   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1036   | --exec | --exe | --ex)
   1037     ac_prev=exec_prefix ;;
   1038   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1039   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1040   | --exec=* | --exe=* | --ex=*)
   1041     exec_prefix=$ac_optarg ;;
   1042 
   1043   -gas | --gas | --ga | --g)
   1044     # Obsolete; use --with-gas.
   1045     with_gas=yes ;;
   1046 
   1047   -help | --help | --hel | --he | -h)
   1048     ac_init_help=long ;;
   1049   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1050     ac_init_help=recursive ;;
   1051   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1052     ac_init_help=short ;;
   1053 
   1054   -host | --host | --hos | --ho)
   1055     ac_prev=host_alias ;;
   1056   -host=* | --host=* | --hos=* | --ho=*)
   1057     host_alias=$ac_optarg ;;
   1058 
   1059   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1060     ac_prev=htmldir ;;
   1061   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1062   | --ht=*)
   1063     htmldir=$ac_optarg ;;
   1064 
   1065   -includedir | --includedir | --includedi | --included | --include \
   1066   | --includ | --inclu | --incl | --inc)
   1067     ac_prev=includedir ;;
   1068   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1069   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1070     includedir=$ac_optarg ;;
   1071 
   1072   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1073     ac_prev=infodir ;;
   1074   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1075     infodir=$ac_optarg ;;
   1076 
   1077   -libdir | --libdir | --libdi | --libd)
   1078     ac_prev=libdir ;;
   1079   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1080     libdir=$ac_optarg ;;
   1081 
   1082   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1083   | --libexe | --libex | --libe)
   1084     ac_prev=libexecdir ;;
   1085   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1086   | --libexe=* | --libex=* | --libe=*)
   1087     libexecdir=$ac_optarg ;;
   1088 
   1089   -localedir | --localedir | --localedi | --localed | --locale)
   1090     ac_prev=localedir ;;
   1091   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1092     localedir=$ac_optarg ;;
   1093 
   1094   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1095   | --localstate | --localstat | --localsta | --localst | --locals)
   1096     ac_prev=localstatedir ;;
   1097   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1098   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1099     localstatedir=$ac_optarg ;;
   1100 
   1101   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1102     ac_prev=mandir ;;
   1103   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1104     mandir=$ac_optarg ;;
   1105 
   1106   -nfp | --nfp | --nf)
   1107     # Obsolete; use --without-fp.
   1108     with_fp=no ;;
   1109 
   1110   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1111   | --no-cr | --no-c | -n)
   1112     no_create=yes ;;
   1113 
   1114   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1115   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1116     no_recursion=yes ;;
   1117 
   1118   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1119   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1120   | --oldin | --oldi | --old | --ol | --o)
   1121     ac_prev=oldincludedir ;;
   1122   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1123   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1124   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1125     oldincludedir=$ac_optarg ;;
   1126 
   1127   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1128     ac_prev=prefix ;;
   1129   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1130     prefix=$ac_optarg ;;
   1131 
   1132   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1133   | --program-pre | --program-pr | --program-p)
   1134     ac_prev=program_prefix ;;
   1135   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1136   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1137     program_prefix=$ac_optarg ;;
   1138 
   1139   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1140   | --program-suf | --program-su | --program-s)
   1141     ac_prev=program_suffix ;;
   1142   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1143   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1144     program_suffix=$ac_optarg ;;
   1145 
   1146   -program-transform-name | --program-transform-name \
   1147   | --program-transform-nam | --program-transform-na \
   1148   | --program-transform-n | --program-transform- \
   1149   | --program-transform | --program-transfor \
   1150   | --program-transfo | --program-transf \
   1151   | --program-trans | --program-tran \
   1152   | --progr-tra | --program-tr | --program-t)
   1153     ac_prev=program_transform_name ;;
   1154   -program-transform-name=* | --program-transform-name=* \
   1155   | --program-transform-nam=* | --program-transform-na=* \
   1156   | --program-transform-n=* | --program-transform-=* \
   1157   | --program-transform=* | --program-transfor=* \
   1158   | --program-transfo=* | --program-transf=* \
   1159   | --program-trans=* | --program-tran=* \
   1160   | --progr-tra=* | --program-tr=* | --program-t=*)
   1161     program_transform_name=$ac_optarg ;;
   1162 
   1163   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1164     ac_prev=pdfdir ;;
   1165   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1166     pdfdir=$ac_optarg ;;
   1167 
   1168   -psdir | --psdir | --psdi | --psd | --ps)
   1169     ac_prev=psdir ;;
   1170   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1171     psdir=$ac_optarg ;;
   1172 
   1173   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1174   | -silent | --silent | --silen | --sile | --sil)
   1175     silent=yes ;;
   1176 
   1177   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1178     ac_prev=sbindir ;;
   1179   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1180   | --sbi=* | --sb=*)
   1181     sbindir=$ac_optarg ;;
   1182 
   1183   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1184   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1185   | --sharedst | --shareds | --shared | --share | --shar \
   1186   | --sha | --sh)
   1187     ac_prev=sharedstatedir ;;
   1188   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1189   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1190   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1191   | --sha=* | --sh=*)
   1192     sharedstatedir=$ac_optarg ;;
   1193 
   1194   -site | --site | --sit)
   1195     ac_prev=site ;;
   1196   -site=* | --site=* | --sit=*)
   1197     site=$ac_optarg ;;
   1198 
   1199   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1200     ac_prev=srcdir ;;
   1201   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1202     srcdir=$ac_optarg ;;
   1203 
   1204   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1205   | --syscon | --sysco | --sysc | --sys | --sy)
   1206     ac_prev=sysconfdir ;;
   1207   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1208   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1209     sysconfdir=$ac_optarg ;;
   1210 
   1211   -target | --target | --targe | --targ | --tar | --ta | --t)
   1212     ac_prev=target_alias ;;
   1213   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1214     target_alias=$ac_optarg ;;
   1215 
   1216   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1217     verbose=yes ;;
   1218 
   1219   -version | --version | --versio | --versi | --vers | -V)
   1220     ac_init_version=: ;;
   1221 
   1222   -with-* | --with-*)
   1223     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1224     # Reject names that are not valid shell variable names.
   1225     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1226       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1227    { (exit 1); exit 1; }; }
   1228     ac_package=`echo $ac_package| sed 's/-/_/g'`
   1229     eval with_$ac_package=\$ac_optarg ;;
   1230 
   1231   -without-* | --without-*)
   1232     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1233     # Reject names that are not valid shell variable names.
   1234     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1235       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1236    { (exit 1); exit 1; }; }
   1237     ac_package=`echo $ac_package | sed 's/-/_/g'`
   1238     eval with_$ac_package=no ;;
   1239 
   1240   --x)
   1241     # Obsolete; use --with-x.
   1242     with_x=yes ;;
   1243 
   1244   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1245   | --x-incl | --x-inc | --x-in | --x-i)
   1246     ac_prev=x_includes ;;
   1247   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1248   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1249     x_includes=$ac_optarg ;;
   1250 
   1251   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1252   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1253     ac_prev=x_libraries ;;
   1254   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1255   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1256     x_libraries=$ac_optarg ;;
   1257 
   1258   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1259 Try \`$0 --help' for more information." >&2
   1260    { (exit 1); exit 1; }; }
   1261     ;;
   1262 
   1263   *=*)
   1264     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1265     # Reject names that are not valid shell variable names.
   1266     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1267       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1268    { (exit 1); exit 1; }; }
   1269     eval $ac_envvar=\$ac_optarg
   1270     export $ac_envvar ;;
   1271 
   1272   *)
   1273     # FIXME: should be removed in autoconf 3.0.
   1274     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1275     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1276       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1277     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1278     ;;
   1279 
   1280   esac
   1281 done
   1282 
   1283 if test -n "$ac_prev"; then
   1284   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1285   { echo "$as_me: error: missing argument to $ac_option" >&2
   1286    { (exit 1); exit 1; }; }
   1287 fi
   1288 
   1289 # Be sure to have absolute directory names.
   1290 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1291 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1292 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1293 		libdir localedir mandir
   1294 do
   1295   eval ac_val=\$$ac_var
   1296   case $ac_val in
   1297     [\\/$]* | ?:[\\/]* )  continue;;
   1298     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1299   esac
   1300   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1301    { (exit 1); exit 1; }; }
   1302 done
   1303 
   1304 # There might be people who depend on the old broken behavior: `$host'
   1305 # used to hold the argument of --host etc.
   1306 # FIXME: To remove some day.
   1307 build=$build_alias
   1308 host=$host_alias
   1309 target=$target_alias
   1310 
   1311 # FIXME: To remove some day.
   1312 if test "x$host_alias" != x; then
   1313   if test "x$build_alias" = x; then
   1314     cross_compiling=maybe
   1315     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1316     If a cross compiler is detected then cross compile mode will be used." >&2
   1317   elif test "x$build_alias" != "x$host_alias"; then
   1318     cross_compiling=yes
   1319   fi
   1320 fi
   1321 
   1322 ac_tool_prefix=
   1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1324 
   1325 test "$silent" = yes && exec 6>/dev/null
   1326 
   1327 
   1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1329 ac_ls_di=`ls -di .` &&
   1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1331   { echo "$as_me: error: Working directory cannot be determined" >&2
   1332    { (exit 1); exit 1; }; }
   1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1334   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1335    { (exit 1); exit 1; }; }
   1336 
   1337 
   1338 # Find the source files, if location was not specified.
   1339 if test -z "$srcdir"; then
   1340   ac_srcdir_defaulted=yes
   1341   # Try the directory containing this script, then the parent directory.
   1342   ac_confdir=`$as_dirname -- "$0" ||
   1343 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1344 	 X"$0" : 'X\(//\)[^/]' \| \
   1345 	 X"$0" : 'X\(//\)$' \| \
   1346 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1347 echo X"$0" |
   1348     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1349 	    s//\1/
   1350 	    q
   1351 	  }
   1352 	  /^X\(\/\/\)[^/].*/{
   1353 	    s//\1/
   1354 	    q
   1355 	  }
   1356 	  /^X\(\/\/\)$/{
   1357 	    s//\1/
   1358 	    q
   1359 	  }
   1360 	  /^X\(\/\).*/{
   1361 	    s//\1/
   1362 	    q
   1363 	  }
   1364 	  s/.*/./; q'`
   1365   srcdir=$ac_confdir
   1366   if test ! -r "$srcdir/$ac_unique_file"; then
   1367     srcdir=..
   1368   fi
   1369 else
   1370   ac_srcdir_defaulted=no
   1371 fi
   1372 if test ! -r "$srcdir/$ac_unique_file"; then
   1373   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1374   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1375    { (exit 1); exit 1; }; }
   1376 fi
   1377 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1378 ac_abs_confdir=`(
   1379 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1380    { (exit 1); exit 1; }; }
   1381 	pwd)`
   1382 # When building in place, set srcdir=.
   1383 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1384   srcdir=.
   1385 fi
   1386 # Remove unnecessary trailing slashes from srcdir.
   1387 # Double slashes in file names in object file debugging info
   1388 # mess up M-x gdb in Emacs.
   1389 case $srcdir in
   1390 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1391 esac
   1392 for ac_var in $ac_precious_vars; do
   1393   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1394   eval ac_env_${ac_var}_value=\$${ac_var}
   1395   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1396   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1397 done
   1398 
   1399 #
   1400 # Report the --help message.
   1401 #
   1402 if test "$ac_init_help" = "long"; then
   1403   # Omit some internal or obsolete options to make the list less imposing.
   1404   # This message is too long to be a string in the A/UX 3.1 sh.
   1405   cat <<_ACEOF
   1406 \`configure' configures libXt 1.0.5 to adapt to many kinds of systems.
   1407 
   1408 Usage: $0 [OPTION]... [VAR=VALUE]...
   1409 
   1410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1411 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1412 
   1413 Defaults for the options are specified in brackets.
   1414 
   1415 Configuration:
   1416   -h, --help              display this help and exit
   1417       --help=short        display options specific to this package
   1418       --help=recursive    display the short help of all the included packages
   1419   -V, --version           display version information and exit
   1420   -q, --quiet, --silent   do not print \`checking...' messages
   1421       --cache-file=FILE   cache test results in FILE [disabled]
   1422   -C, --config-cache      alias for \`--cache-file=config.cache'
   1423   -n, --no-create         do not create output files
   1424       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1425 
   1426 Installation directories:
   1427   --prefix=PREFIX         install architecture-independent files in PREFIX
   1428 			  [$ac_default_prefix]
   1429   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1430 			  [PREFIX]
   1431 
   1432 By default, \`make install' will install all the files in
   1433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1435 for instance \`--prefix=\$HOME'.
   1436 
   1437 For better control, use the options below.
   1438 
   1439 Fine tuning of the installation directories:
   1440   --bindir=DIR           user executables [EPREFIX/bin]
   1441   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1442   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1443   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1444   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1445   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1446   --libdir=DIR           object code libraries [EPREFIX/lib]
   1447   --includedir=DIR       C header files [PREFIX/include]
   1448   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1449   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1450   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1451   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1452   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1453   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1454   --docdir=DIR           documentation root [DATAROOTDIR/doc/libXt]
   1455   --htmldir=DIR          html documentation [DOCDIR]
   1456   --dvidir=DIR           dvi documentation [DOCDIR]
   1457   --pdfdir=DIR           pdf documentation [DOCDIR]
   1458   --psdir=DIR            ps documentation [DOCDIR]
   1459 _ACEOF
   1460 
   1461   cat <<\_ACEOF
   1462 
   1463 Program names:
   1464   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1465   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1466   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1467 
   1468 System types:
   1469   --build=BUILD     configure for building on BUILD [guessed]
   1470   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1471 _ACEOF
   1472 fi
   1473 
   1474 if test -n "$ac_init_help"; then
   1475   case $ac_init_help in
   1476      short | recursive ) echo "Configuration of libXt 1.0.5:";;
   1477    esac
   1478   cat <<\_ACEOF
   1479 
   1480 Optional Features:
   1481   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1482   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1483   --enable-maintainer-mode  enable make rules and dependencies not useful
   1484 			  (and sometimes confusing) to the casual installer
   1485   --disable-dependency-tracking  speeds up one-time build
   1486   --enable-dependency-tracking   do not reject slow dependency extractors
   1487   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1488   --enable-static[=PKGS]  build static libraries [default=yes]
   1489   --enable-fast-install[=PKGS]
   1490                           optimize for fast installation [default=yes]
   1491   --disable-libtool-lock  avoid locking (might break parallel builds)
   1492   --disable-xkb           Disable XKB support
   1493   --disable-install-makestrs
   1494                           Disable installing makestrs
   1495   --enable-malloc0returnsnull
   1496                           malloc(0) returns NULL (default: auto)
   1497 
   1498 Optional Packages:
   1499   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1500   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1501   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1502   --with-pic              try to use only PIC/non-PIC objects [default=use
   1503                           both]
   1504   --with-tags[=TAGS]      include additional configurations [automatic]
   1505   --with-xfile-search-path=<path>
   1506                           Set path to search for app-defaults and other files
   1507   --with-appdefaultdir=<path>
   1508                           Set app-default directory (default:
   1509                           ${datadir}/X11/app-defaults)
   1510   --with-release-version=STRING
   1511                           Use release version string in package name
   1512 
   1513 Some influential environment variables:
   1514   CC          C compiler command
   1515   CFLAGS      C compiler flags
   1516   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1517               nonstandard directory <lib dir>
   1518   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1519               you have headers in a nonstandard directory <include dir>
   1520   CPP         C preprocessor
   1521   CXX         C++ compiler command
   1522   CXXFLAGS    C++ compiler flags
   1523   CXXCPP      C++ preprocessor
   1524   F77         Fortran 77 compiler command
   1525   FFLAGS      Fortran 77 compiler flags
   1526   PKG_CONFIG  path to pkg-config utility
   1527   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
   1528   XT_LIBS     linker flags for XT, overriding pkg-config
   1529 
   1530 Use these variables to override the choices made by `configure' or to help
   1531 it to find libraries and programs with nonstandard names/locations.
   1532 
   1533 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1534 _ACEOF
   1535 ac_status=$?
   1536 fi
   1537 
   1538 if test "$ac_init_help" = "recursive"; then
   1539   # If there are subdirs, report their specific --help.
   1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1541     test -d "$ac_dir" || continue
   1542     ac_builddir=.
   1543 
   1544 case "$ac_dir" in
   1545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1546 *)
   1547   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1548   # A ".." for each directory in $ac_dir_suffix.
   1549   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1550   case $ac_top_builddir_sub in
   1551   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1552   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1553   esac ;;
   1554 esac
   1555 ac_abs_top_builddir=$ac_pwd
   1556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1557 # for backward compatibility:
   1558 ac_top_builddir=$ac_top_build_prefix
   1559 
   1560 case $srcdir in
   1561   .)  # We are building in place.
   1562     ac_srcdir=.
   1563     ac_top_srcdir=$ac_top_builddir_sub
   1564     ac_abs_top_srcdir=$ac_pwd ;;
   1565   [\\/]* | ?:[\\/]* )  # Absolute name.
   1566     ac_srcdir=$srcdir$ac_dir_suffix;
   1567     ac_top_srcdir=$srcdir
   1568     ac_abs_top_srcdir=$srcdir ;;
   1569   *) # Relative name.
   1570     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1571     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1572     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1573 esac
   1574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1575 
   1576     cd "$ac_dir" || { ac_status=$?; continue; }
   1577     # Check for guested configure.
   1578     if test -f "$ac_srcdir/configure.gnu"; then
   1579       echo &&
   1580       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1581     elif test -f "$ac_srcdir/configure"; then
   1582       echo &&
   1583       $SHELL "$ac_srcdir/configure" --help=recursive
   1584     else
   1585       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1586     fi || ac_status=$?
   1587     cd "$ac_pwd" || { ac_status=$?; break; }
   1588   done
   1589 fi
   1590 
   1591 test -n "$ac_init_help" && exit $ac_status
   1592 if $ac_init_version; then
   1593   cat <<\_ACEOF
   1594 libXt configure 1.0.5
   1595 generated by GNU Autoconf 2.60
   1596 
   1597 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1598 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1599 This configure script is free software; the Free Software Foundation
   1600 gives unlimited permission to copy, distribute and modify it.
   1601 _ACEOF
   1602   exit
   1603 fi
   1604 cat >config.log <<_ACEOF
   1605 This file contains any messages produced by compilers while
   1606 running configure, to aid debugging if configure makes a mistake.
   1607 
   1608 It was created by libXt $as_me 1.0.5, which was
   1609 generated by GNU Autoconf 2.60.  Invocation command line was
   1610 
   1611   $ $0 $@
   1612 
   1613 _ACEOF
   1614 exec 5>>config.log
   1615 {
   1616 cat <<_ASUNAME
   1617 ## --------- ##
   1618 ## Platform. ##
   1619 ## --------- ##
   1620 
   1621 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1622 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1623 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1624 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1625 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1626 
   1627 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1628 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1629 
   1630 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1631 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1632 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1633 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1634 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1635 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1636 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1637 
   1638 _ASUNAME
   1639 
   1640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1641 for as_dir in $PATH
   1642 do
   1643   IFS=$as_save_IFS
   1644   test -z "$as_dir" && as_dir=.
   1645   echo "PATH: $as_dir"
   1646 done
   1647 IFS=$as_save_IFS
   1648 
   1649 } >&5
   1650 
   1651 cat >&5 <<_ACEOF
   1652 
   1653 
   1654 ## ----------- ##
   1655 ## Core tests. ##
   1656 ## ----------- ##
   1657 
   1658 _ACEOF
   1659 
   1660 
   1661 # Keep a trace of the command line.
   1662 # Strip out --no-create and --no-recursion so they do not pile up.
   1663 # Strip out --silent because we don't want to record it for future runs.
   1664 # Also quote any args containing shell meta-characters.
   1665 # Make two passes to allow for proper duplicate-argument suppression.
   1666 ac_configure_args=
   1667 ac_configure_args0=
   1668 ac_configure_args1=
   1669 ac_must_keep_next=false
   1670 for ac_pass in 1 2
   1671 do
   1672   for ac_arg
   1673   do
   1674     case $ac_arg in
   1675     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1676     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1677     | -silent | --silent | --silen | --sile | --sil)
   1678       continue ;;
   1679     *\'*)
   1680       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1681     esac
   1682     case $ac_pass in
   1683     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1684     2)
   1685       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1686       if test $ac_must_keep_next = true; then
   1687 	ac_must_keep_next=false # Got value, back to normal.
   1688       else
   1689 	case $ac_arg in
   1690 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1691 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1692 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1693 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1694 	    case "$ac_configure_args0 " in
   1695 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1696 	    esac
   1697 	    ;;
   1698 	  -* ) ac_must_keep_next=true ;;
   1699 	esac
   1700       fi
   1701       ac_configure_args="$ac_configure_args '$ac_arg'"
   1702       ;;
   1703     esac
   1704   done
   1705 done
   1706 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1707 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1708 
   1709 # When interrupted or exit'd, cleanup temporary files, and complete
   1710 # config.log.  We remove comments because anyway the quotes in there
   1711 # would cause problems or look ugly.
   1712 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1713 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1714 trap 'exit_status=$?
   1715   # Save into config.log some information that might help in debugging.
   1716   {
   1717     echo
   1718 
   1719     cat <<\_ASBOX
   1720 ## ---------------- ##
   1721 ## Cache variables. ##
   1722 ## ---------------- ##
   1723 _ASBOX
   1724     echo
   1725     # The following way of writing the cache mishandles newlines in values,
   1726 (
   1727   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1728     eval ac_val=\$$ac_var
   1729     case $ac_val in #(
   1730     *${as_nl}*)
   1731       case $ac_var in #(
   1732       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1734       esac
   1735       case $ac_var in #(
   1736       _ | IFS | as_nl) ;; #(
   1737       *) $as_unset $ac_var ;;
   1738       esac ;;
   1739     esac
   1740   done
   1741   (set) 2>&1 |
   1742     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1743     *${as_nl}ac_space=\ *)
   1744       sed -n \
   1745 	"s/'\''/'\''\\\\'\'''\''/g;
   1746 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1747       ;; #(
   1748     *)
   1749       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1750       ;;
   1751     esac |
   1752     sort
   1753 )
   1754     echo
   1755 
   1756     cat <<\_ASBOX
   1757 ## ----------------- ##
   1758 ## Output variables. ##
   1759 ## ----------------- ##
   1760 _ASBOX
   1761     echo
   1762     for ac_var in $ac_subst_vars
   1763     do
   1764       eval ac_val=\$$ac_var
   1765       case $ac_val in
   1766       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1767       esac
   1768       echo "$ac_var='\''$ac_val'\''"
   1769     done | sort
   1770     echo
   1771 
   1772     if test -n "$ac_subst_files"; then
   1773       cat <<\_ASBOX
   1774 ## ------------------- ##
   1775 ## File substitutions. ##
   1776 ## ------------------- ##
   1777 _ASBOX
   1778       echo
   1779       for ac_var in $ac_subst_files
   1780       do
   1781 	eval ac_val=\$$ac_var
   1782 	case $ac_val in
   1783 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1784 	esac
   1785 	echo "$ac_var='\''$ac_val'\''"
   1786       done | sort
   1787       echo
   1788     fi
   1789 
   1790     if test -s confdefs.h; then
   1791       cat <<\_ASBOX
   1792 ## ----------- ##
   1793 ## confdefs.h. ##
   1794 ## ----------- ##
   1795 _ASBOX
   1796       echo
   1797       cat confdefs.h
   1798       echo
   1799     fi
   1800     test "$ac_signal" != 0 &&
   1801       echo "$as_me: caught signal $ac_signal"
   1802     echo "$as_me: exit $exit_status"
   1803   } >&5
   1804   rm -f core *.core core.conftest.* &&
   1805     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1806     exit $exit_status
   1807 ' 0
   1808 for ac_signal in 1 2 13 15; do
   1809   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1810 done
   1811 ac_signal=0
   1812 
   1813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1814 rm -f -r conftest* confdefs.h
   1815 
   1816 # Predefined preprocessor variables.
   1817 
   1818 cat >>confdefs.h <<_ACEOF
   1819 #define PACKAGE_NAME "$PACKAGE_NAME"
   1820 _ACEOF
   1821 
   1822 
   1823 cat >>confdefs.h <<_ACEOF
   1824 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1825 _ACEOF
   1826 
   1827 
   1828 cat >>confdefs.h <<_ACEOF
   1829 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1830 _ACEOF
   1831 
   1832 
   1833 cat >>confdefs.h <<_ACEOF
   1834 #define PACKAGE_STRING "$PACKAGE_STRING"
   1835 _ACEOF
   1836 
   1837 
   1838 cat >>confdefs.h <<_ACEOF
   1839 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1840 _ACEOF
   1841 
   1842 
   1843 # Let the site file select an alternate cache file if it wants to.
   1844 # Prefer explicitly selected file to automatically selected ones.
   1845 if test -n "$CONFIG_SITE"; then
   1846   set x "$CONFIG_SITE"
   1847 elif test "x$prefix" != xNONE; then
   1848   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1849 else
   1850   set x "$ac_default_prefix/share/config.site" \
   1851 	"$ac_default_prefix/etc/config.site"
   1852 fi
   1853 shift
   1854 for ac_site_file
   1855 do
   1856   if test -r "$ac_site_file"; then
   1857     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1858 echo "$as_me: loading site script $ac_site_file" >&6;}
   1859     sed 's/^/| /' "$ac_site_file" >&5
   1860     . "$ac_site_file"
   1861   fi
   1862 done
   1863 
   1864 if test -r "$cache_file"; then
   1865   # Some versions of bash will fail to source /dev/null (special
   1866   # files actually), so we avoid doing that.
   1867   if test -f "$cache_file"; then
   1868     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1869 echo "$as_me: loading cache $cache_file" >&6;}
   1870     case $cache_file in
   1871       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1872       *)                      . "./$cache_file";;
   1873     esac
   1874   fi
   1875 else
   1876   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1877 echo "$as_me: creating cache $cache_file" >&6;}
   1878   >$cache_file
   1879 fi
   1880 
   1881 # Check that the precious variables saved in the cache have kept the same
   1882 # value.
   1883 ac_cache_corrupted=false
   1884 for ac_var in $ac_precious_vars; do
   1885   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1886   eval ac_new_set=\$ac_env_${ac_var}_set
   1887   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1888   eval ac_new_val=\$ac_env_${ac_var}_value
   1889   case $ac_old_set,$ac_new_set in
   1890     set,)
   1891       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1892 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1893       ac_cache_corrupted=: ;;
   1894     ,set)
   1895       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1896 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1897       ac_cache_corrupted=: ;;
   1898     ,);;
   1899     *)
   1900       if test "x$ac_old_val" != "x$ac_new_val"; then
   1901 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1902 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1903 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1904 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1905 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1906 echo "$as_me:   current value: $ac_new_val" >&2;}
   1907 	ac_cache_corrupted=:
   1908       fi;;
   1909   esac
   1910   # Pass precious variables to config.status.
   1911   if test "$ac_new_set" = set; then
   1912     case $ac_new_val in
   1913     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1914     *) ac_arg=$ac_var=$ac_new_val ;;
   1915     esac
   1916     case " $ac_configure_args " in
   1917       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1918       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1919     esac
   1920   fi
   1921 done
   1922 if $ac_cache_corrupted; then
   1923   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1924 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1925   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1926 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1927    { (exit 1); exit 1; }; }
   1928 fi
   1929 
   1930 
   1931 
   1932 
   1933 
   1934 
   1935 
   1936 
   1937 
   1938 
   1939 
   1940 
   1941 
   1942 
   1943 
   1944 
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 ac_ext=c
   1955 ac_cpp='$CPP $CPPFLAGS'
   1956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1959 
   1960 
   1961 am__api_version="1.9"
   1962 ac_aux_dir=
   1963 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1964   if test -f "$ac_dir/install-sh"; then
   1965     ac_aux_dir=$ac_dir
   1966     ac_install_sh="$ac_aux_dir/install-sh -c"
   1967     break
   1968   elif test -f "$ac_dir/install.sh"; then
   1969     ac_aux_dir=$ac_dir
   1970     ac_install_sh="$ac_aux_dir/install.sh -c"
   1971     break
   1972   elif test -f "$ac_dir/shtool"; then
   1973     ac_aux_dir=$ac_dir
   1974     ac_install_sh="$ac_aux_dir/shtool install -c"
   1975     break
   1976   fi
   1977 done
   1978 if test -z "$ac_aux_dir"; then
   1979   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1980 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1981    { (exit 1); exit 1; }; }
   1982 fi
   1983 
   1984 # These three variables are undocumented and unsupported,
   1985 # and are intended to be withdrawn in a future Autoconf release.
   1986 # They can cause serious problems if a builder's source tree is in a directory
   1987 # whose full name contains unusual characters.
   1988 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1989 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1990 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1991 
   1992 
   1993 # Find a good install program.  We prefer a C program (faster),
   1994 # so one script is as good as another.  But avoid the broken or
   1995 # incompatible versions:
   1996 # SysV /etc/install, /usr/sbin/install
   1997 # SunOS /usr/etc/install
   1998 # IRIX /sbin/install
   1999 # AIX /bin/install
   2000 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2001 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2002 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2003 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2004 # OS/2's system install, which has a completely different semantic
   2005 # ./install, which can be erroneously created by make from ./install.sh.
   2006 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2007 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2008 if test -z "$INSTALL"; then
   2009 if test "${ac_cv_path_install+set}" = set; then
   2010   echo $ECHO_N "(cached) $ECHO_C" >&6
   2011 else
   2012   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2013 for as_dir in $PATH
   2014 do
   2015   IFS=$as_save_IFS
   2016   test -z "$as_dir" && as_dir=.
   2017   # Account for people who put trailing slashes in PATH elements.
   2018 case $as_dir/ in
   2019   ./ | .// | /cC/* | \
   2020   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2021   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2022   /usr/ucb/* ) ;;
   2023   *)
   2024     # OSF1 and SCO ODT 3.0 have their own names for install.
   2025     # Don't use installbsd from OSF since it installs stuff as root
   2026     # by default.
   2027     for ac_prog in ginstall scoinst install; do
   2028       for ac_exec_ext in '' $ac_executable_extensions; do
   2029 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2030 	  if test $ac_prog = install &&
   2031 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2032 	    # AIX install.  It has an incompatible calling convention.
   2033 	    :
   2034 	  elif test $ac_prog = install &&
   2035 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2036 	    # program-specific install script used by HP pwplus--don't use.
   2037 	    :
   2038 	  else
   2039 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2040 	    break 3
   2041 	  fi
   2042 	fi
   2043       done
   2044     done
   2045     ;;
   2046 esac
   2047 done
   2048 IFS=$as_save_IFS
   2049 
   2050 
   2051 fi
   2052   if test "${ac_cv_path_install+set}" = set; then
   2053     INSTALL=$ac_cv_path_install
   2054   else
   2055     # As a last resort, use the slow shell script.  Don't cache a
   2056     # value for INSTALL within a source directory, because that will
   2057     # break other packages using the cache if that directory is
   2058     # removed, or if the value is a relative name.
   2059     INSTALL=$ac_install_sh
   2060   fi
   2061 fi
   2062 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2063 echo "${ECHO_T}$INSTALL" >&6; }
   2064 
   2065 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2066 # It thinks the first close brace ends the variable substitution.
   2067 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2068 
   2069 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2070 
   2071 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2072 
   2073 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2074 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2075 # Just in case
   2076 sleep 1
   2077 echo timestamp > conftest.file
   2078 # Do `set' in a subshell so we don't clobber the current shell's
   2079 # arguments.  Must try -L first in case configure is actually a
   2080 # symlink; some systems play weird games with the mod time of symlinks
   2081 # (eg FreeBSD returns the mod time of the symlink's containing
   2082 # directory).
   2083 if (
   2084    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2085    if test "$*" = "X"; then
   2086       # -L didn't work.
   2087       set X `ls -t $srcdir/configure conftest.file`
   2088    fi
   2089    rm -f conftest.file
   2090    if test "$*" != "X $srcdir/configure conftest.file" \
   2091       && test "$*" != "X conftest.file $srcdir/configure"; then
   2092 
   2093       # If neither matched, then we have a broken ls.  This can happen
   2094       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2095       # broken ls alias from the environment.  This has actually
   2096       # happened.  Such a system could not be considered "sane".
   2097       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2098 alias in your environment" >&5
   2099 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2100 alias in your environment" >&2;}
   2101    { (exit 1); exit 1; }; }
   2102    fi
   2103 
   2104    test "$2" = conftest.file
   2105    )
   2106 then
   2107    # Ok.
   2108    :
   2109 else
   2110    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2111 Check your system clock" >&5
   2112 echo "$as_me: error: newly created file is older than distributed files!
   2113 Check your system clock" >&2;}
   2114    { (exit 1); exit 1; }; }
   2115 fi
   2116 { echo "$as_me:$LINENO: result: yes" >&5
   2117 echo "${ECHO_T}yes" >&6; }
   2118 test "$program_prefix" != NONE &&
   2119   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2120 # Use a double $ so make ignores it.
   2121 test "$program_suffix" != NONE &&
   2122   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2123 # Double any \ or $.  echo might interpret backslashes.
   2124 # By default was `s,x,x', remove it if useless.
   2125 cat <<\_ACEOF >conftest.sed
   2126 s/[\\$]/&&/g;s/;s,x,x,$//
   2127 _ACEOF
   2128 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2129 rm -f conftest.sed
   2130 
   2131 # expand $ac_aux_dir to an absolute path
   2132 am_aux_dir=`cd $ac_aux_dir && pwd`
   2133 
   2134 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2135 # Use eval to expand $SHELL
   2136 if eval "$MISSING --run true"; then
   2137   am_missing_run="$MISSING --run "
   2138 else
   2139   am_missing_run=
   2140   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2141 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2142 fi
   2143 
   2144 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   2145   # We used to keeping the `.' as first argument, in order to
   2146   # allow $(mkdir_p) to be used without argument.  As in
   2147   #   $(mkdir_p) $(somedir)
   2148   # where $(somedir) is conditionally defined.  However this is wrong
   2149   # for two reasons:
   2150   #  1. if the package is installed by a user who cannot write `.'
   2151   #     make install will fail,
   2152   #  2. the above comment should most certainly read
   2153   #     $(mkdir_p) $(DESTDIR)$(somedir)
   2154   #     so it does not work when $(somedir) is undefined and
   2155   #     $(DESTDIR) is not.
   2156   #  To support the latter case, we have to write
   2157   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   2158   #  so the `.' trick is pointless.
   2159   mkdir_p='mkdir -p --'
   2160 else
   2161   # On NextStep and OpenStep, the `mkdir' command does not
   2162   # recognize any option.  It will interpret all options as
   2163   # directories to create, and then abort because `.' already
   2164   # exists.
   2165   for d in ./-p ./--version;
   2166   do
   2167     test -d $d && rmdir $d
   2168   done
   2169   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   2170   if test -f "$ac_aux_dir/mkinstalldirs"; then
   2171     mkdir_p='$(mkinstalldirs)'
   2172   else
   2173     mkdir_p='$(install_sh) -d'
   2174   fi
   2175 fi
   2176 
   2177 for ac_prog in gawk mawk nawk awk
   2178 do
   2179   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2180 set dummy $ac_prog; ac_word=$2
   2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2183 if test "${ac_cv_prog_AWK+set}" = set; then
   2184   echo $ECHO_N "(cached) $ECHO_C" >&6
   2185 else
   2186   if test -n "$AWK"; then
   2187   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2188 else
   2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2190 for as_dir in $PATH
   2191 do
   2192   IFS=$as_save_IFS
   2193   test -z "$as_dir" && as_dir=.
   2194   for ac_exec_ext in '' $ac_executable_extensions; do
   2195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2196     ac_cv_prog_AWK="$ac_prog"
   2197     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2198     break 2
   2199   fi
   2200 done
   2201 done
   2202 IFS=$as_save_IFS
   2203 
   2204 fi
   2205 fi
   2206 AWK=$ac_cv_prog_AWK
   2207 if test -n "$AWK"; then
   2208   { echo "$as_me:$LINENO: result: $AWK" >&5
   2209 echo "${ECHO_T}$AWK" >&6; }
   2210 else
   2211   { echo "$as_me:$LINENO: result: no" >&5
   2212 echo "${ECHO_T}no" >&6; }
   2213 fi
   2214 
   2215 
   2216   test -n "$AWK" && break
   2217 done
   2218 
   2219 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2220 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2221 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2222 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2223   echo $ECHO_N "(cached) $ECHO_C" >&6
   2224 else
   2225   cat >conftest.make <<\_ACEOF
   2226 SHELL = /bin/sh
   2227 all:
   2228 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2229 _ACEOF
   2230 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2231 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2232   *@@@%%%=?*=@@@%%%*)
   2233     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2234   *)
   2235     eval ac_cv_prog_make_${ac_make}_set=no;;
   2236 esac
   2237 rm -f conftest.make
   2238 fi
   2239 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2240   { echo "$as_me:$LINENO: result: yes" >&5
   2241 echo "${ECHO_T}yes" >&6; }
   2242   SET_MAKE=
   2243 else
   2244   { echo "$as_me:$LINENO: result: no" >&5
   2245 echo "${ECHO_T}no" >&6; }
   2246   SET_MAKE="MAKE=${MAKE-make}"
   2247 fi
   2248 
   2249 rm -rf .tst 2>/dev/null
   2250 mkdir .tst 2>/dev/null
   2251 if test -d .tst; then
   2252   am__leading_dot=.
   2253 else
   2254   am__leading_dot=_
   2255 fi
   2256 rmdir .tst 2>/dev/null
   2257 
   2258 # test to see if srcdir already configured
   2259 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   2260    test -f $srcdir/config.status; then
   2261   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2262 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2263    { (exit 1); exit 1; }; }
   2264 fi
   2265 
   2266 # test whether we have cygpath
   2267 if test -z "$CYGPATH_W"; then
   2268   if (cygpath --version) >/dev/null 2>/dev/null; then
   2269     CYGPATH_W='cygpath -w'
   2270   else
   2271     CYGPATH_W=echo
   2272   fi
   2273 fi
   2274 
   2275 
   2276 # Define the identity of the package.
   2277  PACKAGE='libXt'
   2278  VERSION='1.0.5'
   2279 
   2280 
   2281 cat >>confdefs.h <<_ACEOF
   2282 #define PACKAGE "$PACKAGE"
   2283 _ACEOF
   2284 
   2285 
   2286 cat >>confdefs.h <<_ACEOF
   2287 #define VERSION "$VERSION"
   2288 _ACEOF
   2289 
   2290 # Some tools Automake needs.
   2291 
   2292 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2293 
   2294 
   2295 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2296 
   2297 
   2298 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2299 
   2300 
   2301 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2302 
   2303 
   2304 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2305 
   2306 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   2307 
   2308 # Installed binaries are usually stripped using `strip' when the user
   2309 # run `make install-strip'.  However `strip' might not be the right
   2310 # tool to use in cross-compilation environments, therefore Automake
   2311 # will honor the `STRIP' environment variable to overrule this program.
   2312 if test "$cross_compiling" != no; then
   2313   if test -n "$ac_tool_prefix"; then
   2314   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2315 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2318 if test "${ac_cv_prog_STRIP+set}" = set; then
   2319   echo $ECHO_N "(cached) $ECHO_C" >&6
   2320 else
   2321   if test -n "$STRIP"; then
   2322   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2323 else
   2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2325 for as_dir in $PATH
   2326 do
   2327   IFS=$as_save_IFS
   2328   test -z "$as_dir" && as_dir=.
   2329   for ac_exec_ext in '' $ac_executable_extensions; do
   2330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2331     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2332     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2333     break 2
   2334   fi
   2335 done
   2336 done
   2337 IFS=$as_save_IFS
   2338 
   2339 fi
   2340 fi
   2341 STRIP=$ac_cv_prog_STRIP
   2342 if test -n "$STRIP"; then
   2343   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2344 echo "${ECHO_T}$STRIP" >&6; }
   2345 else
   2346   { echo "$as_me:$LINENO: result: no" >&5
   2347 echo "${ECHO_T}no" >&6; }
   2348 fi
   2349 
   2350 
   2351 fi
   2352 if test -z "$ac_cv_prog_STRIP"; then
   2353   ac_ct_STRIP=$STRIP
   2354   # Extract the first word of "strip", so it can be a program name with args.
   2355 set dummy strip; ac_word=$2
   2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2359   echo $ECHO_N "(cached) $ECHO_C" >&6
   2360 else
   2361   if test -n "$ac_ct_STRIP"; then
   2362   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2363 else
   2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2365 for as_dir in $PATH
   2366 do
   2367   IFS=$as_save_IFS
   2368   test -z "$as_dir" && as_dir=.
   2369   for ac_exec_ext in '' $ac_executable_extensions; do
   2370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2371     ac_cv_prog_ac_ct_STRIP="strip"
   2372     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2373     break 2
   2374   fi
   2375 done
   2376 done
   2377 IFS=$as_save_IFS
   2378 
   2379 fi
   2380 fi
   2381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2382 if test -n "$ac_ct_STRIP"; then
   2383   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2384 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2385 else
   2386   { echo "$as_me:$LINENO: result: no" >&5
   2387 echo "${ECHO_T}no" >&6; }
   2388 fi
   2389 
   2390   if test "x$ac_ct_STRIP" = x; then
   2391     STRIP=":"
   2392   else
   2393     case $cross_compiling:$ac_tool_warned in
   2394 yes:)
   2395 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2396 whose name does not start with the host triplet.  If you think this
   2397 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2398 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2399 whose name does not start with the host triplet.  If you think this
   2400 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2401 ac_tool_warned=yes ;;
   2402 esac
   2403     STRIP=$ac_ct_STRIP
   2404   fi
   2405 else
   2406   STRIP="$ac_cv_prog_STRIP"
   2407 fi
   2408 
   2409 fi
   2410 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   2411 
   2412 # We need awk for the "check" target.  The system "awk" is bad on
   2413 # some platforms.
   2414 # Always define AMTAR for backward compatibility.
   2415 
   2416 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2417 
   2418 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2419 
   2420 
   2421 
   2422 
   2423 
   2424 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2425 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2426     # Check whether --enable-maintainer-mode was given.
   2427 if test "${enable_maintainer_mode+set}" = set; then
   2428   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2429 else
   2430   USE_MAINTAINER_MODE=no
   2431 fi
   2432 
   2433   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2434 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2435 
   2436 
   2437 if test $USE_MAINTAINER_MODE = yes; then
   2438   MAINTAINER_MODE_TRUE=
   2439   MAINTAINER_MODE_FALSE='#'
   2440 else
   2441   MAINTAINER_MODE_TRUE='#'
   2442   MAINTAINER_MODE_FALSE=
   2443 fi
   2444 
   2445   MAINT=$MAINTAINER_MODE_TRUE
   2446 
   2447 
   2448 
   2449 ac_config_headers="$ac_config_headers config.h"
   2450 
   2451 
   2452 # Check for progs
   2453 ac_ext=c
   2454 ac_cpp='$CPP $CPPFLAGS'
   2455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2458 if test -n "$ac_tool_prefix"; then
   2459   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2460 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2463 if test "${ac_cv_prog_CC+set}" = set; then
   2464   echo $ECHO_N "(cached) $ECHO_C" >&6
   2465 else
   2466   if test -n "$CC"; then
   2467   ac_cv_prog_CC="$CC" # Let the user override the test.
   2468 else
   2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2470 for as_dir in $PATH
   2471 do
   2472   IFS=$as_save_IFS
   2473   test -z "$as_dir" && as_dir=.
   2474   for ac_exec_ext in '' $ac_executable_extensions; do
   2475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2476     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2477     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2478     break 2
   2479   fi
   2480 done
   2481 done
   2482 IFS=$as_save_IFS
   2483 
   2484 fi
   2485 fi
   2486 CC=$ac_cv_prog_CC
   2487 if test -n "$CC"; then
   2488   { echo "$as_me:$LINENO: result: $CC" >&5
   2489 echo "${ECHO_T}$CC" >&6; }
   2490 else
   2491   { echo "$as_me:$LINENO: result: no" >&5
   2492 echo "${ECHO_T}no" >&6; }
   2493 fi
   2494 
   2495 
   2496 fi
   2497 if test -z "$ac_cv_prog_CC"; then
   2498   ac_ct_CC=$CC
   2499   # Extract the first word of "gcc", so it can be a program name with args.
   2500 set dummy gcc; ac_word=$2
   2501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2504   echo $ECHO_N "(cached) $ECHO_C" >&6
   2505 else
   2506   if test -n "$ac_ct_CC"; then
   2507   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2508 else
   2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2510 for as_dir in $PATH
   2511 do
   2512   IFS=$as_save_IFS
   2513   test -z "$as_dir" && as_dir=.
   2514   for ac_exec_ext in '' $ac_executable_extensions; do
   2515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2516     ac_cv_prog_ac_ct_CC="gcc"
   2517     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2518     break 2
   2519   fi
   2520 done
   2521 done
   2522 IFS=$as_save_IFS
   2523 
   2524 fi
   2525 fi
   2526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2527 if test -n "$ac_ct_CC"; then
   2528   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2529 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2530 else
   2531   { echo "$as_me:$LINENO: result: no" >&5
   2532 echo "${ECHO_T}no" >&6; }
   2533 fi
   2534 
   2535   if test "x$ac_ct_CC" = x; then
   2536     CC=""
   2537   else
   2538     case $cross_compiling:$ac_tool_warned in
   2539 yes:)
   2540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2541 whose name does not start with the host triplet.  If you think this
   2542 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2544 whose name does not start with the host triplet.  If you think this
   2545 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2546 ac_tool_warned=yes ;;
   2547 esac
   2548     CC=$ac_ct_CC
   2549   fi
   2550 else
   2551   CC="$ac_cv_prog_CC"
   2552 fi
   2553 
   2554 if test -z "$CC"; then
   2555           if test -n "$ac_tool_prefix"; then
   2556     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2557 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2560 if test "${ac_cv_prog_CC+set}" = set; then
   2561   echo $ECHO_N "(cached) $ECHO_C" >&6
   2562 else
   2563   if test -n "$CC"; then
   2564   ac_cv_prog_CC="$CC" # Let the user override the test.
   2565 else
   2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2567 for as_dir in $PATH
   2568 do
   2569   IFS=$as_save_IFS
   2570   test -z "$as_dir" && as_dir=.
   2571   for ac_exec_ext in '' $ac_executable_extensions; do
   2572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2573     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2575     break 2
   2576   fi
   2577 done
   2578 done
   2579 IFS=$as_save_IFS
   2580 
   2581 fi
   2582 fi
   2583 CC=$ac_cv_prog_CC
   2584 if test -n "$CC"; then
   2585   { echo "$as_me:$LINENO: result: $CC" >&5
   2586 echo "${ECHO_T}$CC" >&6; }
   2587 else
   2588   { echo "$as_me:$LINENO: result: no" >&5
   2589 echo "${ECHO_T}no" >&6; }
   2590 fi
   2591 
   2592 
   2593   fi
   2594 fi
   2595 if test -z "$CC"; then
   2596   # Extract the first word of "cc", so it can be a program name with args.
   2597 set dummy cc; ac_word=$2
   2598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2600 if test "${ac_cv_prog_CC+set}" = set; then
   2601   echo $ECHO_N "(cached) $ECHO_C" >&6
   2602 else
   2603   if test -n "$CC"; then
   2604   ac_cv_prog_CC="$CC" # Let the user override the test.
   2605 else
   2606   ac_prog_rejected=no
   2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2608 for as_dir in $PATH
   2609 do
   2610   IFS=$as_save_IFS
   2611   test -z "$as_dir" && as_dir=.
   2612   for ac_exec_ext in '' $ac_executable_extensions; do
   2613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2614     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2615        ac_prog_rejected=yes
   2616        continue
   2617      fi
   2618     ac_cv_prog_CC="cc"
   2619     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2620     break 2
   2621   fi
   2622 done
   2623 done
   2624 IFS=$as_save_IFS
   2625 
   2626 if test $ac_prog_rejected = yes; then
   2627   # We found a bogon in the path, so make sure we never use it.
   2628   set dummy $ac_cv_prog_CC
   2629   shift
   2630   if test $# != 0; then
   2631     # We chose a different compiler from the bogus one.
   2632     # However, it has the same basename, so the bogon will be chosen
   2633     # first if we set CC to just the basename; use the full file name.
   2634     shift
   2635     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2636   fi
   2637 fi
   2638 fi
   2639 fi
   2640 CC=$ac_cv_prog_CC
   2641 if test -n "$CC"; then
   2642   { echo "$as_me:$LINENO: result: $CC" >&5
   2643 echo "${ECHO_T}$CC" >&6; }
   2644 else
   2645   { echo "$as_me:$LINENO: result: no" >&5
   2646 echo "${ECHO_T}no" >&6; }
   2647 fi
   2648 
   2649 
   2650 fi
   2651 if test -z "$CC"; then
   2652   if test -n "$ac_tool_prefix"; then
   2653   for ac_prog in cl.exe
   2654   do
   2655     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2659 if test "${ac_cv_prog_CC+set}" = set; then
   2660   echo $ECHO_N "(cached) $ECHO_C" >&6
   2661 else
   2662   if test -n "$CC"; then
   2663   ac_cv_prog_CC="$CC" # Let the user override the test.
   2664 else
   2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2666 for as_dir in $PATH
   2667 do
   2668   IFS=$as_save_IFS
   2669   test -z "$as_dir" && as_dir=.
   2670   for ac_exec_ext in '' $ac_executable_extensions; do
   2671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2672     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2673     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2674     break 2
   2675   fi
   2676 done
   2677 done
   2678 IFS=$as_save_IFS
   2679 
   2680 fi
   2681 fi
   2682 CC=$ac_cv_prog_CC
   2683 if test -n "$CC"; then
   2684   { echo "$as_me:$LINENO: result: $CC" >&5
   2685 echo "${ECHO_T}$CC" >&6; }
   2686 else
   2687   { echo "$as_me:$LINENO: result: no" >&5
   2688 echo "${ECHO_T}no" >&6; }
   2689 fi
   2690 
   2691 
   2692     test -n "$CC" && break
   2693   done
   2694 fi
   2695 if test -z "$CC"; then
   2696   ac_ct_CC=$CC
   2697   for ac_prog in cl.exe
   2698 do
   2699   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2700 set dummy $ac_prog; ac_word=$2
   2701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2703 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2704   echo $ECHO_N "(cached) $ECHO_C" >&6
   2705 else
   2706   if test -n "$ac_ct_CC"; then
   2707   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2708 else
   2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2710 for as_dir in $PATH
   2711 do
   2712   IFS=$as_save_IFS
   2713   test -z "$as_dir" && as_dir=.
   2714   for ac_exec_ext in '' $ac_executable_extensions; do
   2715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2716     ac_cv_prog_ac_ct_CC="$ac_prog"
   2717     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2718     break 2
   2719   fi
   2720 done
   2721 done
   2722 IFS=$as_save_IFS
   2723 
   2724 fi
   2725 fi
   2726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2727 if test -n "$ac_ct_CC"; then
   2728   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2729 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2730 else
   2731   { echo "$as_me:$LINENO: result: no" >&5
   2732 echo "${ECHO_T}no" >&6; }
   2733 fi
   2734 
   2735 
   2736   test -n "$ac_ct_CC" && break
   2737 done
   2738 
   2739   if test "x$ac_ct_CC" = x; then
   2740     CC=""
   2741   else
   2742     case $cross_compiling:$ac_tool_warned in
   2743 yes:)
   2744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2745 whose name does not start with the host triplet.  If you think this
   2746 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2748 whose name does not start with the host triplet.  If you think this
   2749 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2750 ac_tool_warned=yes ;;
   2751 esac
   2752     CC=$ac_ct_CC
   2753   fi
   2754 fi
   2755 
   2756 fi
   2757 
   2758 
   2759 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2760 See \`config.log' for more details." >&5
   2761 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2762 See \`config.log' for more details." >&2;}
   2763    { (exit 1); exit 1; }; }
   2764 
   2765 # Provide some information about the compiler.
   2766 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2767 ac_compiler=`set X $ac_compile; echo $2`
   2768 { (ac_try="$ac_compiler --version >&5"
   2769 case "(($ac_try" in
   2770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2771   *) ac_try_echo=$ac_try;;
   2772 esac
   2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2774   (eval "$ac_compiler --version >&5") 2>&5
   2775   ac_status=$?
   2776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2777   (exit $ac_status); }
   2778 { (ac_try="$ac_compiler -v >&5"
   2779 case "(($ac_try" in
   2780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2781   *) ac_try_echo=$ac_try;;
   2782 esac
   2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2784   (eval "$ac_compiler -v >&5") 2>&5
   2785   ac_status=$?
   2786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2787   (exit $ac_status); }
   2788 { (ac_try="$ac_compiler -V >&5"
   2789 case "(($ac_try" in
   2790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2791   *) ac_try_echo=$ac_try;;
   2792 esac
   2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2794   (eval "$ac_compiler -V >&5") 2>&5
   2795   ac_status=$?
   2796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2797   (exit $ac_status); }
   2798 
   2799 cat >conftest.$ac_ext <<_ACEOF
   2800 /* confdefs.h.  */
   2801 _ACEOF
   2802 cat confdefs.h >>conftest.$ac_ext
   2803 cat >>conftest.$ac_ext <<_ACEOF
   2804 /* end confdefs.h.  */
   2805 
   2806 int
   2807 main ()
   2808 {
   2809 
   2810   ;
   2811   return 0;
   2812 }
   2813 _ACEOF
   2814 ac_clean_files_save=$ac_clean_files
   2815 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2816 # Try to create an executable without -o first, disregard a.out.
   2817 # It will help us diagnose broken compilers, and finding out an intuition
   2818 # of exeext.
   2819 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2820 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2821 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2822 #
   2823 # List of possible output files, starting from the most likely.
   2824 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2825 # only as a last resort.  b.out is created by i960 compilers.
   2826 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2827 #
   2828 # The IRIX 6 linker writes into existing files which may not be
   2829 # executable, retaining their permissions.  Remove them first so a
   2830 # subsequent execution test works.
   2831 ac_rmfiles=
   2832 for ac_file in $ac_files
   2833 do
   2834   case $ac_file in
   2835     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2836     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2837   esac
   2838 done
   2839 rm -f $ac_rmfiles
   2840 
   2841 if { (ac_try="$ac_link_default"
   2842 case "(($ac_try" in
   2843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2844   *) ac_try_echo=$ac_try;;
   2845 esac
   2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2847   (eval "$ac_link_default") 2>&5
   2848   ac_status=$?
   2849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2850   (exit $ac_status); }; then
   2851   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2852 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2853 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2854 # so that the user can short-circuit this test for compilers unknown to
   2855 # Autoconf.
   2856 for ac_file in $ac_files
   2857 do
   2858   test -f "$ac_file" || continue
   2859   case $ac_file in
   2860     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2861 	;;
   2862     [ab].out )
   2863 	# We found the default executable, but exeext='' is most
   2864 	# certainly right.
   2865 	break;;
   2866     *.* )
   2867         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2868 	then :; else
   2869 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2870 	fi
   2871 	# We set ac_cv_exeext here because the later test for it is not
   2872 	# safe: cross compilers may not add the suffix if given an `-o'
   2873 	# argument, so we may need to know it at that point already.
   2874 	# Even if this section looks crufty: it has the advantage of
   2875 	# actually working.
   2876 	break;;
   2877     * )
   2878 	break;;
   2879   esac
   2880 done
   2881 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2882 
   2883 else
   2884   echo "$as_me: failed program was:" >&5
   2885 sed 's/^/| /' conftest.$ac_ext >&5
   2886 
   2887 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2888 See \`config.log' for more details." >&5
   2889 echo "$as_me: error: C compiler cannot create executables
   2890 See \`config.log' for more details." >&2;}
   2891    { (exit 77); exit 77; }; }
   2892 fi
   2893 
   2894 ac_exeext=$ac_cv_exeext
   2895 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2896 echo "${ECHO_T}$ac_file" >&6; }
   2897 
   2898 # Check that the compiler produces executables we can run.  If not, either
   2899 # the compiler is broken, or we cross compile.
   2900 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2901 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2902 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2903 # If not cross compiling, check that we can run a simple program.
   2904 if test "$cross_compiling" != yes; then
   2905   if { ac_try='./$ac_file'
   2906   { (case "(($ac_try" in
   2907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2908   *) ac_try_echo=$ac_try;;
   2909 esac
   2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2911   (eval "$ac_try") 2>&5
   2912   ac_status=$?
   2913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2914   (exit $ac_status); }; }; then
   2915     cross_compiling=no
   2916   else
   2917     if test "$cross_compiling" = maybe; then
   2918 	cross_compiling=yes
   2919     else
   2920 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2921 If you meant to cross compile, use \`--host'.
   2922 See \`config.log' for more details." >&5
   2923 echo "$as_me: error: cannot run C compiled programs.
   2924 If you meant to cross compile, use \`--host'.
   2925 See \`config.log' for more details." >&2;}
   2926    { (exit 1); exit 1; }; }
   2927     fi
   2928   fi
   2929 fi
   2930 { echo "$as_me:$LINENO: result: yes" >&5
   2931 echo "${ECHO_T}yes" >&6; }
   2932 
   2933 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2934 ac_clean_files=$ac_clean_files_save
   2935 # Check that the compiler produces executables we can run.  If not, either
   2936 # the compiler is broken, or we cross compile.
   2937 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2938 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2939 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2940 echo "${ECHO_T}$cross_compiling" >&6; }
   2941 
   2942 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2943 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2944 if { (ac_try="$ac_link"
   2945 case "(($ac_try" in
   2946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2947   *) ac_try_echo=$ac_try;;
   2948 esac
   2949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2950   (eval "$ac_link") 2>&5
   2951   ac_status=$?
   2952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2953   (exit $ac_status); }; then
   2954   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2955 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2956 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2957 # `rm'.
   2958 for ac_file in conftest.exe conftest conftest.*; do
   2959   test -f "$ac_file" || continue
   2960   case $ac_file in
   2961     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2962     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2963 	  break;;
   2964     * ) break;;
   2965   esac
   2966 done
   2967 else
   2968   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2969 See \`config.log' for more details." >&5
   2970 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2971 See \`config.log' for more details." >&2;}
   2972    { (exit 1); exit 1; }; }
   2973 fi
   2974 
   2975 rm -f conftest$ac_cv_exeext
   2976 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2977 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2978 
   2979 rm -f conftest.$ac_ext
   2980 EXEEXT=$ac_cv_exeext
   2981 ac_exeext=$EXEEXT
   2982 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2983 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2984 if test "${ac_cv_objext+set}" = set; then
   2985   echo $ECHO_N "(cached) $ECHO_C" >&6
   2986 else
   2987   cat >conftest.$ac_ext <<_ACEOF
   2988 /* confdefs.h.  */
   2989 _ACEOF
   2990 cat confdefs.h >>conftest.$ac_ext
   2991 cat >>conftest.$ac_ext <<_ACEOF
   2992 /* end confdefs.h.  */
   2993 
   2994 int
   2995 main ()
   2996 {
   2997 
   2998   ;
   2999   return 0;
   3000 }
   3001 _ACEOF
   3002 rm -f conftest.o conftest.obj
   3003 if { (ac_try="$ac_compile"
   3004 case "(($ac_try" in
   3005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3006   *) ac_try_echo=$ac_try;;
   3007 esac
   3008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3009   (eval "$ac_compile") 2>&5
   3010   ac_status=$?
   3011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3012   (exit $ac_status); }; then
   3013   for ac_file in conftest.o conftest.obj conftest.*; do
   3014   test -f "$ac_file" || continue;
   3015   case $ac_file in
   3016     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3017     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3018        break;;
   3019   esac
   3020 done
   3021 else
   3022   echo "$as_me: failed program was:" >&5
   3023 sed 's/^/| /' conftest.$ac_ext >&5
   3024 
   3025 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3026 See \`config.log' for more details." >&5
   3027 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3028 See \`config.log' for more details." >&2;}
   3029    { (exit 1); exit 1; }; }
   3030 fi
   3031 
   3032 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3033 fi
   3034 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3035 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3036 OBJEXT=$ac_cv_objext
   3037 ac_objext=$OBJEXT
   3038 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3039 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3040 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3041   echo $ECHO_N "(cached) $ECHO_C" >&6
   3042 else
   3043   cat >conftest.$ac_ext <<_ACEOF
   3044 /* confdefs.h.  */
   3045 _ACEOF
   3046 cat confdefs.h >>conftest.$ac_ext
   3047 cat >>conftest.$ac_ext <<_ACEOF
   3048 /* end confdefs.h.  */
   3049 
   3050 int
   3051 main ()
   3052 {
   3053 #ifndef __GNUC__
   3054        choke me
   3055 #endif
   3056 
   3057   ;
   3058   return 0;
   3059 }
   3060 _ACEOF
   3061 rm -f conftest.$ac_objext
   3062 if { (ac_try="$ac_compile"
   3063 case "(($ac_try" in
   3064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3065   *) ac_try_echo=$ac_try;;
   3066 esac
   3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3068   (eval "$ac_compile") 2>conftest.er1
   3069   ac_status=$?
   3070   grep -v '^ *+' conftest.er1 >conftest.err
   3071   rm -f conftest.er1
   3072   cat conftest.err >&5
   3073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3074   (exit $ac_status); } &&
   3075 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3076   { (case "(($ac_try" in
   3077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3078   *) ac_try_echo=$ac_try;;
   3079 esac
   3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3081   (eval "$ac_try") 2>&5
   3082   ac_status=$?
   3083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3084   (exit $ac_status); }; } &&
   3085 	 { ac_try='test -s conftest.$ac_objext'
   3086   { (case "(($ac_try" in
   3087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3088   *) ac_try_echo=$ac_try;;
   3089 esac
   3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3091   (eval "$ac_try") 2>&5
   3092   ac_status=$?
   3093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3094   (exit $ac_status); }; }; then
   3095   ac_compiler_gnu=yes
   3096 else
   3097   echo "$as_me: failed program was:" >&5
   3098 sed 's/^/| /' conftest.$ac_ext >&5
   3099 
   3100 	ac_compiler_gnu=no
   3101 fi
   3102 
   3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3104 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3105 
   3106 fi
   3107 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3108 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3109 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3110 ac_test_CFLAGS=${CFLAGS+set}
   3111 ac_save_CFLAGS=$CFLAGS
   3112 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3113 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3114 if test "${ac_cv_prog_cc_g+set}" = set; then
   3115   echo $ECHO_N "(cached) $ECHO_C" >&6
   3116 else
   3117   ac_save_c_werror_flag=$ac_c_werror_flag
   3118    ac_c_werror_flag=yes
   3119    ac_cv_prog_cc_g=no
   3120    CFLAGS="-g"
   3121    cat >conftest.$ac_ext <<_ACEOF
   3122 /* confdefs.h.  */
   3123 _ACEOF
   3124 cat confdefs.h >>conftest.$ac_ext
   3125 cat >>conftest.$ac_ext <<_ACEOF
   3126 /* end confdefs.h.  */
   3127 
   3128 int
   3129 main ()
   3130 {
   3131 
   3132   ;
   3133   return 0;
   3134 }
   3135 _ACEOF
   3136 rm -f conftest.$ac_objext
   3137 if { (ac_try="$ac_compile"
   3138 case "(($ac_try" in
   3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3140   *) ac_try_echo=$ac_try;;
   3141 esac
   3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3143   (eval "$ac_compile") 2>conftest.er1
   3144   ac_status=$?
   3145   grep -v '^ *+' conftest.er1 >conftest.err
   3146   rm -f conftest.er1
   3147   cat conftest.err >&5
   3148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3149   (exit $ac_status); } &&
   3150 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3151   { (case "(($ac_try" in
   3152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3153   *) ac_try_echo=$ac_try;;
   3154 esac
   3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3156   (eval "$ac_try") 2>&5
   3157   ac_status=$?
   3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3159   (exit $ac_status); }; } &&
   3160 	 { ac_try='test -s conftest.$ac_objext'
   3161   { (case "(($ac_try" in
   3162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3163   *) ac_try_echo=$ac_try;;
   3164 esac
   3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3166   (eval "$ac_try") 2>&5
   3167   ac_status=$?
   3168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3169   (exit $ac_status); }; }; then
   3170   ac_cv_prog_cc_g=yes
   3171 else
   3172   echo "$as_me: failed program was:" >&5
   3173 sed 's/^/| /' conftest.$ac_ext >&5
   3174 
   3175 	CFLAGS=""
   3176       cat >conftest.$ac_ext <<_ACEOF
   3177 /* confdefs.h.  */
   3178 _ACEOF
   3179 cat confdefs.h >>conftest.$ac_ext
   3180 cat >>conftest.$ac_ext <<_ACEOF
   3181 /* end confdefs.h.  */
   3182 
   3183 int
   3184 main ()
   3185 {
   3186 
   3187   ;
   3188   return 0;
   3189 }
   3190 _ACEOF
   3191 rm -f conftest.$ac_objext
   3192 if { (ac_try="$ac_compile"
   3193 case "(($ac_try" in
   3194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3195   *) ac_try_echo=$ac_try;;
   3196 esac
   3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3198   (eval "$ac_compile") 2>conftest.er1
   3199   ac_status=$?
   3200   grep -v '^ *+' conftest.er1 >conftest.err
   3201   rm -f conftest.er1
   3202   cat conftest.err >&5
   3203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3204   (exit $ac_status); } &&
   3205 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3206   { (case "(($ac_try" in
   3207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3208   *) ac_try_echo=$ac_try;;
   3209 esac
   3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3211   (eval "$ac_try") 2>&5
   3212   ac_status=$?
   3213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3214   (exit $ac_status); }; } &&
   3215 	 { ac_try='test -s conftest.$ac_objext'
   3216   { (case "(($ac_try" in
   3217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3218   *) ac_try_echo=$ac_try;;
   3219 esac
   3220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3221   (eval "$ac_try") 2>&5
   3222   ac_status=$?
   3223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3224   (exit $ac_status); }; }; then
   3225   :
   3226 else
   3227   echo "$as_me: failed program was:" >&5
   3228 sed 's/^/| /' conftest.$ac_ext >&5
   3229 
   3230 	ac_c_werror_flag=$ac_save_c_werror_flag
   3231 	 CFLAGS="-g"
   3232 	 cat >conftest.$ac_ext <<_ACEOF
   3233 /* confdefs.h.  */
   3234 _ACEOF
   3235 cat confdefs.h >>conftest.$ac_ext
   3236 cat >>conftest.$ac_ext <<_ACEOF
   3237 /* end confdefs.h.  */
   3238 
   3239 int
   3240 main ()
   3241 {
   3242 
   3243   ;
   3244   return 0;
   3245 }
   3246 _ACEOF
   3247 rm -f conftest.$ac_objext
   3248 if { (ac_try="$ac_compile"
   3249 case "(($ac_try" in
   3250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3251   *) ac_try_echo=$ac_try;;
   3252 esac
   3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3254   (eval "$ac_compile") 2>conftest.er1
   3255   ac_status=$?
   3256   grep -v '^ *+' conftest.er1 >conftest.err
   3257   rm -f conftest.er1
   3258   cat conftest.err >&5
   3259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3260   (exit $ac_status); } &&
   3261 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3262   { (case "(($ac_try" in
   3263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3264   *) ac_try_echo=$ac_try;;
   3265 esac
   3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3267   (eval "$ac_try") 2>&5
   3268   ac_status=$?
   3269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3270   (exit $ac_status); }; } &&
   3271 	 { ac_try='test -s conftest.$ac_objext'
   3272   { (case "(($ac_try" in
   3273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3274   *) ac_try_echo=$ac_try;;
   3275 esac
   3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3277   (eval "$ac_try") 2>&5
   3278   ac_status=$?
   3279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3280   (exit $ac_status); }; }; then
   3281   ac_cv_prog_cc_g=yes
   3282 else
   3283   echo "$as_me: failed program was:" >&5
   3284 sed 's/^/| /' conftest.$ac_ext >&5
   3285 
   3286 
   3287 fi
   3288 
   3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3290 fi
   3291 
   3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3293 fi
   3294 
   3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3296    ac_c_werror_flag=$ac_save_c_werror_flag
   3297 fi
   3298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3300 if test "$ac_test_CFLAGS" = set; then
   3301   CFLAGS=$ac_save_CFLAGS
   3302 elif test $ac_cv_prog_cc_g = yes; then
   3303   if test "$GCC" = yes; then
   3304     CFLAGS="-g -O2"
   3305   else
   3306     CFLAGS="-g"
   3307   fi
   3308 else
   3309   if test "$GCC" = yes; then
   3310     CFLAGS="-O2"
   3311   else
   3312     CFLAGS=
   3313   fi
   3314 fi
   3315 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3316 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3317 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3318   echo $ECHO_N "(cached) $ECHO_C" >&6
   3319 else
   3320   ac_cv_prog_cc_c89=no
   3321 ac_save_CC=$CC
   3322 cat >conftest.$ac_ext <<_ACEOF
   3323 /* confdefs.h.  */
   3324 _ACEOF
   3325 cat confdefs.h >>conftest.$ac_ext
   3326 cat >>conftest.$ac_ext <<_ACEOF
   3327 /* end confdefs.h.  */
   3328 #include <stdarg.h>
   3329 #include <stdio.h>
   3330 #include <sys/types.h>
   3331 #include <sys/stat.h>
   3332 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3333 struct buf { int x; };
   3334 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3335 static char *e (p, i)
   3336      char **p;
   3337      int i;
   3338 {
   3339   return p[i];
   3340 }
   3341 static char *f (char * (*g) (char **, int), char **p, ...)
   3342 {
   3343   char *s;
   3344   va_list v;
   3345   va_start (v,p);
   3346   s = g (p, va_arg (v,int));
   3347   va_end (v);
   3348   return s;
   3349 }
   3350 
   3351 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3352    function prototypes and stuff, but not '\xHH' hex character constants.
   3353    These don't provoke an error unfortunately, instead are silently treated
   3354    as 'x'.  The following induces an error, until -std is added to get
   3355    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3356    array size at least.  It's necessary to write '\x00'==0 to get something
   3357    that's true only with -std.  */
   3358 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3359 
   3360 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3361    inside strings and character constants.  */
   3362 #define FOO(x) 'x'
   3363 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3364 
   3365 int test (int i, double x);
   3366 struct s1 {int (*f) (int a);};
   3367 struct s2 {int (*f) (double a);};
   3368 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3369 int argc;
   3370 char **argv;
   3371 int
   3372 main ()
   3373 {
   3374 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3375   ;
   3376   return 0;
   3377 }
   3378 _ACEOF
   3379 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3380 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3381 do
   3382   CC="$ac_save_CC $ac_arg"
   3383   rm -f conftest.$ac_objext
   3384 if { (ac_try="$ac_compile"
   3385 case "(($ac_try" in
   3386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3387   *) ac_try_echo=$ac_try;;
   3388 esac
   3389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3390   (eval "$ac_compile") 2>conftest.er1
   3391   ac_status=$?
   3392   grep -v '^ *+' conftest.er1 >conftest.err
   3393   rm -f conftest.er1
   3394   cat conftest.err >&5
   3395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3396   (exit $ac_status); } &&
   3397 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3398   { (case "(($ac_try" in
   3399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3400   *) ac_try_echo=$ac_try;;
   3401 esac
   3402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3403   (eval "$ac_try") 2>&5
   3404   ac_status=$?
   3405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3406   (exit $ac_status); }; } &&
   3407 	 { ac_try='test -s conftest.$ac_objext'
   3408   { (case "(($ac_try" in
   3409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3410   *) ac_try_echo=$ac_try;;
   3411 esac
   3412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3413   (eval "$ac_try") 2>&5
   3414   ac_status=$?
   3415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3416   (exit $ac_status); }; }; then
   3417   ac_cv_prog_cc_c89=$ac_arg
   3418 else
   3419   echo "$as_me: failed program was:" >&5
   3420 sed 's/^/| /' conftest.$ac_ext >&5
   3421 
   3422 
   3423 fi
   3424 
   3425 rm -f core conftest.err conftest.$ac_objext
   3426   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3427 done
   3428 rm -f conftest.$ac_ext
   3429 CC=$ac_save_CC
   3430 
   3431 fi
   3432 # AC_CACHE_VAL
   3433 case "x$ac_cv_prog_cc_c89" in
   3434   x)
   3435     { echo "$as_me:$LINENO: result: none needed" >&5
   3436 echo "${ECHO_T}none needed" >&6; } ;;
   3437   xno)
   3438     { echo "$as_me:$LINENO: result: unsupported" >&5
   3439 echo "${ECHO_T}unsupported" >&6; } ;;
   3440   *)
   3441     CC="$CC $ac_cv_prog_cc_c89"
   3442     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3443 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3444 esac
   3445 
   3446 
   3447 ac_ext=c
   3448 ac_cpp='$CPP $CPPFLAGS'
   3449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3452 DEPDIR="${am__leading_dot}deps"
   3453 
   3454 ac_config_commands="$ac_config_commands depfiles"
   3455 
   3456 
   3457 am_make=${MAKE-make}
   3458 cat > confinc << 'END'
   3459 am__doit:
   3460 	@echo done
   3461 .PHONY: am__doit
   3462 END
   3463 # If we don't find an include directive, just comment out the code.
   3464 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3465 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3466 am__include="#"
   3467 am__quote=
   3468 _am_result=none
   3469 # First try GNU make style include.
   3470 echo "include confinc" > confmf
   3471 # We grep out `Entering directory' and `Leaving directory'
   3472 # messages which can occur if `w' ends up in MAKEFLAGS.
   3473 # In particular we don't look at `^make:' because GNU make might
   3474 # be invoked under some other name (usually "gmake"), in which
   3475 # case it prints its new name instead of `make'.
   3476 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3477    am__include=include
   3478    am__quote=
   3479    _am_result=GNU
   3480 fi
   3481 # Now try BSD make style include.
   3482 if test "$am__include" = "#"; then
   3483    echo '.include "confinc"' > confmf
   3484    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3485       am__include=.include
   3486       am__quote="\""
   3487       _am_result=BSD
   3488    fi
   3489 fi
   3490 
   3491 
   3492 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3493 echo "${ECHO_T}$_am_result" >&6; }
   3494 rm -f confinc confmf
   3495 
   3496 # Check whether --enable-dependency-tracking was given.
   3497 if test "${enable_dependency_tracking+set}" = set; then
   3498   enableval=$enable_dependency_tracking;
   3499 fi
   3500 
   3501 if test "x$enable_dependency_tracking" != xno; then
   3502   am_depcomp="$ac_aux_dir/depcomp"
   3503   AMDEPBACKSLASH='\'
   3504 fi
   3505 
   3506 
   3507 if test "x$enable_dependency_tracking" != xno; then
   3508   AMDEP_TRUE=
   3509   AMDEP_FALSE='#'
   3510 else
   3511   AMDEP_TRUE='#'
   3512   AMDEP_FALSE=
   3513 fi
   3514 
   3515 
   3516 
   3517 
   3518 depcc="$CC"   am_compiler_list=
   3519 
   3520 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3521 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3522 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3523   echo $ECHO_N "(cached) $ECHO_C" >&6
   3524 else
   3525   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3526   # We make a subdir and do the tests there.  Otherwise we can end up
   3527   # making bogus files that we don't know about and never remove.  For
   3528   # instance it was reported that on HP-UX the gcc test will end up
   3529   # making a dummy file named `D' -- because `-MD' means `put the output
   3530   # in D'.
   3531   mkdir conftest.dir
   3532   # Copy depcomp to subdir because otherwise we won't find it if we're
   3533   # using a relative directory.
   3534   cp "$am_depcomp" conftest.dir
   3535   cd conftest.dir
   3536   # We will build objects and dependencies in a subdirectory because
   3537   # it helps to detect inapplicable dependency modes.  For instance
   3538   # both Tru64's cc and ICC support -MD to output dependencies as a
   3539   # side effect of compilation, but ICC will put the dependencies in
   3540   # the current directory while Tru64 will put them in the object
   3541   # directory.
   3542   mkdir sub
   3543 
   3544   am_cv_CC_dependencies_compiler_type=none
   3545   if test "$am_compiler_list" = ""; then
   3546      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3547   fi
   3548   for depmode in $am_compiler_list; do
   3549     # Setup a source with many dependencies, because some compilers
   3550     # like to wrap large dependency lists on column 80 (with \), and
   3551     # we should not choose a depcomp mode which is confused by this.
   3552     #
   3553     # We need to recreate these files for each test, as the compiler may
   3554     # overwrite some of them when testing with obscure command lines.
   3555     # This happens at least with the AIX C compiler.
   3556     : > sub/conftest.c
   3557     for i in 1 2 3 4 5 6; do
   3558       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3559       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3560       # Solaris 8's {/usr,}/bin/sh.
   3561       touch sub/conftst$i.h
   3562     done
   3563     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3564 
   3565     case $depmode in
   3566     nosideeffect)
   3567       # after this tag, mechanisms are not by side-effect, so they'll
   3568       # only be used when explicitly requested
   3569       if test "x$enable_dependency_tracking" = xyes; then
   3570 	continue
   3571       else
   3572 	break
   3573       fi
   3574       ;;
   3575     none) break ;;
   3576     esac
   3577     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3578     # mode.  It turns out that the SunPro C++ compiler does not properly
   3579     # handle `-M -o', and we need to detect this.
   3580     if depmode=$depmode \
   3581        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3582        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3583        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3584          >/dev/null 2>conftest.err &&
   3585        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3586        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3587        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3588       # icc doesn't choke on unknown options, it will just issue warnings
   3589       # or remarks (even with -Werror).  So we grep stderr for any message
   3590       # that says an option was ignored or not supported.
   3591       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3592       #   icc: Command line warning: ignoring option '-M'; no argument required
   3593       # The diagnosis changed in icc 8.0:
   3594       #   icc: Command line remark: option '-MP' not supported
   3595       if (grep 'ignoring option' conftest.err ||
   3596           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3597         am_cv_CC_dependencies_compiler_type=$depmode
   3598         break
   3599       fi
   3600     fi
   3601   done
   3602 
   3603   cd ..
   3604   rm -rf conftest.dir
   3605 else
   3606   am_cv_CC_dependencies_compiler_type=none
   3607 fi
   3608 
   3609 fi
   3610 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3611 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3612 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3613 
   3614 
   3615 
   3616 if
   3617   test "x$enable_dependency_tracking" != xno \
   3618   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3619   am__fastdepCC_TRUE=
   3620   am__fastdepCC_FALSE='#'
   3621 else
   3622   am__fastdepCC_TRUE='#'
   3623   am__fastdepCC_FALSE=
   3624 fi
   3625 
   3626 
   3627 # Check whether --enable-shared was given.
   3628 if test "${enable_shared+set}" = set; then
   3629   enableval=$enable_shared; p=${PACKAGE-default}
   3630     case $enableval in
   3631     yes) enable_shared=yes ;;
   3632     no) enable_shared=no ;;
   3633     *)
   3634       enable_shared=no
   3635       # Look at the argument we got.  We use all the common list separators.
   3636       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3637       for pkg in $enableval; do
   3638 	IFS="$lt_save_ifs"
   3639 	if test "X$pkg" = "X$p"; then
   3640 	  enable_shared=yes
   3641 	fi
   3642       done
   3643       IFS="$lt_save_ifs"
   3644       ;;
   3645     esac
   3646 else
   3647   enable_shared=yes
   3648 fi
   3649 
   3650 
   3651 # Check whether --enable-static was given.
   3652 if test "${enable_static+set}" = set; then
   3653   enableval=$enable_static; p=${PACKAGE-default}
   3654     case $enableval in
   3655     yes) enable_static=yes ;;
   3656     no) enable_static=no ;;
   3657     *)
   3658      enable_static=no
   3659       # Look at the argument we got.  We use all the common list separators.
   3660       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3661       for pkg in $enableval; do
   3662 	IFS="$lt_save_ifs"
   3663 	if test "X$pkg" = "X$p"; then
   3664 	  enable_static=yes
   3665 	fi
   3666       done
   3667       IFS="$lt_save_ifs"
   3668       ;;
   3669     esac
   3670 else
   3671   enable_static=yes
   3672 fi
   3673 
   3674 
   3675 # Check whether --enable-fast-install was given.
   3676 if test "${enable_fast_install+set}" = set; then
   3677   enableval=$enable_fast_install; p=${PACKAGE-default}
   3678     case $enableval in
   3679     yes) enable_fast_install=yes ;;
   3680     no) enable_fast_install=no ;;
   3681     *)
   3682       enable_fast_install=no
   3683       # Look at the argument we got.  We use all the common list separators.
   3684       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3685       for pkg in $enableval; do
   3686 	IFS="$lt_save_ifs"
   3687 	if test "X$pkg" = "X$p"; then
   3688 	  enable_fast_install=yes
   3689 	fi
   3690       done
   3691       IFS="$lt_save_ifs"
   3692       ;;
   3693     esac
   3694 else
   3695   enable_fast_install=yes
   3696 fi
   3697 
   3698 
   3699 # Make sure we can run config.sub.
   3700 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3701   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3702 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3703    { (exit 1); exit 1; }; }
   3704 
   3705 { echo "$as_me:$LINENO: checking build system type" >&5
   3706 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3707 if test "${ac_cv_build+set}" = set; then
   3708   echo $ECHO_N "(cached) $ECHO_C" >&6
   3709 else
   3710   ac_build_alias=$build_alias
   3711 test "x$ac_build_alias" = x &&
   3712   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3713 test "x$ac_build_alias" = x &&
   3714   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3715 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3716    { (exit 1); exit 1; }; }
   3717 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3718   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3719 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3720    { (exit 1); exit 1; }; }
   3721 
   3722 fi
   3723 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3724 echo "${ECHO_T}$ac_cv_build" >&6; }
   3725 case $ac_cv_build in
   3726 *-*-*) ;;
   3727 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3728 echo "$as_me: error: invalid value of canonical build" >&2;}
   3729    { (exit 1); exit 1; }; };;
   3730 esac
   3731 build=$ac_cv_build
   3732 ac_save_IFS=$IFS; IFS='-'
   3733 set x $ac_cv_build
   3734 shift
   3735 build_cpu=$1
   3736 build_vendor=$2
   3737 shift; shift
   3738 # Remember, the first character of IFS is used to create $*,
   3739 # except with old shells:
   3740 build_os=$*
   3741 IFS=$ac_save_IFS
   3742 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3743 
   3744 
   3745 { echo "$as_me:$LINENO: checking host system type" >&5
   3746 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3747 if test "${ac_cv_host+set}" = set; then
   3748   echo $ECHO_N "(cached) $ECHO_C" >&6
   3749 else
   3750   if test "x$host_alias" = x; then
   3751   ac_cv_host=$ac_cv_build
   3752 else
   3753   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3754     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3755 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3756    { (exit 1); exit 1; }; }
   3757 fi
   3758 
   3759 fi
   3760 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3761 echo "${ECHO_T}$ac_cv_host" >&6; }
   3762 case $ac_cv_host in
   3763 *-*-*) ;;
   3764 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3765 echo "$as_me: error: invalid value of canonical host" >&2;}
   3766    { (exit 1); exit 1; }; };;
   3767 esac
   3768 host=$ac_cv_host
   3769 ac_save_IFS=$IFS; IFS='-'
   3770 set x $ac_cv_host
   3771 shift
   3772 host_cpu=$1
   3773 host_vendor=$2
   3774 shift; shift
   3775 # Remember, the first character of IFS is used to create $*,
   3776 # except with old shells:
   3777 host_os=$*
   3778 IFS=$ac_save_IFS
   3779 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3780 
   3781 
   3782 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3783 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3784 if test "${lt_cv_path_SED+set}" = set; then
   3785   echo $ECHO_N "(cached) $ECHO_C" >&6
   3786 else
   3787   # Loop through the user's path and test for sed and gsed.
   3788 # Then use that list of sed's as ones to test for truncation.
   3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3790 for as_dir in $PATH
   3791 do
   3792   IFS=$as_save_IFS
   3793   test -z "$as_dir" && as_dir=.
   3794   for lt_ac_prog in sed gsed; do
   3795     for ac_exec_ext in '' $ac_executable_extensions; do
   3796       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3797         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3798       fi
   3799     done
   3800   done
   3801 done
   3802 lt_ac_max=0
   3803 lt_ac_count=0
   3804 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3805 # along with /bin/sed that truncates output.
   3806 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3807   test ! -f $lt_ac_sed && continue
   3808   cat /dev/null > conftest.in
   3809   lt_ac_count=0
   3810   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3811   # Check for GNU sed and select it if it is found.
   3812   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3813     lt_cv_path_SED=$lt_ac_sed
   3814     break
   3815   fi
   3816   while true; do
   3817     cat conftest.in conftest.in >conftest.tmp
   3818     mv conftest.tmp conftest.in
   3819     cp conftest.in conftest.nl
   3820     echo >>conftest.nl
   3821     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3822     cmp -s conftest.out conftest.nl || break
   3823     # 10000 chars as input seems more than enough
   3824     test $lt_ac_count -gt 10 && break
   3825     lt_ac_count=`expr $lt_ac_count + 1`
   3826     if test $lt_ac_count -gt $lt_ac_max; then
   3827       lt_ac_max=$lt_ac_count
   3828       lt_cv_path_SED=$lt_ac_sed
   3829     fi
   3830   done
   3831 done
   3832 
   3833 fi
   3834 
   3835 SED=$lt_cv_path_SED
   3836 { echo "$as_me:$LINENO: result: $SED" >&5
   3837 echo "${ECHO_T}$SED" >&6; }
   3838 
   3839 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3840 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3841 if test "${ac_cv_path_GREP+set}" = set; then
   3842   echo $ECHO_N "(cached) $ECHO_C" >&6
   3843 else
   3844   # Extract the first word of "grep ggrep" to use in msg output
   3845 if test -z "$GREP"; then
   3846 set dummy grep ggrep; ac_prog_name=$2
   3847 if test "${ac_cv_path_GREP+set}" = set; then
   3848   echo $ECHO_N "(cached) $ECHO_C" >&6
   3849 else
   3850   ac_path_GREP_found=false
   3851 # Loop through the user's path and test for each of PROGNAME-LIST
   3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3853 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3854 do
   3855   IFS=$as_save_IFS
   3856   test -z "$as_dir" && as_dir=.
   3857   for ac_prog in grep ggrep; do
   3858   for ac_exec_ext in '' $ac_executable_extensions; do
   3859     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3860     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
   3861     # Check for GNU ac_path_GREP and select it if it is found.
   3862   # Check for GNU $ac_path_GREP
   3863 case `"$ac_path_GREP" --version 2>&1` in
   3864 *GNU*)
   3865   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3866 *)
   3867   ac_count=0
   3868   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3869   while :
   3870   do
   3871     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3872     mv "conftest.tmp" "conftest.in"
   3873     cp "conftest.in" "conftest.nl"
   3874     echo 'GREP' >> "conftest.nl"
   3875     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3876     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3877     ac_count=`expr $ac_count + 1`
   3878     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3879       # Best one so far, save it but keep looking for a better one
   3880       ac_cv_path_GREP="$ac_path_GREP"
   3881       ac_path_GREP_max=$ac_count
   3882     fi
   3883     # 10*(2^10) chars as input seems more than enough
   3884     test $ac_count -gt 10 && break
   3885   done
   3886   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3887 esac
   3888 
   3889 
   3890     $ac_path_GREP_found && break 3
   3891   done
   3892 done
   3893 
   3894 done
   3895 IFS=$as_save_IFS
   3896 
   3897 
   3898 fi
   3899 
   3900 GREP="$ac_cv_path_GREP"
   3901 if test -z "$GREP"; then
   3902   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3903 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3904    { (exit 1); exit 1; }; }
   3905 fi
   3906 
   3907 else
   3908   ac_cv_path_GREP=$GREP
   3909 fi
   3910 
   3911 
   3912 fi
   3913 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3914 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3915  GREP="$ac_cv_path_GREP"
   3916 
   3917 
   3918 { echo "$as_me:$LINENO: checking for egrep" >&5
   3919 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3920 if test "${ac_cv_path_EGREP+set}" = set; then
   3921   echo $ECHO_N "(cached) $ECHO_C" >&6
   3922 else
   3923   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3924    then ac_cv_path_EGREP="$GREP -E"
   3925    else
   3926      # Extract the first word of "egrep" to use in msg output
   3927 if test -z "$EGREP"; then
   3928 set dummy egrep; ac_prog_name=$2
   3929 if test "${ac_cv_path_EGREP+set}" = set; then
   3930   echo $ECHO_N "(cached) $ECHO_C" >&6
   3931 else
   3932   ac_path_EGREP_found=false
   3933 # Loop through the user's path and test for each of PROGNAME-LIST
   3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3936 do
   3937   IFS=$as_save_IFS
   3938   test -z "$as_dir" && as_dir=.
   3939   for ac_prog in egrep; do
   3940   for ac_exec_ext in '' $ac_executable_extensions; do
   3941     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3942     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
   3943     # Check for GNU ac_path_EGREP and select it if it is found.
   3944   # Check for GNU $ac_path_EGREP
   3945 case `"$ac_path_EGREP" --version 2>&1` in
   3946 *GNU*)
   3947   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3948 *)
   3949   ac_count=0
   3950   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3951   while :
   3952   do
   3953     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3954     mv "conftest.tmp" "conftest.in"
   3955     cp "conftest.in" "conftest.nl"
   3956     echo 'EGREP' >> "conftest.nl"
   3957     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3958     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3959     ac_count=`expr $ac_count + 1`
   3960     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3961       # Best one so far, save it but keep looking for a better one
   3962       ac_cv_path_EGREP="$ac_path_EGREP"
   3963       ac_path_EGREP_max=$ac_count
   3964     fi
   3965     # 10*(2^10) chars as input seems more than enough
   3966     test $ac_count -gt 10 && break
   3967   done
   3968   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3969 esac
   3970 
   3971 
   3972     $ac_path_EGREP_found && break 3
   3973   done
   3974 done
   3975 
   3976 done
   3977 IFS=$as_save_IFS
   3978 
   3979 
   3980 fi
   3981 
   3982 EGREP="$ac_cv_path_EGREP"
   3983 if test -z "$EGREP"; then
   3984   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3985 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3986    { (exit 1); exit 1; }; }
   3987 fi
   3988 
   3989 else
   3990   ac_cv_path_EGREP=$EGREP
   3991 fi
   3992 
   3993 
   3994    fi
   3995 fi
   3996 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3997 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3998  EGREP="$ac_cv_path_EGREP"
   3999 
   4000 
   4001 
   4002 # Check whether --with-gnu-ld was given.
   4003 if test "${with_gnu_ld+set}" = set; then
   4004   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4005 else
   4006   with_gnu_ld=no
   4007 fi
   4008 
   4009 ac_prog=ld
   4010 if test "$GCC" = yes; then
   4011   # Check if gcc -print-prog-name=ld gives a path.
   4012   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4013 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4014   case $host in
   4015   *-*-mingw*)
   4016     # gcc leaves a trailing carriage return which upsets mingw
   4017     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4018   *)
   4019     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4020   esac
   4021   case $ac_prog in
   4022     # Accept absolute paths.
   4023     [\\/]* | ?:[\\/]*)
   4024       re_direlt='/[^/][^/]*/\.\./'
   4025       # Canonicalize the pathname of ld
   4026       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4027       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4028 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4029       done
   4030       test -z "$LD" && LD="$ac_prog"
   4031       ;;
   4032   "")
   4033     # If it fails, then pretend we aren't using GCC.
   4034     ac_prog=ld
   4035     ;;
   4036   *)
   4037     # If it is relative, then search for the first ld in PATH.
   4038     with_gnu_ld=unknown
   4039     ;;
   4040   esac
   4041 elif test "$with_gnu_ld" = yes; then
   4042   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4043 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4044 else
   4045   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4046 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4047 fi
   4048 if test "${lt_cv_path_LD+set}" = set; then
   4049   echo $ECHO_N "(cached) $ECHO_C" >&6
   4050 else
   4051   if test -z "$LD"; then
   4052   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4053   for ac_dir in $PATH; do
   4054     IFS="$lt_save_ifs"
   4055     test -z "$ac_dir" && ac_dir=.
   4056     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4057       lt_cv_path_LD="$ac_dir/$ac_prog"
   4058       # Check to see if the program is GNU ld.  I'd rather use --version,
   4059       # but apparently some variants of GNU ld only accept -v.
   4060       # Break only if it was the GNU/non-GNU ld that we prefer.
   4061       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4062       *GNU* | *'with BFD'*)
   4063 	test "$with_gnu_ld" != no && break
   4064 	;;
   4065       *)
   4066 	test "$with_gnu_ld" != yes && break
   4067 	;;
   4068       esac
   4069     fi
   4070   done
   4071   IFS="$lt_save_ifs"
   4072 else
   4073   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4074 fi
   4075 fi
   4076 
   4077 LD="$lt_cv_path_LD"
   4078 if test -n "$LD"; then
   4079   { echo "$as_me:$LINENO: result: $LD" >&5
   4080 echo "${ECHO_T}$LD" >&6; }
   4081 else
   4082   { echo "$as_me:$LINENO: result: no" >&5
   4083 echo "${ECHO_T}no" >&6; }
   4084 fi
   4085 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4086 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4087    { (exit 1); exit 1; }; }
   4088 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4089 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4090 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4091   echo $ECHO_N "(cached) $ECHO_C" >&6
   4092 else
   4093   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4094 case `$LD -v 2>&1 </dev/null` in
   4095 *GNU* | *'with BFD'*)
   4096   lt_cv_prog_gnu_ld=yes
   4097   ;;
   4098 *)
   4099   lt_cv_prog_gnu_ld=no
   4100   ;;
   4101 esac
   4102 fi
   4103 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4104 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4105 with_gnu_ld=$lt_cv_prog_gnu_ld
   4106 
   4107 
   4108 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4109 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4110 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4111   echo $ECHO_N "(cached) $ECHO_C" >&6
   4112 else
   4113   lt_cv_ld_reload_flag='-r'
   4114 fi
   4115 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4116 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4117 reload_flag=$lt_cv_ld_reload_flag
   4118 case $reload_flag in
   4119 "" | " "*) ;;
   4120 *) reload_flag=" $reload_flag" ;;
   4121 esac
   4122 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4123 case $host_os in
   4124   darwin*)
   4125     if test "$GCC" = yes; then
   4126       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4127     else
   4128       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4129     fi
   4130     ;;
   4131 esac
   4132 
   4133 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4134 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4135 if test "${lt_cv_path_NM+set}" = set; then
   4136   echo $ECHO_N "(cached) $ECHO_C" >&6
   4137 else
   4138   if test -n "$NM"; then
   4139   # Let the user override the test.
   4140   lt_cv_path_NM="$NM"
   4141 else
   4142   lt_nm_to_check="${ac_tool_prefix}nm"
   4143   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4144     lt_nm_to_check="$lt_nm_to_check nm"
   4145   fi
   4146   for lt_tmp_nm in $lt_nm_to_check; do
   4147     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4148     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4149       IFS="$lt_save_ifs"
   4150       test -z "$ac_dir" && ac_dir=.
   4151       tmp_nm="$ac_dir/$lt_tmp_nm"
   4152       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4153 	# Check to see if the nm accepts a BSD-compat flag.
   4154 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4155 	#   nm: unknown option "B" ignored
   4156 	# Tru64's nm complains that /dev/null is an invalid object file
   4157 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4158 	*/dev/null* | *'Invalid file or object type'*)
   4159 	  lt_cv_path_NM="$tmp_nm -B"
   4160 	  break
   4161 	  ;;
   4162 	*)
   4163 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4164 	  */dev/null*)
   4165 	    lt_cv_path_NM="$tmp_nm -p"
   4166 	    break
   4167 	    ;;
   4168 	  *)
   4169 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4170 	    continue # so that we can try to find one that supports BSD flags
   4171 	    ;;
   4172 	  esac
   4173 	  ;;
   4174 	esac
   4175       fi
   4176     done
   4177     IFS="$lt_save_ifs"
   4178   done
   4179   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4180 fi
   4181 fi
   4182 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4183 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4184 NM="$lt_cv_path_NM"
   4185 
   4186 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4187 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4188 LN_S=$as_ln_s
   4189 if test "$LN_S" = "ln -s"; then
   4190   { echo "$as_me:$LINENO: result: yes" >&5
   4191 echo "${ECHO_T}yes" >&6; }
   4192 else
   4193   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4194 echo "${ECHO_T}no, using $LN_S" >&6; }
   4195 fi
   4196 
   4197 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4198 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4199 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4200   echo $ECHO_N "(cached) $ECHO_C" >&6
   4201 else
   4202   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4203 lt_cv_file_magic_test_file=
   4204 lt_cv_deplibs_check_method='unknown'
   4205 # Need to set the preceding variable on all platforms that support
   4206 # interlibrary dependencies.
   4207 # 'none' -- dependencies not supported.
   4208 # `unknown' -- same as none, but documents that we really don't know.
   4209 # 'pass_all' -- all dependencies passed with no checks.
   4210 # 'test_compile' -- check by making test program.
   4211 # 'file_magic [[regex]]' -- check by looking for files in library path
   4212 # which responds to the $file_magic_cmd with a given extended regex.
   4213 # If you have `file' or equivalent on your system and you're not sure
   4214 # whether `pass_all' will *always* work, you probably want this one.
   4215 
   4216 case $host_os in
   4217 aix4* | aix5*)
   4218   lt_cv_deplibs_check_method=pass_all
   4219   ;;
   4220 
   4221 beos*)
   4222   lt_cv_deplibs_check_method=pass_all
   4223   ;;
   4224 
   4225 bsdi[45]*)
   4226   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4227   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4228   lt_cv_file_magic_test_file=/shlib/libc.so
   4229   ;;
   4230 
   4231 cygwin*)
   4232   # func_win32_libid is a shell function defined in ltmain.sh
   4233   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4234   lt_cv_file_magic_cmd='func_win32_libid'
   4235   ;;
   4236 
   4237 mingw* | pw32*)
   4238   # Base MSYS/MinGW do not provide the 'file' command needed by
   4239   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4240   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4241   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4242   ;;
   4243 
   4244 darwin* | rhapsody*)
   4245   lt_cv_deplibs_check_method=pass_all
   4246   ;;
   4247 
   4248 freebsd* | kfreebsd*-gnu | dragonfly*)
   4249   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4250     case $host_cpu in
   4251     i*86 )
   4252       # Not sure whether the presence of OpenBSD here was a mistake.
   4253       # Let's accept both of them until this is cleared up.
   4254       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4255       lt_cv_file_magic_cmd=/usr/bin/file
   4256       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4257       ;;
   4258     esac
   4259   else
   4260     lt_cv_deplibs_check_method=pass_all
   4261   fi
   4262   ;;
   4263 
   4264 gnu*)
   4265   lt_cv_deplibs_check_method=pass_all
   4266   ;;
   4267 
   4268 hpux10.20* | hpux11*)
   4269   lt_cv_file_magic_cmd=/usr/bin/file
   4270   case $host_cpu in
   4271   ia64*)
   4272     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4273     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4274     ;;
   4275   hppa*64*)
   4276     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]'
   4277     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4278     ;;
   4279   *)
   4280     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4281     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4282     ;;
   4283   esac
   4284   ;;
   4285 
   4286 interix3*)
   4287   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4288   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4289   ;;
   4290 
   4291 irix5* | irix6* | nonstopux*)
   4292   case $LD in
   4293   *-32|*"-32 ") libmagic=32-bit;;
   4294   *-n32|*"-n32 ") libmagic=N32;;
   4295   *-64|*"-64 ") libmagic=64-bit;;
   4296   *) libmagic=never-match;;
   4297   esac
   4298   lt_cv_deplibs_check_method=pass_all
   4299   ;;
   4300 
   4301 # This must be Linux ELF.
   4302 linux*)
   4303   lt_cv_deplibs_check_method=pass_all
   4304   ;;
   4305 
   4306 netbsd*)
   4307   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4308     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4309   else
   4310     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4311   fi
   4312   ;;
   4313 
   4314 newos6*)
   4315   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4316   lt_cv_file_magic_cmd=/usr/bin/file
   4317   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4318   ;;
   4319 
   4320 nto-qnx*)
   4321   lt_cv_deplibs_check_method=unknown
   4322   ;;
   4323 
   4324 openbsd*)
   4325   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4326     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4327   else
   4328     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4329   fi
   4330   ;;
   4331 
   4332 osf3* | osf4* | osf5*)
   4333   lt_cv_deplibs_check_method=pass_all
   4334   ;;
   4335 
   4336 solaris*)
   4337   lt_cv_deplibs_check_method=pass_all
   4338   ;;
   4339 
   4340 sysv4 | sysv4.3*)
   4341   case $host_vendor in
   4342   motorola)
   4343     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]'
   4344     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4345     ;;
   4346   ncr)
   4347     lt_cv_deplibs_check_method=pass_all
   4348     ;;
   4349   sequent)
   4350     lt_cv_file_magic_cmd='/bin/file'
   4351     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4352     ;;
   4353   sni)
   4354     lt_cv_file_magic_cmd='/bin/file'
   4355     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4356     lt_cv_file_magic_test_file=/lib/libc.so
   4357     ;;
   4358   siemens)
   4359     lt_cv_deplibs_check_method=pass_all
   4360     ;;
   4361   pc)
   4362     lt_cv_deplibs_check_method=pass_all
   4363     ;;
   4364   esac
   4365   ;;
   4366 
   4367 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4368   lt_cv_deplibs_check_method=pass_all
   4369   ;;
   4370 esac
   4371 
   4372 fi
   4373 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4374 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4375 file_magic_cmd=$lt_cv_file_magic_cmd
   4376 deplibs_check_method=$lt_cv_deplibs_check_method
   4377 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4378 
   4379 
   4380 
   4381 
   4382 # If no C compiler was specified, use CC.
   4383 LTCC=${LTCC-"$CC"}
   4384 
   4385 # If no C compiler flags were specified, use CFLAGS.
   4386 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4387 
   4388 # Allow CC to be a program name with arguments.
   4389 compiler=$CC
   4390 
   4391 
   4392 # Check whether --enable-libtool-lock was given.
   4393 if test "${enable_libtool_lock+set}" = set; then
   4394   enableval=$enable_libtool_lock;
   4395 fi
   4396 
   4397 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4398 
   4399 # Some flags need to be propagated to the compiler or linker for good
   4400 # libtool support.
   4401 case $host in
   4402 ia64-*-hpux*)
   4403   # Find out which ABI we are using.
   4404   echo 'int i;' > conftest.$ac_ext
   4405   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4406   (eval $ac_compile) 2>&5
   4407   ac_status=$?
   4408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4409   (exit $ac_status); }; then
   4410     case `/usr/bin/file conftest.$ac_objext` in
   4411     *ELF-32*)
   4412       HPUX_IA64_MODE="32"
   4413       ;;
   4414     *ELF-64*)
   4415       HPUX_IA64_MODE="64"
   4416       ;;
   4417     esac
   4418   fi
   4419   rm -rf conftest*
   4420   ;;
   4421 *-*-irix6*)
   4422   # Find out which ABI we are using.
   4423   echo '#line 4423 "configure"' > conftest.$ac_ext
   4424   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4425   (eval $ac_compile) 2>&5
   4426   ac_status=$?
   4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4428   (exit $ac_status); }; then
   4429    if test "$lt_cv_prog_gnu_ld" = yes; then
   4430     case `/usr/bin/file conftest.$ac_objext` in
   4431     *32-bit*)
   4432       LD="${LD-ld} -melf32bsmip"
   4433       ;;
   4434     *N32*)
   4435       LD="${LD-ld} -melf32bmipn32"
   4436       ;;
   4437     *64-bit*)
   4438       LD="${LD-ld} -melf64bmip"
   4439       ;;
   4440     esac
   4441    else
   4442     case `/usr/bin/file conftest.$ac_objext` in
   4443     *32-bit*)
   4444       LD="${LD-ld} -32"
   4445       ;;
   4446     *N32*)
   4447       LD="${LD-ld} -n32"
   4448       ;;
   4449     *64-bit*)
   4450       LD="${LD-ld} -64"
   4451       ;;
   4452     esac
   4453    fi
   4454   fi
   4455   rm -rf conftest*
   4456   ;;
   4457 
   4458 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4459   # Find out which ABI we are using.
   4460   echo 'int i;' > conftest.$ac_ext
   4461   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4462   (eval $ac_compile) 2>&5
   4463   ac_status=$?
   4464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4465   (exit $ac_status); }; then
   4466     case `/usr/bin/file conftest.o` in
   4467     *32-bit*)
   4468       case $host in
   4469         x86_64-*linux*)
   4470           LD="${LD-ld} -m elf_i386"
   4471           ;;
   4472         ppc64-*linux*|powerpc64-*linux*)
   4473           LD="${LD-ld} -m elf32ppclinux"
   4474           ;;
   4475         s390x-*linux*)
   4476           LD="${LD-ld} -m elf_s390"
   4477           ;;
   4478         sparc64-*linux*)
   4479           LD="${LD-ld} -m elf32_sparc"
   4480           ;;
   4481       esac
   4482       ;;
   4483     *64-bit*)
   4484       case $host in
   4485         x86_64-*linux*)
   4486           LD="${LD-ld} -m elf_x86_64"
   4487           ;;
   4488         ppc*-*linux*|powerpc*-*linux*)
   4489           LD="${LD-ld} -m elf64ppc"
   4490           ;;
   4491         s390*-*linux*)
   4492           LD="${LD-ld} -m elf64_s390"
   4493           ;;
   4494         sparc*-*linux*)
   4495           LD="${LD-ld} -m elf64_sparc"
   4496           ;;
   4497       esac
   4498       ;;
   4499     esac
   4500   fi
   4501   rm -rf conftest*
   4502   ;;
   4503 
   4504 *-*-sco3.2v5*)
   4505   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4506   SAVE_CFLAGS="$CFLAGS"
   4507   CFLAGS="$CFLAGS -belf"
   4508   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4509 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4510 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4511   echo $ECHO_N "(cached) $ECHO_C" >&6
   4512 else
   4513   ac_ext=c
   4514 ac_cpp='$CPP $CPPFLAGS'
   4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4518 
   4519      cat >conftest.$ac_ext <<_ACEOF
   4520 /* confdefs.h.  */
   4521 _ACEOF
   4522 cat confdefs.h >>conftest.$ac_ext
   4523 cat >>conftest.$ac_ext <<_ACEOF
   4524 /* end confdefs.h.  */
   4525 
   4526 int
   4527 main ()
   4528 {
   4529 
   4530   ;
   4531   return 0;
   4532 }
   4533 _ACEOF
   4534 rm -f conftest.$ac_objext conftest$ac_exeext
   4535 if { (ac_try="$ac_link"
   4536 case "(($ac_try" in
   4537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4538   *) ac_try_echo=$ac_try;;
   4539 esac
   4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4541   (eval "$ac_link") 2>conftest.er1
   4542   ac_status=$?
   4543   grep -v '^ *+' conftest.er1 >conftest.err
   4544   rm -f conftest.er1
   4545   cat conftest.err >&5
   4546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4547   (exit $ac_status); } &&
   4548 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4549   { (case "(($ac_try" in
   4550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4551   *) ac_try_echo=$ac_try;;
   4552 esac
   4553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4554   (eval "$ac_try") 2>&5
   4555   ac_status=$?
   4556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4557   (exit $ac_status); }; } &&
   4558 	 { ac_try='test -s conftest$ac_exeext'
   4559   { (case "(($ac_try" in
   4560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4561   *) ac_try_echo=$ac_try;;
   4562 esac
   4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4564   (eval "$ac_try") 2>&5
   4565   ac_status=$?
   4566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4567   (exit $ac_status); }; }; then
   4568   lt_cv_cc_needs_belf=yes
   4569 else
   4570   echo "$as_me: failed program was:" >&5
   4571 sed 's/^/| /' conftest.$ac_ext >&5
   4572 
   4573 	lt_cv_cc_needs_belf=no
   4574 fi
   4575 
   4576 rm -f core conftest.err conftest.$ac_objext \
   4577       conftest$ac_exeext conftest.$ac_ext
   4578      ac_ext=c
   4579 ac_cpp='$CPP $CPPFLAGS'
   4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4583 
   4584 fi
   4585 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4586 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4587   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4588     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4589     CFLAGS="$SAVE_CFLAGS"
   4590   fi
   4591   ;;
   4592 sparc*-*solaris*)
   4593   # Find out which ABI we are using.
   4594   echo 'int i;' > conftest.$ac_ext
   4595   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4596   (eval $ac_compile) 2>&5
   4597   ac_status=$?
   4598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4599   (exit $ac_status); }; then
   4600     case `/usr/bin/file conftest.o` in
   4601     *64-bit*)
   4602       case $lt_cv_prog_gnu_ld in
   4603       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4604       *)    LD="${LD-ld} -64" ;;
   4605       esac
   4606       ;;
   4607     esac
   4608   fi
   4609   rm -rf conftest*
   4610   ;;
   4611 
   4612 
   4613 esac
   4614 
   4615 need_locks="$enable_libtool_lock"
   4616 
   4617 
   4618 ac_ext=c
   4619 ac_cpp='$CPP $CPPFLAGS'
   4620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4623 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4624 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4625 # On Suns, sometimes $CPP names a directory.
   4626 if test -n "$CPP" && test -d "$CPP"; then
   4627   CPP=
   4628 fi
   4629 if test -z "$CPP"; then
   4630   if test "${ac_cv_prog_CPP+set}" = set; then
   4631   echo $ECHO_N "(cached) $ECHO_C" >&6
   4632 else
   4633       # Double quotes because CPP needs to be expanded
   4634     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4635     do
   4636       ac_preproc_ok=false
   4637 for ac_c_preproc_warn_flag in '' yes
   4638 do
   4639   # Use a header file that comes with gcc, so configuring glibc
   4640   # with a fresh cross-compiler works.
   4641   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4642   # <limits.h> exists even on freestanding compilers.
   4643   # On the NeXT, cc -E runs the code through the compiler's parser,
   4644   # not just through cpp. "Syntax error" is here to catch this case.
   4645   cat >conftest.$ac_ext <<_ACEOF
   4646 /* confdefs.h.  */
   4647 _ACEOF
   4648 cat confdefs.h >>conftest.$ac_ext
   4649 cat >>conftest.$ac_ext <<_ACEOF
   4650 /* end confdefs.h.  */
   4651 #ifdef __STDC__
   4652 # include <limits.h>
   4653 #else
   4654 # include <assert.h>
   4655 #endif
   4656 		     Syntax error
   4657 _ACEOF
   4658 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4659 case "(($ac_try" in
   4660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4661   *) ac_try_echo=$ac_try;;
   4662 esac
   4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4664   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4665   ac_status=$?
   4666   grep -v '^ *+' conftest.er1 >conftest.err
   4667   rm -f conftest.er1
   4668   cat conftest.err >&5
   4669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4670   (exit $ac_status); } >/dev/null; then
   4671   if test -s conftest.err; then
   4672     ac_cpp_err=$ac_c_preproc_warn_flag
   4673     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4674   else
   4675     ac_cpp_err=
   4676   fi
   4677 else
   4678   ac_cpp_err=yes
   4679 fi
   4680 if test -z "$ac_cpp_err"; then
   4681   :
   4682 else
   4683   echo "$as_me: failed program was:" >&5
   4684 sed 's/^/| /' conftest.$ac_ext >&5
   4685 
   4686   # Broken: fails on valid input.
   4687 continue
   4688 fi
   4689 
   4690 rm -f conftest.err conftest.$ac_ext
   4691 
   4692   # OK, works on sane cases.  Now check whether nonexistent headers
   4693   # can be detected and how.
   4694   cat >conftest.$ac_ext <<_ACEOF
   4695 /* confdefs.h.  */
   4696 _ACEOF
   4697 cat confdefs.h >>conftest.$ac_ext
   4698 cat >>conftest.$ac_ext <<_ACEOF
   4699 /* end confdefs.h.  */
   4700 #include <ac_nonexistent.h>
   4701 _ACEOF
   4702 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4703 case "(($ac_try" in
   4704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4705   *) ac_try_echo=$ac_try;;
   4706 esac
   4707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4708   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4709   ac_status=$?
   4710   grep -v '^ *+' conftest.er1 >conftest.err
   4711   rm -f conftest.er1
   4712   cat conftest.err >&5
   4713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4714   (exit $ac_status); } >/dev/null; then
   4715   if test -s conftest.err; then
   4716     ac_cpp_err=$ac_c_preproc_warn_flag
   4717     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4718   else
   4719     ac_cpp_err=
   4720   fi
   4721 else
   4722   ac_cpp_err=yes
   4723 fi
   4724 if test -z "$ac_cpp_err"; then
   4725   # Broken: success on invalid input.
   4726 continue
   4727 else
   4728   echo "$as_me: failed program was:" >&5
   4729 sed 's/^/| /' conftest.$ac_ext >&5
   4730 
   4731   # Passes both tests.
   4732 ac_preproc_ok=:
   4733 break
   4734 fi
   4735 
   4736 rm -f conftest.err conftest.$ac_ext
   4737 
   4738 done
   4739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4740 rm -f conftest.err conftest.$ac_ext
   4741 if $ac_preproc_ok; then
   4742   break
   4743 fi
   4744 
   4745     done
   4746     ac_cv_prog_CPP=$CPP
   4747 
   4748 fi
   4749   CPP=$ac_cv_prog_CPP
   4750 else
   4751   ac_cv_prog_CPP=$CPP
   4752 fi
   4753 { echo "$as_me:$LINENO: result: $CPP" >&5
   4754 echo "${ECHO_T}$CPP" >&6; }
   4755 ac_preproc_ok=false
   4756 for ac_c_preproc_warn_flag in '' yes
   4757 do
   4758   # Use a header file that comes with gcc, so configuring glibc
   4759   # with a fresh cross-compiler works.
   4760   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4761   # <limits.h> exists even on freestanding compilers.
   4762   # On the NeXT, cc -E runs the code through the compiler's parser,
   4763   # not just through cpp. "Syntax error" is here to catch this case.
   4764   cat >conftest.$ac_ext <<_ACEOF
   4765 /* confdefs.h.  */
   4766 _ACEOF
   4767 cat confdefs.h >>conftest.$ac_ext
   4768 cat >>conftest.$ac_ext <<_ACEOF
   4769 /* end confdefs.h.  */
   4770 #ifdef __STDC__
   4771 # include <limits.h>
   4772 #else
   4773 # include <assert.h>
   4774 #endif
   4775 		     Syntax error
   4776 _ACEOF
   4777 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4778 case "(($ac_try" in
   4779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4780   *) ac_try_echo=$ac_try;;
   4781 esac
   4782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4784   ac_status=$?
   4785   grep -v '^ *+' conftest.er1 >conftest.err
   4786   rm -f conftest.er1
   4787   cat conftest.err >&5
   4788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4789   (exit $ac_status); } >/dev/null; then
   4790   if test -s conftest.err; then
   4791     ac_cpp_err=$ac_c_preproc_warn_flag
   4792     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4793   else
   4794     ac_cpp_err=
   4795   fi
   4796 else
   4797   ac_cpp_err=yes
   4798 fi
   4799 if test -z "$ac_cpp_err"; then
   4800   :
   4801 else
   4802   echo "$as_me: failed program was:" >&5
   4803 sed 's/^/| /' conftest.$ac_ext >&5
   4804 
   4805   # Broken: fails on valid input.
   4806 continue
   4807 fi
   4808 
   4809 rm -f conftest.err conftest.$ac_ext
   4810 
   4811   # OK, works on sane cases.  Now check whether nonexistent headers
   4812   # can be detected and how.
   4813   cat >conftest.$ac_ext <<_ACEOF
   4814 /* confdefs.h.  */
   4815 _ACEOF
   4816 cat confdefs.h >>conftest.$ac_ext
   4817 cat >>conftest.$ac_ext <<_ACEOF
   4818 /* end confdefs.h.  */
   4819 #include <ac_nonexistent.h>
   4820 _ACEOF
   4821 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4822 case "(($ac_try" in
   4823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4824   *) ac_try_echo=$ac_try;;
   4825 esac
   4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4827   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4828   ac_status=$?
   4829   grep -v '^ *+' conftest.er1 >conftest.err
   4830   rm -f conftest.er1
   4831   cat conftest.err >&5
   4832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4833   (exit $ac_status); } >/dev/null; then
   4834   if test -s conftest.err; then
   4835     ac_cpp_err=$ac_c_preproc_warn_flag
   4836     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4837   else
   4838     ac_cpp_err=
   4839   fi
   4840 else
   4841   ac_cpp_err=yes
   4842 fi
   4843 if test -z "$ac_cpp_err"; then
   4844   # Broken: success on invalid input.
   4845 continue
   4846 else
   4847   echo "$as_me: failed program was:" >&5
   4848 sed 's/^/| /' conftest.$ac_ext >&5
   4849 
   4850   # Passes both tests.
   4851 ac_preproc_ok=:
   4852 break
   4853 fi
   4854 
   4855 rm -f conftest.err conftest.$ac_ext
   4856 
   4857 done
   4858 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4859 rm -f conftest.err conftest.$ac_ext
   4860 if $ac_preproc_ok; then
   4861   :
   4862 else
   4863   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4864 See \`config.log' for more details." >&5
   4865 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4866 See \`config.log' for more details." >&2;}
   4867    { (exit 1); exit 1; }; }
   4868 fi
   4869 
   4870 ac_ext=c
   4871 ac_cpp='$CPP $CPPFLAGS'
   4872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4875 
   4876 
   4877 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4878 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4879 if test "${ac_cv_header_stdc+set}" = set; then
   4880   echo $ECHO_N "(cached) $ECHO_C" >&6
   4881 else
   4882   cat >conftest.$ac_ext <<_ACEOF
   4883 /* confdefs.h.  */
   4884 _ACEOF
   4885 cat confdefs.h >>conftest.$ac_ext
   4886 cat >>conftest.$ac_ext <<_ACEOF
   4887 /* end confdefs.h.  */
   4888 #include <stdlib.h>
   4889 #include <stdarg.h>
   4890 #include <string.h>
   4891 #include <float.h>
   4892 
   4893 int
   4894 main ()
   4895 {
   4896 
   4897   ;
   4898   return 0;
   4899 }
   4900 _ACEOF
   4901 rm -f conftest.$ac_objext
   4902 if { (ac_try="$ac_compile"
   4903 case "(($ac_try" in
   4904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4905   *) ac_try_echo=$ac_try;;
   4906 esac
   4907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4908   (eval "$ac_compile") 2>conftest.er1
   4909   ac_status=$?
   4910   grep -v '^ *+' conftest.er1 >conftest.err
   4911   rm -f conftest.er1
   4912   cat conftest.err >&5
   4913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4914   (exit $ac_status); } &&
   4915 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4916   { (case "(($ac_try" in
   4917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4918   *) ac_try_echo=$ac_try;;
   4919 esac
   4920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4921   (eval "$ac_try") 2>&5
   4922   ac_status=$?
   4923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4924   (exit $ac_status); }; } &&
   4925 	 { ac_try='test -s conftest.$ac_objext'
   4926   { (case "(($ac_try" in
   4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4928   *) ac_try_echo=$ac_try;;
   4929 esac
   4930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4931   (eval "$ac_try") 2>&5
   4932   ac_status=$?
   4933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4934   (exit $ac_status); }; }; then
   4935   ac_cv_header_stdc=yes
   4936 else
   4937   echo "$as_me: failed program was:" >&5
   4938 sed 's/^/| /' conftest.$ac_ext >&5
   4939 
   4940 	ac_cv_header_stdc=no
   4941 fi
   4942 
   4943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4944 
   4945 if test $ac_cv_header_stdc = yes; then
   4946   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4947   cat >conftest.$ac_ext <<_ACEOF
   4948 /* confdefs.h.  */
   4949 _ACEOF
   4950 cat confdefs.h >>conftest.$ac_ext
   4951 cat >>conftest.$ac_ext <<_ACEOF
   4952 /* end confdefs.h.  */
   4953 #include <string.h>
   4954 
   4955 _ACEOF
   4956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4957   $EGREP "memchr" >/dev/null 2>&1; then
   4958   :
   4959 else
   4960   ac_cv_header_stdc=no
   4961 fi
   4962 rm -f conftest*
   4963 
   4964 fi
   4965 
   4966 if test $ac_cv_header_stdc = yes; then
   4967   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4968   cat >conftest.$ac_ext <<_ACEOF
   4969 /* confdefs.h.  */
   4970 _ACEOF
   4971 cat confdefs.h >>conftest.$ac_ext
   4972 cat >>conftest.$ac_ext <<_ACEOF
   4973 /* end confdefs.h.  */
   4974 #include <stdlib.h>
   4975 
   4976 _ACEOF
   4977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4978   $EGREP "free" >/dev/null 2>&1; then
   4979   :
   4980 else
   4981   ac_cv_header_stdc=no
   4982 fi
   4983 rm -f conftest*
   4984 
   4985 fi
   4986 
   4987 if test $ac_cv_header_stdc = yes; then
   4988   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4989   if test "$cross_compiling" = yes; then
   4990   :
   4991 else
   4992   cat >conftest.$ac_ext <<_ACEOF
   4993 /* confdefs.h.  */
   4994 _ACEOF
   4995 cat confdefs.h >>conftest.$ac_ext
   4996 cat >>conftest.$ac_ext <<_ACEOF
   4997 /* end confdefs.h.  */
   4998 #include <ctype.h>
   4999 #include <stdlib.h>
   5000 #if ((' ' & 0x0FF) == 0x020)
   5001 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5002 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5003 #else
   5004 # define ISLOWER(c) \
   5005 		   (('a' <= (c) && (c) <= 'i') \
   5006 		     || ('j' <= (c) && (c) <= 'r') \
   5007 		     || ('s' <= (c) && (c) <= 'z'))
   5008 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5009 #endif
   5010 
   5011 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5012 int
   5013 main ()
   5014 {
   5015   int i;
   5016   for (i = 0; i < 256; i++)
   5017     if (XOR (islower (i), ISLOWER (i))
   5018 	|| toupper (i) != TOUPPER (i))
   5019       return 2;
   5020   return 0;
   5021 }
   5022 _ACEOF
   5023 rm -f conftest$ac_exeext
   5024 if { (ac_try="$ac_link"
   5025 case "(($ac_try" in
   5026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5027   *) ac_try_echo=$ac_try;;
   5028 esac
   5029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5030   (eval "$ac_link") 2>&5
   5031   ac_status=$?
   5032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5033   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5034   { (case "(($ac_try" in
   5035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5036   *) ac_try_echo=$ac_try;;
   5037 esac
   5038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5039   (eval "$ac_try") 2>&5
   5040   ac_status=$?
   5041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5042   (exit $ac_status); }; }; then
   5043   :
   5044 else
   5045   echo "$as_me: program exited with status $ac_status" >&5
   5046 echo "$as_me: failed program was:" >&5
   5047 sed 's/^/| /' conftest.$ac_ext >&5
   5048 
   5049 ( exit $ac_status )
   5050 ac_cv_header_stdc=no
   5051 fi
   5052 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5053 fi
   5054 
   5055 
   5056 fi
   5057 fi
   5058 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5059 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5060 if test $ac_cv_header_stdc = yes; then
   5061 
   5062 cat >>confdefs.h <<\_ACEOF
   5063 #define STDC_HEADERS 1
   5064 _ACEOF
   5065 
   5066 fi
   5067 
   5068 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5079 		  inttypes.h stdint.h unistd.h
   5080 do
   5081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5082 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5085   echo $ECHO_N "(cached) $ECHO_C" >&6
   5086 else
   5087   cat >conftest.$ac_ext <<_ACEOF
   5088 /* confdefs.h.  */
   5089 _ACEOF
   5090 cat confdefs.h >>conftest.$ac_ext
   5091 cat >>conftest.$ac_ext <<_ACEOF
   5092 /* end confdefs.h.  */
   5093 $ac_includes_default
   5094 
   5095 #include <$ac_header>
   5096 _ACEOF
   5097 rm -f conftest.$ac_objext
   5098 if { (ac_try="$ac_compile"
   5099 case "(($ac_try" in
   5100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5101   *) ac_try_echo=$ac_try;;
   5102 esac
   5103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5104   (eval "$ac_compile") 2>conftest.er1
   5105   ac_status=$?
   5106   grep -v '^ *+' conftest.er1 >conftest.err
   5107   rm -f conftest.er1
   5108   cat conftest.err >&5
   5109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5110   (exit $ac_status); } &&
   5111 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   5112   { (case "(($ac_try" in
   5113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5114   *) ac_try_echo=$ac_try;;
   5115 esac
   5116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5117   (eval "$ac_try") 2>&5
   5118   ac_status=$?
   5119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5120   (exit $ac_status); }; } &&
   5121 	 { ac_try='test -s conftest.$ac_objext'
   5122   { (case "(($ac_try" in
   5123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5124   *) ac_try_echo=$ac_try;;
   5125 esac
   5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5127   (eval "$ac_try") 2>&5
   5128   ac_status=$?
   5129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5130   (exit $ac_status); }; }; then
   5131   eval "$as_ac_Header=yes"
   5132 else
   5133   echo "$as_me: failed program was:" >&5
   5134 sed 's/^/| /' conftest.$ac_ext >&5
   5135 
   5136 	eval "$as_ac_Header=no"
   5137 fi
   5138 
   5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5140 fi
   5141 ac_res=`eval echo '${'$as_ac_Header'}'`
   5142 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5143 echo "${ECHO_T}$ac_res" >&6; }
   5144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5145   cat >>confdefs.h <<_ACEOF
   5146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5147 _ACEOF
   5148 
   5149 fi
   5150 
   5151 done
   5152 
   5153 
   5154 
   5155 for ac_header in dlfcn.h
   5156 do
   5157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5159   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5162   echo $ECHO_N "(cached) $ECHO_C" >&6
   5163 fi
   5164 ac_res=`eval echo '${'$as_ac_Header'}'`
   5165 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5166 echo "${ECHO_T}$ac_res" >&6; }
   5167 else
   5168   # Is the header compilable?
   5169 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5171 cat >conftest.$ac_ext <<_ACEOF
   5172 /* confdefs.h.  */
   5173 _ACEOF
   5174 cat confdefs.h >>conftest.$ac_ext
   5175 cat >>conftest.$ac_ext <<_ACEOF
   5176 /* end confdefs.h.  */
   5177 $ac_includes_default
   5178 #include <$ac_header>
   5179 _ACEOF
   5180 rm -f conftest.$ac_objext
   5181 if { (ac_try="$ac_compile"
   5182 case "(($ac_try" in
   5183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5184   *) ac_try_echo=$ac_try;;
   5185 esac
   5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5187   (eval "$ac_compile") 2>conftest.er1
   5188   ac_status=$?
   5189   grep -v '^ *+' conftest.er1 >conftest.err
   5190   rm -f conftest.er1
   5191   cat conftest.err >&5
   5192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5193   (exit $ac_status); } &&
   5194 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   5195   { (case "(($ac_try" in
   5196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5197   *) ac_try_echo=$ac_try;;
   5198 esac
   5199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5200   (eval "$ac_try") 2>&5
   5201   ac_status=$?
   5202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5203   (exit $ac_status); }; } &&
   5204 	 { ac_try='test -s conftest.$ac_objext'
   5205   { (case "(($ac_try" in
   5206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5207   *) ac_try_echo=$ac_try;;
   5208 esac
   5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5210   (eval "$ac_try") 2>&5
   5211   ac_status=$?
   5212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5213   (exit $ac_status); }; }; then
   5214   ac_header_compiler=yes
   5215 else
   5216   echo "$as_me: failed program was:" >&5
   5217 sed 's/^/| /' conftest.$ac_ext >&5
   5218 
   5219 	ac_header_compiler=no
   5220 fi
   5221 
   5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5223 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5224 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5225 
   5226 # Is the header present?
   5227 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5229 cat >conftest.$ac_ext <<_ACEOF
   5230 /* confdefs.h.  */
   5231 _ACEOF
   5232 cat confdefs.h >>conftest.$ac_ext
   5233 cat >>conftest.$ac_ext <<_ACEOF
   5234 /* end confdefs.h.  */
   5235 #include <$ac_header>
   5236 _ACEOF
   5237 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5238 case "(($ac_try" in
   5239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5240   *) ac_try_echo=$ac_try;;
   5241 esac
   5242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5243   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5244   ac_status=$?
   5245   grep -v '^ *+' conftest.er1 >conftest.err
   5246   rm -f conftest.er1
   5247   cat conftest.err >&5
   5248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5249   (exit $ac_status); } >/dev/null; then
   5250   if test -s conftest.err; then
   5251     ac_cpp_err=$ac_c_preproc_warn_flag
   5252     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5253   else
   5254     ac_cpp_err=
   5255   fi
   5256 else
   5257   ac_cpp_err=yes
   5258 fi
   5259 if test -z "$ac_cpp_err"; then
   5260   ac_header_preproc=yes
   5261 else
   5262   echo "$as_me: failed program was:" >&5
   5263 sed 's/^/| /' conftest.$ac_ext >&5
   5264 
   5265   ac_header_preproc=no
   5266 fi
   5267 
   5268 rm -f conftest.err conftest.$ac_ext
   5269 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5270 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5271 
   5272 # So?  What about this header?
   5273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5274   yes:no: )
   5275     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5277     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5279     ac_header_preproc=yes
   5280     ;;
   5281   no:yes:* )
   5282     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5284     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5285 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5286     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5288     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5289 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5290     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5292     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5294     ( cat <<\_ASBOX
   5295 ## ---------------------------------------------------------------------- ##
   5296 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5297 ## ---------------------------------------------------------------------- ##
   5298 _ASBOX
   5299      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5300     ;;
   5301 esac
   5302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5305   echo $ECHO_N "(cached) $ECHO_C" >&6
   5306 else
   5307   eval "$as_ac_Header=\$ac_header_preproc"
   5308 fi
   5309 ac_res=`eval echo '${'$as_ac_Header'}'`
   5310 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5311 echo "${ECHO_T}$ac_res" >&6; }
   5312 
   5313 fi
   5314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5315   cat >>confdefs.h <<_ACEOF
   5316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5317 _ACEOF
   5318 
   5319 fi
   5320 
   5321 done
   5322 
   5323 ac_ext=cpp
   5324 ac_cpp='$CXXCPP $CPPFLAGS'
   5325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5328 if test -z "$CXX"; then
   5329   if test -n "$CCC"; then
   5330     CXX=$CCC
   5331   else
   5332     if test -n "$ac_tool_prefix"; then
   5333   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5334   do
   5335     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5339 if test "${ac_cv_prog_CXX+set}" = set; then
   5340   echo $ECHO_N "(cached) $ECHO_C" >&6
   5341 else
   5342   if test -n "$CXX"; then
   5343   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5344 else
   5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5346 for as_dir in $PATH
   5347 do
   5348   IFS=$as_save_IFS
   5349   test -z "$as_dir" && as_dir=.
   5350   for ac_exec_ext in '' $ac_executable_extensions; do
   5351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5352     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5353     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5354     break 2
   5355   fi
   5356 done
   5357 done
   5358 IFS=$as_save_IFS
   5359 
   5360 fi
   5361 fi
   5362 CXX=$ac_cv_prog_CXX
   5363 if test -n "$CXX"; then
   5364   { echo "$as_me:$LINENO: result: $CXX" >&5
   5365 echo "${ECHO_T}$CXX" >&6; }
   5366 else
   5367   { echo "$as_me:$LINENO: result: no" >&5
   5368 echo "${ECHO_T}no" >&6; }
   5369 fi
   5370 
   5371 
   5372     test -n "$CXX" && break
   5373   done
   5374 fi
   5375 if test -z "$CXX"; then
   5376   ac_ct_CXX=$CXX
   5377   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5378 do
   5379   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5380 set dummy $ac_prog; ac_word=$2
   5381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5383 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5384   echo $ECHO_N "(cached) $ECHO_C" >&6
   5385 else
   5386   if test -n "$ac_ct_CXX"; then
   5387   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5388 else
   5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5390 for as_dir in $PATH
   5391 do
   5392   IFS=$as_save_IFS
   5393   test -z "$as_dir" && as_dir=.
   5394   for ac_exec_ext in '' $ac_executable_extensions; do
   5395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5396     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5397     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5398     break 2
   5399   fi
   5400 done
   5401 done
   5402 IFS=$as_save_IFS
   5403 
   5404 fi
   5405 fi
   5406 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5407 if test -n "$ac_ct_CXX"; then
   5408   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5409 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5410 else
   5411   { echo "$as_me:$LINENO: result: no" >&5
   5412 echo "${ECHO_T}no" >&6; }
   5413 fi
   5414 
   5415 
   5416   test -n "$ac_ct_CXX" && break
   5417 done
   5418 
   5419   if test "x$ac_ct_CXX" = x; then
   5420     CXX="g++"
   5421   else
   5422     case $cross_compiling:$ac_tool_warned in
   5423 yes:)
   5424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5425 whose name does not start with the host triplet.  If you think this
   5426 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5428 whose name does not start with the host triplet.  If you think this
   5429 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5430 ac_tool_warned=yes ;;
   5431 esac
   5432     CXX=$ac_ct_CXX
   5433   fi
   5434 fi
   5435 
   5436   fi
   5437 fi
   5438 # Provide some information about the compiler.
   5439 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5440 ac_compiler=`set X $ac_compile; echo $2`
   5441 { (ac_try="$ac_compiler --version >&5"
   5442 case "(($ac_try" in
   5443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5444   *) ac_try_echo=$ac_try;;
   5445 esac
   5446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5447   (eval "$ac_compiler --version >&5") 2>&5
   5448   ac_status=$?
   5449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5450   (exit $ac_status); }
   5451 { (ac_try="$ac_compiler -v >&5"
   5452 case "(($ac_try" in
   5453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5454   *) ac_try_echo=$ac_try;;
   5455 esac
   5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5457   (eval "$ac_compiler -v >&5") 2>&5
   5458   ac_status=$?
   5459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5460   (exit $ac_status); }
   5461 { (ac_try="$ac_compiler -V >&5"
   5462 case "(($ac_try" in
   5463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5464   *) ac_try_echo=$ac_try;;
   5465 esac
   5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5467   (eval "$ac_compiler -V >&5") 2>&5
   5468   ac_status=$?
   5469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5470   (exit $ac_status); }
   5471 
   5472 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5473 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5474 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5475   echo $ECHO_N "(cached) $ECHO_C" >&6
   5476 else
   5477   cat >conftest.$ac_ext <<_ACEOF
   5478 /* confdefs.h.  */
   5479 _ACEOF
   5480 cat confdefs.h >>conftest.$ac_ext
   5481 cat >>conftest.$ac_ext <<_ACEOF
   5482 /* end confdefs.h.  */
   5483 
   5484 int
   5485 main ()
   5486 {
   5487 #ifndef __GNUC__
   5488        choke me
   5489 #endif
   5490 
   5491   ;
   5492   return 0;
   5493 }
   5494 _ACEOF
   5495 rm -f conftest.$ac_objext
   5496 if { (ac_try="$ac_compile"
   5497 case "(($ac_try" in
   5498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5499   *) ac_try_echo=$ac_try;;
   5500 esac
   5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5502   (eval "$ac_compile") 2>conftest.er1
   5503   ac_status=$?
   5504   grep -v '^ *+' conftest.er1 >conftest.err
   5505   rm -f conftest.er1
   5506   cat conftest.err >&5
   5507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5508   (exit $ac_status); } &&
   5509 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5510   { (case "(($ac_try" in
   5511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5512   *) ac_try_echo=$ac_try;;
   5513 esac
   5514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5515   (eval "$ac_try") 2>&5
   5516   ac_status=$?
   5517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5518   (exit $ac_status); }; } &&
   5519 	 { ac_try='test -s conftest.$ac_objext'
   5520   { (case "(($ac_try" in
   5521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5522   *) ac_try_echo=$ac_try;;
   5523 esac
   5524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5525   (eval "$ac_try") 2>&5
   5526   ac_status=$?
   5527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5528   (exit $ac_status); }; }; then
   5529   ac_compiler_gnu=yes
   5530 else
   5531   echo "$as_me: failed program was:" >&5
   5532 sed 's/^/| /' conftest.$ac_ext >&5
   5533 
   5534 	ac_compiler_gnu=no
   5535 fi
   5536 
   5537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5538 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5539 
   5540 fi
   5541 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5542 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5543 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5544 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5545 ac_save_CXXFLAGS=$CXXFLAGS
   5546 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5547 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5548 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5549   echo $ECHO_N "(cached) $ECHO_C" >&6
   5550 else
   5551   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5552    ac_cxx_werror_flag=yes
   5553    ac_cv_prog_cxx_g=no
   5554    CXXFLAGS="-g"
   5555    cat >conftest.$ac_ext <<_ACEOF
   5556 /* confdefs.h.  */
   5557 _ACEOF
   5558 cat confdefs.h >>conftest.$ac_ext
   5559 cat >>conftest.$ac_ext <<_ACEOF
   5560 /* end confdefs.h.  */
   5561 
   5562 int
   5563 main ()
   5564 {
   5565 
   5566   ;
   5567   return 0;
   5568 }
   5569 _ACEOF
   5570 rm -f conftest.$ac_objext
   5571 if { (ac_try="$ac_compile"
   5572 case "(($ac_try" in
   5573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5574   *) ac_try_echo=$ac_try;;
   5575 esac
   5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5577   (eval "$ac_compile") 2>conftest.er1
   5578   ac_status=$?
   5579   grep -v '^ *+' conftest.er1 >conftest.err
   5580   rm -f conftest.er1
   5581   cat conftest.err >&5
   5582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5583   (exit $ac_status); } &&
   5584 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5585   { (case "(($ac_try" in
   5586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5587   *) ac_try_echo=$ac_try;;
   5588 esac
   5589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5590   (eval "$ac_try") 2>&5
   5591   ac_status=$?
   5592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5593   (exit $ac_status); }; } &&
   5594 	 { ac_try='test -s conftest.$ac_objext'
   5595   { (case "(($ac_try" in
   5596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5597   *) ac_try_echo=$ac_try;;
   5598 esac
   5599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5600   (eval "$ac_try") 2>&5
   5601   ac_status=$?
   5602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5603   (exit $ac_status); }; }; then
   5604   ac_cv_prog_cxx_g=yes
   5605 else
   5606   echo "$as_me: failed program was:" >&5
   5607 sed 's/^/| /' conftest.$ac_ext >&5
   5608 
   5609 	CXXFLAGS=""
   5610       cat >conftest.$ac_ext <<_ACEOF
   5611 /* confdefs.h.  */
   5612 _ACEOF
   5613 cat confdefs.h >>conftest.$ac_ext
   5614 cat >>conftest.$ac_ext <<_ACEOF
   5615 /* end confdefs.h.  */
   5616 
   5617 int
   5618 main ()
   5619 {
   5620 
   5621   ;
   5622   return 0;
   5623 }
   5624 _ACEOF
   5625 rm -f conftest.$ac_objext
   5626 if { (ac_try="$ac_compile"
   5627 case "(($ac_try" in
   5628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5629   *) ac_try_echo=$ac_try;;
   5630 esac
   5631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5632   (eval "$ac_compile") 2>conftest.er1
   5633   ac_status=$?
   5634   grep -v '^ *+' conftest.er1 >conftest.err
   5635   rm -f conftest.er1
   5636   cat conftest.err >&5
   5637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5638   (exit $ac_status); } &&
   5639 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5640   { (case "(($ac_try" in
   5641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5642   *) ac_try_echo=$ac_try;;
   5643 esac
   5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5645   (eval "$ac_try") 2>&5
   5646   ac_status=$?
   5647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5648   (exit $ac_status); }; } &&
   5649 	 { ac_try='test -s conftest.$ac_objext'
   5650   { (case "(($ac_try" in
   5651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5652   *) ac_try_echo=$ac_try;;
   5653 esac
   5654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5655   (eval "$ac_try") 2>&5
   5656   ac_status=$?
   5657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5658   (exit $ac_status); }; }; then
   5659   :
   5660 else
   5661   echo "$as_me: failed program was:" >&5
   5662 sed 's/^/| /' conftest.$ac_ext >&5
   5663 
   5664 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5665 	 CXXFLAGS="-g"
   5666 	 cat >conftest.$ac_ext <<_ACEOF
   5667 /* confdefs.h.  */
   5668 _ACEOF
   5669 cat confdefs.h >>conftest.$ac_ext
   5670 cat >>conftest.$ac_ext <<_ACEOF
   5671 /* end confdefs.h.  */
   5672 
   5673 int
   5674 main ()
   5675 {
   5676 
   5677   ;
   5678   return 0;
   5679 }
   5680 _ACEOF
   5681 rm -f conftest.$ac_objext
   5682 if { (ac_try="$ac_compile"
   5683 case "(($ac_try" in
   5684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5685   *) ac_try_echo=$ac_try;;
   5686 esac
   5687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5688   (eval "$ac_compile") 2>conftest.er1
   5689   ac_status=$?
   5690   grep -v '^ *+' conftest.er1 >conftest.err
   5691   rm -f conftest.er1
   5692   cat conftest.err >&5
   5693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5694   (exit $ac_status); } &&
   5695 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5696   { (case "(($ac_try" in
   5697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5698   *) ac_try_echo=$ac_try;;
   5699 esac
   5700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5701   (eval "$ac_try") 2>&5
   5702   ac_status=$?
   5703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5704   (exit $ac_status); }; } &&
   5705 	 { ac_try='test -s conftest.$ac_objext'
   5706   { (case "(($ac_try" in
   5707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5708   *) ac_try_echo=$ac_try;;
   5709 esac
   5710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5711   (eval "$ac_try") 2>&5
   5712   ac_status=$?
   5713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5714   (exit $ac_status); }; }; then
   5715   ac_cv_prog_cxx_g=yes
   5716 else
   5717   echo "$as_me: failed program was:" >&5
   5718 sed 's/^/| /' conftest.$ac_ext >&5
   5719 
   5720 
   5721 fi
   5722 
   5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5724 fi
   5725 
   5726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5727 fi
   5728 
   5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5730    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5731 fi
   5732 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5733 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5734 if test "$ac_test_CXXFLAGS" = set; then
   5735   CXXFLAGS=$ac_save_CXXFLAGS
   5736 elif test $ac_cv_prog_cxx_g = yes; then
   5737   if test "$GXX" = yes; then
   5738     CXXFLAGS="-g -O2"
   5739   else
   5740     CXXFLAGS="-g"
   5741   fi
   5742 else
   5743   if test "$GXX" = yes; then
   5744     CXXFLAGS="-O2"
   5745   else
   5746     CXXFLAGS=
   5747   fi
   5748 fi
   5749 ac_ext=cpp
   5750 ac_cpp='$CXXCPP $CPPFLAGS'
   5751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5754 
   5755 depcc="$CXX"  am_compiler_list=
   5756 
   5757 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5758 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5759 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5760   echo $ECHO_N "(cached) $ECHO_C" >&6
   5761 else
   5762   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5763   # We make a subdir and do the tests there.  Otherwise we can end up
   5764   # making bogus files that we don't know about and never remove.  For
   5765   # instance it was reported that on HP-UX the gcc test will end up
   5766   # making a dummy file named `D' -- because `-MD' means `put the output
   5767   # in D'.
   5768   mkdir conftest.dir
   5769   # Copy depcomp to subdir because otherwise we won't find it if we're
   5770   # using a relative directory.
   5771   cp "$am_depcomp" conftest.dir
   5772   cd conftest.dir
   5773   # We will build objects and dependencies in a subdirectory because
   5774   # it helps to detect inapplicable dependency modes.  For instance
   5775   # both Tru64's cc and ICC support -MD to output dependencies as a
   5776   # side effect of compilation, but ICC will put the dependencies in
   5777   # the current directory while Tru64 will put them in the object
   5778   # directory.
   5779   mkdir sub
   5780 
   5781   am_cv_CXX_dependencies_compiler_type=none
   5782   if test "$am_compiler_list" = ""; then
   5783      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5784   fi
   5785   for depmode in $am_compiler_list; do
   5786     # Setup a source with many dependencies, because some compilers
   5787     # like to wrap large dependency lists on column 80 (with \), and
   5788     # we should not choose a depcomp mode which is confused by this.
   5789     #
   5790     # We need to recreate these files for each test, as the compiler may
   5791     # overwrite some of them when testing with obscure command lines.
   5792     # This happens at least with the AIX C compiler.
   5793     : > sub/conftest.c
   5794     for i in 1 2 3 4 5 6; do
   5795       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5796       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5797       # Solaris 8's {/usr,}/bin/sh.
   5798       touch sub/conftst$i.h
   5799     done
   5800     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5801 
   5802     case $depmode in
   5803     nosideeffect)
   5804       # after this tag, mechanisms are not by side-effect, so they'll
   5805       # only be used when explicitly requested
   5806       if test "x$enable_dependency_tracking" = xyes; then
   5807 	continue
   5808       else
   5809 	break
   5810       fi
   5811       ;;
   5812     none) break ;;
   5813     esac
   5814     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5815     # mode.  It turns out that the SunPro C++ compiler does not properly
   5816     # handle `-M -o', and we need to detect this.
   5817     if depmode=$depmode \
   5818        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5819        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5820        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5821          >/dev/null 2>conftest.err &&
   5822        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5823        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5824        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5825       # icc doesn't choke on unknown options, it will just issue warnings
   5826       # or remarks (even with -Werror).  So we grep stderr for any message
   5827       # that says an option was ignored or not supported.
   5828       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5829       #   icc: Command line warning: ignoring option '-M'; no argument required
   5830       # The diagnosis changed in icc 8.0:
   5831       #   icc: Command line remark: option '-MP' not supported
   5832       if (grep 'ignoring option' conftest.err ||
   5833           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5834         am_cv_CXX_dependencies_compiler_type=$depmode
   5835         break
   5836       fi
   5837     fi
   5838   done
   5839 
   5840   cd ..
   5841   rm -rf conftest.dir
   5842 else
   5843   am_cv_CXX_dependencies_compiler_type=none
   5844 fi
   5845 
   5846 fi
   5847 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5848 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5849 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5850 
   5851 
   5852 
   5853 if
   5854   test "x$enable_dependency_tracking" != xno \
   5855   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5856   am__fastdepCXX_TRUE=
   5857   am__fastdepCXX_FALSE='#'
   5858 else
   5859   am__fastdepCXX_TRUE='#'
   5860   am__fastdepCXX_FALSE=
   5861 fi
   5862 
   5863 
   5864 
   5865 
   5866 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5867     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5868     (test "X$CXX" != "Xg++"))) ; then
   5869   ac_ext=cpp
   5870 ac_cpp='$CXXCPP $CPPFLAGS'
   5871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5874 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5875 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5876 if test -z "$CXXCPP"; then
   5877   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5878   echo $ECHO_N "(cached) $ECHO_C" >&6
   5879 else
   5880       # Double quotes because CXXCPP needs to be expanded
   5881     for CXXCPP in "$CXX -E" "/lib/cpp"
   5882     do
   5883       ac_preproc_ok=false
   5884 for ac_cxx_preproc_warn_flag in '' yes
   5885 do
   5886   # Use a header file that comes with gcc, so configuring glibc
   5887   # with a fresh cross-compiler works.
   5888   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5889   # <limits.h> exists even on freestanding compilers.
   5890   # On the NeXT, cc -E runs the code through the compiler's parser,
   5891   # not just through cpp. "Syntax error" is here to catch this case.
   5892   cat >conftest.$ac_ext <<_ACEOF
   5893 /* confdefs.h.  */
   5894 _ACEOF
   5895 cat confdefs.h >>conftest.$ac_ext
   5896 cat >>conftest.$ac_ext <<_ACEOF
   5897 /* end confdefs.h.  */
   5898 #ifdef __STDC__
   5899 # include <limits.h>
   5900 #else
   5901 # include <assert.h>
   5902 #endif
   5903 		     Syntax error
   5904 _ACEOF
   5905 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5906 case "(($ac_try" in
   5907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5908   *) ac_try_echo=$ac_try;;
   5909 esac
   5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5911   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5912   ac_status=$?
   5913   grep -v '^ *+' conftest.er1 >conftest.err
   5914   rm -f conftest.er1
   5915   cat conftest.err >&5
   5916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5917   (exit $ac_status); } >/dev/null; then
   5918   if test -s conftest.err; then
   5919     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5920     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5921   else
   5922     ac_cpp_err=
   5923   fi
   5924 else
   5925   ac_cpp_err=yes
   5926 fi
   5927 if test -z "$ac_cpp_err"; then
   5928   :
   5929 else
   5930   echo "$as_me: failed program was:" >&5
   5931 sed 's/^/| /' conftest.$ac_ext >&5
   5932 
   5933   # Broken: fails on valid input.
   5934 continue
   5935 fi
   5936 
   5937 rm -f conftest.err conftest.$ac_ext
   5938 
   5939   # OK, works on sane cases.  Now check whether nonexistent headers
   5940   # can be detected and how.
   5941   cat >conftest.$ac_ext <<_ACEOF
   5942 /* confdefs.h.  */
   5943 _ACEOF
   5944 cat confdefs.h >>conftest.$ac_ext
   5945 cat >>conftest.$ac_ext <<_ACEOF
   5946 /* end confdefs.h.  */
   5947 #include <ac_nonexistent.h>
   5948 _ACEOF
   5949 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5950 case "(($ac_try" in
   5951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5952   *) ac_try_echo=$ac_try;;
   5953 esac
   5954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5955   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5956   ac_status=$?
   5957   grep -v '^ *+' conftest.er1 >conftest.err
   5958   rm -f conftest.er1
   5959   cat conftest.err >&5
   5960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5961   (exit $ac_status); } >/dev/null; then
   5962   if test -s conftest.err; then
   5963     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5964     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5965   else
   5966     ac_cpp_err=
   5967   fi
   5968 else
   5969   ac_cpp_err=yes
   5970 fi
   5971 if test -z "$ac_cpp_err"; then
   5972   # Broken: success on invalid input.
   5973 continue
   5974 else
   5975   echo "$as_me: failed program was:" >&5
   5976 sed 's/^/| /' conftest.$ac_ext >&5
   5977 
   5978   # Passes both tests.
   5979 ac_preproc_ok=:
   5980 break
   5981 fi
   5982 
   5983 rm -f conftest.err conftest.$ac_ext
   5984 
   5985 done
   5986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5987 rm -f conftest.err conftest.$ac_ext
   5988 if $ac_preproc_ok; then
   5989   break
   5990 fi
   5991 
   5992     done
   5993     ac_cv_prog_CXXCPP=$CXXCPP
   5994 
   5995 fi
   5996   CXXCPP=$ac_cv_prog_CXXCPP
   5997 else
   5998   ac_cv_prog_CXXCPP=$CXXCPP
   5999 fi
   6000 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6001 echo "${ECHO_T}$CXXCPP" >&6; }
   6002 ac_preproc_ok=false
   6003 for ac_cxx_preproc_warn_flag in '' yes
   6004 do
   6005   # Use a header file that comes with gcc, so configuring glibc
   6006   # with a fresh cross-compiler works.
   6007   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6008   # <limits.h> exists even on freestanding compilers.
   6009   # On the NeXT, cc -E runs the code through the compiler's parser,
   6010   # not just through cpp. "Syntax error" is here to catch this case.
   6011   cat >conftest.$ac_ext <<_ACEOF
   6012 /* confdefs.h.  */
   6013 _ACEOF
   6014 cat confdefs.h >>conftest.$ac_ext
   6015 cat >>conftest.$ac_ext <<_ACEOF
   6016 /* end confdefs.h.  */
   6017 #ifdef __STDC__
   6018 # include <limits.h>
   6019 #else
   6020 # include <assert.h>
   6021 #endif
   6022 		     Syntax error
   6023 _ACEOF
   6024 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6025 case "(($ac_try" in
   6026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6027   *) ac_try_echo=$ac_try;;
   6028 esac
   6029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6030   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6031   ac_status=$?
   6032   grep -v '^ *+' conftest.er1 >conftest.err
   6033   rm -f conftest.er1
   6034   cat conftest.err >&5
   6035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6036   (exit $ac_status); } >/dev/null; then
   6037   if test -s conftest.err; then
   6038     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6039     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6040   else
   6041     ac_cpp_err=
   6042   fi
   6043 else
   6044   ac_cpp_err=yes
   6045 fi
   6046 if test -z "$ac_cpp_err"; then
   6047   :
   6048 else
   6049   echo "$as_me: failed program was:" >&5
   6050 sed 's/^/| /' conftest.$ac_ext >&5
   6051 
   6052   # Broken: fails on valid input.
   6053 continue
   6054 fi
   6055 
   6056 rm -f conftest.err conftest.$ac_ext
   6057 
   6058   # OK, works on sane cases.  Now check whether nonexistent headers
   6059   # can be detected and how.
   6060   cat >conftest.$ac_ext <<_ACEOF
   6061 /* confdefs.h.  */
   6062 _ACEOF
   6063 cat confdefs.h >>conftest.$ac_ext
   6064 cat >>conftest.$ac_ext <<_ACEOF
   6065 /* end confdefs.h.  */
   6066 #include <ac_nonexistent.h>
   6067 _ACEOF
   6068 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6069 case "(($ac_try" in
   6070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6071   *) ac_try_echo=$ac_try;;
   6072 esac
   6073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6074   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6075   ac_status=$?
   6076   grep -v '^ *+' conftest.er1 >conftest.err
   6077   rm -f conftest.er1
   6078   cat conftest.err >&5
   6079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6080   (exit $ac_status); } >/dev/null; then
   6081   if test -s conftest.err; then
   6082     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6083     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6084   else
   6085     ac_cpp_err=
   6086   fi
   6087 else
   6088   ac_cpp_err=yes
   6089 fi
   6090 if test -z "$ac_cpp_err"; then
   6091   # Broken: success on invalid input.
   6092 continue
   6093 else
   6094   echo "$as_me: failed program was:" >&5
   6095 sed 's/^/| /' conftest.$ac_ext >&5
   6096 
   6097   # Passes both tests.
   6098 ac_preproc_ok=:
   6099 break
   6100 fi
   6101 
   6102 rm -f conftest.err conftest.$ac_ext
   6103 
   6104 done
   6105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6106 rm -f conftest.err conftest.$ac_ext
   6107 if $ac_preproc_ok; then
   6108   :
   6109 else
   6110   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6111 See \`config.log' for more details." >&5
   6112 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6113 See \`config.log' for more details." >&2;}
   6114    { (exit 1); exit 1; }; }
   6115 fi
   6116 
   6117 ac_ext=cpp
   6118 ac_cpp='$CXXCPP $CPPFLAGS'
   6119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6122 
   6123 fi
   6124 
   6125 
   6126 ac_ext=f
   6127 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6128 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6129 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6130 if test -n "$ac_tool_prefix"; then
   6131   for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
   6132   do
   6133     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6137 if test "${ac_cv_prog_F77+set}" = set; then
   6138   echo $ECHO_N "(cached) $ECHO_C" >&6
   6139 else
   6140   if test -n "$F77"; then
   6141   ac_cv_prog_F77="$F77" # Let the user override the test.
   6142 else
   6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6144 for as_dir in $PATH
   6145 do
   6146   IFS=$as_save_IFS
   6147   test -z "$as_dir" && as_dir=.
   6148   for ac_exec_ext in '' $ac_executable_extensions; do
   6149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6150     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6151     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6152     break 2
   6153   fi
   6154 done
   6155 done
   6156 IFS=$as_save_IFS
   6157 
   6158 fi
   6159 fi
   6160 F77=$ac_cv_prog_F77
   6161 if test -n "$F77"; then
   6162   { echo "$as_me:$LINENO: result: $F77" >&5
   6163 echo "${ECHO_T}$F77" >&6; }
   6164 else
   6165   { echo "$as_me:$LINENO: result: no" >&5
   6166 echo "${ECHO_T}no" >&6; }
   6167 fi
   6168 
   6169 
   6170     test -n "$F77" && break
   6171   done
   6172 fi
   6173 if test -z "$F77"; then
   6174   ac_ct_F77=$F77
   6175   for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
   6176 do
   6177   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6178 set dummy $ac_prog; ac_word=$2
   6179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6181 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6182   echo $ECHO_N "(cached) $ECHO_C" >&6
   6183 else
   6184   if test -n "$ac_ct_F77"; then
   6185   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6186 else
   6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6188 for as_dir in $PATH
   6189 do
   6190   IFS=$as_save_IFS
   6191   test -z "$as_dir" && as_dir=.
   6192   for ac_exec_ext in '' $ac_executable_extensions; do
   6193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6194     ac_cv_prog_ac_ct_F77="$ac_prog"
   6195     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6196     break 2
   6197   fi
   6198 done
   6199 done
   6200 IFS=$as_save_IFS
   6201 
   6202 fi
   6203 fi
   6204 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6205 if test -n "$ac_ct_F77"; then
   6206   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6207 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6208 else
   6209   { echo "$as_me:$LINENO: result: no" >&5
   6210 echo "${ECHO_T}no" >&6; }
   6211 fi
   6212 
   6213 
   6214   test -n "$ac_ct_F77" && break
   6215 done
   6216 
   6217   if test "x$ac_ct_F77" = x; then
   6218     F77=""
   6219   else
   6220     case $cross_compiling:$ac_tool_warned in
   6221 yes:)
   6222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6223 whose name does not start with the host triplet.  If you think this
   6224 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6226 whose name does not start with the host triplet.  If you think this
   6227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6228 ac_tool_warned=yes ;;
   6229 esac
   6230     F77=$ac_ct_F77
   6231   fi
   6232 fi
   6233 
   6234 
   6235 # Provide some information about the compiler.
   6236 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6237 ac_compiler=`set X $ac_compile; echo $2`
   6238 { (ac_try="$ac_compiler --version >&5"
   6239 case "(($ac_try" in
   6240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6241   *) ac_try_echo=$ac_try;;
   6242 esac
   6243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6244   (eval "$ac_compiler --version >&5") 2>&5
   6245   ac_status=$?
   6246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6247   (exit $ac_status); }
   6248 { (ac_try="$ac_compiler -v >&5"
   6249 case "(($ac_try" in
   6250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6251   *) ac_try_echo=$ac_try;;
   6252 esac
   6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6254   (eval "$ac_compiler -v >&5") 2>&5
   6255   ac_status=$?
   6256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6257   (exit $ac_status); }
   6258 { (ac_try="$ac_compiler -V >&5"
   6259 case "(($ac_try" in
   6260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6261   *) ac_try_echo=$ac_try;;
   6262 esac
   6263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6264   (eval "$ac_compiler -V >&5") 2>&5
   6265   ac_status=$?
   6266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6267   (exit $ac_status); }
   6268 rm -f a.out
   6269 
   6270 # If we don't use `.F' as extension, the preprocessor is not run on the
   6271 # input file.  (Note that this only needs to work for GNU compilers.)
   6272 ac_save_ext=$ac_ext
   6273 ac_ext=F
   6274 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6275 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6276 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6277   echo $ECHO_N "(cached) $ECHO_C" >&6
   6278 else
   6279   cat >conftest.$ac_ext <<_ACEOF
   6280       program main
   6281 #ifndef __GNUC__
   6282        choke me
   6283 #endif
   6284 
   6285       end
   6286 _ACEOF
   6287 rm -f conftest.$ac_objext
   6288 if { (ac_try="$ac_compile"
   6289 case "(($ac_try" in
   6290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6291   *) ac_try_echo=$ac_try;;
   6292 esac
   6293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6294   (eval "$ac_compile") 2>conftest.er1
   6295   ac_status=$?
   6296   grep -v '^ *+' conftest.er1 >conftest.err
   6297   rm -f conftest.er1
   6298   cat conftest.err >&5
   6299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6300   (exit $ac_status); } &&
   6301 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   6302   { (case "(($ac_try" in
   6303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6304   *) ac_try_echo=$ac_try;;
   6305 esac
   6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6307   (eval "$ac_try") 2>&5
   6308   ac_status=$?
   6309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6310   (exit $ac_status); }; } &&
   6311 	 { ac_try='test -s conftest.$ac_objext'
   6312   { (case "(($ac_try" in
   6313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6314   *) ac_try_echo=$ac_try;;
   6315 esac
   6316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6317   (eval "$ac_try") 2>&5
   6318   ac_status=$?
   6319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6320   (exit $ac_status); }; }; then
   6321   ac_compiler_gnu=yes
   6322 else
   6323   echo "$as_me: failed program was:" >&5
   6324 sed 's/^/| /' conftest.$ac_ext >&5
   6325 
   6326 	ac_compiler_gnu=no
   6327 fi
   6328 
   6329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6330 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6331 
   6332 fi
   6333 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6334 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6335 ac_ext=$ac_save_ext
   6336 ac_test_FFLAGS=${FFLAGS+set}
   6337 ac_save_FFLAGS=$FFLAGS
   6338 FFLAGS=
   6339 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6340 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6341 if test "${ac_cv_prog_f77_g+set}" = set; then
   6342   echo $ECHO_N "(cached) $ECHO_C" >&6
   6343 else
   6344   FFLAGS=-g
   6345 cat >conftest.$ac_ext <<_ACEOF
   6346       program main
   6347 
   6348       end
   6349 _ACEOF
   6350 rm -f conftest.$ac_objext
   6351 if { (ac_try="$ac_compile"
   6352 case "(($ac_try" in
   6353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6354   *) ac_try_echo=$ac_try;;
   6355 esac
   6356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6357   (eval "$ac_compile") 2>conftest.er1
   6358   ac_status=$?
   6359   grep -v '^ *+' conftest.er1 >conftest.err
   6360   rm -f conftest.er1
   6361   cat conftest.err >&5
   6362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6363   (exit $ac_status); } &&
   6364 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   6365   { (case "(($ac_try" in
   6366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6367   *) ac_try_echo=$ac_try;;
   6368 esac
   6369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6370   (eval "$ac_try") 2>&5
   6371   ac_status=$?
   6372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6373   (exit $ac_status); }; } &&
   6374 	 { ac_try='test -s conftest.$ac_objext'
   6375   { (case "(($ac_try" in
   6376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6377   *) ac_try_echo=$ac_try;;
   6378 esac
   6379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6380   (eval "$ac_try") 2>&5
   6381   ac_status=$?
   6382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6383   (exit $ac_status); }; }; then
   6384   ac_cv_prog_f77_g=yes
   6385 else
   6386   echo "$as_me: failed program was:" >&5
   6387 sed 's/^/| /' conftest.$ac_ext >&5
   6388 
   6389 	ac_cv_prog_f77_g=no
   6390 fi
   6391 
   6392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6393 
   6394 fi
   6395 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6396 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6397 if test "$ac_test_FFLAGS" = set; then
   6398   FFLAGS=$ac_save_FFLAGS
   6399 elif test $ac_cv_prog_f77_g = yes; then
   6400   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6401     FFLAGS="-g -O2"
   6402   else
   6403     FFLAGS="-g"
   6404   fi
   6405 else
   6406   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6407     FFLAGS="-O2"
   6408   else
   6409     FFLAGS=
   6410   fi
   6411 fi
   6412 
   6413 G77=`test $ac_compiler_gnu = yes && echo yes`
   6414 ac_ext=c
   6415 ac_cpp='$CPP $CPPFLAGS'
   6416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6419 
   6420 
   6421 
   6422 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6423 
   6424 # find the maximum length of command line arguments
   6425 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6426 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6427 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6428   echo $ECHO_N "(cached) $ECHO_C" >&6
   6429 else
   6430     i=0
   6431   teststring="ABCD"
   6432 
   6433   case $build_os in
   6434   msdosdjgpp*)
   6435     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6436     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6437     # during glob expansion).  Even if it were fixed, the result of this
   6438     # check would be larger than it should be.
   6439     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6440     ;;
   6441 
   6442   gnu*)
   6443     # Under GNU Hurd, this test is not required because there is
   6444     # no limit to the length of command line arguments.
   6445     # Libtool will interpret -1 as no limit whatsoever
   6446     lt_cv_sys_max_cmd_len=-1;
   6447     ;;
   6448 
   6449   cygwin* | mingw*)
   6450     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6451     # about 5 minutes as the teststring grows exponentially.
   6452     # Worse, since 9x/ME are not pre-emptively multitasking,
   6453     # you end up with a "frozen" computer, even though with patience
   6454     # the test eventually succeeds (with a max line length of 256k).
   6455     # Instead, let's just punt: use the minimum linelength reported by
   6456     # all of the supported platforms: 8192 (on NT/2K/XP).
   6457     lt_cv_sys_max_cmd_len=8192;
   6458     ;;
   6459 
   6460   amigaos*)
   6461     # On AmigaOS with pdksh, this test takes hours, literally.
   6462     # So we just punt and use a minimum line length of 8192.
   6463     lt_cv_sys_max_cmd_len=8192;
   6464     ;;
   6465 
   6466   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6467     # This has been around since 386BSD, at least.  Likely further.
   6468     if test -x /sbin/sysctl; then
   6469       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6470     elif test -x /usr/sbin/sysctl; then
   6471       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6472     else
   6473       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6474     fi
   6475     # And add a safety zone
   6476     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6477     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6478     ;;
   6479 
   6480   interix*)
   6481     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6482     lt_cv_sys_max_cmd_len=196608
   6483     ;;
   6484 
   6485   osf*)
   6486     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6487     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6488     # nice to cause kernel panics so lets avoid the loop below.
   6489     # First set a reasonable default.
   6490     lt_cv_sys_max_cmd_len=16384
   6491     #
   6492     if test -x /sbin/sysconfig; then
   6493       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6494         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6495       esac
   6496     fi
   6497     ;;
   6498   sco3.2v5*)
   6499     lt_cv_sys_max_cmd_len=102400
   6500     ;;
   6501   sysv5* | sco5v6* | sysv4.2uw2*)
   6502     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6503     if test -n "$kargmax"; then
   6504       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6505     else
   6506       lt_cv_sys_max_cmd_len=32768
   6507     fi
   6508     ;;
   6509   *)
   6510     # If test is not a shell built-in, we'll probably end up computing a
   6511     # maximum length that is only half of the actual maximum length, but
   6512     # we can't tell.
   6513     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6514     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6515 	       = "XX$teststring") >/dev/null 2>&1 &&
   6516 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6517 	    lt_cv_sys_max_cmd_len=$new_result &&
   6518 	    test $i != 17 # 1/2 MB should be enough
   6519     do
   6520       i=`expr $i + 1`
   6521       teststring=$teststring$teststring
   6522     done
   6523     teststring=
   6524     # Add a significant safety factor because C++ compilers can tack on massive
   6525     # amounts of additional arguments before passing them to the linker.
   6526     # It appears as though 1/2 is a usable value.
   6527     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6528     ;;
   6529   esac
   6530 
   6531 fi
   6532 
   6533 if test -n $lt_cv_sys_max_cmd_len ; then
   6534   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6535 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6536 else
   6537   { echo "$as_me:$LINENO: result: none" >&5
   6538 echo "${ECHO_T}none" >&6; }
   6539 fi
   6540 
   6541 
   6542 
   6543 
   6544 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6545 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6546 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6547 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6548   echo $ECHO_N "(cached) $ECHO_C" >&6
   6549 else
   6550 
   6551 # These are sane defaults that work on at least a few old systems.
   6552 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6553 
   6554 # Character class describing NM global symbol codes.
   6555 symcode='[BCDEGRST]'
   6556 
   6557 # Regexp to match symbols that can be accessed directly from C.
   6558 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6559 
   6560 # Transform an extracted symbol line into a proper C declaration
   6561 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6562 
   6563 # Transform an extracted symbol line into symbol name and symbol address
   6564 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'"
   6565 
   6566 # Define system-specific variables.
   6567 case $host_os in
   6568 aix*)
   6569   symcode='[BCDT]'
   6570   ;;
   6571 cygwin* | mingw* | pw32*)
   6572   symcode='[ABCDGISTW]'
   6573   ;;
   6574 hpux*) # Its linker distinguishes data from code symbols
   6575   if test "$host_cpu" = ia64; then
   6576     symcode='[ABCDEGRST]'
   6577   fi
   6578   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6579   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'"
   6580   ;;
   6581 linux*)
   6582   if test "$host_cpu" = ia64; then
   6583     symcode='[ABCDGIRSTW]'
   6584     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6585     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'"
   6586   fi
   6587   ;;
   6588 irix* | nonstopux*)
   6589   symcode='[BCDEGRST]'
   6590   ;;
   6591 osf*)
   6592   symcode='[BCDEGQRST]'
   6593   ;;
   6594 solaris*)
   6595   symcode='[BDRT]'
   6596   ;;
   6597 sco3.2v5*)
   6598   symcode='[DT]'
   6599   ;;
   6600 sysv4.2uw2*)
   6601   symcode='[DT]'
   6602   ;;
   6603 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6604   symcode='[ABDT]'
   6605   ;;
   6606 sysv4)
   6607   symcode='[DFNSTU]'
   6608   ;;
   6609 esac
   6610 
   6611 # Handle CRLF in mingw tool chain
   6612 opt_cr=
   6613 case $build_os in
   6614 mingw*)
   6615   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6616   ;;
   6617 esac
   6618 
   6619 # If we're using GNU nm, then use its standard symbol codes.
   6620 case `$NM -V 2>&1` in
   6621 *GNU* | *'with BFD'*)
   6622   symcode='[ABCDGIRSTW]' ;;
   6623 esac
   6624 
   6625 # Try without a prefix undercore, then with it.
   6626 for ac_symprfx in "" "_"; do
   6627 
   6628   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6629   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6630 
   6631   # Write the raw and C identifiers.
   6632   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6633 
   6634   # Check to see that the pipe works correctly.
   6635   pipe_works=no
   6636 
   6637   rm -f conftest*
   6638   cat > conftest.$ac_ext <<EOF
   6639 #ifdef __cplusplus
   6640 extern "C" {
   6641 #endif
   6642 char nm_test_var;
   6643 void nm_test_func(){}
   6644 #ifdef __cplusplus
   6645 }
   6646 #endif
   6647 int main(){nm_test_var='a';nm_test_func();return(0);}
   6648 EOF
   6649 
   6650   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6651   (eval $ac_compile) 2>&5
   6652   ac_status=$?
   6653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6654   (exit $ac_status); }; then
   6655     # Now try to grab the symbols.
   6656     nlist=conftest.nm
   6657     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6658   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6659   ac_status=$?
   6660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6661   (exit $ac_status); } && test -s "$nlist"; then
   6662       # Try sorting and uniquifying the output.
   6663       if sort "$nlist" | uniq > "$nlist"T; then
   6664 	mv -f "$nlist"T "$nlist"
   6665       else
   6666 	rm -f "$nlist"T
   6667       fi
   6668 
   6669       # Make sure that we snagged all the symbols we need.
   6670       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6671 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6672 	  cat <<EOF > conftest.$ac_ext
   6673 #ifdef __cplusplus
   6674 extern "C" {
   6675 #endif
   6676 
   6677 EOF
   6678 	  # Now generate the symbol file.
   6679 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6680 
   6681 	  cat <<EOF >> conftest.$ac_ext
   6682 #if defined (__STDC__) && __STDC__
   6683 # define lt_ptr_t void *
   6684 #else
   6685 # define lt_ptr_t char *
   6686 # define const
   6687 #endif
   6688 
   6689 /* The mapping between symbol names and symbols. */
   6690 const struct {
   6691   const char *name;
   6692   lt_ptr_t address;
   6693 }
   6694 lt_preloaded_symbols[] =
   6695 {
   6696 EOF
   6697 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6698 	  cat <<\EOF >> conftest.$ac_ext
   6699   {0, (lt_ptr_t) 0}
   6700 };
   6701 
   6702 #ifdef __cplusplus
   6703 }
   6704 #endif
   6705 EOF
   6706 	  # Now try linking the two files.
   6707 	  mv conftest.$ac_objext conftstm.$ac_objext
   6708 	  lt_save_LIBS="$LIBS"
   6709 	  lt_save_CFLAGS="$CFLAGS"
   6710 	  LIBS="conftstm.$ac_objext"
   6711 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6712 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6713   (eval $ac_link) 2>&5
   6714   ac_status=$?
   6715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6716   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6717 	    pipe_works=yes
   6718 	  fi
   6719 	  LIBS="$lt_save_LIBS"
   6720 	  CFLAGS="$lt_save_CFLAGS"
   6721 	else
   6722 	  echo "cannot find nm_test_func in $nlist" >&5
   6723 	fi
   6724       else
   6725 	echo "cannot find nm_test_var in $nlist" >&5
   6726       fi
   6727     else
   6728       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6729     fi
   6730   else
   6731     echo "$progname: failed program was:" >&5
   6732     cat conftest.$ac_ext >&5
   6733   fi
   6734   rm -f conftest* conftst*
   6735 
   6736   # Do not use the global_symbol_pipe unless it works.
   6737   if test "$pipe_works" = yes; then
   6738     break
   6739   else
   6740     lt_cv_sys_global_symbol_pipe=
   6741   fi
   6742 done
   6743 
   6744 fi
   6745 
   6746 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6747   lt_cv_sys_global_symbol_to_cdecl=
   6748 fi
   6749 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6750   { echo "$as_me:$LINENO: result: failed" >&5
   6751 echo "${ECHO_T}failed" >&6; }
   6752 else
   6753   { echo "$as_me:$LINENO: result: ok" >&5
   6754 echo "${ECHO_T}ok" >&6; }
   6755 fi
   6756 
   6757 { echo "$as_me:$LINENO: checking for objdir" >&5
   6758 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6759 if test "${lt_cv_objdir+set}" = set; then
   6760   echo $ECHO_N "(cached) $ECHO_C" >&6
   6761 else
   6762   rm -f .libs 2>/dev/null
   6763 mkdir .libs 2>/dev/null
   6764 if test -d .libs; then
   6765   lt_cv_objdir=.libs
   6766 else
   6767   # MS-DOS does not allow filenames that begin with a dot.
   6768   lt_cv_objdir=_libs
   6769 fi
   6770 rmdir .libs 2>/dev/null
   6771 fi
   6772 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6773 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6774 objdir=$lt_cv_objdir
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 case $host_os in
   6781 aix3*)
   6782   # AIX sometimes has problems with the GCC collect2 program.  For some
   6783   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6784   # vanish in a puff of smoke.
   6785   if test "X${COLLECT_NAMES+set}" != Xset; then
   6786     COLLECT_NAMES=
   6787     export COLLECT_NAMES
   6788   fi
   6789   ;;
   6790 esac
   6791 
   6792 # Sed substitution that helps us do robust quoting.  It backslashifies
   6793 # metacharacters that are still active within double-quoted strings.
   6794 Xsed='sed -e 1s/^X//'
   6795 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6796 
   6797 # Same as above, but do not quote variable references.
   6798 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6799 
   6800 # Sed substitution to delay expansion of an escaped shell variable in a
   6801 # double_quote_subst'ed string.
   6802 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6803 
   6804 # Sed substitution to avoid accidental globbing in evaled expressions
   6805 no_glob_subst='s/\*/\\\*/g'
   6806 
   6807 # Constants:
   6808 rm="rm -f"
   6809 
   6810 # Global variables:
   6811 default_ofile=libtool
   6812 can_build_shared=yes
   6813 
   6814 # All known linkers require a `.a' archive for static linking (except MSVC,
   6815 # which needs '.lib').
   6816 libext=a
   6817 ltmain="$ac_aux_dir/ltmain.sh"
   6818 ofile="$default_ofile"
   6819 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6820 
   6821 if test -n "$ac_tool_prefix"; then
   6822   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6823 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6826 if test "${ac_cv_prog_AR+set}" = set; then
   6827   echo $ECHO_N "(cached) $ECHO_C" >&6
   6828 else
   6829   if test -n "$AR"; then
   6830   ac_cv_prog_AR="$AR" # Let the user override the test.
   6831 else
   6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6833 for as_dir in $PATH
   6834 do
   6835   IFS=$as_save_IFS
   6836   test -z "$as_dir" && as_dir=.
   6837   for ac_exec_ext in '' $ac_executable_extensions; do
   6838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6839     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6840     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6841     break 2
   6842   fi
   6843 done
   6844 done
   6845 IFS=$as_save_IFS
   6846 
   6847 fi
   6848 fi
   6849 AR=$ac_cv_prog_AR
   6850 if test -n "$AR"; then
   6851   { echo "$as_me:$LINENO: result: $AR" >&5
   6852 echo "${ECHO_T}$AR" >&6; }
   6853 else
   6854   { echo "$as_me:$LINENO: result: no" >&5
   6855 echo "${ECHO_T}no" >&6; }
   6856 fi
   6857 
   6858 
   6859 fi
   6860 if test -z "$ac_cv_prog_AR"; then
   6861   ac_ct_AR=$AR
   6862   # Extract the first word of "ar", so it can be a program name with args.
   6863 set dummy ar; ac_word=$2
   6864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6866 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6867   echo $ECHO_N "(cached) $ECHO_C" >&6
   6868 else
   6869   if test -n "$ac_ct_AR"; then
   6870   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6871 else
   6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6873 for as_dir in $PATH
   6874 do
   6875   IFS=$as_save_IFS
   6876   test -z "$as_dir" && as_dir=.
   6877   for ac_exec_ext in '' $ac_executable_extensions; do
   6878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6879     ac_cv_prog_ac_ct_AR="ar"
   6880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6881     break 2
   6882   fi
   6883 done
   6884 done
   6885 IFS=$as_save_IFS
   6886 
   6887 fi
   6888 fi
   6889 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6890 if test -n "$ac_ct_AR"; then
   6891   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6892 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6893 else
   6894   { echo "$as_me:$LINENO: result: no" >&5
   6895 echo "${ECHO_T}no" >&6; }
   6896 fi
   6897 
   6898   if test "x$ac_ct_AR" = x; then
   6899     AR="false"
   6900   else
   6901     case $cross_compiling:$ac_tool_warned in
   6902 yes:)
   6903 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6904 whose name does not start with the host triplet.  If you think this
   6905 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6906 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6907 whose name does not start with the host triplet.  If you think this
   6908 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6909 ac_tool_warned=yes ;;
   6910 esac
   6911     AR=$ac_ct_AR
   6912   fi
   6913 else
   6914   AR="$ac_cv_prog_AR"
   6915 fi
   6916 
   6917 if test -n "$ac_tool_prefix"; then
   6918   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6919 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6922 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6923   echo $ECHO_N "(cached) $ECHO_C" >&6
   6924 else
   6925   if test -n "$RANLIB"; then
   6926   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6927 else
   6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6929 for as_dir in $PATH
   6930 do
   6931   IFS=$as_save_IFS
   6932   test -z "$as_dir" && as_dir=.
   6933   for ac_exec_ext in '' $ac_executable_extensions; do
   6934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6935     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6936     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6937     break 2
   6938   fi
   6939 done
   6940 done
   6941 IFS=$as_save_IFS
   6942 
   6943 fi
   6944 fi
   6945 RANLIB=$ac_cv_prog_RANLIB
   6946 if test -n "$RANLIB"; then
   6947   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6948 echo "${ECHO_T}$RANLIB" >&6; }
   6949 else
   6950   { echo "$as_me:$LINENO: result: no" >&5
   6951 echo "${ECHO_T}no" >&6; }
   6952 fi
   6953 
   6954 
   6955 fi
   6956 if test -z "$ac_cv_prog_RANLIB"; then
   6957   ac_ct_RANLIB=$RANLIB
   6958   # Extract the first word of "ranlib", so it can be a program name with args.
   6959 set dummy ranlib; ac_word=$2
   6960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6962 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6963   echo $ECHO_N "(cached) $ECHO_C" >&6
   6964 else
   6965   if test -n "$ac_ct_RANLIB"; then
   6966   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6967 else
   6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6969 for as_dir in $PATH
   6970 do
   6971   IFS=$as_save_IFS
   6972   test -z "$as_dir" && as_dir=.
   6973   for ac_exec_ext in '' $ac_executable_extensions; do
   6974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6975     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6976     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6977     break 2
   6978   fi
   6979 done
   6980 done
   6981 IFS=$as_save_IFS
   6982 
   6983 fi
   6984 fi
   6985 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6986 if test -n "$ac_ct_RANLIB"; then
   6987   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6988 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6989 else
   6990   { echo "$as_me:$LINENO: result: no" >&5
   6991 echo "${ECHO_T}no" >&6; }
   6992 fi
   6993 
   6994   if test "x$ac_ct_RANLIB" = x; then
   6995     RANLIB=":"
   6996   else
   6997     case $cross_compiling:$ac_tool_warned in
   6998 yes:)
   6999 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7000 whose name does not start with the host triplet.  If you think this
   7001 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7002 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7003 whose name does not start with the host triplet.  If you think this
   7004 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7005 ac_tool_warned=yes ;;
   7006 esac
   7007     RANLIB=$ac_ct_RANLIB
   7008   fi
   7009 else
   7010   RANLIB="$ac_cv_prog_RANLIB"
   7011 fi
   7012 
   7013 if test -n "$ac_tool_prefix"; then
   7014   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7015 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7018 if test "${ac_cv_prog_STRIP+set}" = set; then
   7019   echo $ECHO_N "(cached) $ECHO_C" >&6
   7020 else
   7021   if test -n "$STRIP"; then
   7022   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7023 else
   7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7025 for as_dir in $PATH
   7026 do
   7027   IFS=$as_save_IFS
   7028   test -z "$as_dir" && as_dir=.
   7029   for ac_exec_ext in '' $ac_executable_extensions; do
   7030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7031     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7032     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7033     break 2
   7034   fi
   7035 done
   7036 done
   7037 IFS=$as_save_IFS
   7038 
   7039 fi
   7040 fi
   7041 STRIP=$ac_cv_prog_STRIP
   7042 if test -n "$STRIP"; then
   7043   { echo "$as_me:$LINENO: result: $STRIP" >&5
   7044 echo "${ECHO_T}$STRIP" >&6; }
   7045 else
   7046   { echo "$as_me:$LINENO: result: no" >&5
   7047 echo "${ECHO_T}no" >&6; }
   7048 fi
   7049 
   7050 
   7051 fi
   7052 if test -z "$ac_cv_prog_STRIP"; then
   7053   ac_ct_STRIP=$STRIP
   7054   # Extract the first word of "strip", so it can be a program name with args.
   7055 set dummy strip; ac_word=$2
   7056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7058 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7059   echo $ECHO_N "(cached) $ECHO_C" >&6
   7060 else
   7061   if test -n "$ac_ct_STRIP"; then
   7062   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7063 else
   7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7065 for as_dir in $PATH
   7066 do
   7067   IFS=$as_save_IFS
   7068   test -z "$as_dir" && as_dir=.
   7069   for ac_exec_ext in '' $ac_executable_extensions; do
   7070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7071     ac_cv_prog_ac_ct_STRIP="strip"
   7072     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7073     break 2
   7074   fi
   7075 done
   7076 done
   7077 IFS=$as_save_IFS
   7078 
   7079 fi
   7080 fi
   7081 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7082 if test -n "$ac_ct_STRIP"; then
   7083   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7084 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   7085 else
   7086   { echo "$as_me:$LINENO: result: no" >&5
   7087 echo "${ECHO_T}no" >&6; }
   7088 fi
   7089 
   7090   if test "x$ac_ct_STRIP" = x; then
   7091     STRIP=":"
   7092   else
   7093     case $cross_compiling:$ac_tool_warned in
   7094 yes:)
   7095 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7096 whose name does not start with the host triplet.  If you think this
   7097 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7098 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7099 whose name does not start with the host triplet.  If you think this
   7100 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7101 ac_tool_warned=yes ;;
   7102 esac
   7103     STRIP=$ac_ct_STRIP
   7104   fi
   7105 else
   7106   STRIP="$ac_cv_prog_STRIP"
   7107 fi
   7108 
   7109 
   7110 old_CC="$CC"
   7111 old_CFLAGS="$CFLAGS"
   7112 
   7113 # Set sane defaults for various variables
   7114 test -z "$AR" && AR=ar
   7115 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7116 test -z "$AS" && AS=as
   7117 test -z "$CC" && CC=cc
   7118 test -z "$LTCC" && LTCC=$CC
   7119 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7120 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7121 test -z "$LD" && LD=ld
   7122 test -z "$LN_S" && LN_S="ln -s"
   7123 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7124 test -z "$NM" && NM=nm
   7125 test -z "$SED" && SED=sed
   7126 test -z "$OBJDUMP" && OBJDUMP=objdump
   7127 test -z "$RANLIB" && RANLIB=:
   7128 test -z "$STRIP" && STRIP=:
   7129 test -z "$ac_objext" && ac_objext=o
   7130 
   7131 # Determine commands to create old-style static archives.
   7132 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   7133 old_postinstall_cmds='chmod 644 $oldlib'
   7134 old_postuninstall_cmds=
   7135 
   7136 if test -n "$RANLIB"; then
   7137   case $host_os in
   7138   openbsd*)
   7139     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7140     ;;
   7141   *)
   7142     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7143     ;;
   7144   esac
   7145   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7146 fi
   7147 
   7148 for cc_temp in $compiler""; do
   7149   case $cc_temp in
   7150     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7151     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7152     \-*) ;;
   7153     *) break;;
   7154   esac
   7155 done
   7156 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7157 
   7158 
   7159 # Only perform the check for file, if the check method requires it
   7160 case $deplibs_check_method in
   7161 file_magic*)
   7162   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7163     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7164 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   7165 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7166   echo $ECHO_N "(cached) $ECHO_C" >&6
   7167 else
   7168   case $MAGIC_CMD in
   7169 [\\/*] |  ?:[\\/]*)
   7170   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7171   ;;
   7172 *)
   7173   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7174   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7175   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7176   for ac_dir in $ac_dummy; do
   7177     IFS="$lt_save_ifs"
   7178     test -z "$ac_dir" && ac_dir=.
   7179     if test -f $ac_dir/${ac_tool_prefix}file; then
   7180       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7181       if test -n "$file_magic_test_file"; then
   7182 	case $deplibs_check_method in
   7183 	"file_magic "*)
   7184 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7185 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7186 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7187 	    $EGREP "$file_magic_regex" > /dev/null; then
   7188 	    :
   7189 	  else
   7190 	    cat <<EOF 1>&2
   7191 
   7192 *** Warning: the command libtool uses to detect shared libraries,
   7193 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7194 *** The result is that libtool may fail to recognize shared libraries
   7195 *** as such.  This will affect the creation of libtool libraries that
   7196 *** depend on shared libraries, but programs linked with such libtool
   7197 *** libraries will work regardless of this problem.  Nevertheless, you
   7198 *** may want to report the problem to your system manager and/or to
   7199 *** bug-libtool@gnu.org
   7200 
   7201 EOF
   7202 	  fi ;;
   7203 	esac
   7204       fi
   7205       break
   7206     fi
   7207   done
   7208   IFS="$lt_save_ifs"
   7209   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7210   ;;
   7211 esac
   7212 fi
   7213 
   7214 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7215 if test -n "$MAGIC_CMD"; then
   7216   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7217 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7218 else
   7219   { echo "$as_me:$LINENO: result: no" >&5
   7220 echo "${ECHO_T}no" >&6; }
   7221 fi
   7222 
   7223 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7224   if test -n "$ac_tool_prefix"; then
   7225     { echo "$as_me:$LINENO: checking for file" >&5
   7226 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7227 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7228   echo $ECHO_N "(cached) $ECHO_C" >&6
   7229 else
   7230   case $MAGIC_CMD in
   7231 [\\/*] |  ?:[\\/]*)
   7232   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7233   ;;
   7234 *)
   7235   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7236   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7237   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7238   for ac_dir in $ac_dummy; do
   7239     IFS="$lt_save_ifs"
   7240     test -z "$ac_dir" && ac_dir=.
   7241     if test -f $ac_dir/file; then
   7242       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7243       if test -n "$file_magic_test_file"; then
   7244 	case $deplibs_check_method in
   7245 	"file_magic "*)
   7246 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7247 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7248 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7249 	    $EGREP "$file_magic_regex" > /dev/null; then
   7250 	    :
   7251 	  else
   7252 	    cat <<EOF 1>&2
   7253 
   7254 *** Warning: the command libtool uses to detect shared libraries,
   7255 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7256 *** The result is that libtool may fail to recognize shared libraries
   7257 *** as such.  This will affect the creation of libtool libraries that
   7258 *** depend on shared libraries, but programs linked with such libtool
   7259 *** libraries will work regardless of this problem.  Nevertheless, you
   7260 *** may want to report the problem to your system manager and/or to
   7261 *** bug-libtool@gnu.org
   7262 
   7263 EOF
   7264 	  fi ;;
   7265 	esac
   7266       fi
   7267       break
   7268     fi
   7269   done
   7270   IFS="$lt_save_ifs"
   7271   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7272   ;;
   7273 esac
   7274 fi
   7275 
   7276 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7277 if test -n "$MAGIC_CMD"; then
   7278   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7279 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7280 else
   7281   { echo "$as_me:$LINENO: result: no" >&5
   7282 echo "${ECHO_T}no" >&6; }
   7283 fi
   7284 
   7285   else
   7286     MAGIC_CMD=:
   7287   fi
   7288 fi
   7289 
   7290   fi
   7291   ;;
   7292 esac
   7293 
   7294 enable_dlopen=no
   7295 enable_win32_dll=no
   7296 
   7297 # Check whether --enable-libtool-lock was given.
   7298 if test "${enable_libtool_lock+set}" = set; then
   7299   enableval=$enable_libtool_lock;
   7300 fi
   7301 
   7302 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7303 
   7304 
   7305 # Check whether --with-pic was given.
   7306 if test "${with_pic+set}" = set; then
   7307   withval=$with_pic; pic_mode="$withval"
   7308 else
   7309   pic_mode=default
   7310 fi
   7311 
   7312 test -z "$pic_mode" && pic_mode=default
   7313 
   7314 # Use C for the default configuration in the libtool script
   7315 tagname=
   7316 lt_save_CC="$CC"
   7317 ac_ext=c
   7318 ac_cpp='$CPP $CPPFLAGS'
   7319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7322 
   7323 
   7324 # Source file extension for C test sources.
   7325 ac_ext=c
   7326 
   7327 # Object file extension for compiled C test sources.
   7328 objext=o
   7329 objext=$objext
   7330 
   7331 # Code to be used in simple compile tests
   7332 lt_simple_compile_test_code="int some_variable = 0;\n"
   7333 
   7334 # Code to be used in simple link tests
   7335 lt_simple_link_test_code='int main(){return(0);}\n'
   7336 
   7337 
   7338 # If no C compiler was specified, use CC.
   7339 LTCC=${LTCC-"$CC"}
   7340 
   7341 # If no C compiler flags were specified, use CFLAGS.
   7342 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7343 
   7344 # Allow CC to be a program name with arguments.
   7345 compiler=$CC
   7346 
   7347 
   7348 # save warnings/boilerplate of simple test code
   7349 ac_outfile=conftest.$ac_objext
   7350 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7351 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7352 _lt_compiler_boilerplate=`cat conftest.err`
   7353 $rm conftest*
   7354 
   7355 ac_outfile=conftest.$ac_objext
   7356 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7357 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7358 _lt_linker_boilerplate=`cat conftest.err`
   7359 $rm conftest*
   7360 
   7361 
   7362 
   7363 lt_prog_compiler_no_builtin_flag=
   7364 
   7365 if test "$GCC" = yes; then
   7366   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7367 
   7368 
   7369 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7370 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7371 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7372   echo $ECHO_N "(cached) $ECHO_C" >&6
   7373 else
   7374   lt_cv_prog_compiler_rtti_exceptions=no
   7375   ac_outfile=conftest.$ac_objext
   7376    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7377    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7378    # Insert the option either (1) after the last *FLAGS variable, or
   7379    # (2) before a word containing "conftest.", or (3) at the end.
   7380    # Note that $ac_compile itself does not contain backslashes and begins
   7381    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7382    # The option is referenced via a variable to avoid confusing sed.
   7383    lt_compile=`echo "$ac_compile" | $SED \
   7384    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7385    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7386    -e 's:$: $lt_compiler_flag:'`
   7387    (eval echo "\"\$as_me:7387: $lt_compile\"" >&5)
   7388    (eval "$lt_compile" 2>conftest.err)
   7389    ac_status=$?
   7390    cat conftest.err >&5
   7391    echo "$as_me:7391: \$? = $ac_status" >&5
   7392    if (exit $ac_status) && test -s "$ac_outfile"; then
   7393      # The compiler can only warn and ignore the option if not recognized
   7394      # So say no if there are warnings other than the usual output.
   7395      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7396      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7397      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7398        lt_cv_prog_compiler_rtti_exceptions=yes
   7399      fi
   7400    fi
   7401    $rm conftest*
   7402 
   7403 fi
   7404 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7405 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7406 
   7407 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7408     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7409 else
   7410     :
   7411 fi
   7412 
   7413 fi
   7414 
   7415 lt_prog_compiler_wl=
   7416 lt_prog_compiler_pic=
   7417 lt_prog_compiler_static=
   7418 
   7419 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7420 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7421 
   7422   if test "$GCC" = yes; then
   7423     lt_prog_compiler_wl='-Wl,'
   7424     lt_prog_compiler_static='-static'
   7425 
   7426     case $host_os in
   7427       aix*)
   7428       # All AIX code is PIC.
   7429       if test "$host_cpu" = ia64; then
   7430 	# AIX 5 now supports IA64 processor
   7431 	lt_prog_compiler_static='-Bstatic'
   7432       fi
   7433       ;;
   7434 
   7435     amigaos*)
   7436       # FIXME: we need at least 68020 code to build shared libraries, but
   7437       # adding the `-m68020' flag to GCC prevents building anything better,
   7438       # like `-m68040'.
   7439       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7440       ;;
   7441 
   7442     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7443       # PIC is the default for these OSes.
   7444       ;;
   7445 
   7446     mingw* | pw32* | os2*)
   7447       # This hack is so that the source file can tell whether it is being
   7448       # built for inclusion in a dll (and should export symbols for example).
   7449       lt_prog_compiler_pic='-DDLL_EXPORT'
   7450       ;;
   7451 
   7452     darwin* | rhapsody*)
   7453       # PIC is the default on this platform
   7454       # Common symbols not allowed in MH_DYLIB files
   7455       lt_prog_compiler_pic='-fno-common'
   7456       ;;
   7457 
   7458     interix3*)
   7459       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7460       # Instead, we relocate shared libraries at runtime.
   7461       ;;
   7462 
   7463     msdosdjgpp*)
   7464       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7465       # on systems that don't support them.
   7466       lt_prog_compiler_can_build_shared=no
   7467       enable_shared=no
   7468       ;;
   7469 
   7470     sysv4*MP*)
   7471       if test -d /usr/nec; then
   7472 	lt_prog_compiler_pic=-Kconform_pic
   7473       fi
   7474       ;;
   7475 
   7476     hpux*)
   7477       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7478       # not for PA HP-UX.
   7479       case $host_cpu in
   7480       hppa*64*|ia64*)
   7481 	# +Z the default
   7482 	;;
   7483       *)
   7484 	lt_prog_compiler_pic='-fPIC'
   7485 	;;
   7486       esac
   7487       ;;
   7488 
   7489     *)
   7490       lt_prog_compiler_pic='-fPIC'
   7491       ;;
   7492     esac
   7493   else
   7494     # PORTME Check for flag to pass linker flags through the system compiler.
   7495     case $host_os in
   7496     aix*)
   7497       lt_prog_compiler_wl='-Wl,'
   7498       if test "$host_cpu" = ia64; then
   7499 	# AIX 5 now supports IA64 processor
   7500 	lt_prog_compiler_static='-Bstatic'
   7501       else
   7502 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7503       fi
   7504       ;;
   7505       darwin*)
   7506         # PIC is the default on this platform
   7507         # Common symbols not allowed in MH_DYLIB files
   7508        case $cc_basename in
   7509          xlc*)
   7510          lt_prog_compiler_pic='-qnocommon'
   7511          lt_prog_compiler_wl='-Wl,'
   7512          ;;
   7513        esac
   7514        ;;
   7515 
   7516     mingw* | pw32* | os2*)
   7517       # This hack is so that the source file can tell whether it is being
   7518       # built for inclusion in a dll (and should export symbols for example).
   7519       lt_prog_compiler_pic='-DDLL_EXPORT'
   7520       ;;
   7521 
   7522     hpux9* | hpux10* | hpux11*)
   7523       lt_prog_compiler_wl='-Wl,'
   7524       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7525       # not for PA HP-UX.
   7526       case $host_cpu in
   7527       hppa*64*|ia64*)
   7528 	# +Z the default
   7529 	;;
   7530       *)
   7531 	lt_prog_compiler_pic='+Z'
   7532 	;;
   7533       esac
   7534       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7535       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7536       ;;
   7537 
   7538     irix5* | irix6* | nonstopux*)
   7539       lt_prog_compiler_wl='-Wl,'
   7540       # PIC (with -KPIC) is the default.
   7541       lt_prog_compiler_static='-non_shared'
   7542       ;;
   7543 
   7544     newsos6)
   7545       lt_prog_compiler_pic='-KPIC'
   7546       lt_prog_compiler_static='-Bstatic'
   7547       ;;
   7548 
   7549     linux*)
   7550       case $cc_basename in
   7551       icc* | ecc*)
   7552 	lt_prog_compiler_wl='-Wl,'
   7553 	lt_prog_compiler_pic='-KPIC'
   7554 	lt_prog_compiler_static='-static'
   7555         ;;
   7556       pgcc* | pgf77* | pgf90* | pgf95*)
   7557         # Portland Group compilers (*not* the Pentium gcc compiler,
   7558 	# which looks to be a dead project)
   7559 	lt_prog_compiler_wl='-Wl,'
   7560 	lt_prog_compiler_pic='-fpic'
   7561 	lt_prog_compiler_static='-Bstatic'
   7562         ;;
   7563       ccc*)
   7564         lt_prog_compiler_wl='-Wl,'
   7565         # All Alpha code is PIC.
   7566         lt_prog_compiler_static='-non_shared'
   7567         ;;
   7568       esac
   7569       ;;
   7570 
   7571     osf3* | osf4* | osf5*)
   7572       lt_prog_compiler_wl='-Wl,'
   7573       # All OSF/1 code is PIC.
   7574       lt_prog_compiler_static='-non_shared'
   7575       ;;
   7576 
   7577     solaris*)
   7578       lt_prog_compiler_pic='-KPIC'
   7579       lt_prog_compiler_static='-Bstatic'
   7580       case $cc_basename in
   7581       f77* | f90* | f95*)
   7582 	lt_prog_compiler_wl='-Qoption ld ';;
   7583       *)
   7584 	lt_prog_compiler_wl='-Wl,';;
   7585       esac
   7586       ;;
   7587 
   7588     sunos4*)
   7589       lt_prog_compiler_wl='-Qoption ld '
   7590       lt_prog_compiler_pic='-PIC'
   7591       lt_prog_compiler_static='-Bstatic'
   7592       ;;
   7593 
   7594     sysv4 | sysv4.2uw2* | sysv4.3*)
   7595       lt_prog_compiler_wl='-Wl,'
   7596       lt_prog_compiler_pic='-KPIC'
   7597       lt_prog_compiler_static='-Bstatic'
   7598       ;;
   7599 
   7600     sysv4*MP*)
   7601       if test -d /usr/nec ;then
   7602 	lt_prog_compiler_pic='-Kconform_pic'
   7603 	lt_prog_compiler_static='-Bstatic'
   7604       fi
   7605       ;;
   7606 
   7607     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7608       lt_prog_compiler_wl='-Wl,'
   7609       lt_prog_compiler_pic='-KPIC'
   7610       lt_prog_compiler_static='-Bstatic'
   7611       ;;
   7612 
   7613     unicos*)
   7614       lt_prog_compiler_wl='-Wl,'
   7615       lt_prog_compiler_can_build_shared=no
   7616       ;;
   7617 
   7618     uts4*)
   7619       lt_prog_compiler_pic='-pic'
   7620       lt_prog_compiler_static='-Bstatic'
   7621       ;;
   7622 
   7623     *)
   7624       lt_prog_compiler_can_build_shared=no
   7625       ;;
   7626     esac
   7627   fi
   7628 
   7629 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7630 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7631 
   7632 #
   7633 # Check to make sure the PIC flag actually works.
   7634 #
   7635 if test -n "$lt_prog_compiler_pic"; then
   7636 
   7637 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7638 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7639 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7640   echo $ECHO_N "(cached) $ECHO_C" >&6
   7641 else
   7642   lt_prog_compiler_pic_works=no
   7643   ac_outfile=conftest.$ac_objext
   7644    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7645    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7646    # Insert the option either (1) after the last *FLAGS variable, or
   7647    # (2) before a word containing "conftest.", or (3) at the end.
   7648    # Note that $ac_compile itself does not contain backslashes and begins
   7649    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7650    # The option is referenced via a variable to avoid confusing sed.
   7651    lt_compile=`echo "$ac_compile" | $SED \
   7652    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7653    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7654    -e 's:$: $lt_compiler_flag:'`
   7655    (eval echo "\"\$as_me:7655: $lt_compile\"" >&5)
   7656    (eval "$lt_compile" 2>conftest.err)
   7657    ac_status=$?
   7658    cat conftest.err >&5
   7659    echo "$as_me:7659: \$? = $ac_status" >&5
   7660    if (exit $ac_status) && test -s "$ac_outfile"; then
   7661      # The compiler can only warn and ignore the option if not recognized
   7662      # So say no if there are warnings other than the usual output.
   7663      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7664      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7665      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7666        lt_prog_compiler_pic_works=yes
   7667      fi
   7668    fi
   7669    $rm conftest*
   7670 
   7671 fi
   7672 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7673 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7674 
   7675 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7676     case $lt_prog_compiler_pic in
   7677      "" | " "*) ;;
   7678      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7679      esac
   7680 else
   7681     lt_prog_compiler_pic=
   7682      lt_prog_compiler_can_build_shared=no
   7683 fi
   7684 
   7685 fi
   7686 case $host_os in
   7687   # For platforms which do not support PIC, -DPIC is meaningless:
   7688   *djgpp*)
   7689     lt_prog_compiler_pic=
   7690     ;;
   7691   *)
   7692     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7693     ;;
   7694 esac
   7695 
   7696 #
   7697 # Check to make sure the static flag actually works.
   7698 #
   7699 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7700 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7701 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7702 if test "${lt_prog_compiler_static_works+set}" = set; then
   7703   echo $ECHO_N "(cached) $ECHO_C" >&6
   7704 else
   7705   lt_prog_compiler_static_works=no
   7706    save_LDFLAGS="$LDFLAGS"
   7707    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7708    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7709    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7710      # The linker can only warn and ignore the option if not recognized
   7711      # So say no if there are warnings
   7712      if test -s conftest.err; then
   7713        # Append any errors to the config.log.
   7714        cat conftest.err 1>&5
   7715        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7716        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7717        if diff conftest.exp conftest.er2 >/dev/null; then
   7718          lt_prog_compiler_static_works=yes
   7719        fi
   7720      else
   7721        lt_prog_compiler_static_works=yes
   7722      fi
   7723    fi
   7724    $rm conftest*
   7725    LDFLAGS="$save_LDFLAGS"
   7726 
   7727 fi
   7728 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7729 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7730 
   7731 if test x"$lt_prog_compiler_static_works" = xyes; then
   7732     :
   7733 else
   7734     lt_prog_compiler_static=
   7735 fi
   7736 
   7737 
   7738 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7739 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7740 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7741   echo $ECHO_N "(cached) $ECHO_C" >&6
   7742 else
   7743   lt_cv_prog_compiler_c_o=no
   7744    $rm -r conftest 2>/dev/null
   7745    mkdir conftest
   7746    cd conftest
   7747    mkdir out
   7748    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7749 
   7750    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7751    # Insert the option either (1) after the last *FLAGS variable, or
   7752    # (2) before a word containing "conftest.", or (3) at the end.
   7753    # Note that $ac_compile itself does not contain backslashes and begins
   7754    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7755    lt_compile=`echo "$ac_compile" | $SED \
   7756    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7757    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7758    -e 's:$: $lt_compiler_flag:'`
   7759    (eval echo "\"\$as_me:7759: $lt_compile\"" >&5)
   7760    (eval "$lt_compile" 2>out/conftest.err)
   7761    ac_status=$?
   7762    cat out/conftest.err >&5
   7763    echo "$as_me:7763: \$? = $ac_status" >&5
   7764    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7765    then
   7766      # The compiler can only warn and ignore the option if not recognized
   7767      # So say no if there are warnings
   7768      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7769      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7770      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7771        lt_cv_prog_compiler_c_o=yes
   7772      fi
   7773    fi
   7774    chmod u+w . 2>&5
   7775    $rm conftest*
   7776    # SGI C++ compiler will create directory out/ii_files/ for
   7777    # template instantiation
   7778    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7779    $rm out/* && rmdir out
   7780    cd ..
   7781    rmdir conftest
   7782    $rm conftest*
   7783 
   7784 fi
   7785 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7786 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7787 
   7788 
   7789 hard_links="nottested"
   7790 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7791   # do not overwrite the value of need_locks provided by the user
   7792   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7793 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7794   hard_links=yes
   7795   $rm conftest*
   7796   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7797   touch conftest.a
   7798   ln conftest.a conftest.b 2>&5 || hard_links=no
   7799   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7800   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7801 echo "${ECHO_T}$hard_links" >&6; }
   7802   if test "$hard_links" = no; then
   7803     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7804 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7805     need_locks=warn
   7806   fi
   7807 else
   7808   need_locks=no
   7809 fi
   7810 
   7811 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7812 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7813 
   7814   runpath_var=
   7815   allow_undefined_flag=
   7816   enable_shared_with_static_runtimes=no
   7817   archive_cmds=
   7818   archive_expsym_cmds=
   7819   old_archive_From_new_cmds=
   7820   old_archive_from_expsyms_cmds=
   7821   export_dynamic_flag_spec=
   7822   whole_archive_flag_spec=
   7823   thread_safe_flag_spec=
   7824   hardcode_libdir_flag_spec=
   7825   hardcode_libdir_flag_spec_ld=
   7826   hardcode_libdir_separator=
   7827   hardcode_direct=no
   7828   hardcode_minus_L=no
   7829   hardcode_shlibpath_var=unsupported
   7830   link_all_deplibs=unknown
   7831   hardcode_automatic=no
   7832   module_cmds=
   7833   module_expsym_cmds=
   7834   always_export_symbols=no
   7835   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7836   # include_expsyms should be a list of space-separated symbols to be *always*
   7837   # included in the symbol list
   7838   include_expsyms=
   7839   # exclude_expsyms can be an extended regexp of symbols to exclude
   7840   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7841   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7842   # as well as any symbol that contains `d'.
   7843   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7844   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7845   # platforms (ab)use it in PIC code, but their linkers get confused if
   7846   # the symbol is explicitly referenced.  Since portable code cannot
   7847   # rely on this symbol name, it's probably fine to never include it in
   7848   # preloaded symbol tables.
   7849   extract_expsyms_cmds=
   7850   # Just being paranoid about ensuring that cc_basename is set.
   7851   for cc_temp in $compiler""; do
   7852   case $cc_temp in
   7853     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7854     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7855     \-*) ;;
   7856     *) break;;
   7857   esac
   7858 done
   7859 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7860 
   7861   case $host_os in
   7862   cygwin* | mingw* | pw32*)
   7863     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7864     # When not using gcc, we currently assume that we are using
   7865     # Microsoft Visual C++.
   7866     if test "$GCC" != yes; then
   7867       with_gnu_ld=no
   7868     fi
   7869     ;;
   7870   interix*)
   7871     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7872     with_gnu_ld=yes
   7873     ;;
   7874   openbsd*)
   7875     with_gnu_ld=no
   7876     ;;
   7877   esac
   7878 
   7879   ld_shlibs=yes
   7880   if test "$with_gnu_ld" = yes; then
   7881     # If archive_cmds runs LD, not CC, wlarc should be empty
   7882     wlarc='${wl}'
   7883 
   7884     # Set some defaults for GNU ld with shared library support. These
   7885     # are reset later if shared libraries are not supported. Putting them
   7886     # here allows them to be overridden if necessary.
   7887     runpath_var=LD_RUN_PATH
   7888     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7889     export_dynamic_flag_spec='${wl}--export-dynamic'
   7890     # ancient GNU ld didn't support --whole-archive et. al.
   7891     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7892 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7893       else
   7894   	whole_archive_flag_spec=
   7895     fi
   7896     supports_anon_versioning=no
   7897     case `$LD -v 2>/dev/null` in
   7898       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7899       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7900       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7901       *\ 2.11.*) ;; # other 2.11 versions
   7902       *) supports_anon_versioning=yes ;;
   7903     esac
   7904 
   7905     # See if GNU ld supports shared libraries.
   7906     case $host_os in
   7907     aix3* | aix4* | aix5*)
   7908       # On AIX/PPC, the GNU linker is very broken
   7909       if test "$host_cpu" != ia64; then
   7910 	ld_shlibs=no
   7911 	cat <<EOF 1>&2
   7912 
   7913 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7914 *** to be unable to reliably create shared libraries on AIX.
   7915 *** Therefore, libtool is disabling shared libraries support.  If you
   7916 *** really care for shared libraries, you may want to modify your PATH
   7917 *** so that a non-GNU linker is found, and then restart.
   7918 
   7919 EOF
   7920       fi
   7921       ;;
   7922 
   7923     amigaos*)
   7924       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)'
   7925       hardcode_libdir_flag_spec='-L$libdir'
   7926       hardcode_minus_L=yes
   7927 
   7928       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7929       # that the semantics of dynamic libraries on AmigaOS, at least up
   7930       # to version 4, is to share data among multiple programs linked
   7931       # with the same dynamic library.  Since this doesn't match the
   7932       # behavior of shared libraries on other platforms, we can't use
   7933       # them.
   7934       ld_shlibs=no
   7935       ;;
   7936 
   7937     beos*)
   7938       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7939 	allow_undefined_flag=unsupported
   7940 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7941 	# support --undefined.  This deserves some investigation.  FIXME
   7942 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7943       else
   7944 	ld_shlibs=no
   7945       fi
   7946       ;;
   7947 
   7948     cygwin* | mingw* | pw32*)
   7949       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7950       # as there is no search path for DLLs.
   7951       hardcode_libdir_flag_spec='-L$libdir'
   7952       allow_undefined_flag=unsupported
   7953       always_export_symbols=no
   7954       enable_shared_with_static_runtimes=yes
   7955       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7956 
   7957       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7958         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7959 	# If the export-symbols file already is a .def file (1st line
   7960 	# is EXPORTS), use it as is; otherwise, prepend...
   7961 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7962 	  cp $export_symbols $output_objdir/$soname.def;
   7963 	else
   7964 	  echo EXPORTS > $output_objdir/$soname.def;
   7965 	  cat $export_symbols >> $output_objdir/$soname.def;
   7966 	fi~
   7967 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7968       else
   7969 	ld_shlibs=no
   7970       fi
   7971       ;;
   7972 
   7973     interix3*)
   7974       hardcode_direct=no
   7975       hardcode_shlibpath_var=no
   7976       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7977       export_dynamic_flag_spec='${wl}-E'
   7978       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7979       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7980       # default) and relocated if they conflict, which is a slow very memory
   7981       # consuming and fragmenting process.  To avoid this, we pick a random,
   7982       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7983       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7984       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7985       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'
   7986       ;;
   7987 
   7988     linux*)
   7989       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7990 	tmp_addflag=
   7991 	case $cc_basename,$host_cpu in
   7992 	pgcc*)				# Portland Group C compiler
   7993 	  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'
   7994 	  tmp_addflag=' $pic_flag'
   7995 	  ;;
   7996 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7997 	  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'
   7998 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7999 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8000 	  tmp_addflag=' -i_dynamic' ;;
   8001 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8002 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8003 	ifc* | ifort*)			# Intel Fortran compiler
   8004 	  tmp_addflag=' -nofor_main' ;;
   8005 	esac
   8006 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8007 
   8008 	if test $supports_anon_versioning = yes; then
   8009 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8010   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8011   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8012 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8013 	fi
   8014       else
   8015 	ld_shlibs=no
   8016       fi
   8017       ;;
   8018 
   8019     netbsd*)
   8020       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8021 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8022 	wlarc=
   8023       else
   8024 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8025 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8026       fi
   8027       ;;
   8028 
   8029     solaris*)
   8030       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8031 	ld_shlibs=no
   8032 	cat <<EOF 1>&2
   8033 
   8034 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8035 *** create shared libraries on Solaris systems.  Therefore, libtool
   8036 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8037 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8038 *** your PATH or compiler configuration so that the native linker is
   8039 *** used, and then restart.
   8040 
   8041 EOF
   8042       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8043 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8044 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8045       else
   8046 	ld_shlibs=no
   8047       fi
   8048       ;;
   8049 
   8050     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8051       case `$LD -v 2>&1` in
   8052         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8053 	ld_shlibs=no
   8054 	cat <<_LT_EOF 1>&2
   8055 
   8056 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8057 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8058 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8059 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8060 *** your PATH or compiler configuration so that the native linker is
   8061 *** used, and then restart.
   8062 
   8063 _LT_EOF
   8064 	;;
   8065 	*)
   8066 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8067 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8068 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8069 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8070 	  else
   8071 	    ld_shlibs=no
   8072 	  fi
   8073 	;;
   8074       esac
   8075       ;;
   8076 
   8077     sunos4*)
   8078       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8079       wlarc=
   8080       hardcode_direct=yes
   8081       hardcode_shlibpath_var=no
   8082       ;;
   8083 
   8084     *)
   8085       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8086 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8087 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8088       else
   8089 	ld_shlibs=no
   8090       fi
   8091       ;;
   8092     esac
   8093 
   8094     if test "$ld_shlibs" = no; then
   8095       runpath_var=
   8096       hardcode_libdir_flag_spec=
   8097       export_dynamic_flag_spec=
   8098       whole_archive_flag_spec=
   8099     fi
   8100   else
   8101     # PORTME fill in a description of your system's linker (not GNU ld)
   8102     case $host_os in
   8103     aix3*)
   8104       allow_undefined_flag=unsupported
   8105       always_export_symbols=yes
   8106       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'
   8107       # Note: this linker hardcodes the directories in LIBPATH if there
   8108       # are no directories specified by -L.
   8109       hardcode_minus_L=yes
   8110       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8111 	# Neither direct hardcoding nor static linking is supported with a
   8112 	# broken collect2.
   8113 	hardcode_direct=unsupported
   8114       fi
   8115       ;;
   8116 
   8117     aix4* | aix5*)
   8118       if test "$host_cpu" = ia64; then
   8119 	# On IA64, the linker does run time linking by default, so we don't
   8120 	# have to do anything special.
   8121 	aix_use_runtimelinking=no
   8122 	exp_sym_flag='-Bexport'
   8123 	no_entry_flag=""
   8124       else
   8125 	# If we're using GNU nm, then we don't want the "-C" option.
   8126 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8127 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8128 	  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'
   8129 	else
   8130 	  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'
   8131 	fi
   8132 	aix_use_runtimelinking=no
   8133 
   8134 	# Test if we are trying to use run time linking or normal
   8135 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8136 	# need to do runtime linking.
   8137 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   8138 	  for ld_flag in $LDFLAGS; do
   8139   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8140   	    aix_use_runtimelinking=yes
   8141   	    break
   8142   	  fi
   8143 	  done
   8144 	  ;;
   8145 	esac
   8146 
   8147 	exp_sym_flag='-bexport'
   8148 	no_entry_flag='-bnoentry'
   8149       fi
   8150 
   8151       # When large executables or shared objects are built, AIX ld can
   8152       # have problems creating the table of contents.  If linking a library
   8153       # or program results in "error TOC overflow" add -mminimal-toc to
   8154       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8155       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8156 
   8157       archive_cmds=''
   8158       hardcode_direct=yes
   8159       hardcode_libdir_separator=':'
   8160       link_all_deplibs=yes
   8161 
   8162       if test "$GCC" = yes; then
   8163 	case $host_os in aix4.[012]|aix4.[012].*)
   8164 	# We only want to do this on AIX 4.2 and lower, the check
   8165 	# below for broken collect2 doesn't work under 4.3+
   8166 	  collect2name=`${CC} -print-prog-name=collect2`
   8167 	  if test -f "$collect2name" && \
   8168   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8169 	  then
   8170   	  # We have reworked collect2
   8171   	  hardcode_direct=yes
   8172 	  else
   8173   	  # We have old collect2
   8174   	  hardcode_direct=unsupported
   8175   	  # It fails to find uninstalled libraries when the uninstalled
   8176   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8177   	  # to unsupported forces relinking
   8178   	  hardcode_minus_L=yes
   8179   	  hardcode_libdir_flag_spec='-L$libdir'
   8180   	  hardcode_libdir_separator=
   8181 	  fi
   8182 	  ;;
   8183 	esac
   8184 	shared_flag='-shared'
   8185 	if test "$aix_use_runtimelinking" = yes; then
   8186 	  shared_flag="$shared_flag "'${wl}-G'
   8187 	fi
   8188       else
   8189 	# not using gcc
   8190 	if test "$host_cpu" = ia64; then
   8191   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8192   	# chokes on -Wl,-G. The following line is correct:
   8193 	  shared_flag='-G'
   8194 	else
   8195 	  if test "$aix_use_runtimelinking" = yes; then
   8196 	    shared_flag='${wl}-G'
   8197 	  else
   8198 	    shared_flag='${wl}-bM:SRE'
   8199 	  fi
   8200 	fi
   8201       fi
   8202 
   8203       # It seems that -bexpall does not export symbols beginning with
   8204       # underscore (_), so it is better to generate a list of symbols to export.
   8205       always_export_symbols=yes
   8206       if test "$aix_use_runtimelinking" = yes; then
   8207 	# Warning - without using the other runtime loading flags (-brtl),
   8208 	# -berok will link without error, but may produce a broken library.
   8209 	allow_undefined_flag='-berok'
   8210        # Determine the default libpath from the value encoded in an empty executable.
   8211        cat >conftest.$ac_ext <<_ACEOF
   8212 /* confdefs.h.  */
   8213 _ACEOF
   8214 cat confdefs.h >>conftest.$ac_ext
   8215 cat >>conftest.$ac_ext <<_ACEOF
   8216 /* end confdefs.h.  */
   8217 
   8218 int
   8219 main ()
   8220 {
   8221 
   8222   ;
   8223   return 0;
   8224 }
   8225 _ACEOF
   8226 rm -f conftest.$ac_objext conftest$ac_exeext
   8227 if { (ac_try="$ac_link"
   8228 case "(($ac_try" in
   8229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8230   *) ac_try_echo=$ac_try;;
   8231 esac
   8232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8233   (eval "$ac_link") 2>conftest.er1
   8234   ac_status=$?
   8235   grep -v '^ *+' conftest.er1 >conftest.err
   8236   rm -f conftest.er1
   8237   cat conftest.err >&5
   8238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8239   (exit $ac_status); } &&
   8240 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8241   { (case "(($ac_try" in
   8242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8243   *) ac_try_echo=$ac_try;;
   8244 esac
   8245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8246   (eval "$ac_try") 2>&5
   8247   ac_status=$?
   8248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8249   (exit $ac_status); }; } &&
   8250 	 { ac_try='test -s conftest$ac_exeext'
   8251   { (case "(($ac_try" in
   8252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8253   *) ac_try_echo=$ac_try;;
   8254 esac
   8255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8256   (eval "$ac_try") 2>&5
   8257   ac_status=$?
   8258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8259   (exit $ac_status); }; }; then
   8260 
   8261 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8262 }'`
   8263 # Check for a 64-bit object if we didn't find anything.
   8264 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8265 }'`; fi
   8266 else
   8267   echo "$as_me: failed program was:" >&5
   8268 sed 's/^/| /' conftest.$ac_ext >&5
   8269 
   8270 
   8271 fi
   8272 
   8273 rm -f core conftest.err conftest.$ac_objext \
   8274       conftest$ac_exeext conftest.$ac_ext
   8275 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8276 
   8277        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8278 	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"
   8279        else
   8280 	if test "$host_cpu" = ia64; then
   8281 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8282 	  allow_undefined_flag="-z nodefs"
   8283 	  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"
   8284 	else
   8285 	 # Determine the default libpath from the value encoded in an empty executable.
   8286 	 cat >conftest.$ac_ext <<_ACEOF
   8287 /* confdefs.h.  */
   8288 _ACEOF
   8289 cat confdefs.h >>conftest.$ac_ext
   8290 cat >>conftest.$ac_ext <<_ACEOF
   8291 /* end confdefs.h.  */
   8292 
   8293 int
   8294 main ()
   8295 {
   8296 
   8297   ;
   8298   return 0;
   8299 }
   8300 _ACEOF
   8301 rm -f conftest.$ac_objext conftest$ac_exeext
   8302 if { (ac_try="$ac_link"
   8303 case "(($ac_try" in
   8304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8305   *) ac_try_echo=$ac_try;;
   8306 esac
   8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8308   (eval "$ac_link") 2>conftest.er1
   8309   ac_status=$?
   8310   grep -v '^ *+' conftest.er1 >conftest.err
   8311   rm -f conftest.er1
   8312   cat conftest.err >&5
   8313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8314   (exit $ac_status); } &&
   8315 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8316   { (case "(($ac_try" in
   8317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8318   *) ac_try_echo=$ac_try;;
   8319 esac
   8320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8321   (eval "$ac_try") 2>&5
   8322   ac_status=$?
   8323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8324   (exit $ac_status); }; } &&
   8325 	 { ac_try='test -s conftest$ac_exeext'
   8326   { (case "(($ac_try" in
   8327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8328   *) ac_try_echo=$ac_try;;
   8329 esac
   8330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8331   (eval "$ac_try") 2>&5
   8332   ac_status=$?
   8333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8334   (exit $ac_status); }; }; then
   8335 
   8336 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8337 }'`
   8338 # Check for a 64-bit object if we didn't find anything.
   8339 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8340 }'`; fi
   8341 else
   8342   echo "$as_me: failed program was:" >&5
   8343 sed 's/^/| /' conftest.$ac_ext >&5
   8344 
   8345 
   8346 fi
   8347 
   8348 rm -f core conftest.err conftest.$ac_objext \
   8349       conftest$ac_exeext conftest.$ac_ext
   8350 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8351 
   8352 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8353 	  # Warning - without using the other run time loading flags,
   8354 	  # -berok will link without error, but may produce a broken library.
   8355 	  no_undefined_flag=' ${wl}-bernotok'
   8356 	  allow_undefined_flag=' ${wl}-berok'
   8357 	  # Exported symbols can be pulled into shared objects from archives
   8358 	  whole_archive_flag_spec='$convenience'
   8359 	  archive_cmds_need_lc=yes
   8360 	  # This is similar to how AIX traditionally builds its shared libraries.
   8361 	  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'
   8362 	fi
   8363       fi
   8364       ;;
   8365 
   8366     amigaos*)
   8367       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)'
   8368       hardcode_libdir_flag_spec='-L$libdir'
   8369       hardcode_minus_L=yes
   8370       # see comment about different semantics on the GNU ld section
   8371       ld_shlibs=no
   8372       ;;
   8373 
   8374     bsdi[45]*)
   8375       export_dynamic_flag_spec=-rdynamic
   8376       ;;
   8377 
   8378     cygwin* | mingw* | pw32*)
   8379       # When not using gcc, we currently assume that we are using
   8380       # Microsoft Visual C++.
   8381       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8382       # no search path for DLLs.
   8383       hardcode_libdir_flag_spec=' '
   8384       allow_undefined_flag=unsupported
   8385       # Tell ltmain to make .lib files, not .a files.
   8386       libext=lib
   8387       # Tell ltmain to make .dll files, not .so files.
   8388       shrext_cmds=".dll"
   8389       # FIXME: Setting linknames here is a bad hack.
   8390       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8391       # The linker will automatically build a .lib file if we build a DLL.
   8392       old_archive_From_new_cmds='true'
   8393       # FIXME: Should let the user specify the lib program.
   8394       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8395       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8396       enable_shared_with_static_runtimes=yes
   8397       ;;
   8398 
   8399     darwin* | rhapsody*)
   8400       case $host_os in
   8401         rhapsody* | darwin1.[012])
   8402          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8403          ;;
   8404        *) # Darwin 1.3 on
   8405          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8406            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8407          else
   8408            case ${MACOSX_DEPLOYMENT_TARGET} in
   8409              10.[012])
   8410                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8411                ;;
   8412              10.*)
   8413                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8414                ;;
   8415            esac
   8416          fi
   8417          ;;
   8418       esac
   8419       archive_cmds_need_lc=no
   8420       hardcode_direct=no
   8421       hardcode_automatic=yes
   8422       hardcode_shlibpath_var=unsupported
   8423       whole_archive_flag_spec=''
   8424       link_all_deplibs=yes
   8425     if test "$GCC" = yes ; then
   8426     	output_verbose_link_cmd='echo'
   8427         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8428       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8429       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8430       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}'
   8431       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}'
   8432     else
   8433       case $cc_basename in
   8434         xlc*)
   8435          output_verbose_link_cmd='echo'
   8436          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8437          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8438           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8439          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8440           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}'
   8441           ;;
   8442        *)
   8443          ld_shlibs=no
   8444           ;;
   8445       esac
   8446     fi
   8447       ;;
   8448 
   8449     dgux*)
   8450       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8451       hardcode_libdir_flag_spec='-L$libdir'
   8452       hardcode_shlibpath_var=no
   8453       ;;
   8454 
   8455     freebsd1*)
   8456       ld_shlibs=no
   8457       ;;
   8458 
   8459     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8460     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8461     # does not break anything, and helps significantly (at the cost of a little
   8462     # extra space).
   8463     freebsd2.2*)
   8464       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8465       hardcode_libdir_flag_spec='-R$libdir'
   8466       hardcode_direct=yes
   8467       hardcode_shlibpath_var=no
   8468       ;;
   8469 
   8470     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8471     freebsd2*)
   8472       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8473       hardcode_direct=yes
   8474       hardcode_minus_L=yes
   8475       hardcode_shlibpath_var=no
   8476       ;;
   8477 
   8478     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8479     freebsd* | kfreebsd*-gnu | dragonfly*)
   8480       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8481       hardcode_libdir_flag_spec='-R$libdir'
   8482       hardcode_direct=yes
   8483       hardcode_shlibpath_var=no
   8484       ;;
   8485 
   8486     hpux9*)
   8487       if test "$GCC" = yes; then
   8488 	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'
   8489       else
   8490 	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'
   8491       fi
   8492       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8493       hardcode_libdir_separator=:
   8494       hardcode_direct=yes
   8495 
   8496       # hardcode_minus_L: Not really in the search PATH,
   8497       # but as the default location of the library.
   8498       hardcode_minus_L=yes
   8499       export_dynamic_flag_spec='${wl}-E'
   8500       ;;
   8501 
   8502     hpux10*)
   8503       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8504 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8505       else
   8506 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8507       fi
   8508       if test "$with_gnu_ld" = no; then
   8509 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8510 	hardcode_libdir_separator=:
   8511 
   8512 	hardcode_direct=yes
   8513 	export_dynamic_flag_spec='${wl}-E'
   8514 
   8515 	# hardcode_minus_L: Not really in the search PATH,
   8516 	# but as the default location of the library.
   8517 	hardcode_minus_L=yes
   8518       fi
   8519       ;;
   8520 
   8521     hpux11*)
   8522       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8523 	case $host_cpu in
   8524 	hppa*64*)
   8525 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8526 	  ;;
   8527 	ia64*)
   8528 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8529 	  ;;
   8530 	*)
   8531 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8532 	  ;;
   8533 	esac
   8534       else
   8535 	case $host_cpu in
   8536 	hppa*64*)
   8537 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8538 	  ;;
   8539 	ia64*)
   8540 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8541 	  ;;
   8542 	*)
   8543 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8544 	  ;;
   8545 	esac
   8546       fi
   8547       if test "$with_gnu_ld" = no; then
   8548 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8549 	hardcode_libdir_separator=:
   8550 
   8551 	case $host_cpu in
   8552 	hppa*64*|ia64*)
   8553 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8554 	  hardcode_direct=no
   8555 	  hardcode_shlibpath_var=no
   8556 	  ;;
   8557 	*)
   8558 	  hardcode_direct=yes
   8559 	  export_dynamic_flag_spec='${wl}-E'
   8560 
   8561 	  # hardcode_minus_L: Not really in the search PATH,
   8562 	  # but as the default location of the library.
   8563 	  hardcode_minus_L=yes
   8564 	  ;;
   8565 	esac
   8566       fi
   8567       ;;
   8568 
   8569     irix5* | irix6* | nonstopux*)
   8570       if test "$GCC" = yes; then
   8571 	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'
   8572       else
   8573 	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'
   8574 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8575       fi
   8576       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8577       hardcode_libdir_separator=:
   8578       link_all_deplibs=yes
   8579       ;;
   8580 
   8581     netbsd*)
   8582       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8583 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8584       else
   8585 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8586       fi
   8587       hardcode_libdir_flag_spec='-R$libdir'
   8588       hardcode_direct=yes
   8589       hardcode_shlibpath_var=no
   8590       ;;
   8591 
   8592     newsos6)
   8593       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8594       hardcode_direct=yes
   8595       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8596       hardcode_libdir_separator=:
   8597       hardcode_shlibpath_var=no
   8598       ;;
   8599 
   8600     openbsd*)
   8601       hardcode_direct=yes
   8602       hardcode_shlibpath_var=no
   8603       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8604 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8605 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8606 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8607 	export_dynamic_flag_spec='${wl}-E'
   8608       else
   8609        case $host_os in
   8610 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8611 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8612 	   hardcode_libdir_flag_spec='-R$libdir'
   8613 	   ;;
   8614 	 *)
   8615 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8616 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8617 	   ;;
   8618        esac
   8619       fi
   8620       ;;
   8621 
   8622     os2*)
   8623       hardcode_libdir_flag_spec='-L$libdir'
   8624       hardcode_minus_L=yes
   8625       allow_undefined_flag=unsupported
   8626       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'
   8627       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8628       ;;
   8629 
   8630     osf3*)
   8631       if test "$GCC" = yes; then
   8632 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8633 	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'
   8634       else
   8635 	allow_undefined_flag=' -expect_unresolved \*'
   8636 	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'
   8637       fi
   8638       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8639       hardcode_libdir_separator=:
   8640       ;;
   8641 
   8642     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8643       if test "$GCC" = yes; then
   8644 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8645 	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'
   8646 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8647       else
   8648 	allow_undefined_flag=' -expect_unresolved \*'
   8649 	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'
   8650 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8651 	$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'
   8652 
   8653 	# Both c and cxx compiler support -rpath directly
   8654 	hardcode_libdir_flag_spec='-rpath $libdir'
   8655       fi
   8656       hardcode_libdir_separator=:
   8657       ;;
   8658 
   8659     solaris*)
   8660       no_undefined_flag=' -z text'
   8661       if test "$GCC" = yes; then
   8662 	wlarc='${wl}'
   8663 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8664 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8665 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8666       else
   8667 	wlarc=''
   8668 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8669 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8670   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8671       fi
   8672       hardcode_libdir_flag_spec='-R$libdir'
   8673       hardcode_shlibpath_var=no
   8674       case $host_os in
   8675       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8676       *)
   8677  	# The compiler driver will combine linker options so we
   8678  	# cannot just pass the convience library names through
   8679  	# without $wl, iff we do not link with $LD.
   8680  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8681  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8682  	case $wlarc in
   8683  	'')
   8684  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8685  	*)
   8686  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   8687  	esac ;;
   8688       esac
   8689       link_all_deplibs=yes
   8690       ;;
   8691 
   8692     sunos4*)
   8693       if test "x$host_vendor" = xsequent; then
   8694 	# Use $CC to link under sequent, because it throws in some extra .o
   8695 	# files that make .init and .fini sections work.
   8696 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8697       else
   8698 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8699       fi
   8700       hardcode_libdir_flag_spec='-L$libdir'
   8701       hardcode_direct=yes
   8702       hardcode_minus_L=yes
   8703       hardcode_shlibpath_var=no
   8704       ;;
   8705 
   8706     sysv4)
   8707       case $host_vendor in
   8708 	sni)
   8709 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8710 	  hardcode_direct=yes # is this really true???
   8711 	;;
   8712 	siemens)
   8713 	  ## LD is ld it makes a PLAMLIB
   8714 	  ## CC just makes a GrossModule.
   8715 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8716 	  reload_cmds='$CC -r -o $output$reload_objs'
   8717 	  hardcode_direct=no
   8718         ;;
   8719 	motorola)
   8720 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8721 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8722 	;;
   8723       esac
   8724       runpath_var='LD_RUN_PATH'
   8725       hardcode_shlibpath_var=no
   8726       ;;
   8727 
   8728     sysv4.3*)
   8729       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8730       hardcode_shlibpath_var=no
   8731       export_dynamic_flag_spec='-Bexport'
   8732       ;;
   8733 
   8734     sysv4*MP*)
   8735       if test -d /usr/nec; then
   8736 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8737 	hardcode_shlibpath_var=no
   8738 	runpath_var=LD_RUN_PATH
   8739 	hardcode_runpath_var=yes
   8740 	ld_shlibs=yes
   8741       fi
   8742       ;;
   8743 
   8744     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8745       no_undefined_flag='${wl}-z,text'
   8746       archive_cmds_need_lc=no
   8747       hardcode_shlibpath_var=no
   8748       runpath_var='LD_RUN_PATH'
   8749 
   8750       if test "$GCC" = yes; then
   8751 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8752 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8753       else
   8754 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8755 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8756       fi
   8757       ;;
   8758 
   8759     sysv5* | sco3.2v5* | sco5v6*)
   8760       # Note: We can NOT use -z defs as we might desire, because we do not
   8761       # link with -lc, and that would cause any symbols used from libc to
   8762       # always be unresolved, which means just about no library would
   8763       # ever link correctly.  If we're not using GNU ld we use -z text
   8764       # though, which does catch some bad symbols but isn't as heavy-handed
   8765       # as -z defs.
   8766       no_undefined_flag='${wl}-z,text'
   8767       allow_undefined_flag='${wl}-z,nodefs'
   8768       archive_cmds_need_lc=no
   8769       hardcode_shlibpath_var=no
   8770       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8771       hardcode_libdir_separator=':'
   8772       link_all_deplibs=yes
   8773       export_dynamic_flag_spec='${wl}-Bexport'
   8774       runpath_var='LD_RUN_PATH'
   8775 
   8776       if test "$GCC" = yes; then
   8777 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8778 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8779       else
   8780 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8781 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8782       fi
   8783       ;;
   8784 
   8785     uts4*)
   8786       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8787       hardcode_libdir_flag_spec='-L$libdir'
   8788       hardcode_shlibpath_var=no
   8789       ;;
   8790 
   8791     *)
   8792       ld_shlibs=no
   8793       ;;
   8794     esac
   8795   fi
   8796 
   8797 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8798 echo "${ECHO_T}$ld_shlibs" >&6; }
   8799 test "$ld_shlibs" = no && can_build_shared=no
   8800 
   8801 #
   8802 # Do we need to explicitly link libc?
   8803 #
   8804 case "x$archive_cmds_need_lc" in
   8805 x|xyes)
   8806   # Assume -lc should be added
   8807   archive_cmds_need_lc=yes
   8808 
   8809   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8810     case $archive_cmds in
   8811     *'~'*)
   8812       # FIXME: we may have to deal with multi-command sequences.
   8813       ;;
   8814     '$CC '*)
   8815       # Test whether the compiler implicitly links with -lc since on some
   8816       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8817       # to ld, don't add -lc before -lgcc.
   8818       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8819 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8820       $rm conftest*
   8821       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8822 
   8823       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8824   (eval $ac_compile) 2>&5
   8825   ac_status=$?
   8826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8827   (exit $ac_status); } 2>conftest.err; then
   8828         soname=conftest
   8829         lib=conftest
   8830         libobjs=conftest.$ac_objext
   8831         deplibs=
   8832         wl=$lt_prog_compiler_wl
   8833 	pic_flag=$lt_prog_compiler_pic
   8834         compiler_flags=-v
   8835         linker_flags=-v
   8836         verstring=
   8837         output_objdir=.
   8838         libname=conftest
   8839         lt_save_allow_undefined_flag=$allow_undefined_flag
   8840         allow_undefined_flag=
   8841         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8842   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8843   ac_status=$?
   8844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8845   (exit $ac_status); }
   8846         then
   8847 	  archive_cmds_need_lc=no
   8848         else
   8849 	  archive_cmds_need_lc=yes
   8850         fi
   8851         allow_undefined_flag=$lt_save_allow_undefined_flag
   8852       else
   8853         cat conftest.err 1>&5
   8854       fi
   8855       $rm conftest*
   8856       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8857 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8858       ;;
   8859     esac
   8860   fi
   8861   ;;
   8862 esac
   8863 
   8864 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8865 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8866 library_names_spec=
   8867 libname_spec='lib$name'
   8868 soname_spec=
   8869 shrext_cmds=".so"
   8870 postinstall_cmds=
   8871 postuninstall_cmds=
   8872 finish_cmds=
   8873 finish_eval=
   8874 shlibpath_var=
   8875 shlibpath_overrides_runpath=unknown
   8876 version_type=none
   8877 dynamic_linker="$host_os ld.so"
   8878 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8879 if test "$GCC" = yes; then
   8880   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8881   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8882     # if the path contains ";" then we assume it to be the separator
   8883     # otherwise default to the standard path separator (i.e. ":") - it is
   8884     # assumed that no part of a normal pathname contains ";" but that should
   8885     # okay in the real world where ";" in dirpaths is itself problematic.
   8886     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8887   else
   8888     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8889   fi
   8890 else
   8891   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8892 fi
   8893 need_lib_prefix=unknown
   8894 hardcode_into_libs=no
   8895 
   8896 # when you set need_version to no, make sure it does not cause -set_version
   8897 # flags to be left without arguments
   8898 need_version=unknown
   8899 
   8900 case $host_os in
   8901 aix3*)
   8902   version_type=linux
   8903   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8904   shlibpath_var=LIBPATH
   8905 
   8906   # AIX 3 has no versioning support, so we append a major version to the name.
   8907   soname_spec='${libname}${release}${shared_ext}$major'
   8908   ;;
   8909 
   8910 aix4* | aix5*)
   8911   version_type=linux
   8912   need_lib_prefix=no
   8913   need_version=no
   8914   hardcode_into_libs=yes
   8915   if test "$host_cpu" = ia64; then
   8916     # AIX 5 supports IA64
   8917     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8918     shlibpath_var=LD_LIBRARY_PATH
   8919   else
   8920     # With GCC up to 2.95.x, collect2 would create an import file
   8921     # for dependence libraries.  The import file would start with
   8922     # the line `#! .'.  This would cause the generated library to
   8923     # depend on `.', always an invalid library.  This was fixed in
   8924     # development snapshots of GCC prior to 3.0.
   8925     case $host_os in
   8926       aix4 | aix4.[01] | aix4.[01].*)
   8927       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8928 	   echo ' yes '
   8929 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8930 	:
   8931       else
   8932 	can_build_shared=no
   8933       fi
   8934       ;;
   8935     esac
   8936     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8937     # soname into executable. Probably we can add versioning support to
   8938     # collect2, so additional links can be useful in future.
   8939     if test "$aix_use_runtimelinking" = yes; then
   8940       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8941       # instead of lib<name>.a to let people know that these are not
   8942       # typical AIX shared libraries.
   8943       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8944     else
   8945       # We preserve .a as extension for shared libraries through AIX4.2
   8946       # and later when we are not doing run time linking.
   8947       library_names_spec='${libname}${release}.a $libname.a'
   8948       soname_spec='${libname}${release}${shared_ext}$major'
   8949     fi
   8950     shlibpath_var=LIBPATH
   8951   fi
   8952   ;;
   8953 
   8954 amigaos*)
   8955   library_names_spec='$libname.ixlibrary $libname.a'
   8956   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8957   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'
   8958   ;;
   8959 
   8960 beos*)
   8961   library_names_spec='${libname}${shared_ext}'
   8962   dynamic_linker="$host_os ld.so"
   8963   shlibpath_var=LIBRARY_PATH
   8964   ;;
   8965 
   8966 bsdi[45]*)
   8967   version_type=linux
   8968   need_version=no
   8969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8970   soname_spec='${libname}${release}${shared_ext}$major'
   8971   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8972   shlibpath_var=LD_LIBRARY_PATH
   8973   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8974   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8975   # the default ld.so.conf also contains /usr/contrib/lib and
   8976   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8977   # libtool to hard-code these into programs
   8978   ;;
   8979 
   8980 cygwin* | mingw* | pw32*)
   8981   version_type=windows
   8982   shrext_cmds=".dll"
   8983   need_version=no
   8984   need_lib_prefix=no
   8985 
   8986   case $GCC,$host_os in
   8987   yes,cygwin* | yes,mingw* | yes,pw32*)
   8988     library_names_spec='$libname.dll.a'
   8989     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8990     postinstall_cmds='base_file=`basename \${file}`~
   8991       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8992       dldir=$destdir/`dirname \$dlpath`~
   8993       test -d \$dldir || mkdir -p \$dldir~
   8994       $install_prog $dir/$dlname \$dldir/$dlname~
   8995       chmod a+x \$dldir/$dlname'
   8996     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8997       dlpath=$dir/\$dldll~
   8998        $rm \$dlpath'
   8999     shlibpath_overrides_runpath=yes
   9000 
   9001     case $host_os in
   9002     cygwin*)
   9003       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9004       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9005       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9006       ;;
   9007     mingw*)
   9008       # MinGW DLLs use traditional 'lib' prefix
   9009       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9010       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9011       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9012         # It is most probably a Windows format PATH printed by
   9013         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9014         # path with ; separators, and with drive letters. We can handle the
   9015         # drive letters (cygwin fileutils understands them), so leave them,
   9016         # especially as we might pass files found there to a mingw objdump,
   9017         # which wouldn't understand a cygwinified path. Ahh.
   9018         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9019       else
   9020         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9021       fi
   9022       ;;
   9023     pw32*)
   9024       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9025       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9026       ;;
   9027     esac
   9028     ;;
   9029 
   9030   *)
   9031     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9032     ;;
   9033   esac
   9034   dynamic_linker='Win32 ld.exe'
   9035   # FIXME: first we should search . and the directory the executable is in
   9036   shlibpath_var=PATH
   9037   ;;
   9038 
   9039 darwin* | rhapsody*)
   9040   dynamic_linker="$host_os dyld"
   9041   version_type=darwin
   9042   need_lib_prefix=no
   9043   need_version=no
   9044   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9045   soname_spec='${libname}${release}${major}$shared_ext'
   9046   shlibpath_overrides_runpath=yes
   9047   shlibpath_var=DYLD_LIBRARY_PATH
   9048   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9049   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   9050   if test "$GCC" = yes; then
   9051     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   9052   else
   9053     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   9054   fi
   9055   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9056   ;;
   9057 
   9058 dgux*)
   9059   version_type=linux
   9060   need_lib_prefix=no
   9061   need_version=no
   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   shlibpath_var=LD_LIBRARY_PATH
   9065   ;;
   9066 
   9067 freebsd1*)
   9068   dynamic_linker=no
   9069   ;;
   9070 
   9071 kfreebsd*-gnu)
   9072   version_type=linux
   9073   need_lib_prefix=no
   9074   need_version=no
   9075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9076   soname_spec='${libname}${release}${shared_ext}$major'
   9077   shlibpath_var=LD_LIBRARY_PATH
   9078   shlibpath_overrides_runpath=no
   9079   hardcode_into_libs=yes
   9080   dynamic_linker='GNU ld.so'
   9081   ;;
   9082 
   9083 freebsd* | dragonfly*)
   9084   # DragonFly does not have aout.  When/if they implement a new
   9085   # versioning mechanism, adjust this.
   9086   if test -x /usr/bin/objformat; then
   9087     objformat=`/usr/bin/objformat`
   9088   else
   9089     case $host_os in
   9090     freebsd[123]*) objformat=aout ;;
   9091     *) objformat=elf ;;
   9092     esac
   9093   fi
   9094   version_type=freebsd-$objformat
   9095   case $version_type in
   9096     freebsd-elf*)
   9097       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9098       need_version=no
   9099       need_lib_prefix=no
   9100       ;;
   9101     freebsd-*)
   9102       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9103       need_version=yes
   9104       ;;
   9105   esac
   9106   shlibpath_var=LD_LIBRARY_PATH
   9107   case $host_os in
   9108   freebsd2*)
   9109     shlibpath_overrides_runpath=yes
   9110     ;;
   9111   freebsd3.[01]* | freebsdelf3.[01]*)
   9112     shlibpath_overrides_runpath=yes
   9113     hardcode_into_libs=yes
   9114     ;;
   9115   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9116   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9117     shlibpath_overrides_runpath=no
   9118     hardcode_into_libs=yes
   9119     ;;
   9120   freebsd*) # from 4.6 on
   9121     shlibpath_overrides_runpath=yes
   9122     hardcode_into_libs=yes
   9123     ;;
   9124   esac
   9125   ;;
   9126 
   9127 gnu*)
   9128   version_type=linux
   9129   need_lib_prefix=no
   9130   need_version=no
   9131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9132   soname_spec='${libname}${release}${shared_ext}$major'
   9133   shlibpath_var=LD_LIBRARY_PATH
   9134   hardcode_into_libs=yes
   9135   ;;
   9136 
   9137 hpux9* | hpux10* | hpux11*)
   9138   # Give a soname corresponding to the major version so that dld.sl refuses to
   9139   # link against other versions.
   9140   version_type=sunos
   9141   need_lib_prefix=no
   9142   need_version=no
   9143   case $host_cpu in
   9144   ia64*)
   9145     shrext_cmds='.so'
   9146     hardcode_into_libs=yes
   9147     dynamic_linker="$host_os dld.so"
   9148     shlibpath_var=LD_LIBRARY_PATH
   9149     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9150     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9151     soname_spec='${libname}${release}${shared_ext}$major'
   9152     if test "X$HPUX_IA64_MODE" = X32; then
   9153       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9154     else
   9155       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9156     fi
   9157     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9158     ;;
   9159    hppa*64*)
   9160      shrext_cmds='.sl'
   9161      hardcode_into_libs=yes
   9162      dynamic_linker="$host_os dld.sl"
   9163      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9164      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9168      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9169      ;;
   9170    *)
   9171     shrext_cmds='.sl'
   9172     dynamic_linker="$host_os dld.sl"
   9173     shlibpath_var=SHLIB_PATH
   9174     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9175     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9176     soname_spec='${libname}${release}${shared_ext}$major'
   9177     ;;
   9178   esac
   9179   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9180   postinstall_cmds='chmod 555 $lib'
   9181   ;;
   9182 
   9183 interix3*)
   9184   version_type=linux
   9185   need_lib_prefix=no
   9186   need_version=no
   9187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9188   soname_spec='${libname}${release}${shared_ext}$major'
   9189   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9190   shlibpath_var=LD_LIBRARY_PATH
   9191   shlibpath_overrides_runpath=no
   9192   hardcode_into_libs=yes
   9193   ;;
   9194 
   9195 irix5* | irix6* | nonstopux*)
   9196   case $host_os in
   9197     nonstopux*) version_type=nonstopux ;;
   9198     *)
   9199 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9200 		version_type=linux
   9201 	else
   9202 		version_type=irix
   9203 	fi ;;
   9204   esac
   9205   need_lib_prefix=no
   9206   need_version=no
   9207   soname_spec='${libname}${release}${shared_ext}$major'
   9208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9209   case $host_os in
   9210   irix5* | nonstopux*)
   9211     libsuff= shlibsuff=
   9212     ;;
   9213   *)
   9214     case $LD in # libtool.m4 will add one of these switches to LD
   9215     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9216       libsuff= shlibsuff= libmagic=32-bit;;
   9217     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9218       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9219     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9220       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9221     *) libsuff= shlibsuff= libmagic=never-match;;
   9222     esac
   9223     ;;
   9224   esac
   9225   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9226   shlibpath_overrides_runpath=no
   9227   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9228   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9229   hardcode_into_libs=yes
   9230   ;;
   9231 
   9232 # No shared lib support for Linux oldld, aout, or coff.
   9233 linux*oldld* | linux*aout* | linux*coff*)
   9234   dynamic_linker=no
   9235   ;;
   9236 
   9237 # This must be Linux ELF.
   9238 linux*)
   9239   version_type=linux
   9240   need_lib_prefix=no
   9241   need_version=no
   9242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9243   soname_spec='${libname}${release}${shared_ext}$major'
   9244   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9245   shlibpath_var=LD_LIBRARY_PATH
   9246   shlibpath_overrides_runpath=no
   9247   # This implies no fast_install, which is unacceptable.
   9248   # Some rework will be needed to allow for fast_install
   9249   # before this can be enabled.
   9250   hardcode_into_libs=yes
   9251 
   9252   # Append ld.so.conf contents to the search path
   9253   if test -f /etc/ld.so.conf; then
   9254     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9255     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9256   fi
   9257 
   9258   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9259   # powerpc, because MkLinux only supported shared libraries with the
   9260   # GNU dynamic linker.  Since this was broken with cross compilers,
   9261   # most powerpc-linux boxes support dynamic linking these days and
   9262   # people can always --disable-shared, the test was removed, and we
   9263   # assume the GNU/Linux dynamic linker is in use.
   9264   dynamic_linker='GNU/Linux ld.so'
   9265   ;;
   9266 
   9267 knetbsd*-gnu)
   9268   version_type=linux
   9269   need_lib_prefix=no
   9270   need_version=no
   9271   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9272   soname_spec='${libname}${release}${shared_ext}$major'
   9273   shlibpath_var=LD_LIBRARY_PATH
   9274   shlibpath_overrides_runpath=no
   9275   hardcode_into_libs=yes
   9276   dynamic_linker='GNU ld.so'
   9277   ;;
   9278 
   9279 netbsd*)
   9280   version_type=sunos
   9281   need_lib_prefix=no
   9282   need_version=no
   9283   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9284     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9285     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9286     dynamic_linker='NetBSD (a.out) ld.so'
   9287   else
   9288     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9289     soname_spec='${libname}${release}${shared_ext}$major'
   9290     dynamic_linker='NetBSD ld.elf_so'
   9291   fi
   9292   shlibpath_var=LD_LIBRARY_PATH
   9293   shlibpath_overrides_runpath=yes
   9294   hardcode_into_libs=yes
   9295   ;;
   9296 
   9297 newsos6)
   9298   version_type=linux
   9299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9300   shlibpath_var=LD_LIBRARY_PATH
   9301   shlibpath_overrides_runpath=yes
   9302   ;;
   9303 
   9304 nto-qnx*)
   9305   version_type=linux
   9306   need_lib_prefix=no
   9307   need_version=no
   9308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9309   soname_spec='${libname}${release}${shared_ext}$major'
   9310   shlibpath_var=LD_LIBRARY_PATH
   9311   shlibpath_overrides_runpath=yes
   9312   ;;
   9313 
   9314 openbsd*)
   9315   version_type=sunos
   9316   sys_lib_dlsearch_path_spec="/usr/lib"
   9317   need_lib_prefix=no
   9318   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9319   case $host_os in
   9320     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9321     *)                         need_version=no  ;;
   9322   esac
   9323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9324   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9325   shlibpath_var=LD_LIBRARY_PATH
   9326   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9327     case $host_os in
   9328       openbsd2.[89] | openbsd2.[89].*)
   9329 	shlibpath_overrides_runpath=no
   9330 	;;
   9331       *)
   9332 	shlibpath_overrides_runpath=yes
   9333 	;;
   9334       esac
   9335   else
   9336     shlibpath_overrides_runpath=yes
   9337   fi
   9338   ;;
   9339 
   9340 os2*)
   9341   libname_spec='$name'
   9342   shrext_cmds=".dll"
   9343   need_lib_prefix=no
   9344   library_names_spec='$libname${shared_ext} $libname.a'
   9345   dynamic_linker='OS/2 ld.exe'
   9346   shlibpath_var=LIBPATH
   9347   ;;
   9348 
   9349 osf3* | osf4* | osf5*)
   9350   version_type=osf
   9351   need_lib_prefix=no
   9352   need_version=no
   9353   soname_spec='${libname}${release}${shared_ext}$major'
   9354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9355   shlibpath_var=LD_LIBRARY_PATH
   9356   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9357   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9358   ;;
   9359 
   9360 solaris*)
   9361   version_type=linux
   9362   need_lib_prefix=no
   9363   need_version=no
   9364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9365   soname_spec='${libname}${release}${shared_ext}$major'
   9366   shlibpath_var=LD_LIBRARY_PATH
   9367   shlibpath_overrides_runpath=yes
   9368   hardcode_into_libs=yes
   9369   # ldd complains unless libraries are executable
   9370   postinstall_cmds='chmod +x $lib'
   9371   ;;
   9372 
   9373 sunos4*)
   9374   version_type=sunos
   9375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9376   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9377   shlibpath_var=LD_LIBRARY_PATH
   9378   shlibpath_overrides_runpath=yes
   9379   if test "$with_gnu_ld" = yes; then
   9380     need_lib_prefix=no
   9381   fi
   9382   need_version=yes
   9383   ;;
   9384 
   9385 sysv4 | sysv4.3*)
   9386   version_type=linux
   9387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9388   soname_spec='${libname}${release}${shared_ext}$major'
   9389   shlibpath_var=LD_LIBRARY_PATH
   9390   case $host_vendor in
   9391     sni)
   9392       shlibpath_overrides_runpath=no
   9393       need_lib_prefix=no
   9394       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9395       runpath_var=LD_RUN_PATH
   9396       ;;
   9397     siemens)
   9398       need_lib_prefix=no
   9399       ;;
   9400     motorola)
   9401       need_lib_prefix=no
   9402       need_version=no
   9403       shlibpath_overrides_runpath=no
   9404       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9405       ;;
   9406   esac
   9407   ;;
   9408 
   9409 sysv4*MP*)
   9410   if test -d /usr/nec ;then
   9411     version_type=linux
   9412     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9413     soname_spec='$libname${shared_ext}.$major'
   9414     shlibpath_var=LD_LIBRARY_PATH
   9415   fi
   9416   ;;
   9417 
   9418 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9419   version_type=freebsd-elf
   9420   need_lib_prefix=no
   9421   need_version=no
   9422   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9423   soname_spec='${libname}${release}${shared_ext}$major'
   9424   shlibpath_var=LD_LIBRARY_PATH
   9425   hardcode_into_libs=yes
   9426   if test "$with_gnu_ld" = yes; then
   9427     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9428     shlibpath_overrides_runpath=no
   9429   else
   9430     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9431     shlibpath_overrides_runpath=yes
   9432     case $host_os in
   9433       sco3.2v5*)
   9434         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9435 	;;
   9436     esac
   9437   fi
   9438   sys_lib_dlsearch_path_spec='/usr/lib'
   9439   ;;
   9440 
   9441 uts4*)
   9442   version_type=linux
   9443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9444   soname_spec='${libname}${release}${shared_ext}$major'
   9445   shlibpath_var=LD_LIBRARY_PATH
   9446   ;;
   9447 
   9448 *)
   9449   dynamic_linker=no
   9450   ;;
   9451 esac
   9452 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9453 echo "${ECHO_T}$dynamic_linker" >&6; }
   9454 test "$dynamic_linker" = no && can_build_shared=no
   9455 
   9456 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9457 if test "$GCC" = yes; then
   9458   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9459 fi
   9460 
   9461 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9462 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9463 hardcode_action=
   9464 if test -n "$hardcode_libdir_flag_spec" || \
   9465    test -n "$runpath_var" || \
   9466    test "X$hardcode_automatic" = "Xyes" ; then
   9467 
   9468   # We can hardcode non-existant directories.
   9469   if test "$hardcode_direct" != no &&
   9470      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9471      # have to relink, otherwise we might link with an installed library
   9472      # when we should be linking with a yet-to-be-installed one
   9473      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9474      test "$hardcode_minus_L" != no; then
   9475     # Linking always hardcodes the temporary library directory.
   9476     hardcode_action=relink
   9477   else
   9478     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9479     hardcode_action=immediate
   9480   fi
   9481 else
   9482   # We cannot hardcode anything, or else we can only hardcode existing
   9483   # directories.
   9484   hardcode_action=unsupported
   9485 fi
   9486 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9487 echo "${ECHO_T}$hardcode_action" >&6; }
   9488 
   9489 if test "$hardcode_action" = relink; then
   9490   # Fast installation is not supported
   9491   enable_fast_install=no
   9492 elif test "$shlibpath_overrides_runpath" = yes ||
   9493      test "$enable_shared" = no; then
   9494   # Fast installation is not necessary
   9495   enable_fast_install=needless
   9496 fi
   9497 
   9498 striplib=
   9499 old_striplib=
   9500 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9501 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9502 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9503   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9504   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9505   { echo "$as_me:$LINENO: result: yes" >&5
   9506 echo "${ECHO_T}yes" >&6; }
   9507 else
   9508 # FIXME - insert some real tests, host_os isn't really good enough
   9509   case $host_os in
   9510    darwin*)
   9511        if test -n "$STRIP" ; then
   9512          striplib="$STRIP -x"
   9513          { echo "$as_me:$LINENO: result: yes" >&5
   9514 echo "${ECHO_T}yes" >&6; }
   9515        else
   9516   { echo "$as_me:$LINENO: result: no" >&5
   9517 echo "${ECHO_T}no" >&6; }
   9518 fi
   9519        ;;
   9520    *)
   9521   { echo "$as_me:$LINENO: result: no" >&5
   9522 echo "${ECHO_T}no" >&6; }
   9523     ;;
   9524   esac
   9525 fi
   9526 
   9527 if test "x$enable_dlopen" != xyes; then
   9528   enable_dlopen=unknown
   9529   enable_dlopen_self=unknown
   9530   enable_dlopen_self_static=unknown
   9531 else
   9532   lt_cv_dlopen=no
   9533   lt_cv_dlopen_libs=
   9534 
   9535   case $host_os in
   9536   beos*)
   9537     lt_cv_dlopen="load_add_on"
   9538     lt_cv_dlopen_libs=
   9539     lt_cv_dlopen_self=yes
   9540     ;;
   9541 
   9542   mingw* | pw32*)
   9543     lt_cv_dlopen="LoadLibrary"
   9544     lt_cv_dlopen_libs=
   9545    ;;
   9546 
   9547   cygwin*)
   9548     lt_cv_dlopen="dlopen"
   9549     lt_cv_dlopen_libs=
   9550    ;;
   9551 
   9552   darwin*)
   9553   # if libdl is installed we need to link against it
   9554     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9555 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9557   echo $ECHO_N "(cached) $ECHO_C" >&6
   9558 else
   9559   ac_check_lib_save_LIBS=$LIBS
   9560 LIBS="-ldl  $LIBS"
   9561 cat >conftest.$ac_ext <<_ACEOF
   9562 /* confdefs.h.  */
   9563 _ACEOF
   9564 cat confdefs.h >>conftest.$ac_ext
   9565 cat >>conftest.$ac_ext <<_ACEOF
   9566 /* end confdefs.h.  */
   9567 
   9568 /* Override any GCC internal prototype to avoid an error.
   9569    Use char because int might match the return type of a GCC
   9570    builtin and then its argument prototype would still apply.  */
   9571 #ifdef __cplusplus
   9572 extern "C"
   9573 #endif
   9574 char dlopen ();
   9575 int
   9576 main ()
   9577 {
   9578 return dlopen ();
   9579   ;
   9580   return 0;
   9581 }
   9582 _ACEOF
   9583 rm -f conftest.$ac_objext conftest$ac_exeext
   9584 if { (ac_try="$ac_link"
   9585 case "(($ac_try" in
   9586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9587   *) ac_try_echo=$ac_try;;
   9588 esac
   9589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9590   (eval "$ac_link") 2>conftest.er1
   9591   ac_status=$?
   9592   grep -v '^ *+' conftest.er1 >conftest.err
   9593   rm -f conftest.er1
   9594   cat conftest.err >&5
   9595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9596   (exit $ac_status); } &&
   9597 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9598   { (case "(($ac_try" in
   9599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9600   *) ac_try_echo=$ac_try;;
   9601 esac
   9602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9603   (eval "$ac_try") 2>&5
   9604   ac_status=$?
   9605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9606   (exit $ac_status); }; } &&
   9607 	 { ac_try='test -s conftest$ac_exeext'
   9608   { (case "(($ac_try" in
   9609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9610   *) ac_try_echo=$ac_try;;
   9611 esac
   9612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9613   (eval "$ac_try") 2>&5
   9614   ac_status=$?
   9615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9616   (exit $ac_status); }; }; then
   9617   ac_cv_lib_dl_dlopen=yes
   9618 else
   9619   echo "$as_me: failed program was:" >&5
   9620 sed 's/^/| /' conftest.$ac_ext >&5
   9621 
   9622 	ac_cv_lib_dl_dlopen=no
   9623 fi
   9624 
   9625 rm -f core conftest.err conftest.$ac_objext \
   9626       conftest$ac_exeext conftest.$ac_ext
   9627 LIBS=$ac_check_lib_save_LIBS
   9628 fi
   9629 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9630 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9631 if test $ac_cv_lib_dl_dlopen = yes; then
   9632   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9633 else
   9634 
   9635     lt_cv_dlopen="dyld"
   9636     lt_cv_dlopen_libs=
   9637     lt_cv_dlopen_self=yes
   9638 
   9639 fi
   9640 
   9641    ;;
   9642 
   9643   *)
   9644     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9645 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9646 if test "${ac_cv_func_shl_load+set}" = set; then
   9647   echo $ECHO_N "(cached) $ECHO_C" >&6
   9648 else
   9649   cat >conftest.$ac_ext <<_ACEOF
   9650 /* confdefs.h.  */
   9651 _ACEOF
   9652 cat confdefs.h >>conftest.$ac_ext
   9653 cat >>conftest.$ac_ext <<_ACEOF
   9654 /* end confdefs.h.  */
   9655 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9657 #define shl_load innocuous_shl_load
   9658 
   9659 /* System header to define __stub macros and hopefully few prototypes,
   9660     which can conflict with char shl_load (); below.
   9661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9662     <limits.h> exists even on freestanding compilers.  */
   9663 
   9664 #ifdef __STDC__
   9665 # include <limits.h>
   9666 #else
   9667 # include <assert.h>
   9668 #endif
   9669 
   9670 #undef shl_load
   9671 
   9672 /* Override any GCC internal prototype to avoid an error.
   9673    Use char because int might match the return type of a GCC
   9674    builtin and then its argument prototype would still apply.  */
   9675 #ifdef __cplusplus
   9676 extern "C"
   9677 #endif
   9678 char shl_load ();
   9679 /* The GNU C library defines this for functions which it implements
   9680     to always fail with ENOSYS.  Some functions are actually named
   9681     something starting with __ and the normal name is an alias.  */
   9682 #if defined __stub_shl_load || defined __stub___shl_load
   9683 choke me
   9684 #endif
   9685 
   9686 int
   9687 main ()
   9688 {
   9689 return shl_load ();
   9690   ;
   9691   return 0;
   9692 }
   9693 _ACEOF
   9694 rm -f conftest.$ac_objext conftest$ac_exeext
   9695 if { (ac_try="$ac_link"
   9696 case "(($ac_try" in
   9697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9698   *) ac_try_echo=$ac_try;;
   9699 esac
   9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9701   (eval "$ac_link") 2>conftest.er1
   9702   ac_status=$?
   9703   grep -v '^ *+' conftest.er1 >conftest.err
   9704   rm -f conftest.er1
   9705   cat conftest.err >&5
   9706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9707   (exit $ac_status); } &&
   9708 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9709   { (case "(($ac_try" in
   9710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9711   *) ac_try_echo=$ac_try;;
   9712 esac
   9713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9714   (eval "$ac_try") 2>&5
   9715   ac_status=$?
   9716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9717   (exit $ac_status); }; } &&
   9718 	 { ac_try='test -s conftest$ac_exeext'
   9719   { (case "(($ac_try" in
   9720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9721   *) ac_try_echo=$ac_try;;
   9722 esac
   9723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9724   (eval "$ac_try") 2>&5
   9725   ac_status=$?
   9726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9727   (exit $ac_status); }; }; then
   9728   ac_cv_func_shl_load=yes
   9729 else
   9730   echo "$as_me: failed program was:" >&5
   9731 sed 's/^/| /' conftest.$ac_ext >&5
   9732 
   9733 	ac_cv_func_shl_load=no
   9734 fi
   9735 
   9736 rm -f core conftest.err conftest.$ac_objext \
   9737       conftest$ac_exeext conftest.$ac_ext
   9738 fi
   9739 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9740 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9741 if test $ac_cv_func_shl_load = yes; then
   9742   lt_cv_dlopen="shl_load"
   9743 else
   9744   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9745 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9746 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9747   echo $ECHO_N "(cached) $ECHO_C" >&6
   9748 else
   9749   ac_check_lib_save_LIBS=$LIBS
   9750 LIBS="-ldld  $LIBS"
   9751 cat >conftest.$ac_ext <<_ACEOF
   9752 /* confdefs.h.  */
   9753 _ACEOF
   9754 cat confdefs.h >>conftest.$ac_ext
   9755 cat >>conftest.$ac_ext <<_ACEOF
   9756 /* end confdefs.h.  */
   9757 
   9758 /* Override any GCC internal prototype to avoid an error.
   9759    Use char because int might match the return type of a GCC
   9760    builtin and then its argument prototype would still apply.  */
   9761 #ifdef __cplusplus
   9762 extern "C"
   9763 #endif
   9764 char shl_load ();
   9765 int
   9766 main ()
   9767 {
   9768 return shl_load ();
   9769   ;
   9770   return 0;
   9771 }
   9772 _ACEOF
   9773 rm -f conftest.$ac_objext conftest$ac_exeext
   9774 if { (ac_try="$ac_link"
   9775 case "(($ac_try" in
   9776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9777   *) ac_try_echo=$ac_try;;
   9778 esac
   9779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9780   (eval "$ac_link") 2>conftest.er1
   9781   ac_status=$?
   9782   grep -v '^ *+' conftest.er1 >conftest.err
   9783   rm -f conftest.er1
   9784   cat conftest.err >&5
   9785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9786   (exit $ac_status); } &&
   9787 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9788   { (case "(($ac_try" in
   9789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9790   *) ac_try_echo=$ac_try;;
   9791 esac
   9792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9793   (eval "$ac_try") 2>&5
   9794   ac_status=$?
   9795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9796   (exit $ac_status); }; } &&
   9797 	 { ac_try='test -s conftest$ac_exeext'
   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_try") 2>&5
   9804   ac_status=$?
   9805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9806   (exit $ac_status); }; }; then
   9807   ac_cv_lib_dld_shl_load=yes
   9808 else
   9809   echo "$as_me: failed program was:" >&5
   9810 sed 's/^/| /' conftest.$ac_ext >&5
   9811 
   9812 	ac_cv_lib_dld_shl_load=no
   9813 fi
   9814 
   9815 rm -f core conftest.err conftest.$ac_objext \
   9816       conftest$ac_exeext conftest.$ac_ext
   9817 LIBS=$ac_check_lib_save_LIBS
   9818 fi
   9819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9820 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9821 if test $ac_cv_lib_dld_shl_load = yes; then
   9822   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9823 else
   9824   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9825 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9826 if test "${ac_cv_func_dlopen+set}" = set; then
   9827   echo $ECHO_N "(cached) $ECHO_C" >&6
   9828 else
   9829   cat >conftest.$ac_ext <<_ACEOF
   9830 /* confdefs.h.  */
   9831 _ACEOF
   9832 cat confdefs.h >>conftest.$ac_ext
   9833 cat >>conftest.$ac_ext <<_ACEOF
   9834 /* end confdefs.h.  */
   9835 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9837 #define dlopen innocuous_dlopen
   9838 
   9839 /* System header to define __stub macros and hopefully few prototypes,
   9840     which can conflict with char dlopen (); below.
   9841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9842     <limits.h> exists even on freestanding compilers.  */
   9843 
   9844 #ifdef __STDC__
   9845 # include <limits.h>
   9846 #else
   9847 # include <assert.h>
   9848 #endif
   9849 
   9850 #undef dlopen
   9851 
   9852 /* Override any GCC internal prototype to avoid an error.
   9853    Use char because int might match the return type of a GCC
   9854    builtin and then its argument prototype would still apply.  */
   9855 #ifdef __cplusplus
   9856 extern "C"
   9857 #endif
   9858 char dlopen ();
   9859 /* The GNU C library defines this for functions which it implements
   9860     to always fail with ENOSYS.  Some functions are actually named
   9861     something starting with __ and the normal name is an alias.  */
   9862 #if defined __stub_dlopen || defined __stub___dlopen
   9863 choke me
   9864 #endif
   9865 
   9866 int
   9867 main ()
   9868 {
   9869 return dlopen ();
   9870   ;
   9871   return 0;
   9872 }
   9873 _ACEOF
   9874 rm -f conftest.$ac_objext conftest$ac_exeext
   9875 if { (ac_try="$ac_link"
   9876 case "(($ac_try" in
   9877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9878   *) ac_try_echo=$ac_try;;
   9879 esac
   9880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9881   (eval "$ac_link") 2>conftest.er1
   9882   ac_status=$?
   9883   grep -v '^ *+' conftest.er1 >conftest.err
   9884   rm -f conftest.er1
   9885   cat conftest.err >&5
   9886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9887   (exit $ac_status); } &&
   9888 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9889   { (case "(($ac_try" in
   9890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9891   *) ac_try_echo=$ac_try;;
   9892 esac
   9893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9894   (eval "$ac_try") 2>&5
   9895   ac_status=$?
   9896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9897   (exit $ac_status); }; } &&
   9898 	 { ac_try='test -s conftest$ac_exeext'
   9899   { (case "(($ac_try" in
   9900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9901   *) ac_try_echo=$ac_try;;
   9902 esac
   9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9904   (eval "$ac_try") 2>&5
   9905   ac_status=$?
   9906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9907   (exit $ac_status); }; }; then
   9908   ac_cv_func_dlopen=yes
   9909 else
   9910   echo "$as_me: failed program was:" >&5
   9911 sed 's/^/| /' conftest.$ac_ext >&5
   9912 
   9913 	ac_cv_func_dlopen=no
   9914 fi
   9915 
   9916 rm -f core conftest.err conftest.$ac_objext \
   9917       conftest$ac_exeext conftest.$ac_ext
   9918 fi
   9919 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9920 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9921 if test $ac_cv_func_dlopen = yes; then
   9922   lt_cv_dlopen="dlopen"
   9923 else
   9924   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9925 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9926 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9927   echo $ECHO_N "(cached) $ECHO_C" >&6
   9928 else
   9929   ac_check_lib_save_LIBS=$LIBS
   9930 LIBS="-ldl  $LIBS"
   9931 cat >conftest.$ac_ext <<_ACEOF
   9932 /* confdefs.h.  */
   9933 _ACEOF
   9934 cat confdefs.h >>conftest.$ac_ext
   9935 cat >>conftest.$ac_ext <<_ACEOF
   9936 /* end confdefs.h.  */
   9937 
   9938 /* Override any GCC internal prototype to avoid an error.
   9939    Use char because int might match the return type of a GCC
   9940    builtin and then its argument prototype would still apply.  */
   9941 #ifdef __cplusplus
   9942 extern "C"
   9943 #endif
   9944 char dlopen ();
   9945 int
   9946 main ()
   9947 {
   9948 return dlopen ();
   9949   ;
   9950   return 0;
   9951 }
   9952 _ACEOF
   9953 rm -f conftest.$ac_objext conftest$ac_exeext
   9954 if { (ac_try="$ac_link"
   9955 case "(($ac_try" in
   9956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9957   *) ac_try_echo=$ac_try;;
   9958 esac
   9959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9960   (eval "$ac_link") 2>conftest.er1
   9961   ac_status=$?
   9962   grep -v '^ *+' conftest.er1 >conftest.err
   9963   rm -f conftest.er1
   9964   cat conftest.err >&5
   9965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9966   (exit $ac_status); } &&
   9967 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9968   { (case "(($ac_try" in
   9969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9970   *) ac_try_echo=$ac_try;;
   9971 esac
   9972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9973   (eval "$ac_try") 2>&5
   9974   ac_status=$?
   9975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9976   (exit $ac_status); }; } &&
   9977 	 { ac_try='test -s conftest$ac_exeext'
   9978   { (case "(($ac_try" in
   9979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9980   *) ac_try_echo=$ac_try;;
   9981 esac
   9982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9983   (eval "$ac_try") 2>&5
   9984   ac_status=$?
   9985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9986   (exit $ac_status); }; }; then
   9987   ac_cv_lib_dl_dlopen=yes
   9988 else
   9989   echo "$as_me: failed program was:" >&5
   9990 sed 's/^/| /' conftest.$ac_ext >&5
   9991 
   9992 	ac_cv_lib_dl_dlopen=no
   9993 fi
   9994 
   9995 rm -f core conftest.err conftest.$ac_objext \
   9996       conftest$ac_exeext conftest.$ac_ext
   9997 LIBS=$ac_check_lib_save_LIBS
   9998 fi
   9999 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10000 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10001 if test $ac_cv_lib_dl_dlopen = yes; then
   10002   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10003 else
   10004   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10005 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10006 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10007   echo $ECHO_N "(cached) $ECHO_C" >&6
   10008 else
   10009   ac_check_lib_save_LIBS=$LIBS
   10010 LIBS="-lsvld  $LIBS"
   10011 cat >conftest.$ac_ext <<_ACEOF
   10012 /* confdefs.h.  */
   10013 _ACEOF
   10014 cat confdefs.h >>conftest.$ac_ext
   10015 cat >>conftest.$ac_ext <<_ACEOF
   10016 /* end confdefs.h.  */
   10017 
   10018 /* Override any GCC internal prototype to avoid an error.
   10019    Use char because int might match the return type of a GCC
   10020    builtin and then its argument prototype would still apply.  */
   10021 #ifdef __cplusplus
   10022 extern "C"
   10023 #endif
   10024 char dlopen ();
   10025 int
   10026 main ()
   10027 {
   10028 return dlopen ();
   10029   ;
   10030   return 0;
   10031 }
   10032 _ACEOF
   10033 rm -f conftest.$ac_objext conftest$ac_exeext
   10034 if { (ac_try="$ac_link"
   10035 case "(($ac_try" in
   10036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10037   *) ac_try_echo=$ac_try;;
   10038 esac
   10039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10040   (eval "$ac_link") 2>conftest.er1
   10041   ac_status=$?
   10042   grep -v '^ *+' conftest.er1 >conftest.err
   10043   rm -f conftest.er1
   10044   cat conftest.err >&5
   10045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10046   (exit $ac_status); } &&
   10047 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10048   { (case "(($ac_try" in
   10049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10050   *) ac_try_echo=$ac_try;;
   10051 esac
   10052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10053   (eval "$ac_try") 2>&5
   10054   ac_status=$?
   10055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10056   (exit $ac_status); }; } &&
   10057 	 { ac_try='test -s conftest$ac_exeext'
   10058   { (case "(($ac_try" in
   10059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10060   *) ac_try_echo=$ac_try;;
   10061 esac
   10062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10063   (eval "$ac_try") 2>&5
   10064   ac_status=$?
   10065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10066   (exit $ac_status); }; }; then
   10067   ac_cv_lib_svld_dlopen=yes
   10068 else
   10069   echo "$as_me: failed program was:" >&5
   10070 sed 's/^/| /' conftest.$ac_ext >&5
   10071 
   10072 	ac_cv_lib_svld_dlopen=no
   10073 fi
   10074 
   10075 rm -f core conftest.err conftest.$ac_objext \
   10076       conftest$ac_exeext conftest.$ac_ext
   10077 LIBS=$ac_check_lib_save_LIBS
   10078 fi
   10079 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10080 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10081 if test $ac_cv_lib_svld_dlopen = yes; then
   10082   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10083 else
   10084   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10085 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10086 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10087   echo $ECHO_N "(cached) $ECHO_C" >&6
   10088 else
   10089   ac_check_lib_save_LIBS=$LIBS
   10090 LIBS="-ldld  $LIBS"
   10091 cat >conftest.$ac_ext <<_ACEOF
   10092 /* confdefs.h.  */
   10093 _ACEOF
   10094 cat confdefs.h >>conftest.$ac_ext
   10095 cat >>conftest.$ac_ext <<_ACEOF
   10096 /* end confdefs.h.  */
   10097 
   10098 /* Override any GCC internal prototype to avoid an error.
   10099    Use char because int might match the return type of a GCC
   10100    builtin and then its argument prototype would still apply.  */
   10101 #ifdef __cplusplus
   10102 extern "C"
   10103 #endif
   10104 char dld_link ();
   10105 int
   10106 main ()
   10107 {
   10108 return dld_link ();
   10109   ;
   10110   return 0;
   10111 }
   10112 _ACEOF
   10113 rm -f conftest.$ac_objext conftest$ac_exeext
   10114 if { (ac_try="$ac_link"
   10115 case "(($ac_try" in
   10116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10117   *) ac_try_echo=$ac_try;;
   10118 esac
   10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10120   (eval "$ac_link") 2>conftest.er1
   10121   ac_status=$?
   10122   grep -v '^ *+' conftest.er1 >conftest.err
   10123   rm -f conftest.er1
   10124   cat conftest.err >&5
   10125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10126   (exit $ac_status); } &&
   10127 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10128   { (case "(($ac_try" in
   10129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10130   *) ac_try_echo=$ac_try;;
   10131 esac
   10132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10133   (eval "$ac_try") 2>&5
   10134   ac_status=$?
   10135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10136   (exit $ac_status); }; } &&
   10137 	 { ac_try='test -s conftest$ac_exeext'
   10138   { (case "(($ac_try" in
   10139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10140   *) ac_try_echo=$ac_try;;
   10141 esac
   10142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10143   (eval "$ac_try") 2>&5
   10144   ac_status=$?
   10145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10146   (exit $ac_status); }; }; then
   10147   ac_cv_lib_dld_dld_link=yes
   10148 else
   10149   echo "$as_me: failed program was:" >&5
   10150 sed 's/^/| /' conftest.$ac_ext >&5
   10151 
   10152 	ac_cv_lib_dld_dld_link=no
   10153 fi
   10154 
   10155 rm -f core conftest.err conftest.$ac_objext \
   10156       conftest$ac_exeext conftest.$ac_ext
   10157 LIBS=$ac_check_lib_save_LIBS
   10158 fi
   10159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10160 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10161 if test $ac_cv_lib_dld_dld_link = yes; then
   10162   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10163 fi
   10164 
   10165 
   10166 fi
   10167 
   10168 
   10169 fi
   10170 
   10171 
   10172 fi
   10173 
   10174 
   10175 fi
   10176 
   10177 
   10178 fi
   10179 
   10180     ;;
   10181   esac
   10182 
   10183   if test "x$lt_cv_dlopen" != xno; then
   10184     enable_dlopen=yes
   10185   else
   10186     enable_dlopen=no
   10187   fi
   10188 
   10189   case $lt_cv_dlopen in
   10190   dlopen)
   10191     save_CPPFLAGS="$CPPFLAGS"
   10192     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10193 
   10194     save_LDFLAGS="$LDFLAGS"
   10195     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10196 
   10197     save_LIBS="$LIBS"
   10198     LIBS="$lt_cv_dlopen_libs $LIBS"
   10199 
   10200     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10201 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10202 if test "${lt_cv_dlopen_self+set}" = set; then
   10203   echo $ECHO_N "(cached) $ECHO_C" >&6
   10204 else
   10205   	  if test "$cross_compiling" = yes; then :
   10206   lt_cv_dlopen_self=cross
   10207 else
   10208   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10209   lt_status=$lt_dlunknown
   10210   cat > conftest.$ac_ext <<EOF
   10211 #line 10211 "configure"
   10212 #include "confdefs.h"
   10213 
   10214 #if HAVE_DLFCN_H
   10215 #include <dlfcn.h>
   10216 #endif
   10217 
   10218 #include <stdio.h>
   10219 
   10220 #ifdef RTLD_GLOBAL
   10221 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10222 #else
   10223 #  ifdef DL_GLOBAL
   10224 #    define LT_DLGLOBAL		DL_GLOBAL
   10225 #  else
   10226 #    define LT_DLGLOBAL		0
   10227 #  endif
   10228 #endif
   10229 
   10230 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10231    find out it does not work in some platform. */
   10232 #ifndef LT_DLLAZY_OR_NOW
   10233 #  ifdef RTLD_LAZY
   10234 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10235 #  else
   10236 #    ifdef DL_LAZY
   10237 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10238 #    else
   10239 #      ifdef RTLD_NOW
   10240 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10241 #      else
   10242 #        ifdef DL_NOW
   10243 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10244 #        else
   10245 #          define LT_DLLAZY_OR_NOW	0
   10246 #        endif
   10247 #      endif
   10248 #    endif
   10249 #  endif
   10250 #endif
   10251 
   10252 #ifdef __cplusplus
   10253 extern "C" void exit (int);
   10254 #endif
   10255 
   10256 void fnord() { int i=42;}
   10257 int main ()
   10258 {
   10259   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10260   int status = $lt_dlunknown;
   10261 
   10262   if (self)
   10263     {
   10264       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10265       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10266       /* dlclose (self); */
   10267     }
   10268   else
   10269     puts (dlerror ());
   10270 
   10271     exit (status);
   10272 }
   10273 EOF
   10274   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10275   (eval $ac_link) 2>&5
   10276   ac_status=$?
   10277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10278   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10279     (./conftest; exit; ) >&5 2>/dev/null
   10280     lt_status=$?
   10281     case x$lt_status in
   10282       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10283       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10284       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10285     esac
   10286   else :
   10287     # compilation failed
   10288     lt_cv_dlopen_self=no
   10289   fi
   10290 fi
   10291 rm -fr conftest*
   10292 
   10293 
   10294 fi
   10295 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10296 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10297 
   10298     if test "x$lt_cv_dlopen_self" = xyes; then
   10299       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10300       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10301 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10302 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10303   echo $ECHO_N "(cached) $ECHO_C" >&6
   10304 else
   10305   	  if test "$cross_compiling" = yes; then :
   10306   lt_cv_dlopen_self_static=cross
   10307 else
   10308   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10309   lt_status=$lt_dlunknown
   10310   cat > conftest.$ac_ext <<EOF
   10311 #line 10311 "configure"
   10312 #include "confdefs.h"
   10313 
   10314 #if HAVE_DLFCN_H
   10315 #include <dlfcn.h>
   10316 #endif
   10317 
   10318 #include <stdio.h>
   10319 
   10320 #ifdef RTLD_GLOBAL
   10321 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10322 #else
   10323 #  ifdef DL_GLOBAL
   10324 #    define LT_DLGLOBAL		DL_GLOBAL
   10325 #  else
   10326 #    define LT_DLGLOBAL		0
   10327 #  endif
   10328 #endif
   10329 
   10330 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10331    find out it does not work in some platform. */
   10332 #ifndef LT_DLLAZY_OR_NOW
   10333 #  ifdef RTLD_LAZY
   10334 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10335 #  else
   10336 #    ifdef DL_LAZY
   10337 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10338 #    else
   10339 #      ifdef RTLD_NOW
   10340 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10341 #      else
   10342 #        ifdef DL_NOW
   10343 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10344 #        else
   10345 #          define LT_DLLAZY_OR_NOW	0
   10346 #        endif
   10347 #      endif
   10348 #    endif
   10349 #  endif
   10350 #endif
   10351 
   10352 #ifdef __cplusplus
   10353 extern "C" void exit (int);
   10354 #endif
   10355 
   10356 void fnord() { int i=42;}
   10357 int main ()
   10358 {
   10359   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10360   int status = $lt_dlunknown;
   10361 
   10362   if (self)
   10363     {
   10364       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10365       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10366       /* dlclose (self); */
   10367     }
   10368   else
   10369     puts (dlerror ());
   10370 
   10371     exit (status);
   10372 }
   10373 EOF
   10374   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10375   (eval $ac_link) 2>&5
   10376   ac_status=$?
   10377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10378   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10379     (./conftest; exit; ) >&5 2>/dev/null
   10380     lt_status=$?
   10381     case x$lt_status in
   10382       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10383       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10384       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10385     esac
   10386   else :
   10387     # compilation failed
   10388     lt_cv_dlopen_self_static=no
   10389   fi
   10390 fi
   10391 rm -fr conftest*
   10392 
   10393 
   10394 fi
   10395 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10396 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10397     fi
   10398 
   10399     CPPFLAGS="$save_CPPFLAGS"
   10400     LDFLAGS="$save_LDFLAGS"
   10401     LIBS="$save_LIBS"
   10402     ;;
   10403   esac
   10404 
   10405   case $lt_cv_dlopen_self in
   10406   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10407   *) enable_dlopen_self=unknown ;;
   10408   esac
   10409 
   10410   case $lt_cv_dlopen_self_static in
   10411   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10412   *) enable_dlopen_self_static=unknown ;;
   10413   esac
   10414 fi
   10415 
   10416 
   10417 # Report which library types will actually be built
   10418 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10419 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10420 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10421 echo "${ECHO_T}$can_build_shared" >&6; }
   10422 
   10423 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10424 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10425 test "$can_build_shared" = "no" && enable_shared=no
   10426 
   10427 # On AIX, shared libraries and static libraries use the same namespace, and
   10428 # are all built from PIC.
   10429 case $host_os in
   10430 aix3*)
   10431   test "$enable_shared" = yes && enable_static=no
   10432   if test -n "$RANLIB"; then
   10433     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10434     postinstall_cmds='$RANLIB $lib'
   10435   fi
   10436   ;;
   10437 
   10438 aix4* | aix5*)
   10439   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10440     test "$enable_shared" = yes && enable_static=no
   10441   fi
   10442     ;;
   10443 esac
   10444 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10445 echo "${ECHO_T}$enable_shared" >&6; }
   10446 
   10447 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10448 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10449 # Make sure either enable_shared or enable_static is yes.
   10450 test "$enable_shared" = yes || enable_static=yes
   10451 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10452 echo "${ECHO_T}$enable_static" >&6; }
   10453 
   10454 # The else clause should only fire when bootstrapping the
   10455 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10456 # with your package, and you will get complaints that there are
   10457 # no rules to generate ltmain.sh.
   10458 if test -f "$ltmain"; then
   10459   # See if we are running on zsh, and set the options which allow our commands through
   10460   # without removal of \ escapes.
   10461   if test -n "${ZSH_VERSION+set}" ; then
   10462     setopt NO_GLOB_SUBST
   10463   fi
   10464   # Now quote all the things that may contain metacharacters while being
   10465   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10466   # variables and quote the copies for generation of the libtool script.
   10467   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10468     SED SHELL STRIP \
   10469     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10470     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10471     deplibs_check_method reload_flag reload_cmds need_locks \
   10472     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10473     lt_cv_sys_global_symbol_to_c_name_address \
   10474     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10475     old_postinstall_cmds old_postuninstall_cmds \
   10476     compiler \
   10477     CC \
   10478     LD \
   10479     lt_prog_compiler_wl \
   10480     lt_prog_compiler_pic \
   10481     lt_prog_compiler_static \
   10482     lt_prog_compiler_no_builtin_flag \
   10483     export_dynamic_flag_spec \
   10484     thread_safe_flag_spec \
   10485     whole_archive_flag_spec \
   10486     enable_shared_with_static_runtimes \
   10487     old_archive_cmds \
   10488     old_archive_from_new_cmds \
   10489     predep_objects \
   10490     postdep_objects \
   10491     predeps \
   10492     postdeps \
   10493     compiler_lib_search_path \
   10494     archive_cmds \
   10495     archive_expsym_cmds \
   10496     postinstall_cmds \
   10497     postuninstall_cmds \
   10498     old_archive_from_expsyms_cmds \
   10499     allow_undefined_flag \
   10500     no_undefined_flag \
   10501     export_symbols_cmds \
   10502     hardcode_libdir_flag_spec \
   10503     hardcode_libdir_flag_spec_ld \
   10504     hardcode_libdir_separator \
   10505     hardcode_automatic \
   10506     module_cmds \
   10507     module_expsym_cmds \
   10508     lt_cv_prog_compiler_c_o \
   10509     exclude_expsyms \
   10510     include_expsyms; do
   10511 
   10512     case $var in
   10513     old_archive_cmds | \
   10514     old_archive_from_new_cmds | \
   10515     archive_cmds | \
   10516     archive_expsym_cmds | \
   10517     module_cmds | \
   10518     module_expsym_cmds | \
   10519     old_archive_from_expsyms_cmds | \
   10520     export_symbols_cmds | \
   10521     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10522     postinstall_cmds | postuninstall_cmds | \
   10523     old_postinstall_cmds | old_postuninstall_cmds | \
   10524     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10525       # Double-quote double-evaled strings.
   10526       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10527       ;;
   10528     *)
   10529       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10530       ;;
   10531     esac
   10532   done
   10533 
   10534   case $lt_echo in
   10535   *'\$0 --fallback-echo"')
   10536     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10537     ;;
   10538   esac
   10539 
   10540 cfgfile="${ofile}T"
   10541   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10542   $rm -f "$cfgfile"
   10543   { echo "$as_me:$LINENO: creating $ofile" >&5
   10544 echo "$as_me: creating $ofile" >&6;}
   10545 
   10546   cat <<__EOF__ >> "$cfgfile"
   10547 #! $SHELL
   10548 
   10549 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10550 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10551 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10552 #
   10553 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10554 # Free Software Foundation, Inc.
   10555 #
   10556 # This file is part of GNU Libtool:
   10557 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10558 #
   10559 # This program is free software; you can redistribute it and/or modify
   10560 # it under the terms of the GNU General Public License as published by
   10561 # the Free Software Foundation; either version 2 of the License, or
   10562 # (at your option) any later version.
   10563 #
   10564 # This program is distributed in the hope that it will be useful, but
   10565 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10566 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10567 # General Public License for more details.
   10568 #
   10569 # You should have received a copy of the GNU General Public License
   10570 # along with this program; if not, write to the Free Software
   10571 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10572 #
   10573 # As a special exception to the GNU General Public License, if you
   10574 # distribute this file as part of a program that contains a
   10575 # configuration script generated by Autoconf, you may include it under
   10576 # the same distribution terms that you use for the rest of that program.
   10577 
   10578 # A sed program that does not truncate output.
   10579 SED=$lt_SED
   10580 
   10581 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10582 Xsed="$SED -e 1s/^X//"
   10583 
   10584 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10585 # if CDPATH is set.
   10586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10587 
   10588 # The names of the tagged configurations supported by this script.
   10589 available_tags=
   10590 
   10591 # ### BEGIN LIBTOOL CONFIG
   10592 
   10593 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10594 
   10595 # Shell to use when invoking shell scripts.
   10596 SHELL=$lt_SHELL
   10597 
   10598 # Whether or not to build shared libraries.
   10599 build_libtool_libs=$enable_shared
   10600 
   10601 # Whether or not to build static libraries.
   10602 build_old_libs=$enable_static
   10603 
   10604 # Whether or not to add -lc for building shared libraries.
   10605 build_libtool_need_lc=$archive_cmds_need_lc
   10606 
   10607 # Whether or not to disallow shared libs when runtime libs are static
   10608 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10609 
   10610 # Whether or not to optimize for fast installation.
   10611 fast_install=$enable_fast_install
   10612 
   10613 # The host system.
   10614 host_alias=$host_alias
   10615 host=$host
   10616 host_os=$host_os
   10617 
   10618 # The build system.
   10619 build_alias=$build_alias
   10620 build=$build
   10621 build_os=$build_os
   10622 
   10623 # An echo program that does not interpret backslashes.
   10624 echo=$lt_echo
   10625 
   10626 # The archiver.
   10627 AR=$lt_AR
   10628 AR_FLAGS=$lt_AR_FLAGS
   10629 
   10630 # A C compiler.
   10631 LTCC=$lt_LTCC
   10632 
   10633 # LTCC compiler flags.
   10634 LTCFLAGS=$lt_LTCFLAGS
   10635 
   10636 # A language-specific compiler.
   10637 CC=$lt_compiler
   10638 
   10639 # Is the compiler the GNU C compiler?
   10640 with_gcc=$GCC
   10641 
   10642 # An ERE matcher.
   10643 EGREP=$lt_EGREP
   10644 
   10645 # The linker used to build libraries.
   10646 LD=$lt_LD
   10647 
   10648 # Whether we need hard or soft links.
   10649 LN_S=$lt_LN_S
   10650 
   10651 # A BSD-compatible nm program.
   10652 NM=$lt_NM
   10653 
   10654 # A symbol stripping program
   10655 STRIP=$lt_STRIP
   10656 
   10657 # Used to examine libraries when file_magic_cmd begins "file"
   10658 MAGIC_CMD=$MAGIC_CMD
   10659 
   10660 # Used on cygwin: DLL creation program.
   10661 DLLTOOL="$DLLTOOL"
   10662 
   10663 # Used on cygwin: object dumper.
   10664 OBJDUMP="$OBJDUMP"
   10665 
   10666 # Used on cygwin: assembler.
   10667 AS="$AS"
   10668 
   10669 # The name of the directory that contains temporary libtool files.
   10670 objdir=$objdir
   10671 
   10672 # How to create reloadable object files.
   10673 reload_flag=$lt_reload_flag
   10674 reload_cmds=$lt_reload_cmds
   10675 
   10676 # How to pass a linker flag through the compiler.
   10677 wl=$lt_lt_prog_compiler_wl
   10678 
   10679 # Object file suffix (normally "o").
   10680 objext="$ac_objext"
   10681 
   10682 # Old archive suffix (normally "a").
   10683 libext="$libext"
   10684 
   10685 # Shared library suffix (normally ".so").
   10686 shrext_cmds='$shrext_cmds'
   10687 
   10688 # Executable file suffix (normally "").
   10689 exeext="$exeext"
   10690 
   10691 # Additional compiler flags for building library objects.
   10692 pic_flag=$lt_lt_prog_compiler_pic
   10693 pic_mode=$pic_mode
   10694 
   10695 # What is the maximum length of a command?
   10696 max_cmd_len=$lt_cv_sys_max_cmd_len
   10697 
   10698 # Does compiler simultaneously support -c and -o options?
   10699 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10700 
   10701 # Must we lock files when doing compilation?
   10702 need_locks=$lt_need_locks
   10703 
   10704 # Do we need the lib prefix for modules?
   10705 need_lib_prefix=$need_lib_prefix
   10706 
   10707 # Do we need a version for libraries?
   10708 need_version=$need_version
   10709 
   10710 # Whether dlopen is supported.
   10711 dlopen_support=$enable_dlopen
   10712 
   10713 # Whether dlopen of programs is supported.
   10714 dlopen_self=$enable_dlopen_self
   10715 
   10716 # Whether dlopen of statically linked programs is supported.
   10717 dlopen_self_static=$enable_dlopen_self_static
   10718 
   10719 # Compiler flag to prevent dynamic linking.
   10720 link_static_flag=$lt_lt_prog_compiler_static
   10721 
   10722 # Compiler flag to turn off builtin functions.
   10723 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10724 
   10725 # Compiler flag to allow reflexive dlopens.
   10726 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10727 
   10728 # Compiler flag to generate shared objects directly from archives.
   10729 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10730 
   10731 # Compiler flag to generate thread-safe objects.
   10732 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10733 
   10734 # Library versioning type.
   10735 version_type=$version_type
   10736 
   10737 # Format of library name prefix.
   10738 libname_spec=$lt_libname_spec
   10739 
   10740 # List of archive names.  First name is the real one, the rest are links.
   10741 # The last name is the one that the linker finds with -lNAME.
   10742 library_names_spec=$lt_library_names_spec
   10743 
   10744 # The coded name of the library, if different from the real name.
   10745 soname_spec=$lt_soname_spec
   10746 
   10747 # Commands used to build and install an old-style archive.
   10748 RANLIB=$lt_RANLIB
   10749 old_archive_cmds=$lt_old_archive_cmds
   10750 old_postinstall_cmds=$lt_old_postinstall_cmds
   10751 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10752 
   10753 # Create an old-style archive from a shared archive.
   10754 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10755 
   10756 # Create a temporary old-style archive to link instead of a shared archive.
   10757 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10758 
   10759 # Commands used to build and install a shared archive.
   10760 archive_cmds=$lt_archive_cmds
   10761 archive_expsym_cmds=$lt_archive_expsym_cmds
   10762 postinstall_cmds=$lt_postinstall_cmds
   10763 postuninstall_cmds=$lt_postuninstall_cmds
   10764 
   10765 # Commands used to build a loadable module (assumed same as above if empty)
   10766 module_cmds=$lt_module_cmds
   10767 module_expsym_cmds=$lt_module_expsym_cmds
   10768 
   10769 # Commands to strip libraries.
   10770 old_striplib=$lt_old_striplib
   10771 striplib=$lt_striplib
   10772 
   10773 # Dependencies to place before the objects being linked to create a
   10774 # shared library.
   10775 predep_objects=$lt_predep_objects
   10776 
   10777 # Dependencies to place after the objects being linked to create a
   10778 # shared library.
   10779 postdep_objects=$lt_postdep_objects
   10780 
   10781 # Dependencies to place before the objects being linked to create a
   10782 # shared library.
   10783 predeps=$lt_predeps
   10784 
   10785 # Dependencies to place after the objects being linked to create a
   10786 # shared library.
   10787 postdeps=$lt_postdeps
   10788 
   10789 # The library search path used internally by the compiler when linking
   10790 # a shared library.
   10791 compiler_lib_search_path=$lt_compiler_lib_search_path
   10792 
   10793 # Method to check whether dependent libraries are shared objects.
   10794 deplibs_check_method=$lt_deplibs_check_method
   10795 
   10796 # Command to use when deplibs_check_method == file_magic.
   10797 file_magic_cmd=$lt_file_magic_cmd
   10798 
   10799 # Flag that allows shared libraries with undefined symbols to be built.
   10800 allow_undefined_flag=$lt_allow_undefined_flag
   10801 
   10802 # Flag that forces no undefined symbols.
   10803 no_undefined_flag=$lt_no_undefined_flag
   10804 
   10805 # Commands used to finish a libtool library installation in a directory.
   10806 finish_cmds=$lt_finish_cmds
   10807 
   10808 # Same as above, but a single script fragment to be evaled but not shown.
   10809 finish_eval=$lt_finish_eval
   10810 
   10811 # Take the output of nm and produce a listing of raw symbols and C names.
   10812 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10813 
   10814 # Transform the output of nm in a proper C declaration
   10815 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10816 
   10817 # Transform the output of nm in a C name address pair
   10818 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10819 
   10820 # This is the shared library runtime path variable.
   10821 runpath_var=$runpath_var
   10822 
   10823 # This is the shared library path variable.
   10824 shlibpath_var=$shlibpath_var
   10825 
   10826 # Is shlibpath searched before the hard-coded library search path?
   10827 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10828 
   10829 # How to hardcode a shared library path into an executable.
   10830 hardcode_action=$hardcode_action
   10831 
   10832 # Whether we should hardcode library paths into libraries.
   10833 hardcode_into_libs=$hardcode_into_libs
   10834 
   10835 # Flag to hardcode \$libdir into a binary during linking.
   10836 # This must work even if \$libdir does not exist.
   10837 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10838 
   10839 # If ld is used when linking, flag to hardcode \$libdir into
   10840 # a binary during linking. This must work even if \$libdir does
   10841 # not exist.
   10842 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10843 
   10844 # Whether we need a single -rpath flag with a separated argument.
   10845 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10846 
   10847 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10848 # resulting binary.
   10849 hardcode_direct=$hardcode_direct
   10850 
   10851 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10852 # resulting binary.
   10853 hardcode_minus_L=$hardcode_minus_L
   10854 
   10855 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10856 # the resulting binary.
   10857 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10858 
   10859 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10860 # and all subsequent libraries and executables linked against it.
   10861 hardcode_automatic=$hardcode_automatic
   10862 
   10863 # Variables whose values should be saved in libtool wrapper scripts and
   10864 # restored at relink time.
   10865 variables_saved_for_relink="$variables_saved_for_relink"
   10866 
   10867 # Whether libtool must link a program against all its dependency libraries.
   10868 link_all_deplibs=$link_all_deplibs
   10869 
   10870 # Compile-time system search path for libraries
   10871 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10872 
   10873 # Run-time system search path for libraries
   10874 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10875 
   10876 # Fix the shell variable \$srcfile for the compiler.
   10877 fix_srcfile_path="$fix_srcfile_path"
   10878 
   10879 # Set to yes if exported symbols are required.
   10880 always_export_symbols=$always_export_symbols
   10881 
   10882 # The commands to list exported symbols.
   10883 export_symbols_cmds=$lt_export_symbols_cmds
   10884 
   10885 # The commands to extract the exported symbol list from a shared archive.
   10886 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10887 
   10888 # Symbols that should not be listed in the preloaded symbols.
   10889 exclude_expsyms=$lt_exclude_expsyms
   10890 
   10891 # Symbols that must always be exported.
   10892 include_expsyms=$lt_include_expsyms
   10893 
   10894 # ### END LIBTOOL CONFIG
   10895 
   10896 __EOF__
   10897 
   10898 
   10899   case $host_os in
   10900   aix3*)
   10901     cat <<\EOF >> "$cfgfile"
   10902 
   10903 # AIX sometimes has problems with the GCC collect2 program.  For some
   10904 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10905 # vanish in a puff of smoke.
   10906 if test "X${COLLECT_NAMES+set}" != Xset; then
   10907   COLLECT_NAMES=
   10908   export COLLECT_NAMES
   10909 fi
   10910 EOF
   10911     ;;
   10912   esac
   10913 
   10914   # We use sed instead of cat because bash on DJGPP gets confused if
   10915   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10916   # text mode, it properly converts lines to CR/LF.  This bash problem
   10917   # is reportedly fixed, but why not run on old versions too?
   10918   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10919 
   10920   mv -f "$cfgfile" "$ofile" || \
   10921     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10922   chmod +x "$ofile"
   10923 
   10924 else
   10925   # If there is no Makefile yet, we rely on a make rule to execute
   10926   # `config.status --recheck' to rerun these tests and create the
   10927   # libtool script then.
   10928   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10929   if test -f "$ltmain_in"; then
   10930     test -f Makefile && make "$ltmain"
   10931   fi
   10932 fi
   10933 
   10934 
   10935 ac_ext=c
   10936 ac_cpp='$CPP $CPPFLAGS'
   10937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10940 
   10941 CC="$lt_save_CC"
   10942 
   10943 
   10944 # Check whether --with-tags was given.
   10945 if test "${with_tags+set}" = set; then
   10946   withval=$with_tags; tagnames="$withval"
   10947 fi
   10948 
   10949 
   10950 if test -f "$ltmain" && test -n "$tagnames"; then
   10951   if test ! -f "${ofile}"; then
   10952     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10953 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10954   fi
   10955 
   10956   if test -z "$LTCC"; then
   10957     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10958     if test -z "$LTCC"; then
   10959       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10960 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10961     else
   10962       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10963 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10964     fi
   10965   fi
   10966   if test -z "$LTCFLAGS"; then
   10967     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10968   fi
   10969 
   10970   # Extract list of available tagged configurations in $ofile.
   10971   # Note that this assumes the entire list is on one line.
   10972   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10973 
   10974   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10975   for tagname in $tagnames; do
   10976     IFS="$lt_save_ifs"
   10977     # Check whether tagname contains only valid characters
   10978     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10979     "") ;;
   10980     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10981 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10982    { (exit 1); exit 1; }; }
   10983 	;;
   10984     esac
   10985 
   10986     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10987     then
   10988       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10989 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10990    { (exit 1); exit 1; }; }
   10991     fi
   10992 
   10993     # Update the list of available tags.
   10994     if test -n "$tagname"; then
   10995       echo appending configuration tag \"$tagname\" to $ofile
   10996 
   10997       case $tagname in
   10998       CXX)
   10999 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11000 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11001 	    (test "X$CXX" != "Xg++"))) ; then
   11002 	  ac_ext=cpp
   11003 ac_cpp='$CXXCPP $CPPFLAGS'
   11004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11007 
   11008 
   11009 
   11010 
   11011 archive_cmds_need_lc_CXX=no
   11012 allow_undefined_flag_CXX=
   11013 always_export_symbols_CXX=no
   11014 archive_expsym_cmds_CXX=
   11015 export_dynamic_flag_spec_CXX=
   11016 hardcode_direct_CXX=no
   11017 hardcode_libdir_flag_spec_CXX=
   11018 hardcode_libdir_flag_spec_ld_CXX=
   11019 hardcode_libdir_separator_CXX=
   11020 hardcode_minus_L_CXX=no
   11021 hardcode_shlibpath_var_CXX=unsupported
   11022 hardcode_automatic_CXX=no
   11023 module_cmds_CXX=
   11024 module_expsym_cmds_CXX=
   11025 link_all_deplibs_CXX=unknown
   11026 old_archive_cmds_CXX=$old_archive_cmds
   11027 no_undefined_flag_CXX=
   11028 whole_archive_flag_spec_CXX=
   11029 enable_shared_with_static_runtimes_CXX=no
   11030 
   11031 # Dependencies to place before and after the object being linked:
   11032 predep_objects_CXX=
   11033 postdep_objects_CXX=
   11034 predeps_CXX=
   11035 postdeps_CXX=
   11036 compiler_lib_search_path_CXX=
   11037 
   11038 # Source file extension for C++ test sources.
   11039 ac_ext=cpp
   11040 
   11041 # Object file extension for compiled C++ test sources.
   11042 objext=o
   11043 objext_CXX=$objext
   11044 
   11045 # Code to be used in simple compile tests
   11046 lt_simple_compile_test_code="int some_variable = 0;\n"
   11047 
   11048 # Code to be used in simple link tests
   11049 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   11050 
   11051 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11052 
   11053 # If no C compiler was specified, use CC.
   11054 LTCC=${LTCC-"$CC"}
   11055 
   11056 # If no C compiler flags were specified, use CFLAGS.
   11057 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11058 
   11059 # Allow CC to be a program name with arguments.
   11060 compiler=$CC
   11061 
   11062 
   11063 # save warnings/boilerplate of simple test code
   11064 ac_outfile=conftest.$ac_objext
   11065 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   11066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11067 _lt_compiler_boilerplate=`cat conftest.err`
   11068 $rm conftest*
   11069 
   11070 ac_outfile=conftest.$ac_objext
   11071 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   11072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11073 _lt_linker_boilerplate=`cat conftest.err`
   11074 $rm conftest*
   11075 
   11076 
   11077 # Allow CC to be a program name with arguments.
   11078 lt_save_CC=$CC
   11079 lt_save_LD=$LD
   11080 lt_save_GCC=$GCC
   11081 GCC=$GXX
   11082 lt_save_with_gnu_ld=$with_gnu_ld
   11083 lt_save_path_LD=$lt_cv_path_LD
   11084 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11085   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11086 else
   11087   $as_unset lt_cv_prog_gnu_ld
   11088 fi
   11089 if test -n "${lt_cv_path_LDCXX+set}"; then
   11090   lt_cv_path_LD=$lt_cv_path_LDCXX
   11091 else
   11092   $as_unset lt_cv_path_LD
   11093 fi
   11094 test -z "${LDCXX+set}" || LD=$LDCXX
   11095 CC=${CXX-"c++"}
   11096 compiler=$CC
   11097 compiler_CXX=$CC
   11098 for cc_temp in $compiler""; do
   11099   case $cc_temp in
   11100     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11101     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11102     \-*) ;;
   11103     *) break;;
   11104   esac
   11105 done
   11106 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11107 
   11108 
   11109 # We don't want -fno-exception wen compiling C++ code, so set the
   11110 # no_builtin_flag separately
   11111 if test "$GXX" = yes; then
   11112   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11113 else
   11114   lt_prog_compiler_no_builtin_flag_CXX=
   11115 fi
   11116 
   11117 if test "$GXX" = yes; then
   11118   # Set up default GNU C++ configuration
   11119 
   11120 
   11121 # Check whether --with-gnu-ld was given.
   11122 if test "${with_gnu_ld+set}" = set; then
   11123   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11124 else
   11125   with_gnu_ld=no
   11126 fi
   11127 
   11128 ac_prog=ld
   11129 if test "$GCC" = yes; then
   11130   # Check if gcc -print-prog-name=ld gives a path.
   11131   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11132 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11133   case $host in
   11134   *-*-mingw*)
   11135     # gcc leaves a trailing carriage return which upsets mingw
   11136     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11137   *)
   11138     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11139   esac
   11140   case $ac_prog in
   11141     # Accept absolute paths.
   11142     [\\/]* | ?:[\\/]*)
   11143       re_direlt='/[^/][^/]*/\.\./'
   11144       # Canonicalize the pathname of ld
   11145       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11146       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11147 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11148       done
   11149       test -z "$LD" && LD="$ac_prog"
   11150       ;;
   11151   "")
   11152     # If it fails, then pretend we aren't using GCC.
   11153     ac_prog=ld
   11154     ;;
   11155   *)
   11156     # If it is relative, then search for the first ld in PATH.
   11157     with_gnu_ld=unknown
   11158     ;;
   11159   esac
   11160 elif test "$with_gnu_ld" = yes; then
   11161   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11162 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11163 else
   11164   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11165 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11166 fi
   11167 if test "${lt_cv_path_LD+set}" = set; then
   11168   echo $ECHO_N "(cached) $ECHO_C" >&6
   11169 else
   11170   if test -z "$LD"; then
   11171   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11172   for ac_dir in $PATH; do
   11173     IFS="$lt_save_ifs"
   11174     test -z "$ac_dir" && ac_dir=.
   11175     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11176       lt_cv_path_LD="$ac_dir/$ac_prog"
   11177       # Check to see if the program is GNU ld.  I'd rather use --version,
   11178       # but apparently some variants of GNU ld only accept -v.
   11179       # Break only if it was the GNU/non-GNU ld that we prefer.
   11180       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11181       *GNU* | *'with BFD'*)
   11182 	test "$with_gnu_ld" != no && break
   11183 	;;
   11184       *)
   11185 	test "$with_gnu_ld" != yes && break
   11186 	;;
   11187       esac
   11188     fi
   11189   done
   11190   IFS="$lt_save_ifs"
   11191 else
   11192   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11193 fi
   11194 fi
   11195 
   11196 LD="$lt_cv_path_LD"
   11197 if test -n "$LD"; then
   11198   { echo "$as_me:$LINENO: result: $LD" >&5
   11199 echo "${ECHO_T}$LD" >&6; }
   11200 else
   11201   { echo "$as_me:$LINENO: result: no" >&5
   11202 echo "${ECHO_T}no" >&6; }
   11203 fi
   11204 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11205 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11206    { (exit 1); exit 1; }; }
   11207 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11208 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11209 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11210   echo $ECHO_N "(cached) $ECHO_C" >&6
   11211 else
   11212   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11213 case `$LD -v 2>&1 </dev/null` in
   11214 *GNU* | *'with BFD'*)
   11215   lt_cv_prog_gnu_ld=yes
   11216   ;;
   11217 *)
   11218   lt_cv_prog_gnu_ld=no
   11219   ;;
   11220 esac
   11221 fi
   11222 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11223 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11224 with_gnu_ld=$lt_cv_prog_gnu_ld
   11225 
   11226 
   11227 
   11228   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11229   # archiving commands below assume that GNU ld is being used.
   11230   if test "$with_gnu_ld" = yes; then
   11231     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11232     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'
   11233 
   11234     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11235     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11236 
   11237     # If archive_cmds runs LD, not CC, wlarc should be empty
   11238     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11239     #     investigate it a little bit more. (MM)
   11240     wlarc='${wl}'
   11241 
   11242     # ancient GNU ld didn't support --whole-archive et. al.
   11243     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11244 	grep 'no-whole-archive' > /dev/null; then
   11245       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11246     else
   11247       whole_archive_flag_spec_CXX=
   11248     fi
   11249   else
   11250     with_gnu_ld=no
   11251     wlarc=
   11252 
   11253     # A generic and very simple default shared library creation
   11254     # command for GNU C++ for the case where it uses the native
   11255     # linker, instead of GNU ld.  If possible, this setting should
   11256     # overridden to take advantage of the native linker features on
   11257     # the platform it is being used on.
   11258     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11259   fi
   11260 
   11261   # Commands to make compiler produce verbose output that lists
   11262   # what "hidden" libraries, object files and flags are used when
   11263   # linking a shared library.
   11264   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11265 
   11266 else
   11267   GXX=no
   11268   with_gnu_ld=no
   11269   wlarc=
   11270 fi
   11271 
   11272 # PORTME: fill in a description of your system's C++ link characteristics
   11273 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11274 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11275 ld_shlibs_CXX=yes
   11276 case $host_os in
   11277   aix3*)
   11278     # FIXME: insert proper C++ library support
   11279     ld_shlibs_CXX=no
   11280     ;;
   11281   aix4* | aix5*)
   11282     if test "$host_cpu" = ia64; then
   11283       # On IA64, the linker does run time linking by default, so we don't
   11284       # have to do anything special.
   11285       aix_use_runtimelinking=no
   11286       exp_sym_flag='-Bexport'
   11287       no_entry_flag=""
   11288     else
   11289       aix_use_runtimelinking=no
   11290 
   11291       # Test if we are trying to use run time linking or normal
   11292       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11293       # need to do runtime linking.
   11294       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   11295 	for ld_flag in $LDFLAGS; do
   11296 	  case $ld_flag in
   11297 	  *-brtl*)
   11298 	    aix_use_runtimelinking=yes
   11299 	    break
   11300 	    ;;
   11301 	  esac
   11302 	done
   11303 	;;
   11304       esac
   11305 
   11306       exp_sym_flag='-bexport'
   11307       no_entry_flag='-bnoentry'
   11308     fi
   11309 
   11310     # When large executables or shared objects are built, AIX ld can
   11311     # have problems creating the table of contents.  If linking a library
   11312     # or program results in "error TOC overflow" add -mminimal-toc to
   11313     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11314     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11315 
   11316     archive_cmds_CXX=''
   11317     hardcode_direct_CXX=yes
   11318     hardcode_libdir_separator_CXX=':'
   11319     link_all_deplibs_CXX=yes
   11320 
   11321     if test "$GXX" = yes; then
   11322       case $host_os in aix4.[012]|aix4.[012].*)
   11323       # We only want to do this on AIX 4.2 and lower, the check
   11324       # below for broken collect2 doesn't work under 4.3+
   11325 	collect2name=`${CC} -print-prog-name=collect2`
   11326 	if test -f "$collect2name" && \
   11327 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11328 	then
   11329 	  # We have reworked collect2
   11330 	  hardcode_direct_CXX=yes
   11331 	else
   11332 	  # We have old collect2
   11333 	  hardcode_direct_CXX=unsupported
   11334 	  # It fails to find uninstalled libraries when the uninstalled
   11335 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11336 	  # to unsupported forces relinking
   11337 	  hardcode_minus_L_CXX=yes
   11338 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11339 	  hardcode_libdir_separator_CXX=
   11340 	fi
   11341 	;;
   11342       esac
   11343       shared_flag='-shared'
   11344       if test "$aix_use_runtimelinking" = yes; then
   11345 	shared_flag="$shared_flag "'${wl}-G'
   11346       fi
   11347     else
   11348       # not using gcc
   11349       if test "$host_cpu" = ia64; then
   11350 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11351 	# chokes on -Wl,-G. The following line is correct:
   11352 	shared_flag='-G'
   11353       else
   11354 	if test "$aix_use_runtimelinking" = yes; then
   11355 	  shared_flag='${wl}-G'
   11356 	else
   11357 	  shared_flag='${wl}-bM:SRE'
   11358 	fi
   11359       fi
   11360     fi
   11361 
   11362     # It seems that -bexpall does not export symbols beginning with
   11363     # underscore (_), so it is better to generate a list of symbols to export.
   11364     always_export_symbols_CXX=yes
   11365     if test "$aix_use_runtimelinking" = yes; then
   11366       # Warning - without using the other runtime loading flags (-brtl),
   11367       # -berok will link without error, but may produce a broken library.
   11368       allow_undefined_flag_CXX='-berok'
   11369       # Determine the default libpath from the value encoded in an empty executable.
   11370       cat >conftest.$ac_ext <<_ACEOF
   11371 /* confdefs.h.  */
   11372 _ACEOF
   11373 cat confdefs.h >>conftest.$ac_ext
   11374 cat >>conftest.$ac_ext <<_ACEOF
   11375 /* end confdefs.h.  */
   11376 
   11377 int
   11378 main ()
   11379 {
   11380 
   11381   ;
   11382   return 0;
   11383 }
   11384 _ACEOF
   11385 rm -f conftest.$ac_objext conftest$ac_exeext
   11386 if { (ac_try="$ac_link"
   11387 case "(($ac_try" in
   11388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11389   *) ac_try_echo=$ac_try;;
   11390 esac
   11391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11392   (eval "$ac_link") 2>conftest.er1
   11393   ac_status=$?
   11394   grep -v '^ *+' conftest.er1 >conftest.err
   11395   rm -f conftest.er1
   11396   cat conftest.err >&5
   11397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11398   (exit $ac_status); } &&
   11399 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   11400   { (case "(($ac_try" in
   11401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11402   *) ac_try_echo=$ac_try;;
   11403 esac
   11404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11405   (eval "$ac_try") 2>&5
   11406   ac_status=$?
   11407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11408   (exit $ac_status); }; } &&
   11409 	 { ac_try='test -s conftest$ac_exeext'
   11410   { (case "(($ac_try" in
   11411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11412   *) ac_try_echo=$ac_try;;
   11413 esac
   11414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11415   (eval "$ac_try") 2>&5
   11416   ac_status=$?
   11417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11418   (exit $ac_status); }; }; then
   11419 
   11420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11421 }'`
   11422 # Check for a 64-bit object if we didn't find anything.
   11423 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11424 }'`; fi
   11425 else
   11426   echo "$as_me: failed program was:" >&5
   11427 sed 's/^/| /' conftest.$ac_ext >&5
   11428 
   11429 
   11430 fi
   11431 
   11432 rm -f core conftest.err conftest.$ac_objext \
   11433       conftest$ac_exeext conftest.$ac_ext
   11434 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11435 
   11436       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11437 
   11438       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"
   11439      else
   11440       if test "$host_cpu" = ia64; then
   11441 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11442 	allow_undefined_flag_CXX="-z nodefs"
   11443 	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"
   11444       else
   11445 	# Determine the default libpath from the value encoded in an empty executable.
   11446 	cat >conftest.$ac_ext <<_ACEOF
   11447 /* confdefs.h.  */
   11448 _ACEOF
   11449 cat confdefs.h >>conftest.$ac_ext
   11450 cat >>conftest.$ac_ext <<_ACEOF
   11451 /* end confdefs.h.  */
   11452 
   11453 int
   11454 main ()
   11455 {
   11456 
   11457   ;
   11458   return 0;
   11459 }
   11460 _ACEOF
   11461 rm -f conftest.$ac_objext conftest$ac_exeext
   11462 if { (ac_try="$ac_link"
   11463 case "(($ac_try" in
   11464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11465   *) ac_try_echo=$ac_try;;
   11466 esac
   11467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11468   (eval "$ac_link") 2>conftest.er1
   11469   ac_status=$?
   11470   grep -v '^ *+' conftest.er1 >conftest.err
   11471   rm -f conftest.er1
   11472   cat conftest.err >&5
   11473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11474   (exit $ac_status); } &&
   11475 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   11476   { (case "(($ac_try" in
   11477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11478   *) ac_try_echo=$ac_try;;
   11479 esac
   11480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11481   (eval "$ac_try") 2>&5
   11482   ac_status=$?
   11483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11484   (exit $ac_status); }; } &&
   11485 	 { ac_try='test -s conftest$ac_exeext'
   11486   { (case "(($ac_try" in
   11487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11488   *) ac_try_echo=$ac_try;;
   11489 esac
   11490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11491   (eval "$ac_try") 2>&5
   11492   ac_status=$?
   11493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11494   (exit $ac_status); }; }; then
   11495 
   11496 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11497 }'`
   11498 # Check for a 64-bit object if we didn't find anything.
   11499 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11500 }'`; fi
   11501 else
   11502   echo "$as_me: failed program was:" >&5
   11503 sed 's/^/| /' conftest.$ac_ext >&5
   11504 
   11505 
   11506 fi
   11507 
   11508 rm -f core conftest.err conftest.$ac_objext \
   11509       conftest$ac_exeext conftest.$ac_ext
   11510 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11511 
   11512 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11513 	# Warning - without using the other run time loading flags,
   11514 	# -berok will link without error, but may produce a broken library.
   11515 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11516 	allow_undefined_flag_CXX=' ${wl}-berok'
   11517 	# Exported symbols can be pulled into shared objects from archives
   11518 	whole_archive_flag_spec_CXX='$convenience'
   11519 	archive_cmds_need_lc_CXX=yes
   11520 	# This is similar to how AIX traditionally builds its shared libraries.
   11521 	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'
   11522       fi
   11523     fi
   11524     ;;
   11525 
   11526   beos*)
   11527     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11528       allow_undefined_flag_CXX=unsupported
   11529       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11530       # support --undefined.  This deserves some investigation.  FIXME
   11531       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11532     else
   11533       ld_shlibs_CXX=no
   11534     fi
   11535     ;;
   11536 
   11537   chorus*)
   11538     case $cc_basename in
   11539       *)
   11540 	# FIXME: insert proper C++ library support
   11541 	ld_shlibs_CXX=no
   11542 	;;
   11543     esac
   11544     ;;
   11545 
   11546   cygwin* | mingw* | pw32*)
   11547     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11548     # as there is no search path for DLLs.
   11549     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11550     allow_undefined_flag_CXX=unsupported
   11551     always_export_symbols_CXX=no
   11552     enable_shared_with_static_runtimes_CXX=yes
   11553 
   11554     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11555       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'
   11556       # If the export-symbols file already is a .def file (1st line
   11557       # is EXPORTS), use it as is; otherwise, prepend...
   11558       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11559 	cp $export_symbols $output_objdir/$soname.def;
   11560       else
   11561 	echo EXPORTS > $output_objdir/$soname.def;
   11562 	cat $export_symbols >> $output_objdir/$soname.def;
   11563       fi~
   11564       $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'
   11565     else
   11566       ld_shlibs_CXX=no
   11567     fi
   11568   ;;
   11569       darwin* | rhapsody*)
   11570         case $host_os in
   11571         rhapsody* | darwin1.[012])
   11572          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11573          ;;
   11574        *) # Darwin 1.3 on
   11575          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11576            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11577          else
   11578            case ${MACOSX_DEPLOYMENT_TARGET} in
   11579              10.[012])
   11580                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11581                ;;
   11582              10.*)
   11583                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11584                ;;
   11585            esac
   11586          fi
   11587          ;;
   11588         esac
   11589       archive_cmds_need_lc_CXX=no
   11590       hardcode_direct_CXX=no
   11591       hardcode_automatic_CXX=yes
   11592       hardcode_shlibpath_var_CXX=unsupported
   11593       whole_archive_flag_spec_CXX=''
   11594       link_all_deplibs_CXX=yes
   11595 
   11596     if test "$GXX" = yes ; then
   11597       lt_int_apple_cc_single_mod=no
   11598       output_verbose_link_cmd='echo'
   11599       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11600        lt_int_apple_cc_single_mod=yes
   11601       fi
   11602       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11603        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11604       else
   11605           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'
   11606         fi
   11607         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11608         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11609           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11610             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}'
   11611           else
   11612             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}'
   11613           fi
   11614             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}'
   11615       else
   11616       case $cc_basename in
   11617         xlc*)
   11618          output_verbose_link_cmd='echo'
   11619           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   11620           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11621           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11622           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11623           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}'
   11624           ;;
   11625        *)
   11626          ld_shlibs_CXX=no
   11627           ;;
   11628       esac
   11629       fi
   11630         ;;
   11631 
   11632   dgux*)
   11633     case $cc_basename in
   11634       ec++*)
   11635 	# FIXME: insert proper C++ library support
   11636 	ld_shlibs_CXX=no
   11637 	;;
   11638       ghcx*)
   11639 	# Green Hills C++ Compiler
   11640 	# FIXME: insert proper C++ library support
   11641 	ld_shlibs_CXX=no
   11642 	;;
   11643       *)
   11644 	# FIXME: insert proper C++ library support
   11645 	ld_shlibs_CXX=no
   11646 	;;
   11647     esac
   11648     ;;
   11649   freebsd[12]*)
   11650     # C++ shared libraries reported to be fairly broken before switch to ELF
   11651     ld_shlibs_CXX=no
   11652     ;;
   11653   freebsd-elf*)
   11654     archive_cmds_need_lc_CXX=no
   11655     ;;
   11656   freebsd* | kfreebsd*-gnu | dragonfly*)
   11657     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11658     # conventions
   11659     ld_shlibs_CXX=yes
   11660     ;;
   11661   gnu*)
   11662     ;;
   11663   hpux9*)
   11664     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11665     hardcode_libdir_separator_CXX=:
   11666     export_dynamic_flag_spec_CXX='${wl}-E'
   11667     hardcode_direct_CXX=yes
   11668     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11669 				# but as the default
   11670 				# location of the library.
   11671 
   11672     case $cc_basename in
   11673     CC*)
   11674       # FIXME: insert proper C++ library support
   11675       ld_shlibs_CXX=no
   11676       ;;
   11677     aCC*)
   11678       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'
   11679       # Commands to make compiler produce verbose output that lists
   11680       # what "hidden" libraries, object files and flags are used when
   11681       # linking a shared library.
   11682       #
   11683       # There doesn't appear to be a way to prevent this compiler from
   11684       # explicitly linking system object files so we need to strip them
   11685       # from the output so that they don't get included in the library
   11686       # dependencies.
   11687       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'
   11688       ;;
   11689     *)
   11690       if test "$GXX" = yes; then
   11691         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'
   11692       else
   11693         # FIXME: insert proper C++ library support
   11694         ld_shlibs_CXX=no
   11695       fi
   11696       ;;
   11697     esac
   11698     ;;
   11699   hpux10*|hpux11*)
   11700     if test $with_gnu_ld = no; then
   11701       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11702       hardcode_libdir_separator_CXX=:
   11703 
   11704       case $host_cpu in
   11705       hppa*64*|ia64*)
   11706 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11707         ;;
   11708       *)
   11709 	export_dynamic_flag_spec_CXX='${wl}-E'
   11710         ;;
   11711       esac
   11712     fi
   11713     case $host_cpu in
   11714     hppa*64*|ia64*)
   11715       hardcode_direct_CXX=no
   11716       hardcode_shlibpath_var_CXX=no
   11717       ;;
   11718     *)
   11719       hardcode_direct_CXX=yes
   11720       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11721 					      # but as the default
   11722 					      # location of the library.
   11723       ;;
   11724     esac
   11725 
   11726     case $cc_basename in
   11727       CC*)
   11728 	# FIXME: insert proper C++ library support
   11729 	ld_shlibs_CXX=no
   11730 	;;
   11731       aCC*)
   11732 	case $host_cpu in
   11733 	hppa*64*)
   11734 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11735 	  ;;
   11736 	ia64*)
   11737 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11738 	  ;;
   11739 	*)
   11740 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11741 	  ;;
   11742 	esac
   11743 	# Commands to make compiler produce verbose output that lists
   11744 	# what "hidden" libraries, object files and flags are used when
   11745 	# linking a shared library.
   11746 	#
   11747 	# There doesn't appear to be a way to prevent this compiler from
   11748 	# explicitly linking system object files so we need to strip them
   11749 	# from the output so that they don't get included in the library
   11750 	# dependencies.
   11751 	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'
   11752 	;;
   11753       *)
   11754 	if test "$GXX" = yes; then
   11755 	  if test $with_gnu_ld = no; then
   11756 	    case $host_cpu in
   11757 	    hppa*64*)
   11758 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11759 	      ;;
   11760 	    ia64*)
   11761 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11762 	      ;;
   11763 	    *)
   11764 	      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'
   11765 	      ;;
   11766 	    esac
   11767 	  fi
   11768 	else
   11769 	  # FIXME: insert proper C++ library support
   11770 	  ld_shlibs_CXX=no
   11771 	fi
   11772 	;;
   11773     esac
   11774     ;;
   11775   interix3*)
   11776     hardcode_direct_CXX=no
   11777     hardcode_shlibpath_var_CXX=no
   11778     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11779     export_dynamic_flag_spec_CXX='${wl}-E'
   11780     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11781     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11782     # default) and relocated if they conflict, which is a slow very memory
   11783     # consuming and fragmenting process.  To avoid this, we pick a random,
   11784     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11785     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11786     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'
   11787     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'
   11788     ;;
   11789   irix5* | irix6*)
   11790     case $cc_basename in
   11791       CC*)
   11792 	# SGI C++
   11793 	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'
   11794 
   11795 	# Archives containing C++ object files must be created using
   11796 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11797 	# necessary to make sure instantiated templates are included
   11798 	# in the archive.
   11799 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11800 	;;
   11801       *)
   11802 	if test "$GXX" = yes; then
   11803 	  if test "$with_gnu_ld" = no; then
   11804 	    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'
   11805 	  else
   11806 	    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'
   11807 	  fi
   11808 	fi
   11809 	link_all_deplibs_CXX=yes
   11810 	;;
   11811     esac
   11812     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11813     hardcode_libdir_separator_CXX=:
   11814     ;;
   11815   linux*)
   11816     case $cc_basename in
   11817       KCC*)
   11818 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11819 
   11820 	# KCC will only create a shared library if the output file
   11821 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11822 	# to its proper name (with version) after linking.
   11823 	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'
   11824 	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'
   11825 	# Commands to make compiler produce verbose output that lists
   11826 	# what "hidden" libraries, object files and flags are used when
   11827 	# linking a shared library.
   11828 	#
   11829 	# There doesn't appear to be a way to prevent this compiler from
   11830 	# explicitly linking system object files so we need to strip them
   11831 	# from the output so that they don't get included in the library
   11832 	# dependencies.
   11833 	output_verbose_link_cmd='templist=`$CC $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'
   11834 
   11835 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11836 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11837 
   11838 	# Archives containing C++ object files must be created using
   11839 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11840 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11841 	;;
   11842       icpc*)
   11843 	# Intel C++
   11844 	with_gnu_ld=yes
   11845 	# version 8.0 and above of icpc choke on multiply defined symbols
   11846 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11847 	# earlier do not add the objects themselves.
   11848 	case `$CC -V 2>&1` in
   11849 	*"Version 7."*)
   11850   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11851   	  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'
   11852 	  ;;
   11853 	*)  # Version 8.0 or newer
   11854 	  tmp_idyn=
   11855 	  case $host_cpu in
   11856 	    ia64*) tmp_idyn=' -i_dynamic';;
   11857 	  esac
   11858   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11859 	  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'
   11860 	  ;;
   11861 	esac
   11862 	archive_cmds_need_lc_CXX=no
   11863 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11864 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11865 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11866 	;;
   11867       pgCC*)
   11868         # Portland Group C++ compiler
   11869 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11870   	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'
   11871 
   11872 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11873 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11874 	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'
   11875         ;;
   11876       cxx*)
   11877 	# Compaq C++
   11878 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11879 	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'
   11880 
   11881 	runpath_var=LD_RUN_PATH
   11882 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11883 	hardcode_libdir_separator_CXX=:
   11884 
   11885 	# Commands to make compiler produce verbose output that lists
   11886 	# what "hidden" libraries, object files and flags are used when
   11887 	# linking a shared library.
   11888 	#
   11889 	# There doesn't appear to be a way to prevent this compiler from
   11890 	# explicitly linking system object files so we need to strip them
   11891 	# from the output so that they don't get included in the library
   11892 	# dependencies.
   11893 	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'
   11894 	;;
   11895     esac
   11896     ;;
   11897   lynxos*)
   11898     # FIXME: insert proper C++ library support
   11899     ld_shlibs_CXX=no
   11900     ;;
   11901   m88k*)
   11902     # FIXME: insert proper C++ library support
   11903     ld_shlibs_CXX=no
   11904     ;;
   11905   mvs*)
   11906     case $cc_basename in
   11907       cxx*)
   11908 	# FIXME: insert proper C++ library support
   11909 	ld_shlibs_CXX=no
   11910 	;;
   11911       *)
   11912 	# FIXME: insert proper C++ library support
   11913 	ld_shlibs_CXX=no
   11914 	;;
   11915     esac
   11916     ;;
   11917   netbsd*)
   11918     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11919       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11920       wlarc=
   11921       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11922       hardcode_direct_CXX=yes
   11923       hardcode_shlibpath_var_CXX=no
   11924     fi
   11925     # Workaround some broken pre-1.5 toolchains
   11926     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11927     ;;
   11928   openbsd2*)
   11929     # C++ shared libraries are fairly broken
   11930     ld_shlibs_CXX=no
   11931     ;;
   11932   openbsd*)
   11933     hardcode_direct_CXX=yes
   11934     hardcode_shlibpath_var_CXX=no
   11935     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11936     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11937     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11938       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11939       export_dynamic_flag_spec_CXX='${wl}-E'
   11940       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11941     fi
   11942     output_verbose_link_cmd='echo'
   11943     ;;
   11944   osf3*)
   11945     case $cc_basename in
   11946       KCC*)
   11947 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11948 
   11949 	# KCC will only create a shared library if the output file
   11950 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11951 	# to its proper name (with version) after linking.
   11952 	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'
   11953 
   11954 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11955 	hardcode_libdir_separator_CXX=:
   11956 
   11957 	# Archives containing C++ object files must be created using
   11958 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11959 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11960 
   11961 	;;
   11962       RCC*)
   11963 	# Rational C++ 2.4.1
   11964 	# FIXME: insert proper C++ library support
   11965 	ld_shlibs_CXX=no
   11966 	;;
   11967       cxx*)
   11968 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11969 	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'
   11970 
   11971 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11972 	hardcode_libdir_separator_CXX=:
   11973 
   11974 	# Commands to make compiler produce verbose output that lists
   11975 	# what "hidden" libraries, object files and flags are used when
   11976 	# linking a shared library.
   11977 	#
   11978 	# There doesn't appear to be a way to prevent this compiler from
   11979 	# explicitly linking system object files so we need to strip them
   11980 	# from the output so that they don't get included in the library
   11981 	# dependencies.
   11982 	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'
   11983 	;;
   11984       *)
   11985 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11986 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11987 	  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'
   11988 
   11989 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11990 	  hardcode_libdir_separator_CXX=:
   11991 
   11992 	  # Commands to make compiler produce verbose output that lists
   11993 	  # what "hidden" libraries, object files and flags are used when
   11994 	  # linking a shared library.
   11995 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11996 
   11997 	else
   11998 	  # FIXME: insert proper C++ library support
   11999 	  ld_shlibs_CXX=no
   12000 	fi
   12001 	;;
   12002     esac
   12003     ;;
   12004   osf4* | osf5*)
   12005     case $cc_basename in
   12006       KCC*)
   12007 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12008 
   12009 	# KCC will only create a shared library if the output file
   12010 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12011 	# to its proper name (with version) after linking.
   12012 	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'
   12013 
   12014 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12015 	hardcode_libdir_separator_CXX=:
   12016 
   12017 	# Archives containing C++ object files must be created using
   12018 	# the KAI C++ compiler.
   12019 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12020 	;;
   12021       RCC*)
   12022 	# Rational C++ 2.4.1
   12023 	# FIXME: insert proper C++ library support
   12024 	ld_shlibs_CXX=no
   12025 	;;
   12026       cxx*)
   12027 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12028 	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'
   12029 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12030 	  echo "-hidden">> $lib.exp~
   12031 	  $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~
   12032 	  $rm $lib.exp'
   12033 
   12034 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12035 	hardcode_libdir_separator_CXX=:
   12036 
   12037 	# Commands to make compiler produce verbose output that lists
   12038 	# what "hidden" libraries, object files and flags are used when
   12039 	# linking a shared library.
   12040 	#
   12041 	# There doesn't appear to be a way to prevent this compiler from
   12042 	# explicitly linking system object files so we need to strip them
   12043 	# from the output so that they don't get included in the library
   12044 	# dependencies.
   12045 	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'
   12046 	;;
   12047       *)
   12048 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12049 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12050 	 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'
   12051 
   12052 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12053 	  hardcode_libdir_separator_CXX=:
   12054 
   12055 	  # Commands to make compiler produce verbose output that lists
   12056 	  # what "hidden" libraries, object files and flags are used when
   12057 	  # linking a shared library.
   12058 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12059 
   12060 	else
   12061 	  # FIXME: insert proper C++ library support
   12062 	  ld_shlibs_CXX=no
   12063 	fi
   12064 	;;
   12065     esac
   12066     ;;
   12067   psos*)
   12068     # FIXME: insert proper C++ library support
   12069     ld_shlibs_CXX=no
   12070     ;;
   12071   sunos4*)
   12072     case $cc_basename in
   12073       CC*)
   12074 	# Sun C++ 4.x
   12075 	# FIXME: insert proper C++ library support
   12076 	ld_shlibs_CXX=no
   12077 	;;
   12078       lcc*)
   12079 	# Lucid
   12080 	# FIXME: insert proper C++ library support
   12081 	ld_shlibs_CXX=no
   12082 	;;
   12083       *)
   12084 	# FIXME: insert proper C++ library support
   12085 	ld_shlibs_CXX=no
   12086 	;;
   12087     esac
   12088     ;;
   12089   solaris*)
   12090     case $cc_basename in
   12091       CC*)
   12092 	# Sun C++ 4.2, 5.x and Centerline C++
   12093         archive_cmds_need_lc_CXX=yes
   12094 	no_undefined_flag_CXX=' -zdefs'
   12095 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12096 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12097 	$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'
   12098 
   12099 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12100 	hardcode_shlibpath_var_CXX=no
   12101 	case $host_os in
   12102 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12103 	  *)
   12104 	    # The C++ compiler is used as linker so we must use $wl
   12105 	    # flag to pass the commands to the underlying system
   12106 	    # linker. We must also pass each convience library through
   12107 	    # to the system linker between allextract/defaultextract.
   12108 	    # The C++ compiler will combine linker options so we
   12109 	    # cannot just pass the convience library names through
   12110 	    # without $wl.
   12111 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12112 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
   12113 	    ;;
   12114 	esac
   12115 	link_all_deplibs_CXX=yes
   12116 
   12117 	output_verbose_link_cmd='echo'
   12118 
   12119 	# Archives containing C++ object files must be created using
   12120 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12121 	# necessary to make sure instantiated templates are included
   12122 	# in the archive.
   12123 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12124 	;;
   12125       gcx*)
   12126 	# Green Hills C++ Compiler
   12127 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12128 
   12129 	# The C++ compiler must be used to create the archive.
   12130 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12131 	;;
   12132       *)
   12133 	# GNU C++ compiler with Solaris linker
   12134 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12135 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12136 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12137 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12138 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12139 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12140 
   12141 	    # Commands to make compiler produce verbose output that lists
   12142 	    # what "hidden" libraries, object files and flags are used when
   12143 	    # linking a shared library.
   12144 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12145 	  else
   12146 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12147 	    # platform.
   12148 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12149 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12150 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12151 
   12152 	    # Commands to make compiler produce verbose output that lists
   12153 	    # what "hidden" libraries, object files and flags are used when
   12154 	    # linking a shared library.
   12155 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12156 	  fi
   12157 
   12158 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12159 	fi
   12160 	;;
   12161     esac
   12162     ;;
   12163   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12164     no_undefined_flag_CXX='${wl}-z,text'
   12165     archive_cmds_need_lc_CXX=no
   12166     hardcode_shlibpath_var_CXX=no
   12167     runpath_var='LD_RUN_PATH'
   12168 
   12169     case $cc_basename in
   12170       CC*)
   12171 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12172 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12173 	;;
   12174       *)
   12175 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12176 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12177 	;;
   12178     esac
   12179     ;;
   12180   sysv5* | sco3.2v5* | sco5v6*)
   12181     # Note: We can NOT use -z defs as we might desire, because we do not
   12182     # link with -lc, and that would cause any symbols used from libc to
   12183     # always be unresolved, which means just about no library would
   12184     # ever link correctly.  If we're not using GNU ld we use -z text
   12185     # though, which does catch some bad symbols but isn't as heavy-handed
   12186     # as -z defs.
   12187     # For security reasons, it is highly recommended that you always
   12188     # use absolute paths for naming shared libraries, and exclude the
   12189     # DT_RUNPATH tag from executables and libraries.  But doing so
   12190     # requires that you compile everything twice, which is a pain.
   12191     # So that behaviour is only enabled if SCOABSPATH is set to a
   12192     # non-empty value in the environment.  Most likely only useful for
   12193     # creating official distributions of packages.
   12194     # This is a hack until libtool officially supports absolute path
   12195     # names for shared libraries.
   12196     no_undefined_flag_CXX='${wl}-z,text'
   12197     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12198     archive_cmds_need_lc_CXX=no
   12199     hardcode_shlibpath_var_CXX=no
   12200     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12201     hardcode_libdir_separator_CXX=':'
   12202     link_all_deplibs_CXX=yes
   12203     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12204     runpath_var='LD_RUN_PATH'
   12205 
   12206     case $cc_basename in
   12207       CC*)
   12208 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12209 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12210 	;;
   12211       *)
   12212 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12213 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12214 	;;
   12215     esac
   12216     ;;
   12217   tandem*)
   12218     case $cc_basename in
   12219       NCC*)
   12220 	# NonStop-UX NCC 3.20
   12221 	# FIXME: insert proper C++ library support
   12222 	ld_shlibs_CXX=no
   12223 	;;
   12224       *)
   12225 	# FIXME: insert proper C++ library support
   12226 	ld_shlibs_CXX=no
   12227 	;;
   12228     esac
   12229     ;;
   12230   vxworks*)
   12231     # FIXME: insert proper C++ library support
   12232     ld_shlibs_CXX=no
   12233     ;;
   12234   *)
   12235     # FIXME: insert proper C++ library support
   12236     ld_shlibs_CXX=no
   12237     ;;
   12238 esac
   12239 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12240 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12241 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12242 
   12243 GCC_CXX="$GXX"
   12244 LD_CXX="$LD"
   12245 
   12246 
   12247 cat > conftest.$ac_ext <<EOF
   12248 class Foo
   12249 {
   12250 public:
   12251   Foo (void) { a = 0; }
   12252 private:
   12253   int a;
   12254 };
   12255 EOF
   12256 
   12257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12258   (eval $ac_compile) 2>&5
   12259   ac_status=$?
   12260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12261   (exit $ac_status); }; then
   12262   # Parse the compiler output and extract the necessary
   12263   # objects, libraries and library flags.
   12264 
   12265   # Sentinel used to keep track of whether or not we are before
   12266   # the conftest object file.
   12267   pre_test_object_deps_done=no
   12268 
   12269   # The `*' in the case matches for architectures that use `case' in
   12270   # $output_verbose_cmd can trigger glob expansion during the loop
   12271   # eval without this substitution.
   12272   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12273 
   12274   for p in `eval $output_verbose_link_cmd`; do
   12275     case $p in
   12276 
   12277     -L* | -R* | -l*)
   12278        # Some compilers place space between "-{L,R}" and the path.
   12279        # Remove the space.
   12280        if test $p = "-L" \
   12281 	  || test $p = "-R"; then
   12282 	 prev=$p
   12283 	 continue
   12284        else
   12285 	 prev=
   12286        fi
   12287 
   12288        if test "$pre_test_object_deps_done" = no; then
   12289 	 case $p in
   12290 	 -L* | -R*)
   12291 	   # Internal compiler library paths should come after those
   12292 	   # provided the user.  The postdeps already come after the
   12293 	   # user supplied libs so there is no need to process them.
   12294 	   if test -z "$compiler_lib_search_path_CXX"; then
   12295 	     compiler_lib_search_path_CXX="${prev}${p}"
   12296 	   else
   12297 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12298 	   fi
   12299 	   ;;
   12300 	 # The "-l" case would never come before the object being
   12301 	 # linked, so don't bother handling this case.
   12302 	 esac
   12303        else
   12304 	 if test -z "$postdeps_CXX"; then
   12305 	   postdeps_CXX="${prev}${p}"
   12306 	 else
   12307 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12308 	 fi
   12309        fi
   12310        ;;
   12311 
   12312     *.$objext)
   12313        # This assumes that the test object file only shows up
   12314        # once in the compiler output.
   12315        if test "$p" = "conftest.$objext"; then
   12316 	 pre_test_object_deps_done=yes
   12317 	 continue
   12318        fi
   12319 
   12320        if test "$pre_test_object_deps_done" = no; then
   12321 	 if test -z "$predep_objects_CXX"; then
   12322 	   predep_objects_CXX="$p"
   12323 	 else
   12324 	   predep_objects_CXX="$predep_objects_CXX $p"
   12325 	 fi
   12326        else
   12327 	 if test -z "$postdep_objects_CXX"; then
   12328 	   postdep_objects_CXX="$p"
   12329 	 else
   12330 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12331 	 fi
   12332        fi
   12333        ;;
   12334 
   12335     *) ;; # Ignore the rest.
   12336 
   12337     esac
   12338   done
   12339 
   12340   # Clean up.
   12341   rm -f a.out a.exe
   12342 else
   12343   echo "libtool.m4: error: problem compiling CXX test program"
   12344 fi
   12345 
   12346 $rm -f confest.$objext
   12347 
   12348 # PORTME: override above test on systems where it is broken
   12349 case $host_os in
   12350 interix3*)
   12351   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12352   # hack all around it, let's just trust "g++" to DTRT.
   12353   predep_objects_CXX=
   12354   postdep_objects_CXX=
   12355   postdeps_CXX=
   12356   ;;
   12357 
   12358 solaris*)
   12359   case $cc_basename in
   12360   CC*)
   12361     # Adding this requires a known-good setup of shared libraries for
   12362     # Sun compiler versions before 5.6, else PIC objects from an old
   12363     # archive will be linked into the output, leading to subtle bugs.
   12364     postdeps_CXX='-lCstd -lCrun'
   12365     ;;
   12366   esac
   12367   ;;
   12368 esac
   12369 
   12370 
   12371 case " $postdeps_CXX " in
   12372 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12373 esac
   12374 
   12375 lt_prog_compiler_wl_CXX=
   12376 lt_prog_compiler_pic_CXX=
   12377 lt_prog_compiler_static_CXX=
   12378 
   12379 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12380 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12381 
   12382   # C++ specific cases for pic, static, wl, etc.
   12383   if test "$GXX" = yes; then
   12384     lt_prog_compiler_wl_CXX='-Wl,'
   12385     lt_prog_compiler_static_CXX='-static'
   12386 
   12387     case $host_os in
   12388     aix*)
   12389       # All AIX code is PIC.
   12390       if test "$host_cpu" = ia64; then
   12391 	# AIX 5 now supports IA64 processor
   12392 	lt_prog_compiler_static_CXX='-Bstatic'
   12393       fi
   12394       ;;
   12395     amigaos*)
   12396       # FIXME: we need at least 68020 code to build shared libraries, but
   12397       # adding the `-m68020' flag to GCC prevents building anything better,
   12398       # like `-m68040'.
   12399       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12400       ;;
   12401     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12402       # PIC is the default for these OSes.
   12403       ;;
   12404     mingw* | os2* | pw32*)
   12405       # This hack is so that the source file can tell whether it is being
   12406       # built for inclusion in a dll (and should export symbols for example).
   12407       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12408       ;;
   12409     darwin* | rhapsody*)
   12410       # PIC is the default on this platform
   12411       # Common symbols not allowed in MH_DYLIB files
   12412       lt_prog_compiler_pic_CXX='-fno-common'
   12413       ;;
   12414     *djgpp*)
   12415       # DJGPP does not support shared libraries at all
   12416       lt_prog_compiler_pic_CXX=
   12417       ;;
   12418     interix3*)
   12419       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12420       # Instead, we relocate shared libraries at runtime.
   12421       ;;
   12422     sysv4*MP*)
   12423       if test -d /usr/nec; then
   12424 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12425       fi
   12426       ;;
   12427     hpux*)
   12428       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12429       # not for PA HP-UX.
   12430       case $host_cpu in
   12431       hppa*64*|ia64*)
   12432 	;;
   12433       *)
   12434 	lt_prog_compiler_pic_CXX='-fPIC'
   12435 	;;
   12436       esac
   12437       ;;
   12438     *)
   12439       lt_prog_compiler_pic_CXX='-fPIC'
   12440       ;;
   12441     esac
   12442   else
   12443     case $host_os in
   12444       aix4* | aix5*)
   12445 	# All AIX code is PIC.
   12446 	if test "$host_cpu" = ia64; then
   12447 	  # AIX 5 now supports IA64 processor
   12448 	  lt_prog_compiler_static_CXX='-Bstatic'
   12449 	else
   12450 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12451 	fi
   12452 	;;
   12453       chorus*)
   12454 	case $cc_basename in
   12455 	cxch68*)
   12456 	  # Green Hills C++ Compiler
   12457 	  # _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"
   12458 	  ;;
   12459 	esac
   12460 	;;
   12461        darwin*)
   12462          # PIC is the default on this platform
   12463          # Common symbols not allowed in MH_DYLIB files
   12464          case $cc_basename in
   12465            xlc*)
   12466            lt_prog_compiler_pic_CXX='-qnocommon'
   12467            lt_prog_compiler_wl_CXX='-Wl,'
   12468            ;;
   12469          esac
   12470        ;;
   12471       dgux*)
   12472 	case $cc_basename in
   12473 	  ec++*)
   12474 	    lt_prog_compiler_pic_CXX='-KPIC'
   12475 	    ;;
   12476 	  ghcx*)
   12477 	    # Green Hills C++ Compiler
   12478 	    lt_prog_compiler_pic_CXX='-pic'
   12479 	    ;;
   12480 	  *)
   12481 	    ;;
   12482 	esac
   12483 	;;
   12484       freebsd* | kfreebsd*-gnu | dragonfly*)
   12485 	# FreeBSD uses GNU C++
   12486 	;;
   12487       hpux9* | hpux10* | hpux11*)
   12488 	case $cc_basename in
   12489 	  CC*)
   12490 	    lt_prog_compiler_wl_CXX='-Wl,'
   12491 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12492 	    if test "$host_cpu" != ia64; then
   12493 	      lt_prog_compiler_pic_CXX='+Z'
   12494 	    fi
   12495 	    ;;
   12496 	  aCC*)
   12497 	    lt_prog_compiler_wl_CXX='-Wl,'
   12498 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12499 	    case $host_cpu in
   12500 	    hppa*64*|ia64*)
   12501 	      # +Z the default
   12502 	      ;;
   12503 	    *)
   12504 	      lt_prog_compiler_pic_CXX='+Z'
   12505 	      ;;
   12506 	    esac
   12507 	    ;;
   12508 	  *)
   12509 	    ;;
   12510 	esac
   12511 	;;
   12512       interix*)
   12513 	# This is c89, which is MS Visual C++ (no shared libs)
   12514 	# Anyone wants to do a port?
   12515 	;;
   12516       irix5* | irix6* | nonstopux*)
   12517 	case $cc_basename in
   12518 	  CC*)
   12519 	    lt_prog_compiler_wl_CXX='-Wl,'
   12520 	    lt_prog_compiler_static_CXX='-non_shared'
   12521 	    # CC pic flag -KPIC is the default.
   12522 	    ;;
   12523 	  *)
   12524 	    ;;
   12525 	esac
   12526 	;;
   12527       linux*)
   12528 	case $cc_basename in
   12529 	  KCC*)
   12530 	    # KAI C++ Compiler
   12531 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12532 	    lt_prog_compiler_pic_CXX='-fPIC'
   12533 	    ;;
   12534 	  icpc* | ecpc*)
   12535 	    # Intel C++
   12536 	    lt_prog_compiler_wl_CXX='-Wl,'
   12537 	    lt_prog_compiler_pic_CXX='-KPIC'
   12538 	    lt_prog_compiler_static_CXX='-static'
   12539 	    ;;
   12540 	  pgCC*)
   12541 	    # Portland Group C++ compiler.
   12542 	    lt_prog_compiler_wl_CXX='-Wl,'
   12543 	    lt_prog_compiler_pic_CXX='-fpic'
   12544 	    lt_prog_compiler_static_CXX='-Bstatic'
   12545 	    ;;
   12546 	  cxx*)
   12547 	    # Compaq C++
   12548 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12549 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12550 	    lt_prog_compiler_pic_CXX=
   12551 	    lt_prog_compiler_static_CXX='-non_shared'
   12552 	    ;;
   12553 	  *)
   12554 	    ;;
   12555 	esac
   12556 	;;
   12557       lynxos*)
   12558 	;;
   12559       m88k*)
   12560 	;;
   12561       mvs*)
   12562 	case $cc_basename in
   12563 	  cxx*)
   12564 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12565 	    ;;
   12566 	  *)
   12567 	    ;;
   12568 	esac
   12569 	;;
   12570       netbsd*)
   12571 	;;
   12572       osf3* | osf4* | osf5*)
   12573 	case $cc_basename in
   12574 	  KCC*)
   12575 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12576 	    ;;
   12577 	  RCC*)
   12578 	    # Rational C++ 2.4.1
   12579 	    lt_prog_compiler_pic_CXX='-pic'
   12580 	    ;;
   12581 	  cxx*)
   12582 	    # Digital/Compaq C++
   12583 	    lt_prog_compiler_wl_CXX='-Wl,'
   12584 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12585 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12586 	    lt_prog_compiler_pic_CXX=
   12587 	    lt_prog_compiler_static_CXX='-non_shared'
   12588 	    ;;
   12589 	  *)
   12590 	    ;;
   12591 	esac
   12592 	;;
   12593       psos*)
   12594 	;;
   12595       solaris*)
   12596 	case $cc_basename in
   12597 	  CC*)
   12598 	    # Sun C++ 4.2, 5.x and Centerline C++
   12599 	    lt_prog_compiler_pic_CXX='-KPIC'
   12600 	    lt_prog_compiler_static_CXX='-Bstatic'
   12601 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12602 	    ;;
   12603 	  gcx*)
   12604 	    # Green Hills C++ Compiler
   12605 	    lt_prog_compiler_pic_CXX='-PIC'
   12606 	    ;;
   12607 	  *)
   12608 	    ;;
   12609 	esac
   12610 	;;
   12611       sunos4*)
   12612 	case $cc_basename in
   12613 	  CC*)
   12614 	    # Sun C++ 4.x
   12615 	    lt_prog_compiler_pic_CXX='-pic'
   12616 	    lt_prog_compiler_static_CXX='-Bstatic'
   12617 	    ;;
   12618 	  lcc*)
   12619 	    # Lucid
   12620 	    lt_prog_compiler_pic_CXX='-pic'
   12621 	    ;;
   12622 	  *)
   12623 	    ;;
   12624 	esac
   12625 	;;
   12626       tandem*)
   12627 	case $cc_basename in
   12628 	  NCC*)
   12629 	    # NonStop-UX NCC 3.20
   12630 	    lt_prog_compiler_pic_CXX='-KPIC'
   12631 	    ;;
   12632 	  *)
   12633 	    ;;
   12634 	esac
   12635 	;;
   12636       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12637 	case $cc_basename in
   12638 	  CC*)
   12639 	    lt_prog_compiler_wl_CXX='-Wl,'
   12640 	    lt_prog_compiler_pic_CXX='-KPIC'
   12641 	    lt_prog_compiler_static_CXX='-Bstatic'
   12642 	    ;;
   12643 	esac
   12644 	;;
   12645       vxworks*)
   12646 	;;
   12647       *)
   12648 	lt_prog_compiler_can_build_shared_CXX=no
   12649 	;;
   12650     esac
   12651   fi
   12652 
   12653 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12654 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12655 
   12656 #
   12657 # Check to make sure the PIC flag actually works.
   12658 #
   12659 if test -n "$lt_prog_compiler_pic_CXX"; then
   12660 
   12661 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12662 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12663 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12664   echo $ECHO_N "(cached) $ECHO_C" >&6
   12665 else
   12666   lt_prog_compiler_pic_works_CXX=no
   12667   ac_outfile=conftest.$ac_objext
   12668    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12669    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12670    # Insert the option either (1) after the last *FLAGS variable, or
   12671    # (2) before a word containing "conftest.", or (3) at the end.
   12672    # Note that $ac_compile itself does not contain backslashes and begins
   12673    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12674    # The option is referenced via a variable to avoid confusing sed.
   12675    lt_compile=`echo "$ac_compile" | $SED \
   12676    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12677    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12678    -e 's:$: $lt_compiler_flag:'`
   12679    (eval echo "\"\$as_me:12679: $lt_compile\"" >&5)
   12680    (eval "$lt_compile" 2>conftest.err)
   12681    ac_status=$?
   12682    cat conftest.err >&5
   12683    echo "$as_me:12683: \$? = $ac_status" >&5
   12684    if (exit $ac_status) && test -s "$ac_outfile"; then
   12685      # The compiler can only warn and ignore the option if not recognized
   12686      # So say no if there are warnings other than the usual output.
   12687      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12688      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12689      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12690        lt_prog_compiler_pic_works_CXX=yes
   12691      fi
   12692    fi
   12693    $rm conftest*
   12694 
   12695 fi
   12696 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12697 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12698 
   12699 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12700     case $lt_prog_compiler_pic_CXX in
   12701      "" | " "*) ;;
   12702      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12703      esac
   12704 else
   12705     lt_prog_compiler_pic_CXX=
   12706      lt_prog_compiler_can_build_shared_CXX=no
   12707 fi
   12708 
   12709 fi
   12710 case $host_os in
   12711   # For platforms which do not support PIC, -DPIC is meaningless:
   12712   *djgpp*)
   12713     lt_prog_compiler_pic_CXX=
   12714     ;;
   12715   *)
   12716     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12717     ;;
   12718 esac
   12719 
   12720 #
   12721 # Check to make sure the static flag actually works.
   12722 #
   12723 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12724 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12725 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12726 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12727   echo $ECHO_N "(cached) $ECHO_C" >&6
   12728 else
   12729   lt_prog_compiler_static_works_CXX=no
   12730    save_LDFLAGS="$LDFLAGS"
   12731    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12732    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12733    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12734      # The linker can only warn and ignore the option if not recognized
   12735      # So say no if there are warnings
   12736      if test -s conftest.err; then
   12737        # Append any errors to the config.log.
   12738        cat conftest.err 1>&5
   12739        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12740        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12741        if diff conftest.exp conftest.er2 >/dev/null; then
   12742          lt_prog_compiler_static_works_CXX=yes
   12743        fi
   12744      else
   12745        lt_prog_compiler_static_works_CXX=yes
   12746      fi
   12747    fi
   12748    $rm conftest*
   12749    LDFLAGS="$save_LDFLAGS"
   12750 
   12751 fi
   12752 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12753 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12754 
   12755 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12756     :
   12757 else
   12758     lt_prog_compiler_static_CXX=
   12759 fi
   12760 
   12761 
   12762 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12763 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12764 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12765   echo $ECHO_N "(cached) $ECHO_C" >&6
   12766 else
   12767   lt_cv_prog_compiler_c_o_CXX=no
   12768    $rm -r conftest 2>/dev/null
   12769    mkdir conftest
   12770    cd conftest
   12771    mkdir out
   12772    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12773 
   12774    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12775    # Insert the option either (1) after the last *FLAGS variable, or
   12776    # (2) before a word containing "conftest.", or (3) at the end.
   12777    # Note that $ac_compile itself does not contain backslashes and begins
   12778    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12779    lt_compile=`echo "$ac_compile" | $SED \
   12780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12782    -e 's:$: $lt_compiler_flag:'`
   12783    (eval echo "\"\$as_me:12783: $lt_compile\"" >&5)
   12784    (eval "$lt_compile" 2>out/conftest.err)
   12785    ac_status=$?
   12786    cat out/conftest.err >&5
   12787    echo "$as_me:12787: \$? = $ac_status" >&5
   12788    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12789    then
   12790      # The compiler can only warn and ignore the option if not recognized
   12791      # So say no if there are warnings
   12792      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12793      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12794      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12795        lt_cv_prog_compiler_c_o_CXX=yes
   12796      fi
   12797    fi
   12798    chmod u+w . 2>&5
   12799    $rm conftest*
   12800    # SGI C++ compiler will create directory out/ii_files/ for
   12801    # template instantiation
   12802    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12803    $rm out/* && rmdir out
   12804    cd ..
   12805    rmdir conftest
   12806    $rm conftest*
   12807 
   12808 fi
   12809 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12810 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12811 
   12812 
   12813 hard_links="nottested"
   12814 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12815   # do not overwrite the value of need_locks provided by the user
   12816   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12817 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12818   hard_links=yes
   12819   $rm conftest*
   12820   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12821   touch conftest.a
   12822   ln conftest.a conftest.b 2>&5 || hard_links=no
   12823   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12824   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12825 echo "${ECHO_T}$hard_links" >&6; }
   12826   if test "$hard_links" = no; then
   12827     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12828 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12829     need_locks=warn
   12830   fi
   12831 else
   12832   need_locks=no
   12833 fi
   12834 
   12835 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12836 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12837 
   12838   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12839   case $host_os in
   12840   aix4* | aix5*)
   12841     # If we're using GNU nm, then we don't want the "-C" option.
   12842     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12843     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12844       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'
   12845     else
   12846       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'
   12847     fi
   12848     ;;
   12849   pw32*)
   12850     export_symbols_cmds_CXX="$ltdll_cmds"
   12851   ;;
   12852   cygwin* | mingw*)
   12853     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'
   12854   ;;
   12855   *)
   12856     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12857   ;;
   12858   esac
   12859 
   12860 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12861 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12862 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12863 
   12864 #
   12865 # Do we need to explicitly link libc?
   12866 #
   12867 case "x$archive_cmds_need_lc_CXX" in
   12868 x|xyes)
   12869   # Assume -lc should be added
   12870   archive_cmds_need_lc_CXX=yes
   12871 
   12872   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12873     case $archive_cmds_CXX in
   12874     *'~'*)
   12875       # FIXME: we may have to deal with multi-command sequences.
   12876       ;;
   12877     '$CC '*)
   12878       # Test whether the compiler implicitly links with -lc since on some
   12879       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12880       # to ld, don't add -lc before -lgcc.
   12881       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12882 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12883       $rm conftest*
   12884       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12885 
   12886       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12887   (eval $ac_compile) 2>&5
   12888   ac_status=$?
   12889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12890   (exit $ac_status); } 2>conftest.err; then
   12891         soname=conftest
   12892         lib=conftest
   12893         libobjs=conftest.$ac_objext
   12894         deplibs=
   12895         wl=$lt_prog_compiler_wl_CXX
   12896 	pic_flag=$lt_prog_compiler_pic_CXX
   12897         compiler_flags=-v
   12898         linker_flags=-v
   12899         verstring=
   12900         output_objdir=.
   12901         libname=conftest
   12902         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12903         allow_undefined_flag_CXX=
   12904         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12905   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12906   ac_status=$?
   12907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12908   (exit $ac_status); }
   12909         then
   12910 	  archive_cmds_need_lc_CXX=no
   12911         else
   12912 	  archive_cmds_need_lc_CXX=yes
   12913         fi
   12914         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12915       else
   12916         cat conftest.err 1>&5
   12917       fi
   12918       $rm conftest*
   12919       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12920 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12921       ;;
   12922     esac
   12923   fi
   12924   ;;
   12925 esac
   12926 
   12927 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12928 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12929 library_names_spec=
   12930 libname_spec='lib$name'
   12931 soname_spec=
   12932 shrext_cmds=".so"
   12933 postinstall_cmds=
   12934 postuninstall_cmds=
   12935 finish_cmds=
   12936 finish_eval=
   12937 shlibpath_var=
   12938 shlibpath_overrides_runpath=unknown
   12939 version_type=none
   12940 dynamic_linker="$host_os ld.so"
   12941 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12942 if test "$GCC" = yes; then
   12943   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12944   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12945     # if the path contains ";" then we assume it to be the separator
   12946     # otherwise default to the standard path separator (i.e. ":") - it is
   12947     # assumed that no part of a normal pathname contains ";" but that should
   12948     # okay in the real world where ";" in dirpaths is itself problematic.
   12949     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12950   else
   12951     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12952   fi
   12953 else
   12954   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12955 fi
   12956 need_lib_prefix=unknown
   12957 hardcode_into_libs=no
   12958 
   12959 # when you set need_version to no, make sure it does not cause -set_version
   12960 # flags to be left without arguments
   12961 need_version=unknown
   12962 
   12963 case $host_os in
   12964 aix3*)
   12965   version_type=linux
   12966   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12967   shlibpath_var=LIBPATH
   12968 
   12969   # AIX 3 has no versioning support, so we append a major version to the name.
   12970   soname_spec='${libname}${release}${shared_ext}$major'
   12971   ;;
   12972 
   12973 aix4* | aix5*)
   12974   version_type=linux
   12975   need_lib_prefix=no
   12976   need_version=no
   12977   hardcode_into_libs=yes
   12978   if test "$host_cpu" = ia64; then
   12979     # AIX 5 supports IA64
   12980     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12981     shlibpath_var=LD_LIBRARY_PATH
   12982   else
   12983     # With GCC up to 2.95.x, collect2 would create an import file
   12984     # for dependence libraries.  The import file would start with
   12985     # the line `#! .'.  This would cause the generated library to
   12986     # depend on `.', always an invalid library.  This was fixed in
   12987     # development snapshots of GCC prior to 3.0.
   12988     case $host_os in
   12989       aix4 | aix4.[01] | aix4.[01].*)
   12990       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12991 	   echo ' yes '
   12992 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12993 	:
   12994       else
   12995 	can_build_shared=no
   12996       fi
   12997       ;;
   12998     esac
   12999     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13000     # soname into executable. Probably we can add versioning support to
   13001     # collect2, so additional links can be useful in future.
   13002     if test "$aix_use_runtimelinking" = yes; then
   13003       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13004       # instead of lib<name>.a to let people know that these are not
   13005       # typical AIX shared libraries.
   13006       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13007     else
   13008       # We preserve .a as extension for shared libraries through AIX4.2
   13009       # and later when we are not doing run time linking.
   13010       library_names_spec='${libname}${release}.a $libname.a'
   13011       soname_spec='${libname}${release}${shared_ext}$major'
   13012     fi
   13013     shlibpath_var=LIBPATH
   13014   fi
   13015   ;;
   13016 
   13017 amigaos*)
   13018   library_names_spec='$libname.ixlibrary $libname.a'
   13019   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13020   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'
   13021   ;;
   13022 
   13023 beos*)
   13024   library_names_spec='${libname}${shared_ext}'
   13025   dynamic_linker="$host_os ld.so"
   13026   shlibpath_var=LIBRARY_PATH
   13027   ;;
   13028 
   13029 bsdi[45]*)
   13030   version_type=linux
   13031   need_version=no
   13032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13033   soname_spec='${libname}${release}${shared_ext}$major'
   13034   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13035   shlibpath_var=LD_LIBRARY_PATH
   13036   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13037   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13038   # the default ld.so.conf also contains /usr/contrib/lib and
   13039   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13040   # libtool to hard-code these into programs
   13041   ;;
   13042 
   13043 cygwin* | mingw* | pw32*)
   13044   version_type=windows
   13045   shrext_cmds=".dll"
   13046   need_version=no
   13047   need_lib_prefix=no
   13048 
   13049   case $GCC,$host_os in
   13050   yes,cygwin* | yes,mingw* | yes,pw32*)
   13051     library_names_spec='$libname.dll.a'
   13052     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13053     postinstall_cmds='base_file=`basename \${file}`~
   13054       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13055       dldir=$destdir/`dirname \$dlpath`~
   13056       test -d \$dldir || mkdir -p \$dldir~
   13057       $install_prog $dir/$dlname \$dldir/$dlname~
   13058       chmod a+x \$dldir/$dlname'
   13059     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13060       dlpath=$dir/\$dldll~
   13061        $rm \$dlpath'
   13062     shlibpath_overrides_runpath=yes
   13063 
   13064     case $host_os in
   13065     cygwin*)
   13066       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13067       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13068       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13069       ;;
   13070     mingw*)
   13071       # MinGW DLLs use traditional 'lib' prefix
   13072       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13073       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13074       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13075         # It is most probably a Windows format PATH printed by
   13076         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13077         # path with ; separators, and with drive letters. We can handle the
   13078         # drive letters (cygwin fileutils understands them), so leave them,
   13079         # especially as we might pass files found there to a mingw objdump,
   13080         # which wouldn't understand a cygwinified path. Ahh.
   13081         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13082       else
   13083         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13084       fi
   13085       ;;
   13086     pw32*)
   13087       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13088       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13089       ;;
   13090     esac
   13091     ;;
   13092 
   13093   *)
   13094     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13095     ;;
   13096   esac
   13097   dynamic_linker='Win32 ld.exe'
   13098   # FIXME: first we should search . and the directory the executable is in
   13099   shlibpath_var=PATH
   13100   ;;
   13101 
   13102 darwin* | rhapsody*)
   13103   dynamic_linker="$host_os dyld"
   13104   version_type=darwin
   13105   need_lib_prefix=no
   13106   need_version=no
   13107   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13108   soname_spec='${libname}${release}${major}$shared_ext'
   13109   shlibpath_overrides_runpath=yes
   13110   shlibpath_var=DYLD_LIBRARY_PATH
   13111   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13112   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   13113   if test "$GCC" = yes; then
   13114     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   13115   else
   13116     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   13117   fi
   13118   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13119   ;;
   13120 
   13121 dgux*)
   13122   version_type=linux
   13123   need_lib_prefix=no
   13124   need_version=no
   13125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13126   soname_spec='${libname}${release}${shared_ext}$major'
   13127   shlibpath_var=LD_LIBRARY_PATH
   13128   ;;
   13129 
   13130 freebsd1*)
   13131   dynamic_linker=no
   13132   ;;
   13133 
   13134 kfreebsd*-gnu)
   13135   version_type=linux
   13136   need_lib_prefix=no
   13137   need_version=no
   13138   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13139   soname_spec='${libname}${release}${shared_ext}$major'
   13140   shlibpath_var=LD_LIBRARY_PATH
   13141   shlibpath_overrides_runpath=no
   13142   hardcode_into_libs=yes
   13143   dynamic_linker='GNU ld.so'
   13144   ;;
   13145 
   13146 freebsd* | dragonfly*)
   13147   # DragonFly does not have aout.  When/if they implement a new
   13148   # versioning mechanism, adjust this.
   13149   if test -x /usr/bin/objformat; then
   13150     objformat=`/usr/bin/objformat`
   13151   else
   13152     case $host_os in
   13153     freebsd[123]*) objformat=aout ;;
   13154     *) objformat=elf ;;
   13155     esac
   13156   fi
   13157   version_type=freebsd-$objformat
   13158   case $version_type in
   13159     freebsd-elf*)
   13160       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13161       need_version=no
   13162       need_lib_prefix=no
   13163       ;;
   13164     freebsd-*)
   13165       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13166       need_version=yes
   13167       ;;
   13168   esac
   13169   shlibpath_var=LD_LIBRARY_PATH
   13170   case $host_os in
   13171   freebsd2*)
   13172     shlibpath_overrides_runpath=yes
   13173     ;;
   13174   freebsd3.[01]* | freebsdelf3.[01]*)
   13175     shlibpath_overrides_runpath=yes
   13176     hardcode_into_libs=yes
   13177     ;;
   13178   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13179   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13180     shlibpath_overrides_runpath=no
   13181     hardcode_into_libs=yes
   13182     ;;
   13183   freebsd*) # from 4.6 on
   13184     shlibpath_overrides_runpath=yes
   13185     hardcode_into_libs=yes
   13186     ;;
   13187   esac
   13188   ;;
   13189 
   13190 gnu*)
   13191   version_type=linux
   13192   need_lib_prefix=no
   13193   need_version=no
   13194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13195   soname_spec='${libname}${release}${shared_ext}$major'
   13196   shlibpath_var=LD_LIBRARY_PATH
   13197   hardcode_into_libs=yes
   13198   ;;
   13199 
   13200 hpux9* | hpux10* | hpux11*)
   13201   # Give a soname corresponding to the major version so that dld.sl refuses to
   13202   # link against other versions.
   13203   version_type=sunos
   13204   need_lib_prefix=no
   13205   need_version=no
   13206   case $host_cpu in
   13207   ia64*)
   13208     shrext_cmds='.so'
   13209     hardcode_into_libs=yes
   13210     dynamic_linker="$host_os dld.so"
   13211     shlibpath_var=LD_LIBRARY_PATH
   13212     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13213     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13214     soname_spec='${libname}${release}${shared_ext}$major'
   13215     if test "X$HPUX_IA64_MODE" = X32; then
   13216       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13217     else
   13218       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13219     fi
   13220     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13221     ;;
   13222    hppa*64*)
   13223      shrext_cmds='.sl'
   13224      hardcode_into_libs=yes
   13225      dynamic_linker="$host_os dld.sl"
   13226      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13227      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13228      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13229      soname_spec='${libname}${release}${shared_ext}$major'
   13230      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13231      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13232      ;;
   13233    *)
   13234     shrext_cmds='.sl'
   13235     dynamic_linker="$host_os dld.sl"
   13236     shlibpath_var=SHLIB_PATH
   13237     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13238     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13239     soname_spec='${libname}${release}${shared_ext}$major'
   13240     ;;
   13241   esac
   13242   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13243   postinstall_cmds='chmod 555 $lib'
   13244   ;;
   13245 
   13246 interix3*)
   13247   version_type=linux
   13248   need_lib_prefix=no
   13249   need_version=no
   13250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13251   soname_spec='${libname}${release}${shared_ext}$major'
   13252   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13253   shlibpath_var=LD_LIBRARY_PATH
   13254   shlibpath_overrides_runpath=no
   13255   hardcode_into_libs=yes
   13256   ;;
   13257 
   13258 irix5* | irix6* | nonstopux*)
   13259   case $host_os in
   13260     nonstopux*) version_type=nonstopux ;;
   13261     *)
   13262 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13263 		version_type=linux
   13264 	else
   13265 		version_type=irix
   13266 	fi ;;
   13267   esac
   13268   need_lib_prefix=no
   13269   need_version=no
   13270   soname_spec='${libname}${release}${shared_ext}$major'
   13271   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13272   case $host_os in
   13273   irix5* | nonstopux*)
   13274     libsuff= shlibsuff=
   13275     ;;
   13276   *)
   13277     case $LD in # libtool.m4 will add one of these switches to LD
   13278     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13279       libsuff= shlibsuff= libmagic=32-bit;;
   13280     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13281       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13282     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13283       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13284     *) libsuff= shlibsuff= libmagic=never-match;;
   13285     esac
   13286     ;;
   13287   esac
   13288   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13289   shlibpath_overrides_runpath=no
   13290   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13291   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13292   hardcode_into_libs=yes
   13293   ;;
   13294 
   13295 # No shared lib support for Linux oldld, aout, or coff.
   13296 linux*oldld* | linux*aout* | linux*coff*)
   13297   dynamic_linker=no
   13298   ;;
   13299 
   13300 # This must be Linux ELF.
   13301 linux*)
   13302   version_type=linux
   13303   need_lib_prefix=no
   13304   need_version=no
   13305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13306   soname_spec='${libname}${release}${shared_ext}$major'
   13307   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13308   shlibpath_var=LD_LIBRARY_PATH
   13309   shlibpath_overrides_runpath=no
   13310   # This implies no fast_install, which is unacceptable.
   13311   # Some rework will be needed to allow for fast_install
   13312   # before this can be enabled.
   13313   hardcode_into_libs=yes
   13314 
   13315   # Append ld.so.conf contents to the search path
   13316   if test -f /etc/ld.so.conf; then
   13317     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13318     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13319   fi
   13320 
   13321   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13322   # powerpc, because MkLinux only supported shared libraries with the
   13323   # GNU dynamic linker.  Since this was broken with cross compilers,
   13324   # most powerpc-linux boxes support dynamic linking these days and
   13325   # people can always --disable-shared, the test was removed, and we
   13326   # assume the GNU/Linux dynamic linker is in use.
   13327   dynamic_linker='GNU/Linux ld.so'
   13328   ;;
   13329 
   13330 knetbsd*-gnu)
   13331   version_type=linux
   13332   need_lib_prefix=no
   13333   need_version=no
   13334   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13335   soname_spec='${libname}${release}${shared_ext}$major'
   13336   shlibpath_var=LD_LIBRARY_PATH
   13337   shlibpath_overrides_runpath=no
   13338   hardcode_into_libs=yes
   13339   dynamic_linker='GNU ld.so'
   13340   ;;
   13341 
   13342 netbsd*)
   13343   version_type=sunos
   13344   need_lib_prefix=no
   13345   need_version=no
   13346   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13347     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13348     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13349     dynamic_linker='NetBSD (a.out) ld.so'
   13350   else
   13351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13352     soname_spec='${libname}${release}${shared_ext}$major'
   13353     dynamic_linker='NetBSD ld.elf_so'
   13354   fi
   13355   shlibpath_var=LD_LIBRARY_PATH
   13356   shlibpath_overrides_runpath=yes
   13357   hardcode_into_libs=yes
   13358   ;;
   13359 
   13360 newsos6)
   13361   version_type=linux
   13362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13363   shlibpath_var=LD_LIBRARY_PATH
   13364   shlibpath_overrides_runpath=yes
   13365   ;;
   13366 
   13367 nto-qnx*)
   13368   version_type=linux
   13369   need_lib_prefix=no
   13370   need_version=no
   13371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13372   soname_spec='${libname}${release}${shared_ext}$major'
   13373   shlibpath_var=LD_LIBRARY_PATH
   13374   shlibpath_overrides_runpath=yes
   13375   ;;
   13376 
   13377 openbsd*)
   13378   version_type=sunos
   13379   sys_lib_dlsearch_path_spec="/usr/lib"
   13380   need_lib_prefix=no
   13381   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13382   case $host_os in
   13383     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13384     *)                         need_version=no  ;;
   13385   esac
   13386   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13387   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13388   shlibpath_var=LD_LIBRARY_PATH
   13389   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13390     case $host_os in
   13391       openbsd2.[89] | openbsd2.[89].*)
   13392 	shlibpath_overrides_runpath=no
   13393 	;;
   13394       *)
   13395 	shlibpath_overrides_runpath=yes
   13396 	;;
   13397       esac
   13398   else
   13399     shlibpath_overrides_runpath=yes
   13400   fi
   13401   ;;
   13402 
   13403 os2*)
   13404   libname_spec='$name'
   13405   shrext_cmds=".dll"
   13406   need_lib_prefix=no
   13407   library_names_spec='$libname${shared_ext} $libname.a'
   13408   dynamic_linker='OS/2 ld.exe'
   13409   shlibpath_var=LIBPATH
   13410   ;;
   13411 
   13412 osf3* | osf4* | osf5*)
   13413   version_type=osf
   13414   need_lib_prefix=no
   13415   need_version=no
   13416   soname_spec='${libname}${release}${shared_ext}$major'
   13417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13418   shlibpath_var=LD_LIBRARY_PATH
   13419   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13420   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13421   ;;
   13422 
   13423 solaris*)
   13424   version_type=linux
   13425   need_lib_prefix=no
   13426   need_version=no
   13427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13428   soname_spec='${libname}${release}${shared_ext}$major'
   13429   shlibpath_var=LD_LIBRARY_PATH
   13430   shlibpath_overrides_runpath=yes
   13431   hardcode_into_libs=yes
   13432   # ldd complains unless libraries are executable
   13433   postinstall_cmds='chmod +x $lib'
   13434   ;;
   13435 
   13436 sunos4*)
   13437   version_type=sunos
   13438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13439   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13440   shlibpath_var=LD_LIBRARY_PATH
   13441   shlibpath_overrides_runpath=yes
   13442   if test "$with_gnu_ld" = yes; then
   13443     need_lib_prefix=no
   13444   fi
   13445   need_version=yes
   13446   ;;
   13447 
   13448 sysv4 | sysv4.3*)
   13449   version_type=linux
   13450   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13451   soname_spec='${libname}${release}${shared_ext}$major'
   13452   shlibpath_var=LD_LIBRARY_PATH
   13453   case $host_vendor in
   13454     sni)
   13455       shlibpath_overrides_runpath=no
   13456       need_lib_prefix=no
   13457       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13458       runpath_var=LD_RUN_PATH
   13459       ;;
   13460     siemens)
   13461       need_lib_prefix=no
   13462       ;;
   13463     motorola)
   13464       need_lib_prefix=no
   13465       need_version=no
   13466       shlibpath_overrides_runpath=no
   13467       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13468       ;;
   13469   esac
   13470   ;;
   13471 
   13472 sysv4*MP*)
   13473   if test -d /usr/nec ;then
   13474     version_type=linux
   13475     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13476     soname_spec='$libname${shared_ext}.$major'
   13477     shlibpath_var=LD_LIBRARY_PATH
   13478   fi
   13479   ;;
   13480 
   13481 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13482   version_type=freebsd-elf
   13483   need_lib_prefix=no
   13484   need_version=no
   13485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13486   soname_spec='${libname}${release}${shared_ext}$major'
   13487   shlibpath_var=LD_LIBRARY_PATH
   13488   hardcode_into_libs=yes
   13489   if test "$with_gnu_ld" = yes; then
   13490     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13491     shlibpath_overrides_runpath=no
   13492   else
   13493     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13494     shlibpath_overrides_runpath=yes
   13495     case $host_os in
   13496       sco3.2v5*)
   13497         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13498 	;;
   13499     esac
   13500   fi
   13501   sys_lib_dlsearch_path_spec='/usr/lib'
   13502   ;;
   13503 
   13504 uts4*)
   13505   version_type=linux
   13506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13507   soname_spec='${libname}${release}${shared_ext}$major'
   13508   shlibpath_var=LD_LIBRARY_PATH
   13509   ;;
   13510 
   13511 *)
   13512   dynamic_linker=no
   13513   ;;
   13514 esac
   13515 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13516 echo "${ECHO_T}$dynamic_linker" >&6; }
   13517 test "$dynamic_linker" = no && can_build_shared=no
   13518 
   13519 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13520 if test "$GCC" = yes; then
   13521   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13522 fi
   13523 
   13524 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13525 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13526 hardcode_action_CXX=
   13527 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13528    test -n "$runpath_var_CXX" || \
   13529    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13530 
   13531   # We can hardcode non-existant directories.
   13532   if test "$hardcode_direct_CXX" != no &&
   13533      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13534      # have to relink, otherwise we might link with an installed library
   13535      # when we should be linking with a yet-to-be-installed one
   13536      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13537      test "$hardcode_minus_L_CXX" != no; then
   13538     # Linking always hardcodes the temporary library directory.
   13539     hardcode_action_CXX=relink
   13540   else
   13541     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13542     hardcode_action_CXX=immediate
   13543   fi
   13544 else
   13545   # We cannot hardcode anything, or else we can only hardcode existing
   13546   # directories.
   13547   hardcode_action_CXX=unsupported
   13548 fi
   13549 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13550 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13551 
   13552 if test "$hardcode_action_CXX" = relink; then
   13553   # Fast installation is not supported
   13554   enable_fast_install=no
   13555 elif test "$shlibpath_overrides_runpath" = yes ||
   13556      test "$enable_shared" = no; then
   13557   # Fast installation is not necessary
   13558   enable_fast_install=needless
   13559 fi
   13560 
   13561 
   13562 # The else clause should only fire when bootstrapping the
   13563 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13564 # with your package, and you will get complaints that there are
   13565 # no rules to generate ltmain.sh.
   13566 if test -f "$ltmain"; then
   13567   # See if we are running on zsh, and set the options which allow our commands through
   13568   # without removal of \ escapes.
   13569   if test -n "${ZSH_VERSION+set}" ; then
   13570     setopt NO_GLOB_SUBST
   13571   fi
   13572   # Now quote all the things that may contain metacharacters while being
   13573   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13574   # variables and quote the copies for generation of the libtool script.
   13575   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13576     SED SHELL STRIP \
   13577     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13578     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13579     deplibs_check_method reload_flag reload_cmds need_locks \
   13580     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13581     lt_cv_sys_global_symbol_to_c_name_address \
   13582     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13583     old_postinstall_cmds old_postuninstall_cmds \
   13584     compiler_CXX \
   13585     CC_CXX \
   13586     LD_CXX \
   13587     lt_prog_compiler_wl_CXX \
   13588     lt_prog_compiler_pic_CXX \
   13589     lt_prog_compiler_static_CXX \
   13590     lt_prog_compiler_no_builtin_flag_CXX \
   13591     export_dynamic_flag_spec_CXX \
   13592     thread_safe_flag_spec_CXX \
   13593     whole_archive_flag_spec_CXX \
   13594     enable_shared_with_static_runtimes_CXX \
   13595     old_archive_cmds_CXX \
   13596     old_archive_from_new_cmds_CXX \
   13597     predep_objects_CXX \
   13598     postdep_objects_CXX \
   13599     predeps_CXX \
   13600     postdeps_CXX \
   13601     compiler_lib_search_path_CXX \
   13602     archive_cmds_CXX \
   13603     archive_expsym_cmds_CXX \
   13604     postinstall_cmds_CXX \
   13605     postuninstall_cmds_CXX \
   13606     old_archive_from_expsyms_cmds_CXX \
   13607     allow_undefined_flag_CXX \
   13608     no_undefined_flag_CXX \
   13609     export_symbols_cmds_CXX \
   13610     hardcode_libdir_flag_spec_CXX \
   13611     hardcode_libdir_flag_spec_ld_CXX \
   13612     hardcode_libdir_separator_CXX \
   13613     hardcode_automatic_CXX \
   13614     module_cmds_CXX \
   13615     module_expsym_cmds_CXX \
   13616     lt_cv_prog_compiler_c_o_CXX \
   13617     exclude_expsyms_CXX \
   13618     include_expsyms_CXX; do
   13619 
   13620     case $var in
   13621     old_archive_cmds_CXX | \
   13622     old_archive_from_new_cmds_CXX | \
   13623     archive_cmds_CXX | \
   13624     archive_expsym_cmds_CXX | \
   13625     module_cmds_CXX | \
   13626     module_expsym_cmds_CXX | \
   13627     old_archive_from_expsyms_cmds_CXX | \
   13628     export_symbols_cmds_CXX | \
   13629     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13630     postinstall_cmds | postuninstall_cmds | \
   13631     old_postinstall_cmds | old_postuninstall_cmds | \
   13632     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13633       # Double-quote double-evaled strings.
   13634       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13635       ;;
   13636     *)
   13637       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13638       ;;
   13639     esac
   13640   done
   13641 
   13642   case $lt_echo in
   13643   *'\$0 --fallback-echo"')
   13644     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13645     ;;
   13646   esac
   13647 
   13648 cfgfile="$ofile"
   13649 
   13650   cat <<__EOF__ >> "$cfgfile"
   13651 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13652 
   13653 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13654 
   13655 # Shell to use when invoking shell scripts.
   13656 SHELL=$lt_SHELL
   13657 
   13658 # Whether or not to build shared libraries.
   13659 build_libtool_libs=$enable_shared
   13660 
   13661 # Whether or not to build static libraries.
   13662 build_old_libs=$enable_static
   13663 
   13664 # Whether or not to add -lc for building shared libraries.
   13665 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13666 
   13667 # Whether or not to disallow shared libs when runtime libs are static
   13668 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13669 
   13670 # Whether or not to optimize for fast installation.
   13671 fast_install=$enable_fast_install
   13672 
   13673 # The host system.
   13674 host_alias=$host_alias
   13675 host=$host
   13676 host_os=$host_os
   13677 
   13678 # The build system.
   13679 build_alias=$build_alias
   13680 build=$build
   13681 build_os=$build_os
   13682 
   13683 # An echo program that does not interpret backslashes.
   13684 echo=$lt_echo
   13685 
   13686 # The archiver.
   13687 AR=$lt_AR
   13688 AR_FLAGS=$lt_AR_FLAGS
   13689 
   13690 # A C compiler.
   13691 LTCC=$lt_LTCC
   13692 
   13693 # LTCC compiler flags.
   13694 LTCFLAGS=$lt_LTCFLAGS
   13695 
   13696 # A language-specific compiler.
   13697 CC=$lt_compiler_CXX
   13698 
   13699 # Is the compiler the GNU C compiler?
   13700 with_gcc=$GCC_CXX
   13701 
   13702 # An ERE matcher.
   13703 EGREP=$lt_EGREP
   13704 
   13705 # The linker used to build libraries.
   13706 LD=$lt_LD_CXX
   13707 
   13708 # Whether we need hard or soft links.
   13709 LN_S=$lt_LN_S
   13710 
   13711 # A BSD-compatible nm program.
   13712 NM=$lt_NM
   13713 
   13714 # A symbol stripping program
   13715 STRIP=$lt_STRIP
   13716 
   13717 # Used to examine libraries when file_magic_cmd begins "file"
   13718 MAGIC_CMD=$MAGIC_CMD
   13719 
   13720 # Used on cygwin: DLL creation program.
   13721 DLLTOOL="$DLLTOOL"
   13722 
   13723 # Used on cygwin: object dumper.
   13724 OBJDUMP="$OBJDUMP"
   13725 
   13726 # Used on cygwin: assembler.
   13727 AS="$AS"
   13728 
   13729 # The name of the directory that contains temporary libtool files.
   13730 objdir=$objdir
   13731 
   13732 # How to create reloadable object files.
   13733 reload_flag=$lt_reload_flag
   13734 reload_cmds=$lt_reload_cmds
   13735 
   13736 # How to pass a linker flag through the compiler.
   13737 wl=$lt_lt_prog_compiler_wl_CXX
   13738 
   13739 # Object file suffix (normally "o").
   13740 objext="$ac_objext"
   13741 
   13742 # Old archive suffix (normally "a").
   13743 libext="$libext"
   13744 
   13745 # Shared library suffix (normally ".so").
   13746 shrext_cmds='$shrext_cmds'
   13747 
   13748 # Executable file suffix (normally "").
   13749 exeext="$exeext"
   13750 
   13751 # Additional compiler flags for building library objects.
   13752 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13753 pic_mode=$pic_mode
   13754 
   13755 # What is the maximum length of a command?
   13756 max_cmd_len=$lt_cv_sys_max_cmd_len
   13757 
   13758 # Does compiler simultaneously support -c and -o options?
   13759 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13760 
   13761 # Must we lock files when doing compilation?
   13762 need_locks=$lt_need_locks
   13763 
   13764 # Do we need the lib prefix for modules?
   13765 need_lib_prefix=$need_lib_prefix
   13766 
   13767 # Do we need a version for libraries?
   13768 need_version=$need_version
   13769 
   13770 # Whether dlopen is supported.
   13771 dlopen_support=$enable_dlopen
   13772 
   13773 # Whether dlopen of programs is supported.
   13774 dlopen_self=$enable_dlopen_self
   13775 
   13776 # Whether dlopen of statically linked programs is supported.
   13777 dlopen_self_static=$enable_dlopen_self_static
   13778 
   13779 # Compiler flag to prevent dynamic linking.
   13780 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13781 
   13782 # Compiler flag to turn off builtin functions.
   13783 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13784 
   13785 # Compiler flag to allow reflexive dlopens.
   13786 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13787 
   13788 # Compiler flag to generate shared objects directly from archives.
   13789 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13790 
   13791 # Compiler flag to generate thread-safe objects.
   13792 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13793 
   13794 # Library versioning type.
   13795 version_type=$version_type
   13796 
   13797 # Format of library name prefix.
   13798 libname_spec=$lt_libname_spec
   13799 
   13800 # List of archive names.  First name is the real one, the rest are links.
   13801 # The last name is the one that the linker finds with -lNAME.
   13802 library_names_spec=$lt_library_names_spec
   13803 
   13804 # The coded name of the library, if different from the real name.
   13805 soname_spec=$lt_soname_spec
   13806 
   13807 # Commands used to build and install an old-style archive.
   13808 RANLIB=$lt_RANLIB
   13809 old_archive_cmds=$lt_old_archive_cmds_CXX
   13810 old_postinstall_cmds=$lt_old_postinstall_cmds
   13811 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13812 
   13813 # Create an old-style archive from a shared archive.
   13814 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13815 
   13816 # Create a temporary old-style archive to link instead of a shared archive.
   13817 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13818 
   13819 # Commands used to build and install a shared archive.
   13820 archive_cmds=$lt_archive_cmds_CXX
   13821 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13822 postinstall_cmds=$lt_postinstall_cmds
   13823 postuninstall_cmds=$lt_postuninstall_cmds
   13824 
   13825 # Commands used to build a loadable module (assumed same as above if empty)
   13826 module_cmds=$lt_module_cmds_CXX
   13827 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13828 
   13829 # Commands to strip libraries.
   13830 old_striplib=$lt_old_striplib
   13831 striplib=$lt_striplib
   13832 
   13833 # Dependencies to place before the objects being linked to create a
   13834 # shared library.
   13835 predep_objects=$lt_predep_objects_CXX
   13836 
   13837 # Dependencies to place after the objects being linked to create a
   13838 # shared library.
   13839 postdep_objects=$lt_postdep_objects_CXX
   13840 
   13841 # Dependencies to place before the objects being linked to create a
   13842 # shared library.
   13843 predeps=$lt_predeps_CXX
   13844 
   13845 # Dependencies to place after the objects being linked to create a
   13846 # shared library.
   13847 postdeps=$lt_postdeps_CXX
   13848 
   13849 # The library search path used internally by the compiler when linking
   13850 # a shared library.
   13851 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13852 
   13853 # Method to check whether dependent libraries are shared objects.
   13854 deplibs_check_method=$lt_deplibs_check_method
   13855 
   13856 # Command to use when deplibs_check_method == file_magic.
   13857 file_magic_cmd=$lt_file_magic_cmd
   13858 
   13859 # Flag that allows shared libraries with undefined symbols to be built.
   13860 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13861 
   13862 # Flag that forces no undefined symbols.
   13863 no_undefined_flag=$lt_no_undefined_flag_CXX
   13864 
   13865 # Commands used to finish a libtool library installation in a directory.
   13866 finish_cmds=$lt_finish_cmds
   13867 
   13868 # Same as above, but a single script fragment to be evaled but not shown.
   13869 finish_eval=$lt_finish_eval
   13870 
   13871 # Take the output of nm and produce a listing of raw symbols and C names.
   13872 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13873 
   13874 # Transform the output of nm in a proper C declaration
   13875 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13876 
   13877 # Transform the output of nm in a C name address pair
   13878 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13879 
   13880 # This is the shared library runtime path variable.
   13881 runpath_var=$runpath_var
   13882 
   13883 # This is the shared library path variable.
   13884 shlibpath_var=$shlibpath_var
   13885 
   13886 # Is shlibpath searched before the hard-coded library search path?
   13887 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13888 
   13889 # How to hardcode a shared library path into an executable.
   13890 hardcode_action=$hardcode_action_CXX
   13891 
   13892 # Whether we should hardcode library paths into libraries.
   13893 hardcode_into_libs=$hardcode_into_libs
   13894 
   13895 # Flag to hardcode \$libdir into a binary during linking.
   13896 # This must work even if \$libdir does not exist.
   13897 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13898 
   13899 # If ld is used when linking, flag to hardcode \$libdir into
   13900 # a binary during linking. This must work even if \$libdir does
   13901 # not exist.
   13902 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13903 
   13904 # Whether we need a single -rpath flag with a separated argument.
   13905 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13906 
   13907 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13908 # resulting binary.
   13909 hardcode_direct=$hardcode_direct_CXX
   13910 
   13911 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13912 # resulting binary.
   13913 hardcode_minus_L=$hardcode_minus_L_CXX
   13914 
   13915 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13916 # the resulting binary.
   13917 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13918 
   13919 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13920 # and all subsequent libraries and executables linked against it.
   13921 hardcode_automatic=$hardcode_automatic_CXX
   13922 
   13923 # Variables whose values should be saved in libtool wrapper scripts and
   13924 # restored at relink time.
   13925 variables_saved_for_relink="$variables_saved_for_relink"
   13926 
   13927 # Whether libtool must link a program against all its dependency libraries.
   13928 link_all_deplibs=$link_all_deplibs_CXX
   13929 
   13930 # Compile-time system search path for libraries
   13931 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13932 
   13933 # Run-time system search path for libraries
   13934 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13935 
   13936 # Fix the shell variable \$srcfile for the compiler.
   13937 fix_srcfile_path="$fix_srcfile_path_CXX"
   13938 
   13939 # Set to yes if exported symbols are required.
   13940 always_export_symbols=$always_export_symbols_CXX
   13941 
   13942 # The commands to list exported symbols.
   13943 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13944 
   13945 # The commands to extract the exported symbol list from a shared archive.
   13946 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13947 
   13948 # Symbols that should not be listed in the preloaded symbols.
   13949 exclude_expsyms=$lt_exclude_expsyms_CXX
   13950 
   13951 # Symbols that must always be exported.
   13952 include_expsyms=$lt_include_expsyms_CXX
   13953 
   13954 # ### END LIBTOOL TAG CONFIG: $tagname
   13955 
   13956 __EOF__
   13957 
   13958 
   13959 else
   13960   # If there is no Makefile yet, we rely on a make rule to execute
   13961   # `config.status --recheck' to rerun these tests and create the
   13962   # libtool script then.
   13963   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13964   if test -f "$ltmain_in"; then
   13965     test -f Makefile && make "$ltmain"
   13966   fi
   13967 fi
   13968 
   13969 
   13970 ac_ext=c
   13971 ac_cpp='$CPP $CPPFLAGS'
   13972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13975 
   13976 CC=$lt_save_CC
   13977 LDCXX=$LD
   13978 LD=$lt_save_LD
   13979 GCC=$lt_save_GCC
   13980 with_gnu_ldcxx=$with_gnu_ld
   13981 with_gnu_ld=$lt_save_with_gnu_ld
   13982 lt_cv_path_LDCXX=$lt_cv_path_LD
   13983 lt_cv_path_LD=$lt_save_path_LD
   13984 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13985 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13986 
   13987 	else
   13988 	  tagname=""
   13989 	fi
   13990 	;;
   13991 
   13992       F77)
   13993 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13994 
   13995 ac_ext=f
   13996 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13997 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13998 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13999 
   14000 
   14001 archive_cmds_need_lc_F77=no
   14002 allow_undefined_flag_F77=
   14003 always_export_symbols_F77=no
   14004 archive_expsym_cmds_F77=
   14005 export_dynamic_flag_spec_F77=
   14006 hardcode_direct_F77=no
   14007 hardcode_libdir_flag_spec_F77=
   14008 hardcode_libdir_flag_spec_ld_F77=
   14009 hardcode_libdir_separator_F77=
   14010 hardcode_minus_L_F77=no
   14011 hardcode_automatic_F77=no
   14012 module_cmds_F77=
   14013 module_expsym_cmds_F77=
   14014 link_all_deplibs_F77=unknown
   14015 old_archive_cmds_F77=$old_archive_cmds
   14016 no_undefined_flag_F77=
   14017 whole_archive_flag_spec_F77=
   14018 enable_shared_with_static_runtimes_F77=no
   14019 
   14020 # Source file extension for f77 test sources.
   14021 ac_ext=f
   14022 
   14023 # Object file extension for compiled f77 test sources.
   14024 objext=o
   14025 objext_F77=$objext
   14026 
   14027 # Code to be used in simple compile tests
   14028 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   14029 
   14030 # Code to be used in simple link tests
   14031 lt_simple_link_test_code="      program t\n      end\n"
   14032 
   14033 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14034 
   14035 # If no C compiler was specified, use CC.
   14036 LTCC=${LTCC-"$CC"}
   14037 
   14038 # If no C compiler flags were specified, use CFLAGS.
   14039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14040 
   14041 # Allow CC to be a program name with arguments.
   14042 compiler=$CC
   14043 
   14044 
   14045 # save warnings/boilerplate of simple test code
   14046 ac_outfile=conftest.$ac_objext
   14047 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   14048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14049 _lt_compiler_boilerplate=`cat conftest.err`
   14050 $rm conftest*
   14051 
   14052 ac_outfile=conftest.$ac_objext
   14053 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   14054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14055 _lt_linker_boilerplate=`cat conftest.err`
   14056 $rm conftest*
   14057 
   14058 
   14059 # Allow CC to be a program name with arguments.
   14060 lt_save_CC="$CC"
   14061 CC=${F77-"f77"}
   14062 compiler=$CC
   14063 compiler_F77=$CC
   14064 for cc_temp in $compiler""; do
   14065   case $cc_temp in
   14066     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14067     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14068     \-*) ;;
   14069     *) break;;
   14070   esac
   14071 done
   14072 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14073 
   14074 
   14075 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14076 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14077 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14078 echo "${ECHO_T}$can_build_shared" >&6; }
   14079 
   14080 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14081 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14082 test "$can_build_shared" = "no" && enable_shared=no
   14083 
   14084 # On AIX, shared libraries and static libraries use the same namespace, and
   14085 # are all built from PIC.
   14086 case $host_os in
   14087 aix3*)
   14088   test "$enable_shared" = yes && enable_static=no
   14089   if test -n "$RANLIB"; then
   14090     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14091     postinstall_cmds='$RANLIB $lib'
   14092   fi
   14093   ;;
   14094 aix4* | aix5*)
   14095   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14096     test "$enable_shared" = yes && enable_static=no
   14097   fi
   14098   ;;
   14099 esac
   14100 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14101 echo "${ECHO_T}$enable_shared" >&6; }
   14102 
   14103 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14104 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14105 # Make sure either enable_shared or enable_static is yes.
   14106 test "$enable_shared" = yes || enable_static=yes
   14107 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14108 echo "${ECHO_T}$enable_static" >&6; }
   14109 
   14110 GCC_F77="$G77"
   14111 LD_F77="$LD"
   14112 
   14113 lt_prog_compiler_wl_F77=
   14114 lt_prog_compiler_pic_F77=
   14115 lt_prog_compiler_static_F77=
   14116 
   14117 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14118 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14119 
   14120   if test "$GCC" = yes; then
   14121     lt_prog_compiler_wl_F77='-Wl,'
   14122     lt_prog_compiler_static_F77='-static'
   14123 
   14124     case $host_os in
   14125       aix*)
   14126       # All AIX code is PIC.
   14127       if test "$host_cpu" = ia64; then
   14128 	# AIX 5 now supports IA64 processor
   14129 	lt_prog_compiler_static_F77='-Bstatic'
   14130       fi
   14131       ;;
   14132 
   14133     amigaos*)
   14134       # FIXME: we need at least 68020 code to build shared libraries, but
   14135       # adding the `-m68020' flag to GCC prevents building anything better,
   14136       # like `-m68040'.
   14137       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14138       ;;
   14139 
   14140     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14141       # PIC is the default for these OSes.
   14142       ;;
   14143 
   14144     mingw* | pw32* | os2*)
   14145       # This hack is so that the source file can tell whether it is being
   14146       # built for inclusion in a dll (and should export symbols for example).
   14147       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14148       ;;
   14149 
   14150     darwin* | rhapsody*)
   14151       # PIC is the default on this platform
   14152       # Common symbols not allowed in MH_DYLIB files
   14153       lt_prog_compiler_pic_F77='-fno-common'
   14154       ;;
   14155 
   14156     interix3*)
   14157       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14158       # Instead, we relocate shared libraries at runtime.
   14159       ;;
   14160 
   14161     msdosdjgpp*)
   14162       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14163       # on systems that don't support them.
   14164       lt_prog_compiler_can_build_shared_F77=no
   14165       enable_shared=no
   14166       ;;
   14167 
   14168     sysv4*MP*)
   14169       if test -d /usr/nec; then
   14170 	lt_prog_compiler_pic_F77=-Kconform_pic
   14171       fi
   14172       ;;
   14173 
   14174     hpux*)
   14175       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14176       # not for PA HP-UX.
   14177       case $host_cpu in
   14178       hppa*64*|ia64*)
   14179 	# +Z the default
   14180 	;;
   14181       *)
   14182 	lt_prog_compiler_pic_F77='-fPIC'
   14183 	;;
   14184       esac
   14185       ;;
   14186 
   14187     *)
   14188       lt_prog_compiler_pic_F77='-fPIC'
   14189       ;;
   14190     esac
   14191   else
   14192     # PORTME Check for flag to pass linker flags through the system compiler.
   14193     case $host_os in
   14194     aix*)
   14195       lt_prog_compiler_wl_F77='-Wl,'
   14196       if test "$host_cpu" = ia64; then
   14197 	# AIX 5 now supports IA64 processor
   14198 	lt_prog_compiler_static_F77='-Bstatic'
   14199       else
   14200 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14201       fi
   14202       ;;
   14203       darwin*)
   14204         # PIC is the default on this platform
   14205         # Common symbols not allowed in MH_DYLIB files
   14206        case $cc_basename in
   14207          xlc*)
   14208          lt_prog_compiler_pic_F77='-qnocommon'
   14209          lt_prog_compiler_wl_F77='-Wl,'
   14210          ;;
   14211        esac
   14212        ;;
   14213 
   14214     mingw* | pw32* | os2*)
   14215       # This hack is so that the source file can tell whether it is being
   14216       # built for inclusion in a dll (and should export symbols for example).
   14217       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14218       ;;
   14219 
   14220     hpux9* | hpux10* | hpux11*)
   14221       lt_prog_compiler_wl_F77='-Wl,'
   14222       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14223       # not for PA HP-UX.
   14224       case $host_cpu in
   14225       hppa*64*|ia64*)
   14226 	# +Z the default
   14227 	;;
   14228       *)
   14229 	lt_prog_compiler_pic_F77='+Z'
   14230 	;;
   14231       esac
   14232       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14233       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14234       ;;
   14235 
   14236     irix5* | irix6* | nonstopux*)
   14237       lt_prog_compiler_wl_F77='-Wl,'
   14238       # PIC (with -KPIC) is the default.
   14239       lt_prog_compiler_static_F77='-non_shared'
   14240       ;;
   14241 
   14242     newsos6)
   14243       lt_prog_compiler_pic_F77='-KPIC'
   14244       lt_prog_compiler_static_F77='-Bstatic'
   14245       ;;
   14246 
   14247     linux*)
   14248       case $cc_basename in
   14249       icc* | ecc*)
   14250 	lt_prog_compiler_wl_F77='-Wl,'
   14251 	lt_prog_compiler_pic_F77='-KPIC'
   14252 	lt_prog_compiler_static_F77='-static'
   14253         ;;
   14254       pgcc* | pgf77* | pgf90* | pgf95*)
   14255         # Portland Group compilers (*not* the Pentium gcc compiler,
   14256 	# which looks to be a dead project)
   14257 	lt_prog_compiler_wl_F77='-Wl,'
   14258 	lt_prog_compiler_pic_F77='-fpic'
   14259 	lt_prog_compiler_static_F77='-Bstatic'
   14260         ;;
   14261       ccc*)
   14262         lt_prog_compiler_wl_F77='-Wl,'
   14263         # All Alpha code is PIC.
   14264         lt_prog_compiler_static_F77='-non_shared'
   14265         ;;
   14266       esac
   14267       ;;
   14268 
   14269     osf3* | osf4* | osf5*)
   14270       lt_prog_compiler_wl_F77='-Wl,'
   14271       # All OSF/1 code is PIC.
   14272       lt_prog_compiler_static_F77='-non_shared'
   14273       ;;
   14274 
   14275     solaris*)
   14276       lt_prog_compiler_pic_F77='-KPIC'
   14277       lt_prog_compiler_static_F77='-Bstatic'
   14278       case $cc_basename in
   14279       f77* | f90* | f95*)
   14280 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14281       *)
   14282 	lt_prog_compiler_wl_F77='-Wl,';;
   14283       esac
   14284       ;;
   14285 
   14286     sunos4*)
   14287       lt_prog_compiler_wl_F77='-Qoption ld '
   14288       lt_prog_compiler_pic_F77='-PIC'
   14289       lt_prog_compiler_static_F77='-Bstatic'
   14290       ;;
   14291 
   14292     sysv4 | sysv4.2uw2* | sysv4.3*)
   14293       lt_prog_compiler_wl_F77='-Wl,'
   14294       lt_prog_compiler_pic_F77='-KPIC'
   14295       lt_prog_compiler_static_F77='-Bstatic'
   14296       ;;
   14297 
   14298     sysv4*MP*)
   14299       if test -d /usr/nec ;then
   14300 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14301 	lt_prog_compiler_static_F77='-Bstatic'
   14302       fi
   14303       ;;
   14304 
   14305     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14306       lt_prog_compiler_wl_F77='-Wl,'
   14307       lt_prog_compiler_pic_F77='-KPIC'
   14308       lt_prog_compiler_static_F77='-Bstatic'
   14309       ;;
   14310 
   14311     unicos*)
   14312       lt_prog_compiler_wl_F77='-Wl,'
   14313       lt_prog_compiler_can_build_shared_F77=no
   14314       ;;
   14315 
   14316     uts4*)
   14317       lt_prog_compiler_pic_F77='-pic'
   14318       lt_prog_compiler_static_F77='-Bstatic'
   14319       ;;
   14320 
   14321     *)
   14322       lt_prog_compiler_can_build_shared_F77=no
   14323       ;;
   14324     esac
   14325   fi
   14326 
   14327 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14328 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14329 
   14330 #
   14331 # Check to make sure the PIC flag actually works.
   14332 #
   14333 if test -n "$lt_prog_compiler_pic_F77"; then
   14334 
   14335 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14336 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14337 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14338   echo $ECHO_N "(cached) $ECHO_C" >&6
   14339 else
   14340   lt_prog_compiler_pic_works_F77=no
   14341   ac_outfile=conftest.$ac_objext
   14342    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14343    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14344    # Insert the option either (1) after the last *FLAGS variable, or
   14345    # (2) before a word containing "conftest.", or (3) at the end.
   14346    # Note that $ac_compile itself does not contain backslashes and begins
   14347    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14348    # The option is referenced via a variable to avoid confusing sed.
   14349    lt_compile=`echo "$ac_compile" | $SED \
   14350    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14351    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14352    -e 's:$: $lt_compiler_flag:'`
   14353    (eval echo "\"\$as_me:14353: $lt_compile\"" >&5)
   14354    (eval "$lt_compile" 2>conftest.err)
   14355    ac_status=$?
   14356    cat conftest.err >&5
   14357    echo "$as_me:14357: \$? = $ac_status" >&5
   14358    if (exit $ac_status) && test -s "$ac_outfile"; then
   14359      # The compiler can only warn and ignore the option if not recognized
   14360      # So say no if there are warnings other than the usual output.
   14361      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14362      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14363      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14364        lt_prog_compiler_pic_works_F77=yes
   14365      fi
   14366    fi
   14367    $rm conftest*
   14368 
   14369 fi
   14370 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14371 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14372 
   14373 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14374     case $lt_prog_compiler_pic_F77 in
   14375      "" | " "*) ;;
   14376      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14377      esac
   14378 else
   14379     lt_prog_compiler_pic_F77=
   14380      lt_prog_compiler_can_build_shared_F77=no
   14381 fi
   14382 
   14383 fi
   14384 case $host_os in
   14385   # For platforms which do not support PIC, -DPIC is meaningless:
   14386   *djgpp*)
   14387     lt_prog_compiler_pic_F77=
   14388     ;;
   14389   *)
   14390     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14391     ;;
   14392 esac
   14393 
   14394 #
   14395 # Check to make sure the static flag actually works.
   14396 #
   14397 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14398 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14399 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14400 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14401   echo $ECHO_N "(cached) $ECHO_C" >&6
   14402 else
   14403   lt_prog_compiler_static_works_F77=no
   14404    save_LDFLAGS="$LDFLAGS"
   14405    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14406    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   14407    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14408      # The linker can only warn and ignore the option if not recognized
   14409      # So say no if there are warnings
   14410      if test -s conftest.err; then
   14411        # Append any errors to the config.log.
   14412        cat conftest.err 1>&5
   14413        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14414        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14415        if diff conftest.exp conftest.er2 >/dev/null; then
   14416          lt_prog_compiler_static_works_F77=yes
   14417        fi
   14418      else
   14419        lt_prog_compiler_static_works_F77=yes
   14420      fi
   14421    fi
   14422    $rm conftest*
   14423    LDFLAGS="$save_LDFLAGS"
   14424 
   14425 fi
   14426 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14427 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14428 
   14429 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14430     :
   14431 else
   14432     lt_prog_compiler_static_F77=
   14433 fi
   14434 
   14435 
   14436 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14437 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14438 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14439   echo $ECHO_N "(cached) $ECHO_C" >&6
   14440 else
   14441   lt_cv_prog_compiler_c_o_F77=no
   14442    $rm -r conftest 2>/dev/null
   14443    mkdir conftest
   14444    cd conftest
   14445    mkdir out
   14446    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14447 
   14448    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14449    # Insert the option either (1) after the last *FLAGS variable, or
   14450    # (2) before a word containing "conftest.", or (3) at the end.
   14451    # Note that $ac_compile itself does not contain backslashes and begins
   14452    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14453    lt_compile=`echo "$ac_compile" | $SED \
   14454    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14455    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14456    -e 's:$: $lt_compiler_flag:'`
   14457    (eval echo "\"\$as_me:14457: $lt_compile\"" >&5)
   14458    (eval "$lt_compile" 2>out/conftest.err)
   14459    ac_status=$?
   14460    cat out/conftest.err >&5
   14461    echo "$as_me:14461: \$? = $ac_status" >&5
   14462    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14463    then
   14464      # The compiler can only warn and ignore the option if not recognized
   14465      # So say no if there are warnings
   14466      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14467      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14468      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14469        lt_cv_prog_compiler_c_o_F77=yes
   14470      fi
   14471    fi
   14472    chmod u+w . 2>&5
   14473    $rm conftest*
   14474    # SGI C++ compiler will create directory out/ii_files/ for
   14475    # template instantiation
   14476    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14477    $rm out/* && rmdir out
   14478    cd ..
   14479    rmdir conftest
   14480    $rm conftest*
   14481 
   14482 fi
   14483 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14484 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14485 
   14486 
   14487 hard_links="nottested"
   14488 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14489   # do not overwrite the value of need_locks provided by the user
   14490   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14491 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14492   hard_links=yes
   14493   $rm conftest*
   14494   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14495   touch conftest.a
   14496   ln conftest.a conftest.b 2>&5 || hard_links=no
   14497   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14498   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14499 echo "${ECHO_T}$hard_links" >&6; }
   14500   if test "$hard_links" = no; then
   14501     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14502 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14503     need_locks=warn
   14504   fi
   14505 else
   14506   need_locks=no
   14507 fi
   14508 
   14509 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14510 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14511 
   14512   runpath_var=
   14513   allow_undefined_flag_F77=
   14514   enable_shared_with_static_runtimes_F77=no
   14515   archive_cmds_F77=
   14516   archive_expsym_cmds_F77=
   14517   old_archive_From_new_cmds_F77=
   14518   old_archive_from_expsyms_cmds_F77=
   14519   export_dynamic_flag_spec_F77=
   14520   whole_archive_flag_spec_F77=
   14521   thread_safe_flag_spec_F77=
   14522   hardcode_libdir_flag_spec_F77=
   14523   hardcode_libdir_flag_spec_ld_F77=
   14524   hardcode_libdir_separator_F77=
   14525   hardcode_direct_F77=no
   14526   hardcode_minus_L_F77=no
   14527   hardcode_shlibpath_var_F77=unsupported
   14528   link_all_deplibs_F77=unknown
   14529   hardcode_automatic_F77=no
   14530   module_cmds_F77=
   14531   module_expsym_cmds_F77=
   14532   always_export_symbols_F77=no
   14533   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14534   # include_expsyms should be a list of space-separated symbols to be *always*
   14535   # included in the symbol list
   14536   include_expsyms_F77=
   14537   # exclude_expsyms can be an extended regexp of symbols to exclude
   14538   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14539   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14540   # as well as any symbol that contains `d'.
   14541   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14542   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14543   # platforms (ab)use it in PIC code, but their linkers get confused if
   14544   # the symbol is explicitly referenced.  Since portable code cannot
   14545   # rely on this symbol name, it's probably fine to never include it in
   14546   # preloaded symbol tables.
   14547   extract_expsyms_cmds=
   14548   # Just being paranoid about ensuring that cc_basename is set.
   14549   for cc_temp in $compiler""; do
   14550   case $cc_temp in
   14551     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14552     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14553     \-*) ;;
   14554     *) break;;
   14555   esac
   14556 done
   14557 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14558 
   14559   case $host_os in
   14560   cygwin* | mingw* | pw32*)
   14561     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14562     # When not using gcc, we currently assume that we are using
   14563     # Microsoft Visual C++.
   14564     if test "$GCC" != yes; then
   14565       with_gnu_ld=no
   14566     fi
   14567     ;;
   14568   interix*)
   14569     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14570     with_gnu_ld=yes
   14571     ;;
   14572   openbsd*)
   14573     with_gnu_ld=no
   14574     ;;
   14575   esac
   14576 
   14577   ld_shlibs_F77=yes
   14578   if test "$with_gnu_ld" = yes; then
   14579     # If archive_cmds runs LD, not CC, wlarc should be empty
   14580     wlarc='${wl}'
   14581 
   14582     # Set some defaults for GNU ld with shared library support. These
   14583     # are reset later if shared libraries are not supported. Putting them
   14584     # here allows them to be overridden if necessary.
   14585     runpath_var=LD_RUN_PATH
   14586     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14587     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14588     # ancient GNU ld didn't support --whole-archive et. al.
   14589     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14590 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14591       else
   14592   	whole_archive_flag_spec_F77=
   14593     fi
   14594     supports_anon_versioning=no
   14595     case `$LD -v 2>/dev/null` in
   14596       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14597       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14598       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14599       *\ 2.11.*) ;; # other 2.11 versions
   14600       *) supports_anon_versioning=yes ;;
   14601     esac
   14602 
   14603     # See if GNU ld supports shared libraries.
   14604     case $host_os in
   14605     aix3* | aix4* | aix5*)
   14606       # On AIX/PPC, the GNU linker is very broken
   14607       if test "$host_cpu" != ia64; then
   14608 	ld_shlibs_F77=no
   14609 	cat <<EOF 1>&2
   14610 
   14611 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14612 *** to be unable to reliably create shared libraries on AIX.
   14613 *** Therefore, libtool is disabling shared libraries support.  If you
   14614 *** really care for shared libraries, you may want to modify your PATH
   14615 *** so that a non-GNU linker is found, and then restart.
   14616 
   14617 EOF
   14618       fi
   14619       ;;
   14620 
   14621     amigaos*)
   14622       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)'
   14623       hardcode_libdir_flag_spec_F77='-L$libdir'
   14624       hardcode_minus_L_F77=yes
   14625 
   14626       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14627       # that the semantics of dynamic libraries on AmigaOS, at least up
   14628       # to version 4, is to share data among multiple programs linked
   14629       # with the same dynamic library.  Since this doesn't match the
   14630       # behavior of shared libraries on other platforms, we can't use
   14631       # them.
   14632       ld_shlibs_F77=no
   14633       ;;
   14634 
   14635     beos*)
   14636       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14637 	allow_undefined_flag_F77=unsupported
   14638 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14639 	# support --undefined.  This deserves some investigation.  FIXME
   14640 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14641       else
   14642 	ld_shlibs_F77=no
   14643       fi
   14644       ;;
   14645 
   14646     cygwin* | mingw* | pw32*)
   14647       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14648       # as there is no search path for DLLs.
   14649       hardcode_libdir_flag_spec_F77='-L$libdir'
   14650       allow_undefined_flag_F77=unsupported
   14651       always_export_symbols_F77=no
   14652       enable_shared_with_static_runtimes_F77=yes
   14653       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14654 
   14655       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14656         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14657 	# If the export-symbols file already is a .def file (1st line
   14658 	# is EXPORTS), use it as is; otherwise, prepend...
   14659 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14660 	  cp $export_symbols $output_objdir/$soname.def;
   14661 	else
   14662 	  echo EXPORTS > $output_objdir/$soname.def;
   14663 	  cat $export_symbols >> $output_objdir/$soname.def;
   14664 	fi~
   14665 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14666       else
   14667 	ld_shlibs_F77=no
   14668       fi
   14669       ;;
   14670 
   14671     interix3*)
   14672       hardcode_direct_F77=no
   14673       hardcode_shlibpath_var_F77=no
   14674       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14675       export_dynamic_flag_spec_F77='${wl}-E'
   14676       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14677       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14678       # default) and relocated if they conflict, which is a slow very memory
   14679       # consuming and fragmenting process.  To avoid this, we pick a random,
   14680       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14681       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14682       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'
   14683       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'
   14684       ;;
   14685 
   14686     linux*)
   14687       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14688 	tmp_addflag=
   14689 	case $cc_basename,$host_cpu in
   14690 	pgcc*)				# Portland Group C compiler
   14691 	  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'
   14692 	  tmp_addflag=' $pic_flag'
   14693 	  ;;
   14694 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14695 	  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'
   14696 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14697 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14698 	  tmp_addflag=' -i_dynamic' ;;
   14699 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14700 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14701 	ifc* | ifort*)			# Intel Fortran compiler
   14702 	  tmp_addflag=' -nofor_main' ;;
   14703 	esac
   14704 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14705 
   14706 	if test $supports_anon_versioning = yes; then
   14707 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14708   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14709   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14710 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14711 	fi
   14712       else
   14713 	ld_shlibs_F77=no
   14714       fi
   14715       ;;
   14716 
   14717     netbsd*)
   14718       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14719 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14720 	wlarc=
   14721       else
   14722 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14723 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14724       fi
   14725       ;;
   14726 
   14727     solaris*)
   14728       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14729 	ld_shlibs_F77=no
   14730 	cat <<EOF 1>&2
   14731 
   14732 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14733 *** create shared libraries on Solaris systems.  Therefore, libtool
   14734 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14735 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14736 *** your PATH or compiler configuration so that the native linker is
   14737 *** used, and then restart.
   14738 
   14739 EOF
   14740       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14741 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14742 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14743       else
   14744 	ld_shlibs_F77=no
   14745       fi
   14746       ;;
   14747 
   14748     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14749       case `$LD -v 2>&1` in
   14750         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14751 	ld_shlibs_F77=no
   14752 	cat <<_LT_EOF 1>&2
   14753 
   14754 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14755 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14756 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14757 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14758 *** your PATH or compiler configuration so that the native linker is
   14759 *** used, and then restart.
   14760 
   14761 _LT_EOF
   14762 	;;
   14763 	*)
   14764 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14765 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14766 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14767 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14768 	  else
   14769 	    ld_shlibs_F77=no
   14770 	  fi
   14771 	;;
   14772       esac
   14773       ;;
   14774 
   14775     sunos4*)
   14776       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14777       wlarc=
   14778       hardcode_direct_F77=yes
   14779       hardcode_shlibpath_var_F77=no
   14780       ;;
   14781 
   14782     *)
   14783       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14784 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14785 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14786       else
   14787 	ld_shlibs_F77=no
   14788       fi
   14789       ;;
   14790     esac
   14791 
   14792     if test "$ld_shlibs_F77" = no; then
   14793       runpath_var=
   14794       hardcode_libdir_flag_spec_F77=
   14795       export_dynamic_flag_spec_F77=
   14796       whole_archive_flag_spec_F77=
   14797     fi
   14798   else
   14799     # PORTME fill in a description of your system's linker (not GNU ld)
   14800     case $host_os in
   14801     aix3*)
   14802       allow_undefined_flag_F77=unsupported
   14803       always_export_symbols_F77=yes
   14804       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'
   14805       # Note: this linker hardcodes the directories in LIBPATH if there
   14806       # are no directories specified by -L.
   14807       hardcode_minus_L_F77=yes
   14808       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14809 	# Neither direct hardcoding nor static linking is supported with a
   14810 	# broken collect2.
   14811 	hardcode_direct_F77=unsupported
   14812       fi
   14813       ;;
   14814 
   14815     aix4* | aix5*)
   14816       if test "$host_cpu" = ia64; then
   14817 	# On IA64, the linker does run time linking by default, so we don't
   14818 	# have to do anything special.
   14819 	aix_use_runtimelinking=no
   14820 	exp_sym_flag='-Bexport'
   14821 	no_entry_flag=""
   14822       else
   14823 	# If we're using GNU nm, then we don't want the "-C" option.
   14824 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14825 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14826 	  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'
   14827 	else
   14828 	  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'
   14829 	fi
   14830 	aix_use_runtimelinking=no
   14831 
   14832 	# Test if we are trying to use run time linking or normal
   14833 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14834 	# need to do runtime linking.
   14835 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14836 	  for ld_flag in $LDFLAGS; do
   14837   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14838   	    aix_use_runtimelinking=yes
   14839   	    break
   14840   	  fi
   14841 	  done
   14842 	  ;;
   14843 	esac
   14844 
   14845 	exp_sym_flag='-bexport'
   14846 	no_entry_flag='-bnoentry'
   14847       fi
   14848 
   14849       # When large executables or shared objects are built, AIX ld can
   14850       # have problems creating the table of contents.  If linking a library
   14851       # or program results in "error TOC overflow" add -mminimal-toc to
   14852       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14853       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14854 
   14855       archive_cmds_F77=''
   14856       hardcode_direct_F77=yes
   14857       hardcode_libdir_separator_F77=':'
   14858       link_all_deplibs_F77=yes
   14859 
   14860       if test "$GCC" = yes; then
   14861 	case $host_os in aix4.[012]|aix4.[012].*)
   14862 	# We only want to do this on AIX 4.2 and lower, the check
   14863 	# below for broken collect2 doesn't work under 4.3+
   14864 	  collect2name=`${CC} -print-prog-name=collect2`
   14865 	  if test -f "$collect2name" && \
   14866   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14867 	  then
   14868   	  # We have reworked collect2
   14869   	  hardcode_direct_F77=yes
   14870 	  else
   14871   	  # We have old collect2
   14872   	  hardcode_direct_F77=unsupported
   14873   	  # It fails to find uninstalled libraries when the uninstalled
   14874   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14875   	  # to unsupported forces relinking
   14876   	  hardcode_minus_L_F77=yes
   14877   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14878   	  hardcode_libdir_separator_F77=
   14879 	  fi
   14880 	  ;;
   14881 	esac
   14882 	shared_flag='-shared'
   14883 	if test "$aix_use_runtimelinking" = yes; then
   14884 	  shared_flag="$shared_flag "'${wl}-G'
   14885 	fi
   14886       else
   14887 	# not using gcc
   14888 	if test "$host_cpu" = ia64; then
   14889   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14890   	# chokes on -Wl,-G. The following line is correct:
   14891 	  shared_flag='-G'
   14892 	else
   14893 	  if test "$aix_use_runtimelinking" = yes; then
   14894 	    shared_flag='${wl}-G'
   14895 	  else
   14896 	    shared_flag='${wl}-bM:SRE'
   14897 	  fi
   14898 	fi
   14899       fi
   14900 
   14901       # It seems that -bexpall does not export symbols beginning with
   14902       # underscore (_), so it is better to generate a list of symbols to export.
   14903       always_export_symbols_F77=yes
   14904       if test "$aix_use_runtimelinking" = yes; then
   14905 	# Warning - without using the other runtime loading flags (-brtl),
   14906 	# -berok will link without error, but may produce a broken library.
   14907 	allow_undefined_flag_F77='-berok'
   14908        # Determine the default libpath from the value encoded in an empty executable.
   14909        cat >conftest.$ac_ext <<_ACEOF
   14910       program main
   14911 
   14912       end
   14913 _ACEOF
   14914 rm -f conftest.$ac_objext conftest$ac_exeext
   14915 if { (ac_try="$ac_link"
   14916 case "(($ac_try" in
   14917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14918   *) ac_try_echo=$ac_try;;
   14919 esac
   14920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14921   (eval "$ac_link") 2>conftest.er1
   14922   ac_status=$?
   14923   grep -v '^ *+' conftest.er1 >conftest.err
   14924   rm -f conftest.er1
   14925   cat conftest.err >&5
   14926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14927   (exit $ac_status); } &&
   14928 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   14929   { (case "(($ac_try" in
   14930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14931   *) ac_try_echo=$ac_try;;
   14932 esac
   14933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14934   (eval "$ac_try") 2>&5
   14935   ac_status=$?
   14936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14937   (exit $ac_status); }; } &&
   14938 	 { ac_try='test -s conftest$ac_exeext'
   14939   { (case "(($ac_try" in
   14940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14941   *) ac_try_echo=$ac_try;;
   14942 esac
   14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14944   (eval "$ac_try") 2>&5
   14945   ac_status=$?
   14946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14947   (exit $ac_status); }; }; then
   14948 
   14949 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14950 }'`
   14951 # Check for a 64-bit object if we didn't find anything.
   14952 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14953 }'`; fi
   14954 else
   14955   echo "$as_me: failed program was:" >&5
   14956 sed 's/^/| /' conftest.$ac_ext >&5
   14957 
   14958 
   14959 fi
   14960 
   14961 rm -f core conftest.err conftest.$ac_objext \
   14962       conftest$ac_exeext conftest.$ac_ext
   14963 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14964 
   14965        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14966 	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"
   14967        else
   14968 	if test "$host_cpu" = ia64; then
   14969 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14970 	  allow_undefined_flag_F77="-z nodefs"
   14971 	  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"
   14972 	else
   14973 	 # Determine the default libpath from the value encoded in an empty executable.
   14974 	 cat >conftest.$ac_ext <<_ACEOF
   14975       program main
   14976 
   14977       end
   14978 _ACEOF
   14979 rm -f conftest.$ac_objext conftest$ac_exeext
   14980 if { (ac_try="$ac_link"
   14981 case "(($ac_try" in
   14982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14983   *) ac_try_echo=$ac_try;;
   14984 esac
   14985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14986   (eval "$ac_link") 2>conftest.er1
   14987   ac_status=$?
   14988   grep -v '^ *+' conftest.er1 >conftest.err
   14989   rm -f conftest.er1
   14990   cat conftest.err >&5
   14991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14992   (exit $ac_status); } &&
   14993 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   14994   { (case "(($ac_try" in
   14995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14996   *) ac_try_echo=$ac_try;;
   14997 esac
   14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14999   (eval "$ac_try") 2>&5
   15000   ac_status=$?
   15001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15002   (exit $ac_status); }; } &&
   15003 	 { ac_try='test -s conftest$ac_exeext'
   15004   { (case "(($ac_try" in
   15005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15006   *) ac_try_echo=$ac_try;;
   15007 esac
   15008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15009   (eval "$ac_try") 2>&5
   15010   ac_status=$?
   15011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15012   (exit $ac_status); }; }; then
   15013 
   15014 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15015 }'`
   15016 # Check for a 64-bit object if we didn't find anything.
   15017 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15018 }'`; fi
   15019 else
   15020   echo "$as_me: failed program was:" >&5
   15021 sed 's/^/| /' conftest.$ac_ext >&5
   15022 
   15023 
   15024 fi
   15025 
   15026 rm -f core conftest.err conftest.$ac_objext \
   15027       conftest$ac_exeext conftest.$ac_ext
   15028 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15029 
   15030 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15031 	  # Warning - without using the other run time loading flags,
   15032 	  # -berok will link without error, but may produce a broken library.
   15033 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15034 	  allow_undefined_flag_F77=' ${wl}-berok'
   15035 	  # Exported symbols can be pulled into shared objects from archives
   15036 	  whole_archive_flag_spec_F77='$convenience'
   15037 	  archive_cmds_need_lc_F77=yes
   15038 	  # This is similar to how AIX traditionally builds its shared libraries.
   15039 	  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'
   15040 	fi
   15041       fi
   15042       ;;
   15043 
   15044     amigaos*)
   15045       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)'
   15046       hardcode_libdir_flag_spec_F77='-L$libdir'
   15047       hardcode_minus_L_F77=yes
   15048       # see comment about different semantics on the GNU ld section
   15049       ld_shlibs_F77=no
   15050       ;;
   15051 
   15052     bsdi[45]*)
   15053       export_dynamic_flag_spec_F77=-rdynamic
   15054       ;;
   15055 
   15056     cygwin* | mingw* | pw32*)
   15057       # When not using gcc, we currently assume that we are using
   15058       # Microsoft Visual C++.
   15059       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15060       # no search path for DLLs.
   15061       hardcode_libdir_flag_spec_F77=' '
   15062       allow_undefined_flag_F77=unsupported
   15063       # Tell ltmain to make .lib files, not .a files.
   15064       libext=lib
   15065       # Tell ltmain to make .dll files, not .so files.
   15066       shrext_cmds=".dll"
   15067       # FIXME: Setting linknames here is a bad hack.
   15068       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15069       # The linker will automatically build a .lib file if we build a DLL.
   15070       old_archive_From_new_cmds_F77='true'
   15071       # FIXME: Should let the user specify the lib program.
   15072       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   15073       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15074       enable_shared_with_static_runtimes_F77=yes
   15075       ;;
   15076 
   15077     darwin* | rhapsody*)
   15078       case $host_os in
   15079         rhapsody* | darwin1.[012])
   15080          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15081          ;;
   15082        *) # Darwin 1.3 on
   15083          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15084            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15085          else
   15086            case ${MACOSX_DEPLOYMENT_TARGET} in
   15087              10.[012])
   15088                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15089                ;;
   15090              10.*)
   15091                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15092                ;;
   15093            esac
   15094          fi
   15095          ;;
   15096       esac
   15097       archive_cmds_need_lc_F77=no
   15098       hardcode_direct_F77=no
   15099       hardcode_automatic_F77=yes
   15100       hardcode_shlibpath_var_F77=unsupported
   15101       whole_archive_flag_spec_F77=''
   15102       link_all_deplibs_F77=yes
   15103     if test "$GCC" = yes ; then
   15104     	output_verbose_link_cmd='echo'
   15105         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   15106       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15107       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15108       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}'
   15109       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}'
   15110     else
   15111       case $cc_basename in
   15112         xlc*)
   15113          output_verbose_link_cmd='echo'
   15114          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   15115          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15116           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15117          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15118           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}'
   15119           ;;
   15120        *)
   15121          ld_shlibs_F77=no
   15122           ;;
   15123       esac
   15124     fi
   15125       ;;
   15126 
   15127     dgux*)
   15128       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15129       hardcode_libdir_flag_spec_F77='-L$libdir'
   15130       hardcode_shlibpath_var_F77=no
   15131       ;;
   15132 
   15133     freebsd1*)
   15134       ld_shlibs_F77=no
   15135       ;;
   15136 
   15137     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15138     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15139     # does not break anything, and helps significantly (at the cost of a little
   15140     # extra space).
   15141     freebsd2.2*)
   15142       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15143       hardcode_libdir_flag_spec_F77='-R$libdir'
   15144       hardcode_direct_F77=yes
   15145       hardcode_shlibpath_var_F77=no
   15146       ;;
   15147 
   15148     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15149     freebsd2*)
   15150       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15151       hardcode_direct_F77=yes
   15152       hardcode_minus_L_F77=yes
   15153       hardcode_shlibpath_var_F77=no
   15154       ;;
   15155 
   15156     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15157     freebsd* | kfreebsd*-gnu | dragonfly*)
   15158       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15159       hardcode_libdir_flag_spec_F77='-R$libdir'
   15160       hardcode_direct_F77=yes
   15161       hardcode_shlibpath_var_F77=no
   15162       ;;
   15163 
   15164     hpux9*)
   15165       if test "$GCC" = yes; then
   15166 	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'
   15167       else
   15168 	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'
   15169       fi
   15170       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15171       hardcode_libdir_separator_F77=:
   15172       hardcode_direct_F77=yes
   15173 
   15174       # hardcode_minus_L: Not really in the search PATH,
   15175       # but as the default location of the library.
   15176       hardcode_minus_L_F77=yes
   15177       export_dynamic_flag_spec_F77='${wl}-E'
   15178       ;;
   15179 
   15180     hpux10*)
   15181       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15182 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15183       else
   15184 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15185       fi
   15186       if test "$with_gnu_ld" = no; then
   15187 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15188 	hardcode_libdir_separator_F77=:
   15189 
   15190 	hardcode_direct_F77=yes
   15191 	export_dynamic_flag_spec_F77='${wl}-E'
   15192 
   15193 	# hardcode_minus_L: Not really in the search PATH,
   15194 	# but as the default location of the library.
   15195 	hardcode_minus_L_F77=yes
   15196       fi
   15197       ;;
   15198 
   15199     hpux11*)
   15200       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15201 	case $host_cpu in
   15202 	hppa*64*)
   15203 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15204 	  ;;
   15205 	ia64*)
   15206 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15207 	  ;;
   15208 	*)
   15209 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15210 	  ;;
   15211 	esac
   15212       else
   15213 	case $host_cpu in
   15214 	hppa*64*)
   15215 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15216 	  ;;
   15217 	ia64*)
   15218 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15219 	  ;;
   15220 	*)
   15221 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15222 	  ;;
   15223 	esac
   15224       fi
   15225       if test "$with_gnu_ld" = no; then
   15226 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15227 	hardcode_libdir_separator_F77=:
   15228 
   15229 	case $host_cpu in
   15230 	hppa*64*|ia64*)
   15231 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15232 	  hardcode_direct_F77=no
   15233 	  hardcode_shlibpath_var_F77=no
   15234 	  ;;
   15235 	*)
   15236 	  hardcode_direct_F77=yes
   15237 	  export_dynamic_flag_spec_F77='${wl}-E'
   15238 
   15239 	  # hardcode_minus_L: Not really in the search PATH,
   15240 	  # but as the default location of the library.
   15241 	  hardcode_minus_L_F77=yes
   15242 	  ;;
   15243 	esac
   15244       fi
   15245       ;;
   15246 
   15247     irix5* | irix6* | nonstopux*)
   15248       if test "$GCC" = yes; then
   15249 	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'
   15250       else
   15251 	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'
   15252 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15253       fi
   15254       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15255       hardcode_libdir_separator_F77=:
   15256       link_all_deplibs_F77=yes
   15257       ;;
   15258 
   15259     netbsd*)
   15260       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15261 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15262       else
   15263 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15264       fi
   15265       hardcode_libdir_flag_spec_F77='-R$libdir'
   15266       hardcode_direct_F77=yes
   15267       hardcode_shlibpath_var_F77=no
   15268       ;;
   15269 
   15270     newsos6)
   15271       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15272       hardcode_direct_F77=yes
   15273       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15274       hardcode_libdir_separator_F77=:
   15275       hardcode_shlibpath_var_F77=no
   15276       ;;
   15277 
   15278     openbsd*)
   15279       hardcode_direct_F77=yes
   15280       hardcode_shlibpath_var_F77=no
   15281       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15282 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15283 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15284 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15285 	export_dynamic_flag_spec_F77='${wl}-E'
   15286       else
   15287        case $host_os in
   15288 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15289 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15290 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   15291 	   ;;
   15292 	 *)
   15293 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15294 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15295 	   ;;
   15296        esac
   15297       fi
   15298       ;;
   15299 
   15300     os2*)
   15301       hardcode_libdir_flag_spec_F77='-L$libdir'
   15302       hardcode_minus_L_F77=yes
   15303       allow_undefined_flag_F77=unsupported
   15304       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'
   15305       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15306       ;;
   15307 
   15308     osf3*)
   15309       if test "$GCC" = yes; then
   15310 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15311 	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'
   15312       else
   15313 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15314 	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'
   15315       fi
   15316       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15317       hardcode_libdir_separator_F77=:
   15318       ;;
   15319 
   15320     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15321       if test "$GCC" = yes; then
   15322 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15323 	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'
   15324 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15325       else
   15326 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15327 	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'
   15328 	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~
   15329 	$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'
   15330 
   15331 	# Both c and cxx compiler support -rpath directly
   15332 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15333       fi
   15334       hardcode_libdir_separator_F77=:
   15335       ;;
   15336 
   15337     solaris*)
   15338       no_undefined_flag_F77=' -z text'
   15339       if test "$GCC" = yes; then
   15340 	wlarc='${wl}'
   15341 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15342 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15343 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15344       else
   15345 	wlarc=''
   15346 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15347 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15348   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15349       fi
   15350       hardcode_libdir_flag_spec_F77='-R$libdir'
   15351       hardcode_shlibpath_var_F77=no
   15352       case $host_os in
   15353       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15354       *)
   15355  	# The compiler driver will combine linker options so we
   15356  	# cannot just pass the convience library names through
   15357  	# without $wl, iff we do not link with $LD.
   15358  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   15359  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15360  	case $wlarc in
   15361  	'')
   15362  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   15363  	*)
   15364  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   15365  	esac ;;
   15366       esac
   15367       link_all_deplibs_F77=yes
   15368       ;;
   15369 
   15370     sunos4*)
   15371       if test "x$host_vendor" = xsequent; then
   15372 	# Use $CC to link under sequent, because it throws in some extra .o
   15373 	# files that make .init and .fini sections work.
   15374 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15375       else
   15376 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15377       fi
   15378       hardcode_libdir_flag_spec_F77='-L$libdir'
   15379       hardcode_direct_F77=yes
   15380       hardcode_minus_L_F77=yes
   15381       hardcode_shlibpath_var_F77=no
   15382       ;;
   15383 
   15384     sysv4)
   15385       case $host_vendor in
   15386 	sni)
   15387 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15388 	  hardcode_direct_F77=yes # is this really true???
   15389 	;;
   15390 	siemens)
   15391 	  ## LD is ld it makes a PLAMLIB
   15392 	  ## CC just makes a GrossModule.
   15393 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15394 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15395 	  hardcode_direct_F77=no
   15396         ;;
   15397 	motorola)
   15398 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15399 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15400 	;;
   15401       esac
   15402       runpath_var='LD_RUN_PATH'
   15403       hardcode_shlibpath_var_F77=no
   15404       ;;
   15405 
   15406     sysv4.3*)
   15407       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15408       hardcode_shlibpath_var_F77=no
   15409       export_dynamic_flag_spec_F77='-Bexport'
   15410       ;;
   15411 
   15412     sysv4*MP*)
   15413       if test -d /usr/nec; then
   15414 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15415 	hardcode_shlibpath_var_F77=no
   15416 	runpath_var=LD_RUN_PATH
   15417 	hardcode_runpath_var=yes
   15418 	ld_shlibs_F77=yes
   15419       fi
   15420       ;;
   15421 
   15422     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   15423       no_undefined_flag_F77='${wl}-z,text'
   15424       archive_cmds_need_lc_F77=no
   15425       hardcode_shlibpath_var_F77=no
   15426       runpath_var='LD_RUN_PATH'
   15427 
   15428       if test "$GCC" = yes; then
   15429 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15430 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15431       else
   15432 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15433 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15434       fi
   15435       ;;
   15436 
   15437     sysv5* | sco3.2v5* | sco5v6*)
   15438       # Note: We can NOT use -z defs as we might desire, because we do not
   15439       # link with -lc, and that would cause any symbols used from libc to
   15440       # always be unresolved, which means just about no library would
   15441       # ever link correctly.  If we're not using GNU ld we use -z text
   15442       # though, which does catch some bad symbols but isn't as heavy-handed
   15443       # as -z defs.
   15444       no_undefined_flag_F77='${wl}-z,text'
   15445       allow_undefined_flag_F77='${wl}-z,nodefs'
   15446       archive_cmds_need_lc_F77=no
   15447       hardcode_shlibpath_var_F77=no
   15448       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15449       hardcode_libdir_separator_F77=':'
   15450       link_all_deplibs_F77=yes
   15451       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15452       runpath_var='LD_RUN_PATH'
   15453 
   15454       if test "$GCC" = yes; then
   15455 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15456 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15457       else
   15458 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15459 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15460       fi
   15461       ;;
   15462 
   15463     uts4*)
   15464       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15465       hardcode_libdir_flag_spec_F77='-L$libdir'
   15466       hardcode_shlibpath_var_F77=no
   15467       ;;
   15468 
   15469     *)
   15470       ld_shlibs_F77=no
   15471       ;;
   15472     esac
   15473   fi
   15474 
   15475 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15476 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15477 test "$ld_shlibs_F77" = no && can_build_shared=no
   15478 
   15479 #
   15480 # Do we need to explicitly link libc?
   15481 #
   15482 case "x$archive_cmds_need_lc_F77" in
   15483 x|xyes)
   15484   # Assume -lc should be added
   15485   archive_cmds_need_lc_F77=yes
   15486 
   15487   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15488     case $archive_cmds_F77 in
   15489     *'~'*)
   15490       # FIXME: we may have to deal with multi-command sequences.
   15491       ;;
   15492     '$CC '*)
   15493       # Test whether the compiler implicitly links with -lc since on some
   15494       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15495       # to ld, don't add -lc before -lgcc.
   15496       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15497 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15498       $rm conftest*
   15499       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15500 
   15501       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15502   (eval $ac_compile) 2>&5
   15503   ac_status=$?
   15504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15505   (exit $ac_status); } 2>conftest.err; then
   15506         soname=conftest
   15507         lib=conftest
   15508         libobjs=conftest.$ac_objext
   15509         deplibs=
   15510         wl=$lt_prog_compiler_wl_F77
   15511 	pic_flag=$lt_prog_compiler_pic_F77
   15512         compiler_flags=-v
   15513         linker_flags=-v
   15514         verstring=
   15515         output_objdir=.
   15516         libname=conftest
   15517         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15518         allow_undefined_flag_F77=
   15519         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15520   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15521   ac_status=$?
   15522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15523   (exit $ac_status); }
   15524         then
   15525 	  archive_cmds_need_lc_F77=no
   15526         else
   15527 	  archive_cmds_need_lc_F77=yes
   15528         fi
   15529         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15530       else
   15531         cat conftest.err 1>&5
   15532       fi
   15533       $rm conftest*
   15534       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15535 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15536       ;;
   15537     esac
   15538   fi
   15539   ;;
   15540 esac
   15541 
   15542 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15543 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15544 library_names_spec=
   15545 libname_spec='lib$name'
   15546 soname_spec=
   15547 shrext_cmds=".so"
   15548 postinstall_cmds=
   15549 postuninstall_cmds=
   15550 finish_cmds=
   15551 finish_eval=
   15552 shlibpath_var=
   15553 shlibpath_overrides_runpath=unknown
   15554 version_type=none
   15555 dynamic_linker="$host_os ld.so"
   15556 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15557 if test "$GCC" = yes; then
   15558   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15559   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15560     # if the path contains ";" then we assume it to be the separator
   15561     # otherwise default to the standard path separator (i.e. ":") - it is
   15562     # assumed that no part of a normal pathname contains ";" but that should
   15563     # okay in the real world where ";" in dirpaths is itself problematic.
   15564     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15565   else
   15566     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15567   fi
   15568 else
   15569   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15570 fi
   15571 need_lib_prefix=unknown
   15572 hardcode_into_libs=no
   15573 
   15574 # when you set need_version to no, make sure it does not cause -set_version
   15575 # flags to be left without arguments
   15576 need_version=unknown
   15577 
   15578 case $host_os in
   15579 aix3*)
   15580   version_type=linux
   15581   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15582   shlibpath_var=LIBPATH
   15583 
   15584   # AIX 3 has no versioning support, so we append a major version to the name.
   15585   soname_spec='${libname}${release}${shared_ext}$major'
   15586   ;;
   15587 
   15588 aix4* | aix5*)
   15589   version_type=linux
   15590   need_lib_prefix=no
   15591   need_version=no
   15592   hardcode_into_libs=yes
   15593   if test "$host_cpu" = ia64; then
   15594     # AIX 5 supports IA64
   15595     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15596     shlibpath_var=LD_LIBRARY_PATH
   15597   else
   15598     # With GCC up to 2.95.x, collect2 would create an import file
   15599     # for dependence libraries.  The import file would start with
   15600     # the line `#! .'.  This would cause the generated library to
   15601     # depend on `.', always an invalid library.  This was fixed in
   15602     # development snapshots of GCC prior to 3.0.
   15603     case $host_os in
   15604       aix4 | aix4.[01] | aix4.[01].*)
   15605       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15606 	   echo ' yes '
   15607 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15608 	:
   15609       else
   15610 	can_build_shared=no
   15611       fi
   15612       ;;
   15613     esac
   15614     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15615     # soname into executable. Probably we can add versioning support to
   15616     # collect2, so additional links can be useful in future.
   15617     if test "$aix_use_runtimelinking" = yes; then
   15618       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15619       # instead of lib<name>.a to let people know that these are not
   15620       # typical AIX shared libraries.
   15621       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15622     else
   15623       # We preserve .a as extension for shared libraries through AIX4.2
   15624       # and later when we are not doing run time linking.
   15625       library_names_spec='${libname}${release}.a $libname.a'
   15626       soname_spec='${libname}${release}${shared_ext}$major'
   15627     fi
   15628     shlibpath_var=LIBPATH
   15629   fi
   15630   ;;
   15631 
   15632 amigaos*)
   15633   library_names_spec='$libname.ixlibrary $libname.a'
   15634   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15635   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'
   15636   ;;
   15637 
   15638 beos*)
   15639   library_names_spec='${libname}${shared_ext}'
   15640   dynamic_linker="$host_os ld.so"
   15641   shlibpath_var=LIBRARY_PATH
   15642   ;;
   15643 
   15644 bsdi[45]*)
   15645   version_type=linux
   15646   need_version=no
   15647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15648   soname_spec='${libname}${release}${shared_ext}$major'
   15649   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15650   shlibpath_var=LD_LIBRARY_PATH
   15651   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15652   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15653   # the default ld.so.conf also contains /usr/contrib/lib and
   15654   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15655   # libtool to hard-code these into programs
   15656   ;;
   15657 
   15658 cygwin* | mingw* | pw32*)
   15659   version_type=windows
   15660   shrext_cmds=".dll"
   15661   need_version=no
   15662   need_lib_prefix=no
   15663 
   15664   case $GCC,$host_os in
   15665   yes,cygwin* | yes,mingw* | yes,pw32*)
   15666     library_names_spec='$libname.dll.a'
   15667     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15668     postinstall_cmds='base_file=`basename \${file}`~
   15669       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15670       dldir=$destdir/`dirname \$dlpath`~
   15671       test -d \$dldir || mkdir -p \$dldir~
   15672       $install_prog $dir/$dlname \$dldir/$dlname~
   15673       chmod a+x \$dldir/$dlname'
   15674     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15675       dlpath=$dir/\$dldll~
   15676        $rm \$dlpath'
   15677     shlibpath_overrides_runpath=yes
   15678 
   15679     case $host_os in
   15680     cygwin*)
   15681       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15682       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15683       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15684       ;;
   15685     mingw*)
   15686       # MinGW DLLs use traditional 'lib' prefix
   15687       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15688       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15689       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15690         # It is most probably a Windows format PATH printed by
   15691         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15692         # path with ; separators, and with drive letters. We can handle the
   15693         # drive letters (cygwin fileutils understands them), so leave them,
   15694         # especially as we might pass files found there to a mingw objdump,
   15695         # which wouldn't understand a cygwinified path. Ahh.
   15696         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15697       else
   15698         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15699       fi
   15700       ;;
   15701     pw32*)
   15702       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15703       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15704       ;;
   15705     esac
   15706     ;;
   15707 
   15708   *)
   15709     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15710     ;;
   15711   esac
   15712   dynamic_linker='Win32 ld.exe'
   15713   # FIXME: first we should search . and the directory the executable is in
   15714   shlibpath_var=PATH
   15715   ;;
   15716 
   15717 darwin* | rhapsody*)
   15718   dynamic_linker="$host_os dyld"
   15719   version_type=darwin
   15720   need_lib_prefix=no
   15721   need_version=no
   15722   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15723   soname_spec='${libname}${release}${major}$shared_ext'
   15724   shlibpath_overrides_runpath=yes
   15725   shlibpath_var=DYLD_LIBRARY_PATH
   15726   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15727   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15728   if test "$GCC" = yes; then
   15729     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   15730   else
   15731     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15732   fi
   15733   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15734   ;;
   15735 
   15736 dgux*)
   15737   version_type=linux
   15738   need_lib_prefix=no
   15739   need_version=no
   15740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15741   soname_spec='${libname}${release}${shared_ext}$major'
   15742   shlibpath_var=LD_LIBRARY_PATH
   15743   ;;
   15744 
   15745 freebsd1*)
   15746   dynamic_linker=no
   15747   ;;
   15748 
   15749 kfreebsd*-gnu)
   15750   version_type=linux
   15751   need_lib_prefix=no
   15752   need_version=no
   15753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15754   soname_spec='${libname}${release}${shared_ext}$major'
   15755   shlibpath_var=LD_LIBRARY_PATH
   15756   shlibpath_overrides_runpath=no
   15757   hardcode_into_libs=yes
   15758   dynamic_linker='GNU ld.so'
   15759   ;;
   15760 
   15761 freebsd* | dragonfly*)
   15762   # DragonFly does not have aout.  When/if they implement a new
   15763   # versioning mechanism, adjust this.
   15764   if test -x /usr/bin/objformat; then
   15765     objformat=`/usr/bin/objformat`
   15766   else
   15767     case $host_os in
   15768     freebsd[123]*) objformat=aout ;;
   15769     *) objformat=elf ;;
   15770     esac
   15771   fi
   15772   version_type=freebsd-$objformat
   15773   case $version_type in
   15774     freebsd-elf*)
   15775       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15776       need_version=no
   15777       need_lib_prefix=no
   15778       ;;
   15779     freebsd-*)
   15780       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15781       need_version=yes
   15782       ;;
   15783   esac
   15784   shlibpath_var=LD_LIBRARY_PATH
   15785   case $host_os in
   15786   freebsd2*)
   15787     shlibpath_overrides_runpath=yes
   15788     ;;
   15789   freebsd3.[01]* | freebsdelf3.[01]*)
   15790     shlibpath_overrides_runpath=yes
   15791     hardcode_into_libs=yes
   15792     ;;
   15793   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15794   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15795     shlibpath_overrides_runpath=no
   15796     hardcode_into_libs=yes
   15797     ;;
   15798   freebsd*) # from 4.6 on
   15799     shlibpath_overrides_runpath=yes
   15800     hardcode_into_libs=yes
   15801     ;;
   15802   esac
   15803   ;;
   15804 
   15805 gnu*)
   15806   version_type=linux
   15807   need_lib_prefix=no
   15808   need_version=no
   15809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15810   soname_spec='${libname}${release}${shared_ext}$major'
   15811   shlibpath_var=LD_LIBRARY_PATH
   15812   hardcode_into_libs=yes
   15813   ;;
   15814 
   15815 hpux9* | hpux10* | hpux11*)
   15816   # Give a soname corresponding to the major version so that dld.sl refuses to
   15817   # link against other versions.
   15818   version_type=sunos
   15819   need_lib_prefix=no
   15820   need_version=no
   15821   case $host_cpu in
   15822   ia64*)
   15823     shrext_cmds='.so'
   15824     hardcode_into_libs=yes
   15825     dynamic_linker="$host_os dld.so"
   15826     shlibpath_var=LD_LIBRARY_PATH
   15827     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15828     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15829     soname_spec='${libname}${release}${shared_ext}$major'
   15830     if test "X$HPUX_IA64_MODE" = X32; then
   15831       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15832     else
   15833       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15834     fi
   15835     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15836     ;;
   15837    hppa*64*)
   15838      shrext_cmds='.sl'
   15839      hardcode_into_libs=yes
   15840      dynamic_linker="$host_os dld.sl"
   15841      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15842      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15843      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15844      soname_spec='${libname}${release}${shared_ext}$major'
   15845      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15846      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15847      ;;
   15848    *)
   15849     shrext_cmds='.sl'
   15850     dynamic_linker="$host_os dld.sl"
   15851     shlibpath_var=SHLIB_PATH
   15852     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15853     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15854     soname_spec='${libname}${release}${shared_ext}$major'
   15855     ;;
   15856   esac
   15857   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15858   postinstall_cmds='chmod 555 $lib'
   15859   ;;
   15860 
   15861 interix3*)
   15862   version_type=linux
   15863   need_lib_prefix=no
   15864   need_version=no
   15865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15866   soname_spec='${libname}${release}${shared_ext}$major'
   15867   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15868   shlibpath_var=LD_LIBRARY_PATH
   15869   shlibpath_overrides_runpath=no
   15870   hardcode_into_libs=yes
   15871   ;;
   15872 
   15873 irix5* | irix6* | nonstopux*)
   15874   case $host_os in
   15875     nonstopux*) version_type=nonstopux ;;
   15876     *)
   15877 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15878 		version_type=linux
   15879 	else
   15880 		version_type=irix
   15881 	fi ;;
   15882   esac
   15883   need_lib_prefix=no
   15884   need_version=no
   15885   soname_spec='${libname}${release}${shared_ext}$major'
   15886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15887   case $host_os in
   15888   irix5* | nonstopux*)
   15889     libsuff= shlibsuff=
   15890     ;;
   15891   *)
   15892     case $LD in # libtool.m4 will add one of these switches to LD
   15893     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15894       libsuff= shlibsuff= libmagic=32-bit;;
   15895     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15896       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15897     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15898       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15899     *) libsuff= shlibsuff= libmagic=never-match;;
   15900     esac
   15901     ;;
   15902   esac
   15903   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15904   shlibpath_overrides_runpath=no
   15905   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15906   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15907   hardcode_into_libs=yes
   15908   ;;
   15909 
   15910 # No shared lib support for Linux oldld, aout, or coff.
   15911 linux*oldld* | linux*aout* | linux*coff*)
   15912   dynamic_linker=no
   15913   ;;
   15914 
   15915 # This must be Linux ELF.
   15916 linux*)
   15917   version_type=linux
   15918   need_lib_prefix=no
   15919   need_version=no
   15920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15921   soname_spec='${libname}${release}${shared_ext}$major'
   15922   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15923   shlibpath_var=LD_LIBRARY_PATH
   15924   shlibpath_overrides_runpath=no
   15925   # This implies no fast_install, which is unacceptable.
   15926   # Some rework will be needed to allow for fast_install
   15927   # before this can be enabled.
   15928   hardcode_into_libs=yes
   15929 
   15930   # Append ld.so.conf contents to the search path
   15931   if test -f /etc/ld.so.conf; then
   15932     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   15933     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15934   fi
   15935 
   15936   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15937   # powerpc, because MkLinux only supported shared libraries with the
   15938   # GNU dynamic linker.  Since this was broken with cross compilers,
   15939   # most powerpc-linux boxes support dynamic linking these days and
   15940   # people can always --disable-shared, the test was removed, and we
   15941   # assume the GNU/Linux dynamic linker is in use.
   15942   dynamic_linker='GNU/Linux ld.so'
   15943   ;;
   15944 
   15945 knetbsd*-gnu)
   15946   version_type=linux
   15947   need_lib_prefix=no
   15948   need_version=no
   15949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15950   soname_spec='${libname}${release}${shared_ext}$major'
   15951   shlibpath_var=LD_LIBRARY_PATH
   15952   shlibpath_overrides_runpath=no
   15953   hardcode_into_libs=yes
   15954   dynamic_linker='GNU ld.so'
   15955   ;;
   15956 
   15957 netbsd*)
   15958   version_type=sunos
   15959   need_lib_prefix=no
   15960   need_version=no
   15961   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15962     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15963     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15964     dynamic_linker='NetBSD (a.out) ld.so'
   15965   else
   15966     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15967     soname_spec='${libname}${release}${shared_ext}$major'
   15968     dynamic_linker='NetBSD ld.elf_so'
   15969   fi
   15970   shlibpath_var=LD_LIBRARY_PATH
   15971   shlibpath_overrides_runpath=yes
   15972   hardcode_into_libs=yes
   15973   ;;
   15974 
   15975 newsos6)
   15976   version_type=linux
   15977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15978   shlibpath_var=LD_LIBRARY_PATH
   15979   shlibpath_overrides_runpath=yes
   15980   ;;
   15981 
   15982 nto-qnx*)
   15983   version_type=linux
   15984   need_lib_prefix=no
   15985   need_version=no
   15986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15987   soname_spec='${libname}${release}${shared_ext}$major'
   15988   shlibpath_var=LD_LIBRARY_PATH
   15989   shlibpath_overrides_runpath=yes
   15990   ;;
   15991 
   15992 openbsd*)
   15993   version_type=sunos
   15994   sys_lib_dlsearch_path_spec="/usr/lib"
   15995   need_lib_prefix=no
   15996   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15997   case $host_os in
   15998     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15999     *)                         need_version=no  ;;
   16000   esac
   16001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16002   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16003   shlibpath_var=LD_LIBRARY_PATH
   16004   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16005     case $host_os in
   16006       openbsd2.[89] | openbsd2.[89].*)
   16007 	shlibpath_overrides_runpath=no
   16008 	;;
   16009       *)
   16010 	shlibpath_overrides_runpath=yes
   16011 	;;
   16012       esac
   16013   else
   16014     shlibpath_overrides_runpath=yes
   16015   fi
   16016   ;;
   16017 
   16018 os2*)
   16019   libname_spec='$name'
   16020   shrext_cmds=".dll"
   16021   need_lib_prefix=no
   16022   library_names_spec='$libname${shared_ext} $libname.a'
   16023   dynamic_linker='OS/2 ld.exe'
   16024   shlibpath_var=LIBPATH
   16025   ;;
   16026 
   16027 osf3* | osf4* | osf5*)
   16028   version_type=osf
   16029   need_lib_prefix=no
   16030   need_version=no
   16031   soname_spec='${libname}${release}${shared_ext}$major'
   16032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16033   shlibpath_var=LD_LIBRARY_PATH
   16034   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16035   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16036   ;;
   16037 
   16038 solaris*)
   16039   version_type=linux
   16040   need_lib_prefix=no
   16041   need_version=no
   16042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16043   soname_spec='${libname}${release}${shared_ext}$major'
   16044   shlibpath_var=LD_LIBRARY_PATH
   16045   shlibpath_overrides_runpath=yes
   16046   hardcode_into_libs=yes
   16047   # ldd complains unless libraries are executable
   16048   postinstall_cmds='chmod +x $lib'
   16049   ;;
   16050 
   16051 sunos4*)
   16052   version_type=sunos
   16053   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16054   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16055   shlibpath_var=LD_LIBRARY_PATH
   16056   shlibpath_overrides_runpath=yes
   16057   if test "$with_gnu_ld" = yes; then
   16058     need_lib_prefix=no
   16059   fi
   16060   need_version=yes
   16061   ;;
   16062 
   16063 sysv4 | sysv4.3*)
   16064   version_type=linux
   16065   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16066   soname_spec='${libname}${release}${shared_ext}$major'
   16067   shlibpath_var=LD_LIBRARY_PATH
   16068   case $host_vendor in
   16069     sni)
   16070       shlibpath_overrides_runpath=no
   16071       need_lib_prefix=no
   16072       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16073       runpath_var=LD_RUN_PATH
   16074       ;;
   16075     siemens)
   16076       need_lib_prefix=no
   16077       ;;
   16078     motorola)
   16079       need_lib_prefix=no
   16080       need_version=no
   16081       shlibpath_overrides_runpath=no
   16082       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16083       ;;
   16084   esac
   16085   ;;
   16086 
   16087 sysv4*MP*)
   16088   if test -d /usr/nec ;then
   16089     version_type=linux
   16090     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16091     soname_spec='$libname${shared_ext}.$major'
   16092     shlibpath_var=LD_LIBRARY_PATH
   16093   fi
   16094   ;;
   16095 
   16096 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16097   version_type=freebsd-elf
   16098   need_lib_prefix=no
   16099   need_version=no
   16100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16101   soname_spec='${libname}${release}${shared_ext}$major'
   16102   shlibpath_var=LD_LIBRARY_PATH
   16103   hardcode_into_libs=yes
   16104   if test "$with_gnu_ld" = yes; then
   16105     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16106     shlibpath_overrides_runpath=no
   16107   else
   16108     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16109     shlibpath_overrides_runpath=yes
   16110     case $host_os in
   16111       sco3.2v5*)
   16112         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16113 	;;
   16114     esac
   16115   fi
   16116   sys_lib_dlsearch_path_spec='/usr/lib'
   16117   ;;
   16118 
   16119 uts4*)
   16120   version_type=linux
   16121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16122   soname_spec='${libname}${release}${shared_ext}$major'
   16123   shlibpath_var=LD_LIBRARY_PATH
   16124   ;;
   16125 
   16126 *)
   16127   dynamic_linker=no
   16128   ;;
   16129 esac
   16130 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16131 echo "${ECHO_T}$dynamic_linker" >&6; }
   16132 test "$dynamic_linker" = no && can_build_shared=no
   16133 
   16134 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16135 if test "$GCC" = yes; then
   16136   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16137 fi
   16138 
   16139 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16140 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16141 hardcode_action_F77=
   16142 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16143    test -n "$runpath_var_F77" || \
   16144    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16145 
   16146   # We can hardcode non-existant directories.
   16147   if test "$hardcode_direct_F77" != no &&
   16148      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16149      # have to relink, otherwise we might link with an installed library
   16150      # when we should be linking with a yet-to-be-installed one
   16151      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16152      test "$hardcode_minus_L_F77" != no; then
   16153     # Linking always hardcodes the temporary library directory.
   16154     hardcode_action_F77=relink
   16155   else
   16156     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16157     hardcode_action_F77=immediate
   16158   fi
   16159 else
   16160   # We cannot hardcode anything, or else we can only hardcode existing
   16161   # directories.
   16162   hardcode_action_F77=unsupported
   16163 fi
   16164 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16165 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16166 
   16167 if test "$hardcode_action_F77" = relink; then
   16168   # Fast installation is not supported
   16169   enable_fast_install=no
   16170 elif test "$shlibpath_overrides_runpath" = yes ||
   16171      test "$enable_shared" = no; then
   16172   # Fast installation is not necessary
   16173   enable_fast_install=needless
   16174 fi
   16175 
   16176 
   16177 # The else clause should only fire when bootstrapping the
   16178 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16179 # with your package, and you will get complaints that there are
   16180 # no rules to generate ltmain.sh.
   16181 if test -f "$ltmain"; then
   16182   # See if we are running on zsh, and set the options which allow our commands through
   16183   # without removal of \ escapes.
   16184   if test -n "${ZSH_VERSION+set}" ; then
   16185     setopt NO_GLOB_SUBST
   16186   fi
   16187   # Now quote all the things that may contain metacharacters while being
   16188   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16189   # variables and quote the copies for generation of the libtool script.
   16190   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16191     SED SHELL STRIP \
   16192     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16193     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16194     deplibs_check_method reload_flag reload_cmds need_locks \
   16195     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16196     lt_cv_sys_global_symbol_to_c_name_address \
   16197     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16198     old_postinstall_cmds old_postuninstall_cmds \
   16199     compiler_F77 \
   16200     CC_F77 \
   16201     LD_F77 \
   16202     lt_prog_compiler_wl_F77 \
   16203     lt_prog_compiler_pic_F77 \
   16204     lt_prog_compiler_static_F77 \
   16205     lt_prog_compiler_no_builtin_flag_F77 \
   16206     export_dynamic_flag_spec_F77 \
   16207     thread_safe_flag_spec_F77 \
   16208     whole_archive_flag_spec_F77 \
   16209     enable_shared_with_static_runtimes_F77 \
   16210     old_archive_cmds_F77 \
   16211     old_archive_from_new_cmds_F77 \
   16212     predep_objects_F77 \
   16213     postdep_objects_F77 \
   16214     predeps_F77 \
   16215     postdeps_F77 \
   16216     compiler_lib_search_path_F77 \
   16217     archive_cmds_F77 \
   16218     archive_expsym_cmds_F77 \
   16219     postinstall_cmds_F77 \
   16220     postuninstall_cmds_F77 \
   16221     old_archive_from_expsyms_cmds_F77 \
   16222     allow_undefined_flag_F77 \
   16223     no_undefined_flag_F77 \
   16224     export_symbols_cmds_F77 \
   16225     hardcode_libdir_flag_spec_F77 \
   16226     hardcode_libdir_flag_spec_ld_F77 \
   16227     hardcode_libdir_separator_F77 \
   16228     hardcode_automatic_F77 \
   16229     module_cmds_F77 \
   16230     module_expsym_cmds_F77 \
   16231     lt_cv_prog_compiler_c_o_F77 \
   16232     exclude_expsyms_F77 \
   16233     include_expsyms_F77; do
   16234 
   16235     case $var in
   16236     old_archive_cmds_F77 | \
   16237     old_archive_from_new_cmds_F77 | \
   16238     archive_cmds_F77 | \
   16239     archive_expsym_cmds_F77 | \
   16240     module_cmds_F77 | \
   16241     module_expsym_cmds_F77 | \
   16242     old_archive_from_expsyms_cmds_F77 | \
   16243     export_symbols_cmds_F77 | \
   16244     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16245     postinstall_cmds | postuninstall_cmds | \
   16246     old_postinstall_cmds | old_postuninstall_cmds | \
   16247     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16248       # Double-quote double-evaled strings.
   16249       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16250       ;;
   16251     *)
   16252       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16253       ;;
   16254     esac
   16255   done
   16256 
   16257   case $lt_echo in
   16258   *'\$0 --fallback-echo"')
   16259     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16260     ;;
   16261   esac
   16262 
   16263 cfgfile="$ofile"
   16264 
   16265   cat <<__EOF__ >> "$cfgfile"
   16266 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16267 
   16268 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16269 
   16270 # Shell to use when invoking shell scripts.
   16271 SHELL=$lt_SHELL
   16272 
   16273 # Whether or not to build shared libraries.
   16274 build_libtool_libs=$enable_shared
   16275 
   16276 # Whether or not to build static libraries.
   16277 build_old_libs=$enable_static
   16278 
   16279 # Whether or not to add -lc for building shared libraries.
   16280 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16281 
   16282 # Whether or not to disallow shared libs when runtime libs are static
   16283 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16284 
   16285 # Whether or not to optimize for fast installation.
   16286 fast_install=$enable_fast_install
   16287 
   16288 # The host system.
   16289 host_alias=$host_alias
   16290 host=$host
   16291 host_os=$host_os
   16292 
   16293 # The build system.
   16294 build_alias=$build_alias
   16295 build=$build
   16296 build_os=$build_os
   16297 
   16298 # An echo program that does not interpret backslashes.
   16299 echo=$lt_echo
   16300 
   16301 # The archiver.
   16302 AR=$lt_AR
   16303 AR_FLAGS=$lt_AR_FLAGS
   16304 
   16305 # A C compiler.
   16306 LTCC=$lt_LTCC
   16307 
   16308 # LTCC compiler flags.
   16309 LTCFLAGS=$lt_LTCFLAGS
   16310 
   16311 # A language-specific compiler.
   16312 CC=$lt_compiler_F77
   16313 
   16314 # Is the compiler the GNU C compiler?
   16315 with_gcc=$GCC_F77
   16316 
   16317 # An ERE matcher.
   16318 EGREP=$lt_EGREP
   16319 
   16320 # The linker used to build libraries.
   16321 LD=$lt_LD_F77
   16322 
   16323 # Whether we need hard or soft links.
   16324 LN_S=$lt_LN_S
   16325 
   16326 # A BSD-compatible nm program.
   16327 NM=$lt_NM
   16328 
   16329 # A symbol stripping program
   16330 STRIP=$lt_STRIP
   16331 
   16332 # Used to examine libraries when file_magic_cmd begins "file"
   16333 MAGIC_CMD=$MAGIC_CMD
   16334 
   16335 # Used on cygwin: DLL creation program.
   16336 DLLTOOL="$DLLTOOL"
   16337 
   16338 # Used on cygwin: object dumper.
   16339 OBJDUMP="$OBJDUMP"
   16340 
   16341 # Used on cygwin: assembler.
   16342 AS="$AS"
   16343 
   16344 # The name of the directory that contains temporary libtool files.
   16345 objdir=$objdir
   16346 
   16347 # How to create reloadable object files.
   16348 reload_flag=$lt_reload_flag
   16349 reload_cmds=$lt_reload_cmds
   16350 
   16351 # How to pass a linker flag through the compiler.
   16352 wl=$lt_lt_prog_compiler_wl_F77
   16353 
   16354 # Object file suffix (normally "o").
   16355 objext="$ac_objext"
   16356 
   16357 # Old archive suffix (normally "a").
   16358 libext="$libext"
   16359 
   16360 # Shared library suffix (normally ".so").
   16361 shrext_cmds='$shrext_cmds'
   16362 
   16363 # Executable file suffix (normally "").
   16364 exeext="$exeext"
   16365 
   16366 # Additional compiler flags for building library objects.
   16367 pic_flag=$lt_lt_prog_compiler_pic_F77
   16368 pic_mode=$pic_mode
   16369 
   16370 # What is the maximum length of a command?
   16371 max_cmd_len=$lt_cv_sys_max_cmd_len
   16372 
   16373 # Does compiler simultaneously support -c and -o options?
   16374 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16375 
   16376 # Must we lock files when doing compilation?
   16377 need_locks=$lt_need_locks
   16378 
   16379 # Do we need the lib prefix for modules?
   16380 need_lib_prefix=$need_lib_prefix
   16381 
   16382 # Do we need a version for libraries?
   16383 need_version=$need_version
   16384 
   16385 # Whether dlopen is supported.
   16386 dlopen_support=$enable_dlopen
   16387 
   16388 # Whether dlopen of programs is supported.
   16389 dlopen_self=$enable_dlopen_self
   16390 
   16391 # Whether dlopen of statically linked programs is supported.
   16392 dlopen_self_static=$enable_dlopen_self_static
   16393 
   16394 # Compiler flag to prevent dynamic linking.
   16395 link_static_flag=$lt_lt_prog_compiler_static_F77
   16396 
   16397 # Compiler flag to turn off builtin functions.
   16398 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16399 
   16400 # Compiler flag to allow reflexive dlopens.
   16401 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16402 
   16403 # Compiler flag to generate shared objects directly from archives.
   16404 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16405 
   16406 # Compiler flag to generate thread-safe objects.
   16407 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16408 
   16409 # Library versioning type.
   16410 version_type=$version_type
   16411 
   16412 # Format of library name prefix.
   16413 libname_spec=$lt_libname_spec
   16414 
   16415 # List of archive names.  First name is the real one, the rest are links.
   16416 # The last name is the one that the linker finds with -lNAME.
   16417 library_names_spec=$lt_library_names_spec
   16418 
   16419 # The coded name of the library, if different from the real name.
   16420 soname_spec=$lt_soname_spec
   16421 
   16422 # Commands used to build and install an old-style archive.
   16423 RANLIB=$lt_RANLIB
   16424 old_archive_cmds=$lt_old_archive_cmds_F77
   16425 old_postinstall_cmds=$lt_old_postinstall_cmds
   16426 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16427 
   16428 # Create an old-style archive from a shared archive.
   16429 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16430 
   16431 # Create a temporary old-style archive to link instead of a shared archive.
   16432 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16433 
   16434 # Commands used to build and install a shared archive.
   16435 archive_cmds=$lt_archive_cmds_F77
   16436 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16437 postinstall_cmds=$lt_postinstall_cmds
   16438 postuninstall_cmds=$lt_postuninstall_cmds
   16439 
   16440 # Commands used to build a loadable module (assumed same as above if empty)
   16441 module_cmds=$lt_module_cmds_F77
   16442 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16443 
   16444 # Commands to strip libraries.
   16445 old_striplib=$lt_old_striplib
   16446 striplib=$lt_striplib
   16447 
   16448 # Dependencies to place before the objects being linked to create a
   16449 # shared library.
   16450 predep_objects=$lt_predep_objects_F77
   16451 
   16452 # Dependencies to place after the objects being linked to create a
   16453 # shared library.
   16454 postdep_objects=$lt_postdep_objects_F77
   16455 
   16456 # Dependencies to place before the objects being linked to create a
   16457 # shared library.
   16458 predeps=$lt_predeps_F77
   16459 
   16460 # Dependencies to place after the objects being linked to create a
   16461 # shared library.
   16462 postdeps=$lt_postdeps_F77
   16463 
   16464 # The library search path used internally by the compiler when linking
   16465 # a shared library.
   16466 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16467 
   16468 # Method to check whether dependent libraries are shared objects.
   16469 deplibs_check_method=$lt_deplibs_check_method
   16470 
   16471 # Command to use when deplibs_check_method == file_magic.
   16472 file_magic_cmd=$lt_file_magic_cmd
   16473 
   16474 # Flag that allows shared libraries with undefined symbols to be built.
   16475 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16476 
   16477 # Flag that forces no undefined symbols.
   16478 no_undefined_flag=$lt_no_undefined_flag_F77
   16479 
   16480 # Commands used to finish a libtool library installation in a directory.
   16481 finish_cmds=$lt_finish_cmds
   16482 
   16483 # Same as above, but a single script fragment to be evaled but not shown.
   16484 finish_eval=$lt_finish_eval
   16485 
   16486 # Take the output of nm and produce a listing of raw symbols and C names.
   16487 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16488 
   16489 # Transform the output of nm in a proper C declaration
   16490 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16491 
   16492 # Transform the output of nm in a C name address pair
   16493 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16494 
   16495 # This is the shared library runtime path variable.
   16496 runpath_var=$runpath_var
   16497 
   16498 # This is the shared library path variable.
   16499 shlibpath_var=$shlibpath_var
   16500 
   16501 # Is shlibpath searched before the hard-coded library search path?
   16502 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16503 
   16504 # How to hardcode a shared library path into an executable.
   16505 hardcode_action=$hardcode_action_F77
   16506 
   16507 # Whether we should hardcode library paths into libraries.
   16508 hardcode_into_libs=$hardcode_into_libs
   16509 
   16510 # Flag to hardcode \$libdir into a binary during linking.
   16511 # This must work even if \$libdir does not exist.
   16512 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16513 
   16514 # If ld is used when linking, flag to hardcode \$libdir into
   16515 # a binary during linking. This must work even if \$libdir does
   16516 # not exist.
   16517 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16518 
   16519 # Whether we need a single -rpath flag with a separated argument.
   16520 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16521 
   16522 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16523 # resulting binary.
   16524 hardcode_direct=$hardcode_direct_F77
   16525 
   16526 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16527 # resulting binary.
   16528 hardcode_minus_L=$hardcode_minus_L_F77
   16529 
   16530 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16531 # the resulting binary.
   16532 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16533 
   16534 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16535 # and all subsequent libraries and executables linked against it.
   16536 hardcode_automatic=$hardcode_automatic_F77
   16537 
   16538 # Variables whose values should be saved in libtool wrapper scripts and
   16539 # restored at relink time.
   16540 variables_saved_for_relink="$variables_saved_for_relink"
   16541 
   16542 # Whether libtool must link a program against all its dependency libraries.
   16543 link_all_deplibs=$link_all_deplibs_F77
   16544 
   16545 # Compile-time system search path for libraries
   16546 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16547 
   16548 # Run-time system search path for libraries
   16549 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16550 
   16551 # Fix the shell variable \$srcfile for the compiler.
   16552 fix_srcfile_path="$fix_srcfile_path_F77"
   16553 
   16554 # Set to yes if exported symbols are required.
   16555 always_export_symbols=$always_export_symbols_F77
   16556 
   16557 # The commands to list exported symbols.
   16558 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16559 
   16560 # The commands to extract the exported symbol list from a shared archive.
   16561 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16562 
   16563 # Symbols that should not be listed in the preloaded symbols.
   16564 exclude_expsyms=$lt_exclude_expsyms_F77
   16565 
   16566 # Symbols that must always be exported.
   16567 include_expsyms=$lt_include_expsyms_F77
   16568 
   16569 # ### END LIBTOOL TAG CONFIG: $tagname
   16570 
   16571 __EOF__
   16572 
   16573 
   16574 else
   16575   # If there is no Makefile yet, we rely on a make rule to execute
   16576   # `config.status --recheck' to rerun these tests and create the
   16577   # libtool script then.
   16578   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16579   if test -f "$ltmain_in"; then
   16580     test -f Makefile && make "$ltmain"
   16581   fi
   16582 fi
   16583 
   16584 
   16585 ac_ext=c
   16586 ac_cpp='$CPP $CPPFLAGS'
   16587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16590 
   16591 CC="$lt_save_CC"
   16592 
   16593 	else
   16594 	  tagname=""
   16595 	fi
   16596 	;;
   16597 
   16598       GCJ)
   16599 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16600 
   16601 
   16602 # Source file extension for Java test sources.
   16603 ac_ext=java
   16604 
   16605 # Object file extension for compiled Java test sources.
   16606 objext=o
   16607 objext_GCJ=$objext
   16608 
   16609 # Code to be used in simple compile tests
   16610 lt_simple_compile_test_code="class foo {}\n"
   16611 
   16612 # Code to be used in simple link tests
   16613 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16614 
   16615 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16616 
   16617 # If no C compiler was specified, use CC.
   16618 LTCC=${LTCC-"$CC"}
   16619 
   16620 # If no C compiler flags were specified, use CFLAGS.
   16621 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16622 
   16623 # Allow CC to be a program name with arguments.
   16624 compiler=$CC
   16625 
   16626 
   16627 # save warnings/boilerplate of simple test code
   16628 ac_outfile=conftest.$ac_objext
   16629 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16630 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16631 _lt_compiler_boilerplate=`cat conftest.err`
   16632 $rm conftest*
   16633 
   16634 ac_outfile=conftest.$ac_objext
   16635 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16636 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16637 _lt_linker_boilerplate=`cat conftest.err`
   16638 $rm conftest*
   16639 
   16640 
   16641 # Allow CC to be a program name with arguments.
   16642 lt_save_CC="$CC"
   16643 CC=${GCJ-"gcj"}
   16644 compiler=$CC
   16645 compiler_GCJ=$CC
   16646 for cc_temp in $compiler""; do
   16647   case $cc_temp in
   16648     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16649     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16650     \-*) ;;
   16651     *) break;;
   16652   esac
   16653 done
   16654 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16655 
   16656 
   16657 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16658 archive_cmds_need_lc_GCJ=no
   16659 
   16660 old_archive_cmds_GCJ=$old_archive_cmds
   16661 
   16662 
   16663 lt_prog_compiler_no_builtin_flag_GCJ=
   16664 
   16665 if test "$GCC" = yes; then
   16666   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16667 
   16668 
   16669 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16670 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16671 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16672   echo $ECHO_N "(cached) $ECHO_C" >&6
   16673 else
   16674   lt_cv_prog_compiler_rtti_exceptions=no
   16675   ac_outfile=conftest.$ac_objext
   16676    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16677    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16678    # Insert the option either (1) after the last *FLAGS variable, or
   16679    # (2) before a word containing "conftest.", or (3) at the end.
   16680    # Note that $ac_compile itself does not contain backslashes and begins
   16681    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16682    # The option is referenced via a variable to avoid confusing sed.
   16683    lt_compile=`echo "$ac_compile" | $SED \
   16684    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16685    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16686    -e 's:$: $lt_compiler_flag:'`
   16687    (eval echo "\"\$as_me:16687: $lt_compile\"" >&5)
   16688    (eval "$lt_compile" 2>conftest.err)
   16689    ac_status=$?
   16690    cat conftest.err >&5
   16691    echo "$as_me:16691: \$? = $ac_status" >&5
   16692    if (exit $ac_status) && test -s "$ac_outfile"; then
   16693      # The compiler can only warn and ignore the option if not recognized
   16694      # So say no if there are warnings other than the usual output.
   16695      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16696      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16697      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16698        lt_cv_prog_compiler_rtti_exceptions=yes
   16699      fi
   16700    fi
   16701    $rm conftest*
   16702 
   16703 fi
   16704 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16705 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16706 
   16707 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16708     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16709 else
   16710     :
   16711 fi
   16712 
   16713 fi
   16714 
   16715 lt_prog_compiler_wl_GCJ=
   16716 lt_prog_compiler_pic_GCJ=
   16717 lt_prog_compiler_static_GCJ=
   16718 
   16719 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16720 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16721 
   16722   if test "$GCC" = yes; then
   16723     lt_prog_compiler_wl_GCJ='-Wl,'
   16724     lt_prog_compiler_static_GCJ='-static'
   16725 
   16726     case $host_os in
   16727       aix*)
   16728       # All AIX code is PIC.
   16729       if test "$host_cpu" = ia64; then
   16730 	# AIX 5 now supports IA64 processor
   16731 	lt_prog_compiler_static_GCJ='-Bstatic'
   16732       fi
   16733       ;;
   16734 
   16735     amigaos*)
   16736       # FIXME: we need at least 68020 code to build shared libraries, but
   16737       # adding the `-m68020' flag to GCC prevents building anything better,
   16738       # like `-m68040'.
   16739       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16740       ;;
   16741 
   16742     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16743       # PIC is the default for these OSes.
   16744       ;;
   16745 
   16746     mingw* | pw32* | os2*)
   16747       # This hack is so that the source file can tell whether it is being
   16748       # built for inclusion in a dll (and should export symbols for example).
   16749       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16750       ;;
   16751 
   16752     darwin* | rhapsody*)
   16753       # PIC is the default on this platform
   16754       # Common symbols not allowed in MH_DYLIB files
   16755       lt_prog_compiler_pic_GCJ='-fno-common'
   16756       ;;
   16757 
   16758     interix3*)
   16759       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16760       # Instead, we relocate shared libraries at runtime.
   16761       ;;
   16762 
   16763     msdosdjgpp*)
   16764       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16765       # on systems that don't support them.
   16766       lt_prog_compiler_can_build_shared_GCJ=no
   16767       enable_shared=no
   16768       ;;
   16769 
   16770     sysv4*MP*)
   16771       if test -d /usr/nec; then
   16772 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16773       fi
   16774       ;;
   16775 
   16776     hpux*)
   16777       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16778       # not for PA HP-UX.
   16779       case $host_cpu in
   16780       hppa*64*|ia64*)
   16781 	# +Z the default
   16782 	;;
   16783       *)
   16784 	lt_prog_compiler_pic_GCJ='-fPIC'
   16785 	;;
   16786       esac
   16787       ;;
   16788 
   16789     *)
   16790       lt_prog_compiler_pic_GCJ='-fPIC'
   16791       ;;
   16792     esac
   16793   else
   16794     # PORTME Check for flag to pass linker flags through the system compiler.
   16795     case $host_os in
   16796     aix*)
   16797       lt_prog_compiler_wl_GCJ='-Wl,'
   16798       if test "$host_cpu" = ia64; then
   16799 	# AIX 5 now supports IA64 processor
   16800 	lt_prog_compiler_static_GCJ='-Bstatic'
   16801       else
   16802 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16803       fi
   16804       ;;
   16805       darwin*)
   16806         # PIC is the default on this platform
   16807         # Common symbols not allowed in MH_DYLIB files
   16808        case $cc_basename in
   16809          xlc*)
   16810          lt_prog_compiler_pic_GCJ='-qnocommon'
   16811          lt_prog_compiler_wl_GCJ='-Wl,'
   16812          ;;
   16813        esac
   16814        ;;
   16815 
   16816     mingw* | pw32* | os2*)
   16817       # This hack is so that the source file can tell whether it is being
   16818       # built for inclusion in a dll (and should export symbols for example).
   16819       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16820       ;;
   16821 
   16822     hpux9* | hpux10* | hpux11*)
   16823       lt_prog_compiler_wl_GCJ='-Wl,'
   16824       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16825       # not for PA HP-UX.
   16826       case $host_cpu in
   16827       hppa*64*|ia64*)
   16828 	# +Z the default
   16829 	;;
   16830       *)
   16831 	lt_prog_compiler_pic_GCJ='+Z'
   16832 	;;
   16833       esac
   16834       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16835       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16836       ;;
   16837 
   16838     irix5* | irix6* | nonstopux*)
   16839       lt_prog_compiler_wl_GCJ='-Wl,'
   16840       # PIC (with -KPIC) is the default.
   16841       lt_prog_compiler_static_GCJ='-non_shared'
   16842       ;;
   16843 
   16844     newsos6)
   16845       lt_prog_compiler_pic_GCJ='-KPIC'
   16846       lt_prog_compiler_static_GCJ='-Bstatic'
   16847       ;;
   16848 
   16849     linux*)
   16850       case $cc_basename in
   16851       icc* | ecc*)
   16852 	lt_prog_compiler_wl_GCJ='-Wl,'
   16853 	lt_prog_compiler_pic_GCJ='-KPIC'
   16854 	lt_prog_compiler_static_GCJ='-static'
   16855         ;;
   16856       pgcc* | pgf77* | pgf90* | pgf95*)
   16857         # Portland Group compilers (*not* the Pentium gcc compiler,
   16858 	# which looks to be a dead project)
   16859 	lt_prog_compiler_wl_GCJ='-Wl,'
   16860 	lt_prog_compiler_pic_GCJ='-fpic'
   16861 	lt_prog_compiler_static_GCJ='-Bstatic'
   16862         ;;
   16863       ccc*)
   16864         lt_prog_compiler_wl_GCJ='-Wl,'
   16865         # All Alpha code is PIC.
   16866         lt_prog_compiler_static_GCJ='-non_shared'
   16867         ;;
   16868       esac
   16869       ;;
   16870 
   16871     osf3* | osf4* | osf5*)
   16872       lt_prog_compiler_wl_GCJ='-Wl,'
   16873       # All OSF/1 code is PIC.
   16874       lt_prog_compiler_static_GCJ='-non_shared'
   16875       ;;
   16876 
   16877     solaris*)
   16878       lt_prog_compiler_pic_GCJ='-KPIC'
   16879       lt_prog_compiler_static_GCJ='-Bstatic'
   16880       case $cc_basename in
   16881       f77* | f90* | f95*)
   16882 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16883       *)
   16884 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16885       esac
   16886       ;;
   16887 
   16888     sunos4*)
   16889       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16890       lt_prog_compiler_pic_GCJ='-PIC'
   16891       lt_prog_compiler_static_GCJ='-Bstatic'
   16892       ;;
   16893 
   16894     sysv4 | sysv4.2uw2* | sysv4.3*)
   16895       lt_prog_compiler_wl_GCJ='-Wl,'
   16896       lt_prog_compiler_pic_GCJ='-KPIC'
   16897       lt_prog_compiler_static_GCJ='-Bstatic'
   16898       ;;
   16899 
   16900     sysv4*MP*)
   16901       if test -d /usr/nec ;then
   16902 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16903 	lt_prog_compiler_static_GCJ='-Bstatic'
   16904       fi
   16905       ;;
   16906 
   16907     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16908       lt_prog_compiler_wl_GCJ='-Wl,'
   16909       lt_prog_compiler_pic_GCJ='-KPIC'
   16910       lt_prog_compiler_static_GCJ='-Bstatic'
   16911       ;;
   16912 
   16913     unicos*)
   16914       lt_prog_compiler_wl_GCJ='-Wl,'
   16915       lt_prog_compiler_can_build_shared_GCJ=no
   16916       ;;
   16917 
   16918     uts4*)
   16919       lt_prog_compiler_pic_GCJ='-pic'
   16920       lt_prog_compiler_static_GCJ='-Bstatic'
   16921       ;;
   16922 
   16923     *)
   16924       lt_prog_compiler_can_build_shared_GCJ=no
   16925       ;;
   16926     esac
   16927   fi
   16928 
   16929 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16930 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16931 
   16932 #
   16933 # Check to make sure the PIC flag actually works.
   16934 #
   16935 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16936 
   16937 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16938 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16939 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16940   echo $ECHO_N "(cached) $ECHO_C" >&6
   16941 else
   16942   lt_prog_compiler_pic_works_GCJ=no
   16943   ac_outfile=conftest.$ac_objext
   16944    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16945    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16946    # Insert the option either (1) after the last *FLAGS variable, or
   16947    # (2) before a word containing "conftest.", or (3) at the end.
   16948    # Note that $ac_compile itself does not contain backslashes and begins
   16949    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16950    # The option is referenced via a variable to avoid confusing sed.
   16951    lt_compile=`echo "$ac_compile" | $SED \
   16952    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16953    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16954    -e 's:$: $lt_compiler_flag:'`
   16955    (eval echo "\"\$as_me:16955: $lt_compile\"" >&5)
   16956    (eval "$lt_compile" 2>conftest.err)
   16957    ac_status=$?
   16958    cat conftest.err >&5
   16959    echo "$as_me:16959: \$? = $ac_status" >&5
   16960    if (exit $ac_status) && test -s "$ac_outfile"; then
   16961      # The compiler can only warn and ignore the option if not recognized
   16962      # So say no if there are warnings other than the usual output.
   16963      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16964      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16965      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16966        lt_prog_compiler_pic_works_GCJ=yes
   16967      fi
   16968    fi
   16969    $rm conftest*
   16970 
   16971 fi
   16972 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16973 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16974 
   16975 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16976     case $lt_prog_compiler_pic_GCJ in
   16977      "" | " "*) ;;
   16978      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16979      esac
   16980 else
   16981     lt_prog_compiler_pic_GCJ=
   16982      lt_prog_compiler_can_build_shared_GCJ=no
   16983 fi
   16984 
   16985 fi
   16986 case $host_os in
   16987   # For platforms which do not support PIC, -DPIC is meaningless:
   16988   *djgpp*)
   16989     lt_prog_compiler_pic_GCJ=
   16990     ;;
   16991   *)
   16992     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16993     ;;
   16994 esac
   16995 
   16996 #
   16997 # Check to make sure the static flag actually works.
   16998 #
   16999 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17000 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17001 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17002 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   17003   echo $ECHO_N "(cached) $ECHO_C" >&6
   17004 else
   17005   lt_prog_compiler_static_works_GCJ=no
   17006    save_LDFLAGS="$LDFLAGS"
   17007    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17008    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   17009    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17010      # The linker can only warn and ignore the option if not recognized
   17011      # So say no if there are warnings
   17012      if test -s conftest.err; then
   17013        # Append any errors to the config.log.
   17014        cat conftest.err 1>&5
   17015        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17016        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17017        if diff conftest.exp conftest.er2 >/dev/null; then
   17018          lt_prog_compiler_static_works_GCJ=yes
   17019        fi
   17020      else
   17021        lt_prog_compiler_static_works_GCJ=yes
   17022      fi
   17023    fi
   17024    $rm conftest*
   17025    LDFLAGS="$save_LDFLAGS"
   17026 
   17027 fi
   17028 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   17029 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   17030 
   17031 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   17032     :
   17033 else
   17034     lt_prog_compiler_static_GCJ=
   17035 fi
   17036 
   17037 
   17038 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17039 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17040 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17041   echo $ECHO_N "(cached) $ECHO_C" >&6
   17042 else
   17043   lt_cv_prog_compiler_c_o_GCJ=no
   17044    $rm -r conftest 2>/dev/null
   17045    mkdir conftest
   17046    cd conftest
   17047    mkdir out
   17048    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17049 
   17050    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17051    # Insert the option either (1) after the last *FLAGS variable, or
   17052    # (2) before a word containing "conftest.", or (3) at the end.
   17053    # Note that $ac_compile itself does not contain backslashes and begins
   17054    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17055    lt_compile=`echo "$ac_compile" | $SED \
   17056    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17057    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17058    -e 's:$: $lt_compiler_flag:'`
   17059    (eval echo "\"\$as_me:17059: $lt_compile\"" >&5)
   17060    (eval "$lt_compile" 2>out/conftest.err)
   17061    ac_status=$?
   17062    cat out/conftest.err >&5
   17063    echo "$as_me:17063: \$? = $ac_status" >&5
   17064    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17065    then
   17066      # The compiler can only warn and ignore the option if not recognized
   17067      # So say no if there are warnings
   17068      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17069      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17070      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17071        lt_cv_prog_compiler_c_o_GCJ=yes
   17072      fi
   17073    fi
   17074    chmod u+w . 2>&5
   17075    $rm conftest*
   17076    # SGI C++ compiler will create directory out/ii_files/ for
   17077    # template instantiation
   17078    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17079    $rm out/* && rmdir out
   17080    cd ..
   17081    rmdir conftest
   17082    $rm conftest*
   17083 
   17084 fi
   17085 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17086 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17087 
   17088 
   17089 hard_links="nottested"
   17090 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17091   # do not overwrite the value of need_locks provided by the user
   17092   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17093 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17094   hard_links=yes
   17095   $rm conftest*
   17096   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17097   touch conftest.a
   17098   ln conftest.a conftest.b 2>&5 || hard_links=no
   17099   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17100   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17101 echo "${ECHO_T}$hard_links" >&6; }
   17102   if test "$hard_links" = no; then
   17103     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17104 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17105     need_locks=warn
   17106   fi
   17107 else
   17108   need_locks=no
   17109 fi
   17110 
   17111 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17112 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17113 
   17114   runpath_var=
   17115   allow_undefined_flag_GCJ=
   17116   enable_shared_with_static_runtimes_GCJ=no
   17117   archive_cmds_GCJ=
   17118   archive_expsym_cmds_GCJ=
   17119   old_archive_From_new_cmds_GCJ=
   17120   old_archive_from_expsyms_cmds_GCJ=
   17121   export_dynamic_flag_spec_GCJ=
   17122   whole_archive_flag_spec_GCJ=
   17123   thread_safe_flag_spec_GCJ=
   17124   hardcode_libdir_flag_spec_GCJ=
   17125   hardcode_libdir_flag_spec_ld_GCJ=
   17126   hardcode_libdir_separator_GCJ=
   17127   hardcode_direct_GCJ=no
   17128   hardcode_minus_L_GCJ=no
   17129   hardcode_shlibpath_var_GCJ=unsupported
   17130   link_all_deplibs_GCJ=unknown
   17131   hardcode_automatic_GCJ=no
   17132   module_cmds_GCJ=
   17133   module_expsym_cmds_GCJ=
   17134   always_export_symbols_GCJ=no
   17135   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17136   # include_expsyms should be a list of space-separated symbols to be *always*
   17137   # included in the symbol list
   17138   include_expsyms_GCJ=
   17139   # exclude_expsyms can be an extended regexp of symbols to exclude
   17140   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17141   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17142   # as well as any symbol that contains `d'.
   17143   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   17144   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17145   # platforms (ab)use it in PIC code, but their linkers get confused if
   17146   # the symbol is explicitly referenced.  Since portable code cannot
   17147   # rely on this symbol name, it's probably fine to never include it in
   17148   # preloaded symbol tables.
   17149   extract_expsyms_cmds=
   17150   # Just being paranoid about ensuring that cc_basename is set.
   17151   for cc_temp in $compiler""; do
   17152   case $cc_temp in
   17153     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17154     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17155     \-*) ;;
   17156     *) break;;
   17157   esac
   17158 done
   17159 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17160 
   17161   case $host_os in
   17162   cygwin* | mingw* | pw32*)
   17163     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17164     # When not using gcc, we currently assume that we are using
   17165     # Microsoft Visual C++.
   17166     if test "$GCC" != yes; then
   17167       with_gnu_ld=no
   17168     fi
   17169     ;;
   17170   interix*)
   17171     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17172     with_gnu_ld=yes
   17173     ;;
   17174   openbsd*)
   17175     with_gnu_ld=no
   17176     ;;
   17177   esac
   17178 
   17179   ld_shlibs_GCJ=yes
   17180   if test "$with_gnu_ld" = yes; then
   17181     # If archive_cmds runs LD, not CC, wlarc should be empty
   17182     wlarc='${wl}'
   17183 
   17184     # Set some defaults for GNU ld with shared library support. These
   17185     # are reset later if shared libraries are not supported. Putting them
   17186     # here allows them to be overridden if necessary.
   17187     runpath_var=LD_RUN_PATH
   17188     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17189     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17190     # ancient GNU ld didn't support --whole-archive et. al.
   17191     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17192 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17193       else
   17194   	whole_archive_flag_spec_GCJ=
   17195     fi
   17196     supports_anon_versioning=no
   17197     case `$LD -v 2>/dev/null` in
   17198       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17199       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17200       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17201       *\ 2.11.*) ;; # other 2.11 versions
   17202       *) supports_anon_versioning=yes ;;
   17203     esac
   17204 
   17205     # See if GNU ld supports shared libraries.
   17206     case $host_os in
   17207     aix3* | aix4* | aix5*)
   17208       # On AIX/PPC, the GNU linker is very broken
   17209       if test "$host_cpu" != ia64; then
   17210 	ld_shlibs_GCJ=no
   17211 	cat <<EOF 1>&2
   17212 
   17213 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17214 *** to be unable to reliably create shared libraries on AIX.
   17215 *** Therefore, libtool is disabling shared libraries support.  If you
   17216 *** really care for shared libraries, you may want to modify your PATH
   17217 *** so that a non-GNU linker is found, and then restart.
   17218 
   17219 EOF
   17220       fi
   17221       ;;
   17222 
   17223     amigaos*)
   17224       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)'
   17225       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17226       hardcode_minus_L_GCJ=yes
   17227 
   17228       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17229       # that the semantics of dynamic libraries on AmigaOS, at least up
   17230       # to version 4, is to share data among multiple programs linked
   17231       # with the same dynamic library.  Since this doesn't match the
   17232       # behavior of shared libraries on other platforms, we can't use
   17233       # them.
   17234       ld_shlibs_GCJ=no
   17235       ;;
   17236 
   17237     beos*)
   17238       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17239 	allow_undefined_flag_GCJ=unsupported
   17240 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17241 	# support --undefined.  This deserves some investigation.  FIXME
   17242 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17243       else
   17244 	ld_shlibs_GCJ=no
   17245       fi
   17246       ;;
   17247 
   17248     cygwin* | mingw* | pw32*)
   17249       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17250       # as there is no search path for DLLs.
   17251       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17252       allow_undefined_flag_GCJ=unsupported
   17253       always_export_symbols_GCJ=no
   17254       enable_shared_with_static_runtimes_GCJ=yes
   17255       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   17256 
   17257       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17258         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17259 	# If the export-symbols file already is a .def file (1st line
   17260 	# is EXPORTS), use it as is; otherwise, prepend...
   17261 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17262 	  cp $export_symbols $output_objdir/$soname.def;
   17263 	else
   17264 	  echo EXPORTS > $output_objdir/$soname.def;
   17265 	  cat $export_symbols >> $output_objdir/$soname.def;
   17266 	fi~
   17267 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17268       else
   17269 	ld_shlibs_GCJ=no
   17270       fi
   17271       ;;
   17272 
   17273     interix3*)
   17274       hardcode_direct_GCJ=no
   17275       hardcode_shlibpath_var_GCJ=no
   17276       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17277       export_dynamic_flag_spec_GCJ='${wl}-E'
   17278       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17279       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17280       # default) and relocated if they conflict, which is a slow very memory
   17281       # consuming and fragmenting process.  To avoid this, we pick a random,
   17282       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17283       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17284       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'
   17285       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'
   17286       ;;
   17287 
   17288     linux*)
   17289       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17290 	tmp_addflag=
   17291 	case $cc_basename,$host_cpu in
   17292 	pgcc*)				# Portland Group C compiler
   17293 	  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'
   17294 	  tmp_addflag=' $pic_flag'
   17295 	  ;;
   17296 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17297 	  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'
   17298 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17299 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17300 	  tmp_addflag=' -i_dynamic' ;;
   17301 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17302 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17303 	ifc* | ifort*)			# Intel Fortran compiler
   17304 	  tmp_addflag=' -nofor_main' ;;
   17305 	esac
   17306 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17307 
   17308 	if test $supports_anon_versioning = yes; then
   17309 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17310   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17311   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17312 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17313 	fi
   17314       else
   17315 	ld_shlibs_GCJ=no
   17316       fi
   17317       ;;
   17318 
   17319     netbsd*)
   17320       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17321 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17322 	wlarc=
   17323       else
   17324 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17325 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17326       fi
   17327       ;;
   17328 
   17329     solaris*)
   17330       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17331 	ld_shlibs_GCJ=no
   17332 	cat <<EOF 1>&2
   17333 
   17334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17335 *** create shared libraries on Solaris systems.  Therefore, libtool
   17336 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17337 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17338 *** your PATH or compiler configuration so that the native linker is
   17339 *** used, and then restart.
   17340 
   17341 EOF
   17342       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17343 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17344 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17345       else
   17346 	ld_shlibs_GCJ=no
   17347       fi
   17348       ;;
   17349 
   17350     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17351       case `$LD -v 2>&1` in
   17352         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17353 	ld_shlibs_GCJ=no
   17354 	cat <<_LT_EOF 1>&2
   17355 
   17356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17357 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17358 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17359 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17360 *** your PATH or compiler configuration so that the native linker is
   17361 *** used, and then restart.
   17362 
   17363 _LT_EOF
   17364 	;;
   17365 	*)
   17366 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17367 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17368 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17369 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17370 	  else
   17371 	    ld_shlibs_GCJ=no
   17372 	  fi
   17373 	;;
   17374       esac
   17375       ;;
   17376 
   17377     sunos4*)
   17378       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17379       wlarc=
   17380       hardcode_direct_GCJ=yes
   17381       hardcode_shlibpath_var_GCJ=no
   17382       ;;
   17383 
   17384     *)
   17385       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17386 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17387 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17388       else
   17389 	ld_shlibs_GCJ=no
   17390       fi
   17391       ;;
   17392     esac
   17393 
   17394     if test "$ld_shlibs_GCJ" = no; then
   17395       runpath_var=
   17396       hardcode_libdir_flag_spec_GCJ=
   17397       export_dynamic_flag_spec_GCJ=
   17398       whole_archive_flag_spec_GCJ=
   17399     fi
   17400   else
   17401     # PORTME fill in a description of your system's linker (not GNU ld)
   17402     case $host_os in
   17403     aix3*)
   17404       allow_undefined_flag_GCJ=unsupported
   17405       always_export_symbols_GCJ=yes
   17406       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'
   17407       # Note: this linker hardcodes the directories in LIBPATH if there
   17408       # are no directories specified by -L.
   17409       hardcode_minus_L_GCJ=yes
   17410       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17411 	# Neither direct hardcoding nor static linking is supported with a
   17412 	# broken collect2.
   17413 	hardcode_direct_GCJ=unsupported
   17414       fi
   17415       ;;
   17416 
   17417     aix4* | aix5*)
   17418       if test "$host_cpu" = ia64; then
   17419 	# On IA64, the linker does run time linking by default, so we don't
   17420 	# have to do anything special.
   17421 	aix_use_runtimelinking=no
   17422 	exp_sym_flag='-Bexport'
   17423 	no_entry_flag=""
   17424       else
   17425 	# If we're using GNU nm, then we don't want the "-C" option.
   17426 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17427 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17428 	  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'
   17429 	else
   17430 	  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'
   17431 	fi
   17432 	aix_use_runtimelinking=no
   17433 
   17434 	# Test if we are trying to use run time linking or normal
   17435 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17436 	# need to do runtime linking.
   17437 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17438 	  for ld_flag in $LDFLAGS; do
   17439   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17440   	    aix_use_runtimelinking=yes
   17441   	    break
   17442   	  fi
   17443 	  done
   17444 	  ;;
   17445 	esac
   17446 
   17447 	exp_sym_flag='-bexport'
   17448 	no_entry_flag='-bnoentry'
   17449       fi
   17450 
   17451       # When large executables or shared objects are built, AIX ld can
   17452       # have problems creating the table of contents.  If linking a library
   17453       # or program results in "error TOC overflow" add -mminimal-toc to
   17454       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17455       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17456 
   17457       archive_cmds_GCJ=''
   17458       hardcode_direct_GCJ=yes
   17459       hardcode_libdir_separator_GCJ=':'
   17460       link_all_deplibs_GCJ=yes
   17461 
   17462       if test "$GCC" = yes; then
   17463 	case $host_os in aix4.[012]|aix4.[012].*)
   17464 	# We only want to do this on AIX 4.2 and lower, the check
   17465 	# below for broken collect2 doesn't work under 4.3+
   17466 	  collect2name=`${CC} -print-prog-name=collect2`
   17467 	  if test -f "$collect2name" && \
   17468   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17469 	  then
   17470   	  # We have reworked collect2
   17471   	  hardcode_direct_GCJ=yes
   17472 	  else
   17473   	  # We have old collect2
   17474   	  hardcode_direct_GCJ=unsupported
   17475   	  # It fails to find uninstalled libraries when the uninstalled
   17476   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17477   	  # to unsupported forces relinking
   17478   	  hardcode_minus_L_GCJ=yes
   17479   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17480   	  hardcode_libdir_separator_GCJ=
   17481 	  fi
   17482 	  ;;
   17483 	esac
   17484 	shared_flag='-shared'
   17485 	if test "$aix_use_runtimelinking" = yes; then
   17486 	  shared_flag="$shared_flag "'${wl}-G'
   17487 	fi
   17488       else
   17489 	# not using gcc
   17490 	if test "$host_cpu" = ia64; then
   17491   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17492   	# chokes on -Wl,-G. The following line is correct:
   17493 	  shared_flag='-G'
   17494 	else
   17495 	  if test "$aix_use_runtimelinking" = yes; then
   17496 	    shared_flag='${wl}-G'
   17497 	  else
   17498 	    shared_flag='${wl}-bM:SRE'
   17499 	  fi
   17500 	fi
   17501       fi
   17502 
   17503       # It seems that -bexpall does not export symbols beginning with
   17504       # underscore (_), so it is better to generate a list of symbols to export.
   17505       always_export_symbols_GCJ=yes
   17506       if test "$aix_use_runtimelinking" = yes; then
   17507 	# Warning - without using the other runtime loading flags (-brtl),
   17508 	# -berok will link without error, but may produce a broken library.
   17509 	allow_undefined_flag_GCJ='-berok'
   17510        # Determine the default libpath from the value encoded in an empty executable.
   17511        cat >conftest.$ac_ext <<_ACEOF
   17512 /* confdefs.h.  */
   17513 _ACEOF
   17514 cat confdefs.h >>conftest.$ac_ext
   17515 cat >>conftest.$ac_ext <<_ACEOF
   17516 /* end confdefs.h.  */
   17517 
   17518 int
   17519 main ()
   17520 {
   17521 
   17522   ;
   17523   return 0;
   17524 }
   17525 _ACEOF
   17526 rm -f conftest.$ac_objext conftest$ac_exeext
   17527 if { (ac_try="$ac_link"
   17528 case "(($ac_try" in
   17529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17530   *) ac_try_echo=$ac_try;;
   17531 esac
   17532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17533   (eval "$ac_link") 2>conftest.er1
   17534   ac_status=$?
   17535   grep -v '^ *+' conftest.er1 >conftest.err
   17536   rm -f conftest.er1
   17537   cat conftest.err >&5
   17538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17539   (exit $ac_status); } &&
   17540 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17541   { (case "(($ac_try" in
   17542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17543   *) ac_try_echo=$ac_try;;
   17544 esac
   17545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17546   (eval "$ac_try") 2>&5
   17547   ac_status=$?
   17548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17549   (exit $ac_status); }; } &&
   17550 	 { ac_try='test -s conftest$ac_exeext'
   17551   { (case "(($ac_try" in
   17552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17553   *) ac_try_echo=$ac_try;;
   17554 esac
   17555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17556   (eval "$ac_try") 2>&5
   17557   ac_status=$?
   17558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17559   (exit $ac_status); }; }; then
   17560 
   17561 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17562 }'`
   17563 # Check for a 64-bit object if we didn't find anything.
   17564 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17565 }'`; fi
   17566 else
   17567   echo "$as_me: failed program was:" >&5
   17568 sed 's/^/| /' conftest.$ac_ext >&5
   17569 
   17570 
   17571 fi
   17572 
   17573 rm -f core conftest.err conftest.$ac_objext \
   17574       conftest$ac_exeext conftest.$ac_ext
   17575 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17576 
   17577        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17578 	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"
   17579        else
   17580 	if test "$host_cpu" = ia64; then
   17581 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17582 	  allow_undefined_flag_GCJ="-z nodefs"
   17583 	  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"
   17584 	else
   17585 	 # Determine the default libpath from the value encoded in an empty executable.
   17586 	 cat >conftest.$ac_ext <<_ACEOF
   17587 /* confdefs.h.  */
   17588 _ACEOF
   17589 cat confdefs.h >>conftest.$ac_ext
   17590 cat >>conftest.$ac_ext <<_ACEOF
   17591 /* end confdefs.h.  */
   17592 
   17593 int
   17594 main ()
   17595 {
   17596 
   17597   ;
   17598   return 0;
   17599 }
   17600 _ACEOF
   17601 rm -f conftest.$ac_objext conftest$ac_exeext
   17602 if { (ac_try="$ac_link"
   17603 case "(($ac_try" in
   17604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17605   *) ac_try_echo=$ac_try;;
   17606 esac
   17607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17608   (eval "$ac_link") 2>conftest.er1
   17609   ac_status=$?
   17610   grep -v '^ *+' conftest.er1 >conftest.err
   17611   rm -f conftest.er1
   17612   cat conftest.err >&5
   17613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17614   (exit $ac_status); } &&
   17615 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17616   { (case "(($ac_try" in
   17617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17618   *) ac_try_echo=$ac_try;;
   17619 esac
   17620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17621   (eval "$ac_try") 2>&5
   17622   ac_status=$?
   17623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17624   (exit $ac_status); }; } &&
   17625 	 { ac_try='test -s conftest$ac_exeext'
   17626   { (case "(($ac_try" in
   17627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17628   *) ac_try_echo=$ac_try;;
   17629 esac
   17630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17631   (eval "$ac_try") 2>&5
   17632   ac_status=$?
   17633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17634   (exit $ac_status); }; }; then
   17635 
   17636 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17637 }'`
   17638 # Check for a 64-bit object if we didn't find anything.
   17639 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17640 }'`; fi
   17641 else
   17642   echo "$as_me: failed program was:" >&5
   17643 sed 's/^/| /' conftest.$ac_ext >&5
   17644 
   17645 
   17646 fi
   17647 
   17648 rm -f core conftest.err conftest.$ac_objext \
   17649       conftest$ac_exeext conftest.$ac_ext
   17650 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17651 
   17652 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17653 	  # Warning - without using the other run time loading flags,
   17654 	  # -berok will link without error, but may produce a broken library.
   17655 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17656 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17657 	  # Exported symbols can be pulled into shared objects from archives
   17658 	  whole_archive_flag_spec_GCJ='$convenience'
   17659 	  archive_cmds_need_lc_GCJ=yes
   17660 	  # This is similar to how AIX traditionally builds its shared libraries.
   17661 	  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'
   17662 	fi
   17663       fi
   17664       ;;
   17665 
   17666     amigaos*)
   17667       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)'
   17668       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17669       hardcode_minus_L_GCJ=yes
   17670       # see comment about different semantics on the GNU ld section
   17671       ld_shlibs_GCJ=no
   17672       ;;
   17673 
   17674     bsdi[45]*)
   17675       export_dynamic_flag_spec_GCJ=-rdynamic
   17676       ;;
   17677 
   17678     cygwin* | mingw* | pw32*)
   17679       # When not using gcc, we currently assume that we are using
   17680       # Microsoft Visual C++.
   17681       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17682       # no search path for DLLs.
   17683       hardcode_libdir_flag_spec_GCJ=' '
   17684       allow_undefined_flag_GCJ=unsupported
   17685       # Tell ltmain to make .lib files, not .a files.
   17686       libext=lib
   17687       # Tell ltmain to make .dll files, not .so files.
   17688       shrext_cmds=".dll"
   17689       # FIXME: Setting linknames here is a bad hack.
   17690       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17691       # The linker will automatically build a .lib file if we build a DLL.
   17692       old_archive_From_new_cmds_GCJ='true'
   17693       # FIXME: Should let the user specify the lib program.
   17694       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17695       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17696       enable_shared_with_static_runtimes_GCJ=yes
   17697       ;;
   17698 
   17699     darwin* | rhapsody*)
   17700       case $host_os in
   17701         rhapsody* | darwin1.[012])
   17702          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17703          ;;
   17704        *) # Darwin 1.3 on
   17705          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17706            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17707          else
   17708            case ${MACOSX_DEPLOYMENT_TARGET} in
   17709              10.[012])
   17710                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17711                ;;
   17712              10.*)
   17713                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17714                ;;
   17715            esac
   17716          fi
   17717          ;;
   17718       esac
   17719       archive_cmds_need_lc_GCJ=no
   17720       hardcode_direct_GCJ=no
   17721       hardcode_automatic_GCJ=yes
   17722       hardcode_shlibpath_var_GCJ=unsupported
   17723       whole_archive_flag_spec_GCJ=''
   17724       link_all_deplibs_GCJ=yes
   17725     if test "$GCC" = yes ; then
   17726     	output_verbose_link_cmd='echo'
   17727         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17728       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17729       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17730       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}'
   17731       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}'
   17732     else
   17733       case $cc_basename in
   17734         xlc*)
   17735          output_verbose_link_cmd='echo'
   17736          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17737          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17738           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17739          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17740           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}'
   17741           ;;
   17742        *)
   17743          ld_shlibs_GCJ=no
   17744           ;;
   17745       esac
   17746     fi
   17747       ;;
   17748 
   17749     dgux*)
   17750       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17751       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17752       hardcode_shlibpath_var_GCJ=no
   17753       ;;
   17754 
   17755     freebsd1*)
   17756       ld_shlibs_GCJ=no
   17757       ;;
   17758 
   17759     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17760     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17761     # does not break anything, and helps significantly (at the cost of a little
   17762     # extra space).
   17763     freebsd2.2*)
   17764       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17765       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17766       hardcode_direct_GCJ=yes
   17767       hardcode_shlibpath_var_GCJ=no
   17768       ;;
   17769 
   17770     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17771     freebsd2*)
   17772       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17773       hardcode_direct_GCJ=yes
   17774       hardcode_minus_L_GCJ=yes
   17775       hardcode_shlibpath_var_GCJ=no
   17776       ;;
   17777 
   17778     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17779     freebsd* | kfreebsd*-gnu | dragonfly*)
   17780       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17781       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17782       hardcode_direct_GCJ=yes
   17783       hardcode_shlibpath_var_GCJ=no
   17784       ;;
   17785 
   17786     hpux9*)
   17787       if test "$GCC" = yes; then
   17788 	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'
   17789       else
   17790 	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'
   17791       fi
   17792       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17793       hardcode_libdir_separator_GCJ=:
   17794       hardcode_direct_GCJ=yes
   17795 
   17796       # hardcode_minus_L: Not really in the search PATH,
   17797       # but as the default location of the library.
   17798       hardcode_minus_L_GCJ=yes
   17799       export_dynamic_flag_spec_GCJ='${wl}-E'
   17800       ;;
   17801 
   17802     hpux10*)
   17803       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17804 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17805       else
   17806 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17807       fi
   17808       if test "$with_gnu_ld" = no; then
   17809 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17810 	hardcode_libdir_separator_GCJ=:
   17811 
   17812 	hardcode_direct_GCJ=yes
   17813 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17814 
   17815 	# hardcode_minus_L: Not really in the search PATH,
   17816 	# but as the default location of the library.
   17817 	hardcode_minus_L_GCJ=yes
   17818       fi
   17819       ;;
   17820 
   17821     hpux11*)
   17822       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17823 	case $host_cpu in
   17824 	hppa*64*)
   17825 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17826 	  ;;
   17827 	ia64*)
   17828 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17829 	  ;;
   17830 	*)
   17831 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17832 	  ;;
   17833 	esac
   17834       else
   17835 	case $host_cpu in
   17836 	hppa*64*)
   17837 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17838 	  ;;
   17839 	ia64*)
   17840 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17841 	  ;;
   17842 	*)
   17843 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17844 	  ;;
   17845 	esac
   17846       fi
   17847       if test "$with_gnu_ld" = no; then
   17848 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17849 	hardcode_libdir_separator_GCJ=:
   17850 
   17851 	case $host_cpu in
   17852 	hppa*64*|ia64*)
   17853 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17854 	  hardcode_direct_GCJ=no
   17855 	  hardcode_shlibpath_var_GCJ=no
   17856 	  ;;
   17857 	*)
   17858 	  hardcode_direct_GCJ=yes
   17859 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17860 
   17861 	  # hardcode_minus_L: Not really in the search PATH,
   17862 	  # but as the default location of the library.
   17863 	  hardcode_minus_L_GCJ=yes
   17864 	  ;;
   17865 	esac
   17866       fi
   17867       ;;
   17868 
   17869     irix5* | irix6* | nonstopux*)
   17870       if test "$GCC" = yes; then
   17871 	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'
   17872       else
   17873 	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'
   17874 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17875       fi
   17876       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17877       hardcode_libdir_separator_GCJ=:
   17878       link_all_deplibs_GCJ=yes
   17879       ;;
   17880 
   17881     netbsd*)
   17882       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17883 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17884       else
   17885 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17886       fi
   17887       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17888       hardcode_direct_GCJ=yes
   17889       hardcode_shlibpath_var_GCJ=no
   17890       ;;
   17891 
   17892     newsos6)
   17893       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17894       hardcode_direct_GCJ=yes
   17895       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17896       hardcode_libdir_separator_GCJ=:
   17897       hardcode_shlibpath_var_GCJ=no
   17898       ;;
   17899 
   17900     openbsd*)
   17901       hardcode_direct_GCJ=yes
   17902       hardcode_shlibpath_var_GCJ=no
   17903       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17904 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17905 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17906 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17907 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17908       else
   17909        case $host_os in
   17910 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17911 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17912 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17913 	   ;;
   17914 	 *)
   17915 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17916 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17917 	   ;;
   17918        esac
   17919       fi
   17920       ;;
   17921 
   17922     os2*)
   17923       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17924       hardcode_minus_L_GCJ=yes
   17925       allow_undefined_flag_GCJ=unsupported
   17926       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'
   17927       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17928       ;;
   17929 
   17930     osf3*)
   17931       if test "$GCC" = yes; then
   17932 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17933 	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'
   17934       else
   17935 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17936 	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'
   17937       fi
   17938       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17939       hardcode_libdir_separator_GCJ=:
   17940       ;;
   17941 
   17942     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17943       if test "$GCC" = yes; then
   17944 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17945 	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'
   17946 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17947       else
   17948 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17949 	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'
   17950 	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~
   17951 	$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'
   17952 
   17953 	# Both c and cxx compiler support -rpath directly
   17954 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17955       fi
   17956       hardcode_libdir_separator_GCJ=:
   17957       ;;
   17958 
   17959     solaris*)
   17960       no_undefined_flag_GCJ=' -z text'
   17961       if test "$GCC" = yes; then
   17962 	wlarc='${wl}'
   17963 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17964 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17965 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17966       else
   17967 	wlarc=''
   17968 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17969 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17970   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17971       fi
   17972       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17973       hardcode_shlibpath_var_GCJ=no
   17974       case $host_os in
   17975       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17976       *)
   17977  	# The compiler driver will combine linker options so we
   17978  	# cannot just pass the convience library names through
   17979  	# without $wl, iff we do not link with $LD.
   17980  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17981  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17982  	case $wlarc in
   17983  	'')
   17984  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17985  	*)
   17986  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   17987  	esac ;;
   17988       esac
   17989       link_all_deplibs_GCJ=yes
   17990       ;;
   17991 
   17992     sunos4*)
   17993       if test "x$host_vendor" = xsequent; then
   17994 	# Use $CC to link under sequent, because it throws in some extra .o
   17995 	# files that make .init and .fini sections work.
   17996 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17997       else
   17998 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17999       fi
   18000       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18001       hardcode_direct_GCJ=yes
   18002       hardcode_minus_L_GCJ=yes
   18003       hardcode_shlibpath_var_GCJ=no
   18004       ;;
   18005 
   18006     sysv4)
   18007       case $host_vendor in
   18008 	sni)
   18009 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18010 	  hardcode_direct_GCJ=yes # is this really true???
   18011 	;;
   18012 	siemens)
   18013 	  ## LD is ld it makes a PLAMLIB
   18014 	  ## CC just makes a GrossModule.
   18015 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18016 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18017 	  hardcode_direct_GCJ=no
   18018         ;;
   18019 	motorola)
   18020 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18021 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18022 	;;
   18023       esac
   18024       runpath_var='LD_RUN_PATH'
   18025       hardcode_shlibpath_var_GCJ=no
   18026       ;;
   18027 
   18028     sysv4.3*)
   18029       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18030       hardcode_shlibpath_var_GCJ=no
   18031       export_dynamic_flag_spec_GCJ='-Bexport'
   18032       ;;
   18033 
   18034     sysv4*MP*)
   18035       if test -d /usr/nec; then
   18036 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18037 	hardcode_shlibpath_var_GCJ=no
   18038 	runpath_var=LD_RUN_PATH
   18039 	hardcode_runpath_var=yes
   18040 	ld_shlibs_GCJ=yes
   18041       fi
   18042       ;;
   18043 
   18044     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   18045       no_undefined_flag_GCJ='${wl}-z,text'
   18046       archive_cmds_need_lc_GCJ=no
   18047       hardcode_shlibpath_var_GCJ=no
   18048       runpath_var='LD_RUN_PATH'
   18049 
   18050       if test "$GCC" = yes; then
   18051 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18052 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18053       else
   18054 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18055 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18056       fi
   18057       ;;
   18058 
   18059     sysv5* | sco3.2v5* | sco5v6*)
   18060       # Note: We can NOT use -z defs as we might desire, because we do not
   18061       # link with -lc, and that would cause any symbols used from libc to
   18062       # always be unresolved, which means just about no library would
   18063       # ever link correctly.  If we're not using GNU ld we use -z text
   18064       # though, which does catch some bad symbols but isn't as heavy-handed
   18065       # as -z defs.
   18066       no_undefined_flag_GCJ='${wl}-z,text'
   18067       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18068       archive_cmds_need_lc_GCJ=no
   18069       hardcode_shlibpath_var_GCJ=no
   18070       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18071       hardcode_libdir_separator_GCJ=':'
   18072       link_all_deplibs_GCJ=yes
   18073       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18074       runpath_var='LD_RUN_PATH'
   18075 
   18076       if test "$GCC" = yes; then
   18077 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18078 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18079       else
   18080 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18081 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18082       fi
   18083       ;;
   18084 
   18085     uts4*)
   18086       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18087       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18088       hardcode_shlibpath_var_GCJ=no
   18089       ;;
   18090 
   18091     *)
   18092       ld_shlibs_GCJ=no
   18093       ;;
   18094     esac
   18095   fi
   18096 
   18097 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18098 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18099 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18100 
   18101 #
   18102 # Do we need to explicitly link libc?
   18103 #
   18104 case "x$archive_cmds_need_lc_GCJ" in
   18105 x|xyes)
   18106   # Assume -lc should be added
   18107   archive_cmds_need_lc_GCJ=yes
   18108 
   18109   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18110     case $archive_cmds_GCJ in
   18111     *'~'*)
   18112       # FIXME: we may have to deal with multi-command sequences.
   18113       ;;
   18114     '$CC '*)
   18115       # Test whether the compiler implicitly links with -lc since on some
   18116       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18117       # to ld, don't add -lc before -lgcc.
   18118       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18119 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18120       $rm conftest*
   18121       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   18122 
   18123       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18124   (eval $ac_compile) 2>&5
   18125   ac_status=$?
   18126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18127   (exit $ac_status); } 2>conftest.err; then
   18128         soname=conftest
   18129         lib=conftest
   18130         libobjs=conftest.$ac_objext
   18131         deplibs=
   18132         wl=$lt_prog_compiler_wl_GCJ
   18133 	pic_flag=$lt_prog_compiler_pic_GCJ
   18134         compiler_flags=-v
   18135         linker_flags=-v
   18136         verstring=
   18137         output_objdir=.
   18138         libname=conftest
   18139         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18140         allow_undefined_flag_GCJ=
   18141         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18142   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18143   ac_status=$?
   18144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18145   (exit $ac_status); }
   18146         then
   18147 	  archive_cmds_need_lc_GCJ=no
   18148         else
   18149 	  archive_cmds_need_lc_GCJ=yes
   18150         fi
   18151         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18152       else
   18153         cat conftest.err 1>&5
   18154       fi
   18155       $rm conftest*
   18156       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18157 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18158       ;;
   18159     esac
   18160   fi
   18161   ;;
   18162 esac
   18163 
   18164 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18165 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18166 library_names_spec=
   18167 libname_spec='lib$name'
   18168 soname_spec=
   18169 shrext_cmds=".so"
   18170 postinstall_cmds=
   18171 postuninstall_cmds=
   18172 finish_cmds=
   18173 finish_eval=
   18174 shlibpath_var=
   18175 shlibpath_overrides_runpath=unknown
   18176 version_type=none
   18177 dynamic_linker="$host_os ld.so"
   18178 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18179 if test "$GCC" = yes; then
   18180   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18181   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   18182     # if the path contains ";" then we assume it to be the separator
   18183     # otherwise default to the standard path separator (i.e. ":") - it is
   18184     # assumed that no part of a normal pathname contains ";" but that should
   18185     # okay in the real world where ";" in dirpaths is itself problematic.
   18186     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18187   else
   18188     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18189   fi
   18190 else
   18191   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18192 fi
   18193 need_lib_prefix=unknown
   18194 hardcode_into_libs=no
   18195 
   18196 # when you set need_version to no, make sure it does not cause -set_version
   18197 # flags to be left without arguments
   18198 need_version=unknown
   18199 
   18200 case $host_os in
   18201 aix3*)
   18202   version_type=linux
   18203   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18204   shlibpath_var=LIBPATH
   18205 
   18206   # AIX 3 has no versioning support, so we append a major version to the name.
   18207   soname_spec='${libname}${release}${shared_ext}$major'
   18208   ;;
   18209 
   18210 aix4* | aix5*)
   18211   version_type=linux
   18212   need_lib_prefix=no
   18213   need_version=no
   18214   hardcode_into_libs=yes
   18215   if test "$host_cpu" = ia64; then
   18216     # AIX 5 supports IA64
   18217     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18218     shlibpath_var=LD_LIBRARY_PATH
   18219   else
   18220     # With GCC up to 2.95.x, collect2 would create an import file
   18221     # for dependence libraries.  The import file would start with
   18222     # the line `#! .'.  This would cause the generated library to
   18223     # depend on `.', always an invalid library.  This was fixed in
   18224     # development snapshots of GCC prior to 3.0.
   18225     case $host_os in
   18226       aix4 | aix4.[01] | aix4.[01].*)
   18227       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18228 	   echo ' yes '
   18229 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18230 	:
   18231       else
   18232 	can_build_shared=no
   18233       fi
   18234       ;;
   18235     esac
   18236     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18237     # soname into executable. Probably we can add versioning support to
   18238     # collect2, so additional links can be useful in future.
   18239     if test "$aix_use_runtimelinking" = yes; then
   18240       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18241       # instead of lib<name>.a to let people know that these are not
   18242       # typical AIX shared libraries.
   18243       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18244     else
   18245       # We preserve .a as extension for shared libraries through AIX4.2
   18246       # and later when we are not doing run time linking.
   18247       library_names_spec='${libname}${release}.a $libname.a'
   18248       soname_spec='${libname}${release}${shared_ext}$major'
   18249     fi
   18250     shlibpath_var=LIBPATH
   18251   fi
   18252   ;;
   18253 
   18254 amigaos*)
   18255   library_names_spec='$libname.ixlibrary $libname.a'
   18256   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18257   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'
   18258   ;;
   18259 
   18260 beos*)
   18261   library_names_spec='${libname}${shared_ext}'
   18262   dynamic_linker="$host_os ld.so"
   18263   shlibpath_var=LIBRARY_PATH
   18264   ;;
   18265 
   18266 bsdi[45]*)
   18267   version_type=linux
   18268   need_version=no
   18269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18270   soname_spec='${libname}${release}${shared_ext}$major'
   18271   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18272   shlibpath_var=LD_LIBRARY_PATH
   18273   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18274   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18275   # the default ld.so.conf also contains /usr/contrib/lib and
   18276   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18277   # libtool to hard-code these into programs
   18278   ;;
   18279 
   18280 cygwin* | mingw* | pw32*)
   18281   version_type=windows
   18282   shrext_cmds=".dll"
   18283   need_version=no
   18284   need_lib_prefix=no
   18285 
   18286   case $GCC,$host_os in
   18287   yes,cygwin* | yes,mingw* | yes,pw32*)
   18288     library_names_spec='$libname.dll.a'
   18289     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18290     postinstall_cmds='base_file=`basename \${file}`~
   18291       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18292       dldir=$destdir/`dirname \$dlpath`~
   18293       test -d \$dldir || mkdir -p \$dldir~
   18294       $install_prog $dir/$dlname \$dldir/$dlname~
   18295       chmod a+x \$dldir/$dlname'
   18296     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18297       dlpath=$dir/\$dldll~
   18298        $rm \$dlpath'
   18299     shlibpath_overrides_runpath=yes
   18300 
   18301     case $host_os in
   18302     cygwin*)
   18303       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18304       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18305       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18306       ;;
   18307     mingw*)
   18308       # MinGW DLLs use traditional 'lib' prefix
   18309       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18310       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18311       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18312         # It is most probably a Windows format PATH printed by
   18313         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18314         # path with ; separators, and with drive letters. We can handle the
   18315         # drive letters (cygwin fileutils understands them), so leave them,
   18316         # especially as we might pass files found there to a mingw objdump,
   18317         # which wouldn't understand a cygwinified path. Ahh.
   18318         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18319       else
   18320         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18321       fi
   18322       ;;
   18323     pw32*)
   18324       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18325       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18326       ;;
   18327     esac
   18328     ;;
   18329 
   18330   *)
   18331     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18332     ;;
   18333   esac
   18334   dynamic_linker='Win32 ld.exe'
   18335   # FIXME: first we should search . and the directory the executable is in
   18336   shlibpath_var=PATH
   18337   ;;
   18338 
   18339 darwin* | rhapsody*)
   18340   dynamic_linker="$host_os dyld"
   18341   version_type=darwin
   18342   need_lib_prefix=no
   18343   need_version=no
   18344   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18345   soname_spec='${libname}${release}${major}$shared_ext'
   18346   shlibpath_overrides_runpath=yes
   18347   shlibpath_var=DYLD_LIBRARY_PATH
   18348   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18349   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   18350   if test "$GCC" = yes; then
   18351     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   18352   else
   18353     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   18354   fi
   18355   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18356   ;;
   18357 
   18358 dgux*)
   18359   version_type=linux
   18360   need_lib_prefix=no
   18361   need_version=no
   18362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18363   soname_spec='${libname}${release}${shared_ext}$major'
   18364   shlibpath_var=LD_LIBRARY_PATH
   18365   ;;
   18366 
   18367 freebsd1*)
   18368   dynamic_linker=no
   18369   ;;
   18370 
   18371 kfreebsd*-gnu)
   18372   version_type=linux
   18373   need_lib_prefix=no
   18374   need_version=no
   18375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18376   soname_spec='${libname}${release}${shared_ext}$major'
   18377   shlibpath_var=LD_LIBRARY_PATH
   18378   shlibpath_overrides_runpath=no
   18379   hardcode_into_libs=yes
   18380   dynamic_linker='GNU ld.so'
   18381   ;;
   18382 
   18383 freebsd* | dragonfly*)
   18384   # DragonFly does not have aout.  When/if they implement a new
   18385   # versioning mechanism, adjust this.
   18386   if test -x /usr/bin/objformat; then
   18387     objformat=`/usr/bin/objformat`
   18388   else
   18389     case $host_os in
   18390     freebsd[123]*) objformat=aout ;;
   18391     *) objformat=elf ;;
   18392     esac
   18393   fi
   18394   version_type=freebsd-$objformat
   18395   case $version_type in
   18396     freebsd-elf*)
   18397       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18398       need_version=no
   18399       need_lib_prefix=no
   18400       ;;
   18401     freebsd-*)
   18402       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18403       need_version=yes
   18404       ;;
   18405   esac
   18406   shlibpath_var=LD_LIBRARY_PATH
   18407   case $host_os in
   18408   freebsd2*)
   18409     shlibpath_overrides_runpath=yes
   18410     ;;
   18411   freebsd3.[01]* | freebsdelf3.[01]*)
   18412     shlibpath_overrides_runpath=yes
   18413     hardcode_into_libs=yes
   18414     ;;
   18415   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18416   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18417     shlibpath_overrides_runpath=no
   18418     hardcode_into_libs=yes
   18419     ;;
   18420   freebsd*) # from 4.6 on
   18421     shlibpath_overrides_runpath=yes
   18422     hardcode_into_libs=yes
   18423     ;;
   18424   esac
   18425   ;;
   18426 
   18427 gnu*)
   18428   version_type=linux
   18429   need_lib_prefix=no
   18430   need_version=no
   18431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18432   soname_spec='${libname}${release}${shared_ext}$major'
   18433   shlibpath_var=LD_LIBRARY_PATH
   18434   hardcode_into_libs=yes
   18435   ;;
   18436 
   18437 hpux9* | hpux10* | hpux11*)
   18438   # Give a soname corresponding to the major version so that dld.sl refuses to
   18439   # link against other versions.
   18440   version_type=sunos
   18441   need_lib_prefix=no
   18442   need_version=no
   18443   case $host_cpu in
   18444   ia64*)
   18445     shrext_cmds='.so'
   18446     hardcode_into_libs=yes
   18447     dynamic_linker="$host_os dld.so"
   18448     shlibpath_var=LD_LIBRARY_PATH
   18449     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18450     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18451     soname_spec='${libname}${release}${shared_ext}$major'
   18452     if test "X$HPUX_IA64_MODE" = X32; then
   18453       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18454     else
   18455       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18456     fi
   18457     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18458     ;;
   18459    hppa*64*)
   18460      shrext_cmds='.sl'
   18461      hardcode_into_libs=yes
   18462      dynamic_linker="$host_os dld.sl"
   18463      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18464      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18465      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18466      soname_spec='${libname}${release}${shared_ext}$major'
   18467      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18468      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18469      ;;
   18470    *)
   18471     shrext_cmds='.sl'
   18472     dynamic_linker="$host_os dld.sl"
   18473     shlibpath_var=SHLIB_PATH
   18474     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18475     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18476     soname_spec='${libname}${release}${shared_ext}$major'
   18477     ;;
   18478   esac
   18479   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18480   postinstall_cmds='chmod 555 $lib'
   18481   ;;
   18482 
   18483 interix3*)
   18484   version_type=linux
   18485   need_lib_prefix=no
   18486   need_version=no
   18487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18488   soname_spec='${libname}${release}${shared_ext}$major'
   18489   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18490   shlibpath_var=LD_LIBRARY_PATH
   18491   shlibpath_overrides_runpath=no
   18492   hardcode_into_libs=yes
   18493   ;;
   18494 
   18495 irix5* | irix6* | nonstopux*)
   18496   case $host_os in
   18497     nonstopux*) version_type=nonstopux ;;
   18498     *)
   18499 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18500 		version_type=linux
   18501 	else
   18502 		version_type=irix
   18503 	fi ;;
   18504   esac
   18505   need_lib_prefix=no
   18506   need_version=no
   18507   soname_spec='${libname}${release}${shared_ext}$major'
   18508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18509   case $host_os in
   18510   irix5* | nonstopux*)
   18511     libsuff= shlibsuff=
   18512     ;;
   18513   *)
   18514     case $LD in # libtool.m4 will add one of these switches to LD
   18515     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18516       libsuff= shlibsuff= libmagic=32-bit;;
   18517     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18518       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18519     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18520       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18521     *) libsuff= shlibsuff= libmagic=never-match;;
   18522     esac
   18523     ;;
   18524   esac
   18525   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18526   shlibpath_overrides_runpath=no
   18527   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18528   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18529   hardcode_into_libs=yes
   18530   ;;
   18531 
   18532 # No shared lib support for Linux oldld, aout, or coff.
   18533 linux*oldld* | linux*aout* | linux*coff*)
   18534   dynamic_linker=no
   18535   ;;
   18536 
   18537 # This must be Linux ELF.
   18538 linux*)
   18539   version_type=linux
   18540   need_lib_prefix=no
   18541   need_version=no
   18542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18543   soname_spec='${libname}${release}${shared_ext}$major'
   18544   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18545   shlibpath_var=LD_LIBRARY_PATH
   18546   shlibpath_overrides_runpath=no
   18547   # This implies no fast_install, which is unacceptable.
   18548   # Some rework will be needed to allow for fast_install
   18549   # before this can be enabled.
   18550   hardcode_into_libs=yes
   18551 
   18552   # Append ld.so.conf contents to the search path
   18553   if test -f /etc/ld.so.conf; then
   18554     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18555     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18556   fi
   18557 
   18558   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18559   # powerpc, because MkLinux only supported shared libraries with the
   18560   # GNU dynamic linker.  Since this was broken with cross compilers,
   18561   # most powerpc-linux boxes support dynamic linking these days and
   18562   # people can always --disable-shared, the test was removed, and we
   18563   # assume the GNU/Linux dynamic linker is in use.
   18564   dynamic_linker='GNU/Linux ld.so'
   18565   ;;
   18566 
   18567 knetbsd*-gnu)
   18568   version_type=linux
   18569   need_lib_prefix=no
   18570   need_version=no
   18571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18572   soname_spec='${libname}${release}${shared_ext}$major'
   18573   shlibpath_var=LD_LIBRARY_PATH
   18574   shlibpath_overrides_runpath=no
   18575   hardcode_into_libs=yes
   18576   dynamic_linker='GNU ld.so'
   18577   ;;
   18578 
   18579 netbsd*)
   18580   version_type=sunos
   18581   need_lib_prefix=no
   18582   need_version=no
   18583   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18584     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18585     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18586     dynamic_linker='NetBSD (a.out) ld.so'
   18587   else
   18588     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18589     soname_spec='${libname}${release}${shared_ext}$major'
   18590     dynamic_linker='NetBSD ld.elf_so'
   18591   fi
   18592   shlibpath_var=LD_LIBRARY_PATH
   18593   shlibpath_overrides_runpath=yes
   18594   hardcode_into_libs=yes
   18595   ;;
   18596 
   18597 newsos6)
   18598   version_type=linux
   18599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18600   shlibpath_var=LD_LIBRARY_PATH
   18601   shlibpath_overrides_runpath=yes
   18602   ;;
   18603 
   18604 nto-qnx*)
   18605   version_type=linux
   18606   need_lib_prefix=no
   18607   need_version=no
   18608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18609   soname_spec='${libname}${release}${shared_ext}$major'
   18610   shlibpath_var=LD_LIBRARY_PATH
   18611   shlibpath_overrides_runpath=yes
   18612   ;;
   18613 
   18614 openbsd*)
   18615   version_type=sunos
   18616   sys_lib_dlsearch_path_spec="/usr/lib"
   18617   need_lib_prefix=no
   18618   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18619   case $host_os in
   18620     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18621     *)                         need_version=no  ;;
   18622   esac
   18623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18624   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18625   shlibpath_var=LD_LIBRARY_PATH
   18626   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18627     case $host_os in
   18628       openbsd2.[89] | openbsd2.[89].*)
   18629 	shlibpath_overrides_runpath=no
   18630 	;;
   18631       *)
   18632 	shlibpath_overrides_runpath=yes
   18633 	;;
   18634       esac
   18635   else
   18636     shlibpath_overrides_runpath=yes
   18637   fi
   18638   ;;
   18639 
   18640 os2*)
   18641   libname_spec='$name'
   18642   shrext_cmds=".dll"
   18643   need_lib_prefix=no
   18644   library_names_spec='$libname${shared_ext} $libname.a'
   18645   dynamic_linker='OS/2 ld.exe'
   18646   shlibpath_var=LIBPATH
   18647   ;;
   18648 
   18649 osf3* | osf4* | osf5*)
   18650   version_type=osf
   18651   need_lib_prefix=no
   18652   need_version=no
   18653   soname_spec='${libname}${release}${shared_ext}$major'
   18654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18655   shlibpath_var=LD_LIBRARY_PATH
   18656   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18657   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18658   ;;
   18659 
   18660 solaris*)
   18661   version_type=linux
   18662   need_lib_prefix=no
   18663   need_version=no
   18664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18665   soname_spec='${libname}${release}${shared_ext}$major'
   18666   shlibpath_var=LD_LIBRARY_PATH
   18667   shlibpath_overrides_runpath=yes
   18668   hardcode_into_libs=yes
   18669   # ldd complains unless libraries are executable
   18670   postinstall_cmds='chmod +x $lib'
   18671   ;;
   18672 
   18673 sunos4*)
   18674   version_type=sunos
   18675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18676   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18677   shlibpath_var=LD_LIBRARY_PATH
   18678   shlibpath_overrides_runpath=yes
   18679   if test "$with_gnu_ld" = yes; then
   18680     need_lib_prefix=no
   18681   fi
   18682   need_version=yes
   18683   ;;
   18684 
   18685 sysv4 | sysv4.3*)
   18686   version_type=linux
   18687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18688   soname_spec='${libname}${release}${shared_ext}$major'
   18689   shlibpath_var=LD_LIBRARY_PATH
   18690   case $host_vendor in
   18691     sni)
   18692       shlibpath_overrides_runpath=no
   18693       need_lib_prefix=no
   18694       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18695       runpath_var=LD_RUN_PATH
   18696       ;;
   18697     siemens)
   18698       need_lib_prefix=no
   18699       ;;
   18700     motorola)
   18701       need_lib_prefix=no
   18702       need_version=no
   18703       shlibpath_overrides_runpath=no
   18704       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18705       ;;
   18706   esac
   18707   ;;
   18708 
   18709 sysv4*MP*)
   18710   if test -d /usr/nec ;then
   18711     version_type=linux
   18712     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18713     soname_spec='$libname${shared_ext}.$major'
   18714     shlibpath_var=LD_LIBRARY_PATH
   18715   fi
   18716   ;;
   18717 
   18718 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18719   version_type=freebsd-elf
   18720   need_lib_prefix=no
   18721   need_version=no
   18722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18723   soname_spec='${libname}${release}${shared_ext}$major'
   18724   shlibpath_var=LD_LIBRARY_PATH
   18725   hardcode_into_libs=yes
   18726   if test "$with_gnu_ld" = yes; then
   18727     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18728     shlibpath_overrides_runpath=no
   18729   else
   18730     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18731     shlibpath_overrides_runpath=yes
   18732     case $host_os in
   18733       sco3.2v5*)
   18734         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18735 	;;
   18736     esac
   18737   fi
   18738   sys_lib_dlsearch_path_spec='/usr/lib'
   18739   ;;
   18740 
   18741 uts4*)
   18742   version_type=linux
   18743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18744   soname_spec='${libname}${release}${shared_ext}$major'
   18745   shlibpath_var=LD_LIBRARY_PATH
   18746   ;;
   18747 
   18748 *)
   18749   dynamic_linker=no
   18750   ;;
   18751 esac
   18752 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18753 echo "${ECHO_T}$dynamic_linker" >&6; }
   18754 test "$dynamic_linker" = no && can_build_shared=no
   18755 
   18756 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18757 if test "$GCC" = yes; then
   18758   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18759 fi
   18760 
   18761 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18762 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18763 hardcode_action_GCJ=
   18764 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18765    test -n "$runpath_var_GCJ" || \
   18766    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18767 
   18768   # We can hardcode non-existant directories.
   18769   if test "$hardcode_direct_GCJ" != no &&
   18770      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18771      # have to relink, otherwise we might link with an installed library
   18772      # when we should be linking with a yet-to-be-installed one
   18773      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18774      test "$hardcode_minus_L_GCJ" != no; then
   18775     # Linking always hardcodes the temporary library directory.
   18776     hardcode_action_GCJ=relink
   18777   else
   18778     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18779     hardcode_action_GCJ=immediate
   18780   fi
   18781 else
   18782   # We cannot hardcode anything, or else we can only hardcode existing
   18783   # directories.
   18784   hardcode_action_GCJ=unsupported
   18785 fi
   18786 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18787 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18788 
   18789 if test "$hardcode_action_GCJ" = relink; then
   18790   # Fast installation is not supported
   18791   enable_fast_install=no
   18792 elif test "$shlibpath_overrides_runpath" = yes ||
   18793      test "$enable_shared" = no; then
   18794   # Fast installation is not necessary
   18795   enable_fast_install=needless
   18796 fi
   18797 
   18798 
   18799 # The else clause should only fire when bootstrapping the
   18800 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18801 # with your package, and you will get complaints that there are
   18802 # no rules to generate ltmain.sh.
   18803 if test -f "$ltmain"; then
   18804   # See if we are running on zsh, and set the options which allow our commands through
   18805   # without removal of \ escapes.
   18806   if test -n "${ZSH_VERSION+set}" ; then
   18807     setopt NO_GLOB_SUBST
   18808   fi
   18809   # Now quote all the things that may contain metacharacters while being
   18810   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18811   # variables and quote the copies for generation of the libtool script.
   18812   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18813     SED SHELL STRIP \
   18814     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18815     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18816     deplibs_check_method reload_flag reload_cmds need_locks \
   18817     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18818     lt_cv_sys_global_symbol_to_c_name_address \
   18819     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18820     old_postinstall_cmds old_postuninstall_cmds \
   18821     compiler_GCJ \
   18822     CC_GCJ \
   18823     LD_GCJ \
   18824     lt_prog_compiler_wl_GCJ \
   18825     lt_prog_compiler_pic_GCJ \
   18826     lt_prog_compiler_static_GCJ \
   18827     lt_prog_compiler_no_builtin_flag_GCJ \
   18828     export_dynamic_flag_spec_GCJ \
   18829     thread_safe_flag_spec_GCJ \
   18830     whole_archive_flag_spec_GCJ \
   18831     enable_shared_with_static_runtimes_GCJ \
   18832     old_archive_cmds_GCJ \
   18833     old_archive_from_new_cmds_GCJ \
   18834     predep_objects_GCJ \
   18835     postdep_objects_GCJ \
   18836     predeps_GCJ \
   18837     postdeps_GCJ \
   18838     compiler_lib_search_path_GCJ \
   18839     archive_cmds_GCJ \
   18840     archive_expsym_cmds_GCJ \
   18841     postinstall_cmds_GCJ \
   18842     postuninstall_cmds_GCJ \
   18843     old_archive_from_expsyms_cmds_GCJ \
   18844     allow_undefined_flag_GCJ \
   18845     no_undefined_flag_GCJ \
   18846     export_symbols_cmds_GCJ \
   18847     hardcode_libdir_flag_spec_GCJ \
   18848     hardcode_libdir_flag_spec_ld_GCJ \
   18849     hardcode_libdir_separator_GCJ \
   18850     hardcode_automatic_GCJ \
   18851     module_cmds_GCJ \
   18852     module_expsym_cmds_GCJ \
   18853     lt_cv_prog_compiler_c_o_GCJ \
   18854     exclude_expsyms_GCJ \
   18855     include_expsyms_GCJ; do
   18856 
   18857     case $var in
   18858     old_archive_cmds_GCJ | \
   18859     old_archive_from_new_cmds_GCJ | \
   18860     archive_cmds_GCJ | \
   18861     archive_expsym_cmds_GCJ | \
   18862     module_cmds_GCJ | \
   18863     module_expsym_cmds_GCJ | \
   18864     old_archive_from_expsyms_cmds_GCJ | \
   18865     export_symbols_cmds_GCJ | \
   18866     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18867     postinstall_cmds | postuninstall_cmds | \
   18868     old_postinstall_cmds | old_postuninstall_cmds | \
   18869     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18870       # Double-quote double-evaled strings.
   18871       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18872       ;;
   18873     *)
   18874       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18875       ;;
   18876     esac
   18877   done
   18878 
   18879   case $lt_echo in
   18880   *'\$0 --fallback-echo"')
   18881     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18882     ;;
   18883   esac
   18884 
   18885 cfgfile="$ofile"
   18886 
   18887   cat <<__EOF__ >> "$cfgfile"
   18888 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18889 
   18890 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18891 
   18892 # Shell to use when invoking shell scripts.
   18893 SHELL=$lt_SHELL
   18894 
   18895 # Whether or not to build shared libraries.
   18896 build_libtool_libs=$enable_shared
   18897 
   18898 # Whether or not to build static libraries.
   18899 build_old_libs=$enable_static
   18900 
   18901 # Whether or not to add -lc for building shared libraries.
   18902 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18903 
   18904 # Whether or not to disallow shared libs when runtime libs are static
   18905 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18906 
   18907 # Whether or not to optimize for fast installation.
   18908 fast_install=$enable_fast_install
   18909 
   18910 # The host system.
   18911 host_alias=$host_alias
   18912 host=$host
   18913 host_os=$host_os
   18914 
   18915 # The build system.
   18916 build_alias=$build_alias
   18917 build=$build
   18918 build_os=$build_os
   18919 
   18920 # An echo program that does not interpret backslashes.
   18921 echo=$lt_echo
   18922 
   18923 # The archiver.
   18924 AR=$lt_AR
   18925 AR_FLAGS=$lt_AR_FLAGS
   18926 
   18927 # A C compiler.
   18928 LTCC=$lt_LTCC
   18929 
   18930 # LTCC compiler flags.
   18931 LTCFLAGS=$lt_LTCFLAGS
   18932 
   18933 # A language-specific compiler.
   18934 CC=$lt_compiler_GCJ
   18935 
   18936 # Is the compiler the GNU C compiler?
   18937 with_gcc=$GCC_GCJ
   18938 
   18939 # An ERE matcher.
   18940 EGREP=$lt_EGREP
   18941 
   18942 # The linker used to build libraries.
   18943 LD=$lt_LD_GCJ
   18944 
   18945 # Whether we need hard or soft links.
   18946 LN_S=$lt_LN_S
   18947 
   18948 # A BSD-compatible nm program.
   18949 NM=$lt_NM
   18950 
   18951 # A symbol stripping program
   18952 STRIP=$lt_STRIP
   18953 
   18954 # Used to examine libraries when file_magic_cmd begins "file"
   18955 MAGIC_CMD=$MAGIC_CMD
   18956 
   18957 # Used on cygwin: DLL creation program.
   18958 DLLTOOL="$DLLTOOL"
   18959 
   18960 # Used on cygwin: object dumper.
   18961 OBJDUMP="$OBJDUMP"
   18962 
   18963 # Used on cygwin: assembler.
   18964 AS="$AS"
   18965 
   18966 # The name of the directory that contains temporary libtool files.
   18967 objdir=$objdir
   18968 
   18969 # How to create reloadable object files.
   18970 reload_flag=$lt_reload_flag
   18971 reload_cmds=$lt_reload_cmds
   18972 
   18973 # How to pass a linker flag through the compiler.
   18974 wl=$lt_lt_prog_compiler_wl_GCJ
   18975 
   18976 # Object file suffix (normally "o").
   18977 objext="$ac_objext"
   18978 
   18979 # Old archive suffix (normally "a").
   18980 libext="$libext"
   18981 
   18982 # Shared library suffix (normally ".so").
   18983 shrext_cmds='$shrext_cmds'
   18984 
   18985 # Executable file suffix (normally "").
   18986 exeext="$exeext"
   18987 
   18988 # Additional compiler flags for building library objects.
   18989 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18990 pic_mode=$pic_mode
   18991 
   18992 # What is the maximum length of a command?
   18993 max_cmd_len=$lt_cv_sys_max_cmd_len
   18994 
   18995 # Does compiler simultaneously support -c and -o options?
   18996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18997 
   18998 # Must we lock files when doing compilation?
   18999 need_locks=$lt_need_locks
   19000 
   19001 # Do we need the lib prefix for modules?
   19002 need_lib_prefix=$need_lib_prefix
   19003 
   19004 # Do we need a version for libraries?
   19005 need_version=$need_version
   19006 
   19007 # Whether dlopen is supported.
   19008 dlopen_support=$enable_dlopen
   19009 
   19010 # Whether dlopen of programs is supported.
   19011 dlopen_self=$enable_dlopen_self
   19012 
   19013 # Whether dlopen of statically linked programs is supported.
   19014 dlopen_self_static=$enable_dlopen_self_static
   19015 
   19016 # Compiler flag to prevent dynamic linking.
   19017 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19018 
   19019 # Compiler flag to turn off builtin functions.
   19020 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19021 
   19022 # Compiler flag to allow reflexive dlopens.
   19023 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19024 
   19025 # Compiler flag to generate shared objects directly from archives.
   19026 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19027 
   19028 # Compiler flag to generate thread-safe objects.
   19029 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19030 
   19031 # Library versioning type.
   19032 version_type=$version_type
   19033 
   19034 # Format of library name prefix.
   19035 libname_spec=$lt_libname_spec
   19036 
   19037 # List of archive names.  First name is the real one, the rest are links.
   19038 # The last name is the one that the linker finds with -lNAME.
   19039 library_names_spec=$lt_library_names_spec
   19040 
   19041 # The coded name of the library, if different from the real name.
   19042 soname_spec=$lt_soname_spec
   19043 
   19044 # Commands used to build and install an old-style archive.
   19045 RANLIB=$lt_RANLIB
   19046 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19047 old_postinstall_cmds=$lt_old_postinstall_cmds
   19048 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19049 
   19050 # Create an old-style archive from a shared archive.
   19051 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19052 
   19053 # Create a temporary old-style archive to link instead of a shared archive.
   19054 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19055 
   19056 # Commands used to build and install a shared archive.
   19057 archive_cmds=$lt_archive_cmds_GCJ
   19058 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19059 postinstall_cmds=$lt_postinstall_cmds
   19060 postuninstall_cmds=$lt_postuninstall_cmds
   19061 
   19062 # Commands used to build a loadable module (assumed same as above if empty)
   19063 module_cmds=$lt_module_cmds_GCJ
   19064 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19065 
   19066 # Commands to strip libraries.
   19067 old_striplib=$lt_old_striplib
   19068 striplib=$lt_striplib
   19069 
   19070 # Dependencies to place before the objects being linked to create a
   19071 # shared library.
   19072 predep_objects=$lt_predep_objects_GCJ
   19073 
   19074 # Dependencies to place after the objects being linked to create a
   19075 # shared library.
   19076 postdep_objects=$lt_postdep_objects_GCJ
   19077 
   19078 # Dependencies to place before the objects being linked to create a
   19079 # shared library.
   19080 predeps=$lt_predeps_GCJ
   19081 
   19082 # Dependencies to place after the objects being linked to create a
   19083 # shared library.
   19084 postdeps=$lt_postdeps_GCJ
   19085 
   19086 # The library search path used internally by the compiler when linking
   19087 # a shared library.
   19088 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19089 
   19090 # Method to check whether dependent libraries are shared objects.
   19091 deplibs_check_method=$lt_deplibs_check_method
   19092 
   19093 # Command to use when deplibs_check_method == file_magic.
   19094 file_magic_cmd=$lt_file_magic_cmd
   19095 
   19096 # Flag that allows shared libraries with undefined symbols to be built.
   19097 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19098 
   19099 # Flag that forces no undefined symbols.
   19100 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19101 
   19102 # Commands used to finish a libtool library installation in a directory.
   19103 finish_cmds=$lt_finish_cmds
   19104 
   19105 # Same as above, but a single script fragment to be evaled but not shown.
   19106 finish_eval=$lt_finish_eval
   19107 
   19108 # Take the output of nm and produce a listing of raw symbols and C names.
   19109 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19110 
   19111 # Transform the output of nm in a proper C declaration
   19112 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19113 
   19114 # Transform the output of nm in a C name address pair
   19115 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19116 
   19117 # This is the shared library runtime path variable.
   19118 runpath_var=$runpath_var
   19119 
   19120 # This is the shared library path variable.
   19121 shlibpath_var=$shlibpath_var
   19122 
   19123 # Is shlibpath searched before the hard-coded library search path?
   19124 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19125 
   19126 # How to hardcode a shared library path into an executable.
   19127 hardcode_action=$hardcode_action_GCJ
   19128 
   19129 # Whether we should hardcode library paths into libraries.
   19130 hardcode_into_libs=$hardcode_into_libs
   19131 
   19132 # Flag to hardcode \$libdir into a binary during linking.
   19133 # This must work even if \$libdir does not exist.
   19134 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19135 
   19136 # If ld is used when linking, flag to hardcode \$libdir into
   19137 # a binary during linking. This must work even if \$libdir does
   19138 # not exist.
   19139 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19140 
   19141 # Whether we need a single -rpath flag with a separated argument.
   19142 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19143 
   19144 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19145 # resulting binary.
   19146 hardcode_direct=$hardcode_direct_GCJ
   19147 
   19148 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19149 # resulting binary.
   19150 hardcode_minus_L=$hardcode_minus_L_GCJ
   19151 
   19152 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19153 # the resulting binary.
   19154 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19155 
   19156 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19157 # and all subsequent libraries and executables linked against it.
   19158 hardcode_automatic=$hardcode_automatic_GCJ
   19159 
   19160 # Variables whose values should be saved in libtool wrapper scripts and
   19161 # restored at relink time.
   19162 variables_saved_for_relink="$variables_saved_for_relink"
   19163 
   19164 # Whether libtool must link a program against all its dependency libraries.
   19165 link_all_deplibs=$link_all_deplibs_GCJ
   19166 
   19167 # Compile-time system search path for libraries
   19168 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19169 
   19170 # Run-time system search path for libraries
   19171 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19172 
   19173 # Fix the shell variable \$srcfile for the compiler.
   19174 fix_srcfile_path="$fix_srcfile_path_GCJ"
   19175 
   19176 # Set to yes if exported symbols are required.
   19177 always_export_symbols=$always_export_symbols_GCJ
   19178 
   19179 # The commands to list exported symbols.
   19180 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19181 
   19182 # The commands to extract the exported symbol list from a shared archive.
   19183 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19184 
   19185 # Symbols that should not be listed in the preloaded symbols.
   19186 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19187 
   19188 # Symbols that must always be exported.
   19189 include_expsyms=$lt_include_expsyms_GCJ
   19190 
   19191 # ### END LIBTOOL TAG CONFIG: $tagname
   19192 
   19193 __EOF__
   19194 
   19195 
   19196 else
   19197   # If there is no Makefile yet, we rely on a make rule to execute
   19198   # `config.status --recheck' to rerun these tests and create the
   19199   # libtool script then.
   19200   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19201   if test -f "$ltmain_in"; then
   19202     test -f Makefile && make "$ltmain"
   19203   fi
   19204 fi
   19205 
   19206 
   19207 ac_ext=c
   19208 ac_cpp='$CPP $CPPFLAGS'
   19209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19212 
   19213 CC="$lt_save_CC"
   19214 
   19215 	else
   19216 	  tagname=""
   19217 	fi
   19218 	;;
   19219 
   19220       RC)
   19221 
   19222 
   19223 # Source file extension for RC test sources.
   19224 ac_ext=rc
   19225 
   19226 # Object file extension for compiled RC test sources.
   19227 objext=o
   19228 objext_RC=$objext
   19229 
   19230 # Code to be used in simple compile tests
   19231 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   19232 
   19233 # Code to be used in simple link tests
   19234 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19235 
   19236 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19237 
   19238 # If no C compiler was specified, use CC.
   19239 LTCC=${LTCC-"$CC"}
   19240 
   19241 # If no C compiler flags were specified, use CFLAGS.
   19242 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19243 
   19244 # Allow CC to be a program name with arguments.
   19245 compiler=$CC
   19246 
   19247 
   19248 # save warnings/boilerplate of simple test code
   19249 ac_outfile=conftest.$ac_objext
   19250 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   19251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19252 _lt_compiler_boilerplate=`cat conftest.err`
   19253 $rm conftest*
   19254 
   19255 ac_outfile=conftest.$ac_objext
   19256 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   19257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19258 _lt_linker_boilerplate=`cat conftest.err`
   19259 $rm conftest*
   19260 
   19261 
   19262 # Allow CC to be a program name with arguments.
   19263 lt_save_CC="$CC"
   19264 CC=${RC-"windres"}
   19265 compiler=$CC
   19266 compiler_RC=$CC
   19267 for cc_temp in $compiler""; do
   19268   case $cc_temp in
   19269     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19270     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19271     \-*) ;;
   19272     *) break;;
   19273   esac
   19274 done
   19275 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19276 
   19277 lt_cv_prog_compiler_c_o_RC=yes
   19278 
   19279 # The else clause should only fire when bootstrapping the
   19280 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19281 # with your package, and you will get complaints that there are
   19282 # no rules to generate ltmain.sh.
   19283 if test -f "$ltmain"; then
   19284   # See if we are running on zsh, and set the options which allow our commands through
   19285   # without removal of \ escapes.
   19286   if test -n "${ZSH_VERSION+set}" ; then
   19287     setopt NO_GLOB_SUBST
   19288   fi
   19289   # Now quote all the things that may contain metacharacters while being
   19290   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19291   # variables and quote the copies for generation of the libtool script.
   19292   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19293     SED SHELL STRIP \
   19294     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19295     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19296     deplibs_check_method reload_flag reload_cmds need_locks \
   19297     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19298     lt_cv_sys_global_symbol_to_c_name_address \
   19299     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19300     old_postinstall_cmds old_postuninstall_cmds \
   19301     compiler_RC \
   19302     CC_RC \
   19303     LD_RC \
   19304     lt_prog_compiler_wl_RC \
   19305     lt_prog_compiler_pic_RC \
   19306     lt_prog_compiler_static_RC \
   19307     lt_prog_compiler_no_builtin_flag_RC \
   19308     export_dynamic_flag_spec_RC \
   19309     thread_safe_flag_spec_RC \
   19310     whole_archive_flag_spec_RC \
   19311     enable_shared_with_static_runtimes_RC \
   19312     old_archive_cmds_RC \
   19313     old_archive_from_new_cmds_RC \
   19314     predep_objects_RC \
   19315     postdep_objects_RC \
   19316     predeps_RC \
   19317     postdeps_RC \
   19318     compiler_lib_search_path_RC \
   19319     archive_cmds_RC \
   19320     archive_expsym_cmds_RC \
   19321     postinstall_cmds_RC \
   19322     postuninstall_cmds_RC \
   19323     old_archive_from_expsyms_cmds_RC \
   19324     allow_undefined_flag_RC \
   19325     no_undefined_flag_RC \
   19326     export_symbols_cmds_RC \
   19327     hardcode_libdir_flag_spec_RC \
   19328     hardcode_libdir_flag_spec_ld_RC \
   19329     hardcode_libdir_separator_RC \
   19330     hardcode_automatic_RC \
   19331     module_cmds_RC \
   19332     module_expsym_cmds_RC \
   19333     lt_cv_prog_compiler_c_o_RC \
   19334     exclude_expsyms_RC \
   19335     include_expsyms_RC; do
   19336 
   19337     case $var in
   19338     old_archive_cmds_RC | \
   19339     old_archive_from_new_cmds_RC | \
   19340     archive_cmds_RC | \
   19341     archive_expsym_cmds_RC | \
   19342     module_cmds_RC | \
   19343     module_expsym_cmds_RC | \
   19344     old_archive_from_expsyms_cmds_RC | \
   19345     export_symbols_cmds_RC | \
   19346     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19347     postinstall_cmds | postuninstall_cmds | \
   19348     old_postinstall_cmds | old_postuninstall_cmds | \
   19349     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19350       # Double-quote double-evaled strings.
   19351       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19352       ;;
   19353     *)
   19354       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19355       ;;
   19356     esac
   19357   done
   19358 
   19359   case $lt_echo in
   19360   *'\$0 --fallback-echo"')
   19361     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19362     ;;
   19363   esac
   19364 
   19365 cfgfile="$ofile"
   19366 
   19367   cat <<__EOF__ >> "$cfgfile"
   19368 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19369 
   19370 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19371 
   19372 # Shell to use when invoking shell scripts.
   19373 SHELL=$lt_SHELL
   19374 
   19375 # Whether or not to build shared libraries.
   19376 build_libtool_libs=$enable_shared
   19377 
   19378 # Whether or not to build static libraries.
   19379 build_old_libs=$enable_static
   19380 
   19381 # Whether or not to add -lc for building shared libraries.
   19382 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19383 
   19384 # Whether or not to disallow shared libs when runtime libs are static
   19385 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19386 
   19387 # Whether or not to optimize for fast installation.
   19388 fast_install=$enable_fast_install
   19389 
   19390 # The host system.
   19391 host_alias=$host_alias
   19392 host=$host
   19393 host_os=$host_os
   19394 
   19395 # The build system.
   19396 build_alias=$build_alias
   19397 build=$build
   19398 build_os=$build_os
   19399 
   19400 # An echo program that does not interpret backslashes.
   19401 echo=$lt_echo
   19402 
   19403 # The archiver.
   19404 AR=$lt_AR
   19405 AR_FLAGS=$lt_AR_FLAGS
   19406 
   19407 # A C compiler.
   19408 LTCC=$lt_LTCC
   19409 
   19410 # LTCC compiler flags.
   19411 LTCFLAGS=$lt_LTCFLAGS
   19412 
   19413 # A language-specific compiler.
   19414 CC=$lt_compiler_RC
   19415 
   19416 # Is the compiler the GNU C compiler?
   19417 with_gcc=$GCC_RC
   19418 
   19419 # An ERE matcher.
   19420 EGREP=$lt_EGREP
   19421 
   19422 # The linker used to build libraries.
   19423 LD=$lt_LD_RC
   19424 
   19425 # Whether we need hard or soft links.
   19426 LN_S=$lt_LN_S
   19427 
   19428 # A BSD-compatible nm program.
   19429 NM=$lt_NM
   19430 
   19431 # A symbol stripping program
   19432 STRIP=$lt_STRIP
   19433 
   19434 # Used to examine libraries when file_magic_cmd begins "file"
   19435 MAGIC_CMD=$MAGIC_CMD
   19436 
   19437 # Used on cygwin: DLL creation program.
   19438 DLLTOOL="$DLLTOOL"
   19439 
   19440 # Used on cygwin: object dumper.
   19441 OBJDUMP="$OBJDUMP"
   19442 
   19443 # Used on cygwin: assembler.
   19444 AS="$AS"
   19445 
   19446 # The name of the directory that contains temporary libtool files.
   19447 objdir=$objdir
   19448 
   19449 # How to create reloadable object files.
   19450 reload_flag=$lt_reload_flag
   19451 reload_cmds=$lt_reload_cmds
   19452 
   19453 # How to pass a linker flag through the compiler.
   19454 wl=$lt_lt_prog_compiler_wl_RC
   19455 
   19456 # Object file suffix (normally "o").
   19457 objext="$ac_objext"
   19458 
   19459 # Old archive suffix (normally "a").
   19460 libext="$libext"
   19461 
   19462 # Shared library suffix (normally ".so").
   19463 shrext_cmds='$shrext_cmds'
   19464 
   19465 # Executable file suffix (normally "").
   19466 exeext="$exeext"
   19467 
   19468 # Additional compiler flags for building library objects.
   19469 pic_flag=$lt_lt_prog_compiler_pic_RC
   19470 pic_mode=$pic_mode
   19471 
   19472 # What is the maximum length of a command?
   19473 max_cmd_len=$lt_cv_sys_max_cmd_len
   19474 
   19475 # Does compiler simultaneously support -c and -o options?
   19476 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19477 
   19478 # Must we lock files when doing compilation?
   19479 need_locks=$lt_need_locks
   19480 
   19481 # Do we need the lib prefix for modules?
   19482 need_lib_prefix=$need_lib_prefix
   19483 
   19484 # Do we need a version for libraries?
   19485 need_version=$need_version
   19486 
   19487 # Whether dlopen is supported.
   19488 dlopen_support=$enable_dlopen
   19489 
   19490 # Whether dlopen of programs is supported.
   19491 dlopen_self=$enable_dlopen_self
   19492 
   19493 # Whether dlopen of statically linked programs is supported.
   19494 dlopen_self_static=$enable_dlopen_self_static
   19495 
   19496 # Compiler flag to prevent dynamic linking.
   19497 link_static_flag=$lt_lt_prog_compiler_static_RC
   19498 
   19499 # Compiler flag to turn off builtin functions.
   19500 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19501 
   19502 # Compiler flag to allow reflexive dlopens.
   19503 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19504 
   19505 # Compiler flag to generate shared objects directly from archives.
   19506 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19507 
   19508 # Compiler flag to generate thread-safe objects.
   19509 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19510 
   19511 # Library versioning type.
   19512 version_type=$version_type
   19513 
   19514 # Format of library name prefix.
   19515 libname_spec=$lt_libname_spec
   19516 
   19517 # List of archive names.  First name is the real one, the rest are links.
   19518 # The last name is the one that the linker finds with -lNAME.
   19519 library_names_spec=$lt_library_names_spec
   19520 
   19521 # The coded name of the library, if different from the real name.
   19522 soname_spec=$lt_soname_spec
   19523 
   19524 # Commands used to build and install an old-style archive.
   19525 RANLIB=$lt_RANLIB
   19526 old_archive_cmds=$lt_old_archive_cmds_RC
   19527 old_postinstall_cmds=$lt_old_postinstall_cmds
   19528 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19529 
   19530 # Create an old-style archive from a shared archive.
   19531 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19532 
   19533 # Create a temporary old-style archive to link instead of a shared archive.
   19534 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19535 
   19536 # Commands used to build and install a shared archive.
   19537 archive_cmds=$lt_archive_cmds_RC
   19538 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19539 postinstall_cmds=$lt_postinstall_cmds
   19540 postuninstall_cmds=$lt_postuninstall_cmds
   19541 
   19542 # Commands used to build a loadable module (assumed same as above if empty)
   19543 module_cmds=$lt_module_cmds_RC
   19544 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19545 
   19546 # Commands to strip libraries.
   19547 old_striplib=$lt_old_striplib
   19548 striplib=$lt_striplib
   19549 
   19550 # Dependencies to place before the objects being linked to create a
   19551 # shared library.
   19552 predep_objects=$lt_predep_objects_RC
   19553 
   19554 # Dependencies to place after the objects being linked to create a
   19555 # shared library.
   19556 postdep_objects=$lt_postdep_objects_RC
   19557 
   19558 # Dependencies to place before the objects being linked to create a
   19559 # shared library.
   19560 predeps=$lt_predeps_RC
   19561 
   19562 # Dependencies to place after the objects being linked to create a
   19563 # shared library.
   19564 postdeps=$lt_postdeps_RC
   19565 
   19566 # The library search path used internally by the compiler when linking
   19567 # a shared library.
   19568 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19569 
   19570 # Method to check whether dependent libraries are shared objects.
   19571 deplibs_check_method=$lt_deplibs_check_method
   19572 
   19573 # Command to use when deplibs_check_method == file_magic.
   19574 file_magic_cmd=$lt_file_magic_cmd
   19575 
   19576 # Flag that allows shared libraries with undefined symbols to be built.
   19577 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19578 
   19579 # Flag that forces no undefined symbols.
   19580 no_undefined_flag=$lt_no_undefined_flag_RC
   19581 
   19582 # Commands used to finish a libtool library installation in a directory.
   19583 finish_cmds=$lt_finish_cmds
   19584 
   19585 # Same as above, but a single script fragment to be evaled but not shown.
   19586 finish_eval=$lt_finish_eval
   19587 
   19588 # Take the output of nm and produce a listing of raw symbols and C names.
   19589 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19590 
   19591 # Transform the output of nm in a proper C declaration
   19592 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19593 
   19594 # Transform the output of nm in a C name address pair
   19595 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19596 
   19597 # This is the shared library runtime path variable.
   19598 runpath_var=$runpath_var
   19599 
   19600 # This is the shared library path variable.
   19601 shlibpath_var=$shlibpath_var
   19602 
   19603 # Is shlibpath searched before the hard-coded library search path?
   19604 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19605 
   19606 # How to hardcode a shared library path into an executable.
   19607 hardcode_action=$hardcode_action_RC
   19608 
   19609 # Whether we should hardcode library paths into libraries.
   19610 hardcode_into_libs=$hardcode_into_libs
   19611 
   19612 # Flag to hardcode \$libdir into a binary during linking.
   19613 # This must work even if \$libdir does not exist.
   19614 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19615 
   19616 # If ld is used when linking, flag to hardcode \$libdir into
   19617 # a binary during linking. This must work even if \$libdir does
   19618 # not exist.
   19619 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19620 
   19621 # Whether we need a single -rpath flag with a separated argument.
   19622 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19623 
   19624 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19625 # resulting binary.
   19626 hardcode_direct=$hardcode_direct_RC
   19627 
   19628 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19629 # resulting binary.
   19630 hardcode_minus_L=$hardcode_minus_L_RC
   19631 
   19632 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19633 # the resulting binary.
   19634 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19635 
   19636 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19637 # and all subsequent libraries and executables linked against it.
   19638 hardcode_automatic=$hardcode_automatic_RC
   19639 
   19640 # Variables whose values should be saved in libtool wrapper scripts and
   19641 # restored at relink time.
   19642 variables_saved_for_relink="$variables_saved_for_relink"
   19643 
   19644 # Whether libtool must link a program against all its dependency libraries.
   19645 link_all_deplibs=$link_all_deplibs_RC
   19646 
   19647 # Compile-time system search path for libraries
   19648 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19649 
   19650 # Run-time system search path for libraries
   19651 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19652 
   19653 # Fix the shell variable \$srcfile for the compiler.
   19654 fix_srcfile_path="$fix_srcfile_path_RC"
   19655 
   19656 # Set to yes if exported symbols are required.
   19657 always_export_symbols=$always_export_symbols_RC
   19658 
   19659 # The commands to list exported symbols.
   19660 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19661 
   19662 # The commands to extract the exported symbol list from a shared archive.
   19663 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19664 
   19665 # Symbols that should not be listed in the preloaded symbols.
   19666 exclude_expsyms=$lt_exclude_expsyms_RC
   19667 
   19668 # Symbols that must always be exported.
   19669 include_expsyms=$lt_include_expsyms_RC
   19670 
   19671 # ### END LIBTOOL TAG CONFIG: $tagname
   19672 
   19673 __EOF__
   19674 
   19675 
   19676 else
   19677   # If there is no Makefile yet, we rely on a make rule to execute
   19678   # `config.status --recheck' to rerun these tests and create the
   19679   # libtool script then.
   19680   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19681   if test -f "$ltmain_in"; then
   19682     test -f Makefile && make "$ltmain"
   19683   fi
   19684 fi
   19685 
   19686 
   19687 ac_ext=c
   19688 ac_cpp='$CPP $CPPFLAGS'
   19689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19692 
   19693 CC="$lt_save_CC"
   19694 
   19695 	;;
   19696 
   19697       *)
   19698 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19699 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19700    { (exit 1); exit 1; }; }
   19701 	;;
   19702       esac
   19703 
   19704       # Append the new tag name to the list of available tags.
   19705       if test -n "$tagname" ; then
   19706       available_tags="$available_tags $tagname"
   19707     fi
   19708     fi
   19709   done
   19710   IFS="$lt_save_ifs"
   19711 
   19712   # Now substitute the updated list of available tags.
   19713   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19714     mv "${ofile}T" "$ofile"
   19715     chmod +x "$ofile"
   19716   else
   19717     rm -f "${ofile}T"
   19718     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19719 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19720    { (exit 1); exit 1; }; }
   19721   fi
   19722 fi
   19723 
   19724 
   19725 
   19726 # This can be used to rebuild libtool when needed
   19727 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19728 
   19729 # Always use our own libtool.
   19730 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19731 
   19732 # Prevent multiple expansion
   19733 
   19734 
   19735 
   19736 
   19737 
   19738 
   19739 
   19740 
   19741 
   19742 
   19743 
   19744 
   19745 
   19746 
   19747 
   19748 
   19749 
   19750 
   19751 
   19752 
   19753 
   19754 
   19755 
   19756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19757 	if test -n "$ac_tool_prefix"; then
   19758   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19763   echo $ECHO_N "(cached) $ECHO_C" >&6
   19764 else
   19765   case $PKG_CONFIG in
   19766   [\\/]* | ?:[\\/]*)
   19767   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19768   ;;
   19769   *)
   19770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19771 for as_dir in $PATH
   19772 do
   19773   IFS=$as_save_IFS
   19774   test -z "$as_dir" && as_dir=.
   19775   for ac_exec_ext in '' $ac_executable_extensions; do
   19776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   19777     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19778     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19779     break 2
   19780   fi
   19781 done
   19782 done
   19783 IFS=$as_save_IFS
   19784 
   19785   ;;
   19786 esac
   19787 fi
   19788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19789 if test -n "$PKG_CONFIG"; then
   19790   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19791 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   19792 else
   19793   { echo "$as_me:$LINENO: result: no" >&5
   19794 echo "${ECHO_T}no" >&6; }
   19795 fi
   19796 
   19797 
   19798 fi
   19799 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19800   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19801   # Extract the first word of "pkg-config", so it can be a program name with args.
   19802 set dummy pkg-config; ac_word=$2
   19803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19805 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19806   echo $ECHO_N "(cached) $ECHO_C" >&6
   19807 else
   19808   case $ac_pt_PKG_CONFIG in
   19809   [\\/]* | ?:[\\/]*)
   19810   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19811   ;;
   19812   *)
   19813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19814 for as_dir in $PATH
   19815 do
   19816   IFS=$as_save_IFS
   19817   test -z "$as_dir" && as_dir=.
   19818   for ac_exec_ext in '' $ac_executable_extensions; do
   19819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   19820     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19821     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19822     break 2
   19823   fi
   19824 done
   19825 done
   19826 IFS=$as_save_IFS
   19827 
   19828   ;;
   19829 esac
   19830 fi
   19831 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19832 if test -n "$ac_pt_PKG_CONFIG"; then
   19833   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19834 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   19835 else
   19836   { echo "$as_me:$LINENO: result: no" >&5
   19837 echo "${ECHO_T}no" >&6; }
   19838 fi
   19839 
   19840   if test "x$ac_pt_PKG_CONFIG" = x; then
   19841     PKG_CONFIG=""
   19842   else
   19843     case $cross_compiling:$ac_tool_warned in
   19844 yes:)
   19845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19846 whose name does not start with the host triplet.  If you think this
   19847 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19849 whose name does not start with the host triplet.  If you think this
   19850 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19851 ac_tool_warned=yes ;;
   19852 esac
   19853     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19854   fi
   19855 else
   19856   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19857 fi
   19858 
   19859 fi
   19860 if test -n "$PKG_CONFIG"; then
   19861 	_pkg_min_version=0.9.0
   19862 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19863 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   19864 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19865 		{ echo "$as_me:$LINENO: result: yes" >&5
   19866 echo "${ECHO_T}yes" >&6; }
   19867 	else
   19868 		{ echo "$as_me:$LINENO: result: no" >&5
   19869 echo "${ECHO_T}no" >&6; }
   19870 		PKG_CONFIG=""
   19871 	fi
   19872 
   19873 fi
   19874 
   19875 pkg_failed=no
   19876 { echo "$as_me:$LINENO: checking for XT" >&5
   19877 echo $ECHO_N "checking for XT... $ECHO_C" >&6; }
   19878 
   19879 if test -n "$PKG_CONFIG"; then
   19880         if test -n "$PKG_CONFIG" && \
   19881     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sm x11 xproto kbproto\"") >&5
   19882   ($PKG_CONFIG --exists --print-errors "sm x11 xproto kbproto") 2>&5
   19883   ac_status=$?
   19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19885   (exit $ac_status); }; then
   19886   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "sm x11 xproto kbproto" 2>/dev/null`
   19887 else
   19888   pkg_failed=yes
   19889 fi
   19890 else
   19891 	pkg_failed=untried
   19892 fi
   19893 if test -n "$PKG_CONFIG"; then
   19894         if test -n "$PKG_CONFIG" && \
   19895     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sm x11 xproto kbproto\"") >&5
   19896   ($PKG_CONFIG --exists --print-errors "sm x11 xproto kbproto") 2>&5
   19897   ac_status=$?
   19898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19899   (exit $ac_status); }; then
   19900   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "sm x11 xproto kbproto" 2>/dev/null`
   19901 else
   19902   pkg_failed=yes
   19903 fi
   19904 else
   19905 	pkg_failed=untried
   19906 fi
   19907 
   19908 if test $pkg_failed = yes; then
   19909 	XT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sm x11 xproto kbproto"`
   19910 	# Put the nasty error message in config.log where it belongs
   19911 	echo "$XT_PKG_ERRORS" 1>&5
   19912 
   19913 	{ { echo "$as_me:$LINENO: error: Package requirements (sm x11 xproto kbproto) were not met.
   19914 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19915 installed software in a non-standard prefix.
   19916 
   19917 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   19918 to avoid the need to call pkg-config.  See the pkg-config man page for
   19919 more details." >&5
   19920 echo "$as_me: error: Package requirements (sm x11 xproto kbproto) were not met.
   19921 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19922 installed software in a non-standard prefix.
   19923 
   19924 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   19925 to avoid the need to call pkg-config.  See the pkg-config man page for
   19926 more details." >&2;}
   19927    { (exit 1); exit 1; }; }
   19928 elif test $pkg_failed = untried; then
   19929 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19930 is in your PATH or set the PKG_CONFIG environment variable to the full
   19931 path to pkg-config.
   19932 
   19933 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   19934 to avoid the need to call pkg-config.  See the pkg-config man page for
   19935 more details.
   19936 
   19937 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19938 See \`config.log' for more details." >&5
   19939 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19940 is in your PATH or set the PKG_CONFIG environment variable to the full
   19941 path to pkg-config.
   19942 
   19943 Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
   19944 to avoid the need to call pkg-config.  See the pkg-config man page for
   19945 more details.
   19946 
   19947 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19948 See \`config.log' for more details." >&2;}
   19949    { (exit 1); exit 1; }; }
   19950 else
   19951 	XT_CFLAGS=$pkg_cv_XT_CFLAGS
   19952 	XT_LIBS=$pkg_cv_XT_LIBS
   19953         { echo "$as_me:$LINENO: result: yes" >&5
   19954 echo "${ECHO_T}yes" >&6; }
   19955 	:
   19956 fi
   19957 
   19958 # Needed for including Xalloca.h
   19959 if test "${ac_cv_header_alloca_h+set}" = set; then
   19960   { echo "$as_me:$LINENO: checking for alloca.h" >&5
   19961 echo $ECHO_N "checking for alloca.h... $ECHO_C" >&6; }
   19962 if test "${ac_cv_header_alloca_h+set}" = set; then
   19963   echo $ECHO_N "(cached) $ECHO_C" >&6
   19964 fi
   19965 { echo "$as_me:$LINENO: result: $ac_cv_header_alloca_h" >&5
   19966 echo "${ECHO_T}$ac_cv_header_alloca_h" >&6; }
   19967 else
   19968   # Is the header compilable?
   19969 { echo "$as_me:$LINENO: checking alloca.h usability" >&5
   19970 echo $ECHO_N "checking alloca.h usability... $ECHO_C" >&6; }
   19971 cat >conftest.$ac_ext <<_ACEOF
   19972 /* confdefs.h.  */
   19973 _ACEOF
   19974 cat confdefs.h >>conftest.$ac_ext
   19975 cat >>conftest.$ac_ext <<_ACEOF
   19976 /* end confdefs.h.  */
   19977 $ac_includes_default
   19978 #include <alloca.h>
   19979 _ACEOF
   19980 rm -f conftest.$ac_objext
   19981 if { (ac_try="$ac_compile"
   19982 case "(($ac_try" in
   19983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19984   *) ac_try_echo=$ac_try;;
   19985 esac
   19986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19987   (eval "$ac_compile") 2>conftest.er1
   19988   ac_status=$?
   19989   grep -v '^ *+' conftest.er1 >conftest.err
   19990   rm -f conftest.er1
   19991   cat conftest.err >&5
   19992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19993   (exit $ac_status); } &&
   19994 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   19995   { (case "(($ac_try" in
   19996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19997   *) ac_try_echo=$ac_try;;
   19998 esac
   19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20000   (eval "$ac_try") 2>&5
   20001   ac_status=$?
   20002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20003   (exit $ac_status); }; } &&
   20004 	 { ac_try='test -s conftest.$ac_objext'
   20005   { (case "(($ac_try" in
   20006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20007   *) ac_try_echo=$ac_try;;
   20008 esac
   20009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20010   (eval "$ac_try") 2>&5
   20011   ac_status=$?
   20012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20013   (exit $ac_status); }; }; then
   20014   ac_header_compiler=yes
   20015 else
   20016   echo "$as_me: failed program was:" >&5
   20017 sed 's/^/| /' conftest.$ac_ext >&5
   20018 
   20019 	ac_header_compiler=no
   20020 fi
   20021 
   20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20023 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20024 echo "${ECHO_T}$ac_header_compiler" >&6; }
   20025 
   20026 # Is the header present?
   20027 { echo "$as_me:$LINENO: checking alloca.h presence" >&5
   20028 echo $ECHO_N "checking alloca.h presence... $ECHO_C" >&6; }
   20029 cat >conftest.$ac_ext <<_ACEOF
   20030 /* confdefs.h.  */
   20031 _ACEOF
   20032 cat confdefs.h >>conftest.$ac_ext
   20033 cat >>conftest.$ac_ext <<_ACEOF
   20034 /* end confdefs.h.  */
   20035 #include <alloca.h>
   20036 _ACEOF
   20037 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20038 case "(($ac_try" in
   20039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20040   *) ac_try_echo=$ac_try;;
   20041 esac
   20042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20043   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20044   ac_status=$?
   20045   grep -v '^ *+' conftest.er1 >conftest.err
   20046   rm -f conftest.er1
   20047   cat conftest.err >&5
   20048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20049   (exit $ac_status); } >/dev/null; then
   20050   if test -s conftest.err; then
   20051     ac_cpp_err=$ac_c_preproc_warn_flag
   20052     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   20053   else
   20054     ac_cpp_err=
   20055   fi
   20056 else
   20057   ac_cpp_err=yes
   20058 fi
   20059 if test -z "$ac_cpp_err"; then
   20060   ac_header_preproc=yes
   20061 else
   20062   echo "$as_me: failed program was:" >&5
   20063 sed 's/^/| /' conftest.$ac_ext >&5
   20064 
   20065   ac_header_preproc=no
   20066 fi
   20067 
   20068 rm -f conftest.err conftest.$ac_ext
   20069 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20070 echo "${ECHO_T}$ac_header_preproc" >&6; }
   20071 
   20072 # So?  What about this header?
   20073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20074   yes:no: )
   20075     { echo "$as_me:$LINENO: WARNING: alloca.h: accepted by the compiler, rejected by the preprocessor!" >&5
   20076 echo "$as_me: WARNING: alloca.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20077     { echo "$as_me:$LINENO: WARNING: alloca.h: proceeding with the compiler's result" >&5
   20078 echo "$as_me: WARNING: alloca.h: proceeding with the compiler's result" >&2;}
   20079     ac_header_preproc=yes
   20080     ;;
   20081   no:yes:* )
   20082     { echo "$as_me:$LINENO: WARNING: alloca.h: present but cannot be compiled" >&5
   20083 echo "$as_me: WARNING: alloca.h: present but cannot be compiled" >&2;}
   20084     { echo "$as_me:$LINENO: WARNING: alloca.h:     check for missing prerequisite headers?" >&5
   20085 echo "$as_me: WARNING: alloca.h:     check for missing prerequisite headers?" >&2;}
   20086     { echo "$as_me:$LINENO: WARNING: alloca.h: see the Autoconf documentation" >&5
   20087 echo "$as_me: WARNING: alloca.h: see the Autoconf documentation" >&2;}
   20088     { echo "$as_me:$LINENO: WARNING: alloca.h:     section \"Present But Cannot Be Compiled\"" >&5
   20089 echo "$as_me: WARNING: alloca.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   20090     { echo "$as_me:$LINENO: WARNING: alloca.h: proceeding with the preprocessor's result" >&5
   20091 echo "$as_me: WARNING: alloca.h: proceeding with the preprocessor's result" >&2;}
   20092     { echo "$as_me:$LINENO: WARNING: alloca.h: in the future, the compiler will take precedence" >&5
   20093 echo "$as_me: WARNING: alloca.h: in the future, the compiler will take precedence" >&2;}
   20094     ( cat <<\_ASBOX
   20095 ## ---------------------------------------------------------------------- ##
   20096 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   20097 ## ---------------------------------------------------------------------- ##
   20098 _ASBOX
   20099      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20100     ;;
   20101 esac
   20102 { echo "$as_me:$LINENO: checking for alloca.h" >&5
   20103 echo $ECHO_N "checking for alloca.h... $ECHO_C" >&6; }
   20104 if test "${ac_cv_header_alloca_h+set}" = set; then
   20105   echo $ECHO_N "(cached) $ECHO_C" >&6
   20106 else
   20107   ac_cv_header_alloca_h=$ac_header_preproc
   20108 fi
   20109 { echo "$as_me:$LINENO: result: $ac_cv_header_alloca_h" >&5
   20110 echo "${ECHO_T}$ac_cv_header_alloca_h" >&6; }
   20111 
   20112 fi
   20113 if test $ac_cv_header_alloca_h = yes; then
   20114 
   20115 cat >>confdefs.h <<\_ACEOF
   20116 #define INCLUDE_ALLOCA_H 1
   20117 _ACEOF
   20118 
   20119 fi
   20120 
   20121 
   20122 
   20123 # Map function checks to old Imake #defines
   20124 { echo "$as_me:$LINENO: checking for poll" >&5
   20125 echo $ECHO_N "checking for poll... $ECHO_C" >&6; }
   20126 if test "${ac_cv_func_poll+set}" = set; then
   20127   echo $ECHO_N "(cached) $ECHO_C" >&6
   20128 else
   20129   cat >conftest.$ac_ext <<_ACEOF
   20130 /* confdefs.h.  */
   20131 _ACEOF
   20132 cat confdefs.h >>conftest.$ac_ext
   20133 cat >>conftest.$ac_ext <<_ACEOF
   20134 /* end confdefs.h.  */
   20135 /* Define poll to an innocuous variant, in case <limits.h> declares poll.
   20136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20137 #define poll innocuous_poll
   20138 
   20139 /* System header to define __stub macros and hopefully few prototypes,
   20140     which can conflict with char poll (); below.
   20141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20142     <limits.h> exists even on freestanding compilers.  */
   20143 
   20144 #ifdef __STDC__
   20145 # include <limits.h>
   20146 #else
   20147 # include <assert.h>
   20148 #endif
   20149 
   20150 #undef poll
   20151 
   20152 /* Override any GCC internal prototype to avoid an error.
   20153    Use char because int might match the return type of a GCC
   20154    builtin and then its argument prototype would still apply.  */
   20155 #ifdef __cplusplus
   20156 extern "C"
   20157 #endif
   20158 char poll ();
   20159 /* The GNU C library defines this for functions which it implements
   20160     to always fail with ENOSYS.  Some functions are actually named
   20161     something starting with __ and the normal name is an alias.  */
   20162 #if defined __stub_poll || defined __stub___poll
   20163 choke me
   20164 #endif
   20165 
   20166 int
   20167 main ()
   20168 {
   20169 return poll ();
   20170   ;
   20171   return 0;
   20172 }
   20173 _ACEOF
   20174 rm -f conftest.$ac_objext conftest$ac_exeext
   20175 if { (ac_try="$ac_link"
   20176 case "(($ac_try" in
   20177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20178   *) ac_try_echo=$ac_try;;
   20179 esac
   20180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20181   (eval "$ac_link") 2>conftest.er1
   20182   ac_status=$?
   20183   grep -v '^ *+' conftest.er1 >conftest.err
   20184   rm -f conftest.er1
   20185   cat conftest.err >&5
   20186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20187   (exit $ac_status); } &&
   20188 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20189   { (case "(($ac_try" in
   20190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20191   *) ac_try_echo=$ac_try;;
   20192 esac
   20193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20194   (eval "$ac_try") 2>&5
   20195   ac_status=$?
   20196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20197   (exit $ac_status); }; } &&
   20198 	 { ac_try='test -s conftest$ac_exeext'
   20199   { (case "(($ac_try" in
   20200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20201   *) ac_try_echo=$ac_try;;
   20202 esac
   20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20204   (eval "$ac_try") 2>&5
   20205   ac_status=$?
   20206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20207   (exit $ac_status); }; }; then
   20208   ac_cv_func_poll=yes
   20209 else
   20210   echo "$as_me: failed program was:" >&5
   20211 sed 's/^/| /' conftest.$ac_ext >&5
   20212 
   20213 	ac_cv_func_poll=no
   20214 fi
   20215 
   20216 rm -f core conftest.err conftest.$ac_objext \
   20217       conftest$ac_exeext conftest.$ac_ext
   20218 fi
   20219 { echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5
   20220 echo "${ECHO_T}$ac_cv_func_poll" >&6; }
   20221 if test $ac_cv_func_poll = yes; then
   20222 
   20223 cat >>confdefs.h <<\_ACEOF
   20224 #define USE_POLL 1
   20225 _ACEOF
   20226 
   20227 fi
   20228 
   20229 { echo "$as_me:$LINENO: checking for snprintf" >&5
   20230 echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
   20231 if test "${ac_cv_func_snprintf+set}" = set; then
   20232   echo $ECHO_N "(cached) $ECHO_C" >&6
   20233 else
   20234   cat >conftest.$ac_ext <<_ACEOF
   20235 /* confdefs.h.  */
   20236 _ACEOF
   20237 cat confdefs.h >>conftest.$ac_ext
   20238 cat >>conftest.$ac_ext <<_ACEOF
   20239 /* end confdefs.h.  */
   20240 /* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
   20241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20242 #define snprintf innocuous_snprintf
   20243 
   20244 /* System header to define __stub macros and hopefully few prototypes,
   20245     which can conflict with char snprintf (); below.
   20246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20247     <limits.h> exists even on freestanding compilers.  */
   20248 
   20249 #ifdef __STDC__
   20250 # include <limits.h>
   20251 #else
   20252 # include <assert.h>
   20253 #endif
   20254 
   20255 #undef snprintf
   20256 
   20257 /* Override any GCC internal prototype to avoid an error.
   20258    Use char because int might match the return type of a GCC
   20259    builtin and then its argument prototype would still apply.  */
   20260 #ifdef __cplusplus
   20261 extern "C"
   20262 #endif
   20263 char snprintf ();
   20264 /* The GNU C library defines this for functions which it implements
   20265     to always fail with ENOSYS.  Some functions are actually named
   20266     something starting with __ and the normal name is an alias.  */
   20267 #if defined __stub_snprintf || defined __stub___snprintf
   20268 choke me
   20269 #endif
   20270 
   20271 int
   20272 main ()
   20273 {
   20274 return snprintf ();
   20275   ;
   20276   return 0;
   20277 }
   20278 _ACEOF
   20279 rm -f conftest.$ac_objext conftest$ac_exeext
   20280 if { (ac_try="$ac_link"
   20281 case "(($ac_try" in
   20282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20283   *) ac_try_echo=$ac_try;;
   20284 esac
   20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20286   (eval "$ac_link") 2>conftest.er1
   20287   ac_status=$?
   20288   grep -v '^ *+' conftest.er1 >conftest.err
   20289   rm -f conftest.er1
   20290   cat conftest.err >&5
   20291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20292   (exit $ac_status); } &&
   20293 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20294   { (case "(($ac_try" in
   20295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20296   *) ac_try_echo=$ac_try;;
   20297 esac
   20298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20299   (eval "$ac_try") 2>&5
   20300   ac_status=$?
   20301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20302   (exit $ac_status); }; } &&
   20303 	 { ac_try='test -s conftest$ac_exeext'
   20304   { (case "(($ac_try" in
   20305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20306   *) ac_try_echo=$ac_try;;
   20307 esac
   20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20309   (eval "$ac_try") 2>&5
   20310   ac_status=$?
   20311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20312   (exit $ac_status); }; }; then
   20313   ac_cv_func_snprintf=yes
   20314 else
   20315   echo "$as_me: failed program was:" >&5
   20316 sed 's/^/| /' conftest.$ac_ext >&5
   20317 
   20318 	ac_cv_func_snprintf=no
   20319 fi
   20320 
   20321 rm -f core conftest.err conftest.$ac_objext \
   20322       conftest$ac_exeext conftest.$ac_ext
   20323 fi
   20324 { echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
   20325 echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
   20326 if test $ac_cv_func_snprintf = yes; then
   20327 
   20328 cat >>confdefs.h <<\_ACEOF
   20329 #define USE_SNPRINTF 1
   20330 _ACEOF
   20331 
   20332 fi
   20333 
   20334 
   20335 # Options
   20336 # Check whether --enable-xkb was given.
   20337 if test "${enable_xkb+set}" = set; then
   20338   enableval=$enable_xkb; XKB="$enableval"
   20339 else
   20340   XKB="yes"
   20341 fi
   20342 
   20343 if test "x$XKB" = "xyes" ; then
   20344 
   20345 cat >>confdefs.h <<\_ACEOF
   20346 #define XKB 1
   20347 _ACEOF
   20348 
   20349 fi
   20350 
   20351 # Check whether --enable-install-makestrs was given.
   20352 if test "${enable_install_makestrs+set}" = set; then
   20353   enableval=$enable_install_makestrs; INSTALL_MAKESTRS="$enableval"
   20354 else
   20355   INSTALL_MAKESTRS="yes"
   20356 fi
   20357 
   20358 
   20359 
   20360 if test "x$INSTALL_MAKESTRS" = xyes; then
   20361   INSTALL_MAKESTRS_TRUE=
   20362   INSTALL_MAKESTRS_FALSE='#'
   20363 else
   20364   INSTALL_MAKESTRS_TRUE='#'
   20365   INSTALL_MAKESTRS_FALSE=
   20366 fi
   20367 
   20368 
   20369 # Replaces XFileSearchPathDefault from Imake configs
   20370 XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S'
   20371 
   20372 
   20373 # Check whether --with-xfile-search-path was given.
   20374 if test "${with_xfile_search_path+set}" = set; then
   20375   withval=$with_xfile_search_path; XFILESEARCHPATHDEFAULT="$withval"
   20376 fi
   20377 
   20378 
   20379 
   20380 
   20381 # Check whether --with-appdefaultdir was given.
   20382 if test "${with_appdefaultdir+set}" = set; then
   20383   withval=$with_appdefaultdir; appdefaultdir="$withval"
   20384 else
   20385   appdefaultdir=${datadir}/X11/app-defaults
   20386 fi
   20387 
   20388 
   20389   prefix_NONE=
   20390   exec_prefix_NONE=
   20391   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20392   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20393   eval ac_define_dir="\"$appdefaultdir\""
   20394   eval ac_define_dir="\"$ac_define_dir\""
   20395   appdefaultdir="$ac_define_dir"
   20396 
   20397 
   20398 cat >>confdefs.h <<_ACEOF
   20399 #define appdefaultdir "$ac_define_dir"
   20400 _ACEOF
   20401 
   20402   test "$prefix_NONE" && prefix=NONE
   20403   test "$exec_prefix_NONE" && exec_prefix=NONE
   20404 
   20405 
   20406 # Replacement for Imake ToolkitStringsABIOptions, controls string tables
   20407 # generated by util/string.list in StringDefs.h & Shell.h
   20408 case $host_os in
   20409 	solaris*)
   20410 		case $host_cpu in
   20411 		    sparc*) STRINGSABIOPTIONS="-sparcabi -solarisabinames" ;;
   20412 	   		 *) STRINGSABIOPTIONS="-intelabi -solarisabinames" ;;
   20413 		esac
   20414 		;;
   20415 	sco* | svr4*)
   20416 		case $host_cpu in
   20417 		    i*86) STRINGSABIOPTIONS="-intelabi" ;;
   20418 		       *) STRINGSABIOPTIONS="" ;;
   20419 		esac
   20420 		;;
   20421 esac
   20422 
   20423 
   20424 # Man page processing requirements
   20425 
   20426 
   20427 for ac_prog in cpp
   20428 do
   20429   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20430 set dummy $ac_prog; ac_word=$2
   20431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20433 if test "${ac_cv_path_RAWCPP+set}" = set; then
   20434   echo $ECHO_N "(cached) $ECHO_C" >&6
   20435 else
   20436   case $RAWCPP in
   20437   [\\/]* | ?:[\\/]*)
   20438   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   20439   ;;
   20440   *)
   20441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20442 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   20443 for as_dir in $as_dummy
   20444 do
   20445   IFS=$as_save_IFS
   20446   test -z "$as_dir" && as_dir=.
   20447   for ac_exec_ext in '' $ac_executable_extensions; do
   20448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20449     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   20450     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20451     break 2
   20452   fi
   20453 done
   20454 done
   20455 IFS=$as_save_IFS
   20456 
   20457   ;;
   20458 esac
   20459 fi
   20460 RAWCPP=$ac_cv_path_RAWCPP
   20461 if test -n "$RAWCPP"; then
   20462   { echo "$as_me:$LINENO: result: $RAWCPP" >&5
   20463 echo "${ECHO_T}$RAWCPP" >&6; }
   20464 else
   20465   { echo "$as_me:$LINENO: result: no" >&5
   20466 echo "${ECHO_T}no" >&6; }
   20467 fi
   20468 
   20469 
   20470   test -n "$RAWCPP" && break
   20471 done
   20472 test -n "$RAWCPP" || RAWCPP="${CPP}"
   20473 
   20474 
   20475 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   20476 # which is not the best choice for supporting other OS'es, but covers most
   20477 # of the ones we need for now.
   20478 { echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
   20479 echo $ECHO_N "checking if $RAWCPP requires -undef... $ECHO_C" >&6; }
   20480 cat >conftest.$ac_ext <<_ACEOF
   20481 Does cpp redefine unix ?
   20482 _ACEOF
   20483 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20484 	{ echo "$as_me:$LINENO: result: no" >&5
   20485 echo "${ECHO_T}no" >&6; }
   20486 else
   20487 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20488 		RAWCPPFLAGS=-undef
   20489 		{ echo "$as_me:$LINENO: result: yes" >&5
   20490 echo "${ECHO_T}yes" >&6; }
   20491 	else
   20492 		{ { echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&5
   20493 echo "$as_me: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&2;}
   20494    { (exit 1); exit 1; }; }
   20495 	fi
   20496 fi
   20497 rm -f conftest.$ac_ext
   20498 
   20499 { echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
   20500 echo $ECHO_N "checking if $RAWCPP requires -traditional... $ECHO_C" >&6; }
   20501 cat >conftest.$ac_ext <<_ACEOF
   20502 Does cpp preserve   "whitespace"?
   20503 _ACEOF
   20504 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20505 	{ echo "$as_me:$LINENO: result: no" >&5
   20506 echo "${ECHO_T}no" >&6; }
   20507 else
   20508 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20509 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   20510 		{ echo "$as_me:$LINENO: result: yes" >&5
   20511 echo "${ECHO_T}yes" >&6; }
   20512 	else
   20513 		{ { echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&5
   20514 echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&2;}
   20515    { (exit 1); exit 1; }; }
   20516 	fi
   20517 fi
   20518 rm -f conftest.$ac_ext
   20519 
   20520 
   20521 
   20522 
   20523 
   20524 if test x$APP_MAN_SUFFIX = x    ; then
   20525     APP_MAN_SUFFIX=1
   20526 fi
   20527 if test x$APP_MAN_DIR = x    ; then
   20528     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20529 fi
   20530 
   20531 if test x$LIB_MAN_SUFFIX = x    ; then
   20532     LIB_MAN_SUFFIX=3
   20533 fi
   20534 if test x$LIB_MAN_DIR = x    ; then
   20535     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20536 fi
   20537 
   20538 if test x$FILE_MAN_SUFFIX = x    ; then
   20539     case $host_os in
   20540 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20541 	*)		FILE_MAN_SUFFIX=5  ;;
   20542     esac
   20543 fi
   20544 if test x$FILE_MAN_DIR = x    ; then
   20545     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20546 fi
   20547 
   20548 if test x$MISC_MAN_SUFFIX = x    ; then
   20549     case $host_os in
   20550 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20551 	*)		MISC_MAN_SUFFIX=7  ;;
   20552     esac
   20553 fi
   20554 if test x$MISC_MAN_DIR = x    ; then
   20555     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20556 fi
   20557 
   20558 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20559     case $host_os in
   20560 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20561 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20562     esac
   20563 fi
   20564 if test x$DRIVER_MAN_DIR = x    ; then
   20565     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20566 fi
   20567 
   20568 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20569     case $host_os in
   20570 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20571 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20572     esac
   20573 fi
   20574 if test x$ADMIN_MAN_DIR = x    ; then
   20575     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20576 fi
   20577 
   20578 
   20579 
   20580 
   20581 
   20582 
   20583 
   20584 
   20585 
   20586 
   20587 
   20588 
   20589 
   20590 
   20591 
   20592 
   20593 # Check render configuration, strip extra digits from package version to
   20594 # find the required protocol version
   20595 
   20596 
   20597 # Check whether --enable-malloc0returnsnull was given.
   20598 if test "${enable_malloc0returnsnull+set}" = set; then
   20599   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20600 else
   20601   MALLOC_ZERO_RETURNS_NULL=auto
   20602 fi
   20603 
   20604 
   20605 { echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   20606 echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
   20607 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20608 	if test "$cross_compiling" = yes; then
   20609   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   20610 See \`config.log' for more details." >&5
   20611 echo "$as_me: error: cannot run test program while cross compiling
   20612 See \`config.log' for more details." >&2;}
   20613    { (exit 1); exit 1; }; }
   20614 else
   20615   cat >conftest.$ac_ext <<_ACEOF
   20616 
   20617 char *malloc();
   20618 char *realloc();
   20619 char *calloc();
   20620 main() {
   20621     char *m0, *r0, *c0, *p;
   20622     m0 = malloc(0);
   20623     p = malloc(10);
   20624     r0 = realloc(p,0);
   20625     c0 = calloc(0);
   20626     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   20627 }
   20628 _ACEOF
   20629 rm -f conftest$ac_exeext
   20630 if { (ac_try="$ac_link"
   20631 case "(($ac_try" in
   20632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20633   *) ac_try_echo=$ac_try;;
   20634 esac
   20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20636   (eval "$ac_link") 2>&5
   20637   ac_status=$?
   20638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20639   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20640   { (case "(($ac_try" in
   20641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20642   *) ac_try_echo=$ac_try;;
   20643 esac
   20644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20645   (eval "$ac_try") 2>&5
   20646   ac_status=$?
   20647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20648   (exit $ac_status); }; }; then
   20649   MALLOC_ZERO_RETURNS_NULL=yes
   20650 else
   20651   echo "$as_me: program exited with status $ac_status" >&5
   20652 echo "$as_me: failed program was:" >&5
   20653 sed 's/^/| /' conftest.$ac_ext >&5
   20654 
   20655 ( exit $ac_status )
   20656 MALLOC_ZERO_RETURNS_NULL=no
   20657 fi
   20658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20659 fi
   20660 
   20661 
   20662 fi
   20663 { echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20664 echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20665 
   20666 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20667 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20668 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20669 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20670 else
   20671 	MALLOC_ZERO_CFLAGS=""
   20672 	XMALLOC_ZERO_CFLAGS=""
   20673 	XTMALLOC_ZERO_CFLAGS=""
   20674 fi
   20675 
   20676 
   20677 
   20678 
   20679 
   20680 
   20681 
   20682 # Check whether --with-release-version was given.
   20683 if test "${with_release_version+set}" = set; then
   20684   withval=$with_release_version; RELEASE_VERSION="$withval"
   20685 else
   20686   RELEASE_VERSION=""
   20687 fi
   20688 
   20689 	if test "x$RELEASE_VERSION" != "x"; then
   20690 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20691 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20692 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20693 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20694 	fi
   20695 
   20696 cat >>confdefs.h <<_ACEOF
   20697 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20698 _ACEOF
   20699 
   20700 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
   20701 	if test "x$PVM" = "x"; then
   20702 		PVM="0"
   20703 	fi
   20704 
   20705 cat >>confdefs.h <<_ACEOF
   20706 #define PACKAGE_VERSION_MINOR $PVM
   20707 _ACEOF
   20708 
   20709 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
   20710 	if test "x$PVP" = "x"; then
   20711 		PVP="0"
   20712 	fi
   20713 
   20714 cat >>confdefs.h <<_ACEOF
   20715 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20716 _ACEOF
   20717 
   20718 
   20719 
   20720 ac_config_files="$ac_config_files Makefile src/Makefile util/Makefile include/Makefile man/Makefile xt.pc"
   20721 
   20722 cat >confcache <<\_ACEOF
   20723 # This file is a shell script that caches the results of configure
   20724 # tests run on this system so they can be shared between configure
   20725 # scripts and configure runs, see configure's option --config-cache.
   20726 # It is not useful on other systems.  If it contains results you don't
   20727 # want to keep, you may remove or edit it.
   20728 #
   20729 # config.status only pays attention to the cache file if you give it
   20730 # the --recheck option to rerun configure.
   20731 #
   20732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20734 # following values.
   20735 
   20736 _ACEOF
   20737 
   20738 # The following way of writing the cache mishandles newlines in values,
   20739 # but we know of no workaround that is simple, portable, and efficient.
   20740 # So, we kill variables containing newlines.
   20741 # Ultrix sh set writes to stderr and can't be redirected directly,
   20742 # and sets the high bit in the cache file unless we assign to the vars.
   20743 (
   20744   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20745     eval ac_val=\$$ac_var
   20746     case $ac_val in #(
   20747     *${as_nl}*)
   20748       case $ac_var in #(
   20749       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   20750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   20751       esac
   20752       case $ac_var in #(
   20753       _ | IFS | as_nl) ;; #(
   20754       *) $as_unset $ac_var ;;
   20755       esac ;;
   20756     esac
   20757   done
   20758 
   20759   (set) 2>&1 |
   20760     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20761     *${as_nl}ac_space=\ *)
   20762       # `set' does not quote correctly, so add quotes (double-quote
   20763       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20764       sed -n \
   20765 	"s/'/'\\\\''/g;
   20766 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20767       ;; #(
   20768     *)
   20769       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20770       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20771       ;;
   20772     esac |
   20773     sort
   20774 ) |
   20775   sed '
   20776      /^ac_cv_env_/b end
   20777      t clear
   20778      :clear
   20779      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20780      t end
   20781      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20782      :end' >>confcache
   20783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20784   if test -w "$cache_file"; then
   20785     test "x$cache_file" != "x/dev/null" &&
   20786       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20787 echo "$as_me: updating cache $cache_file" >&6;}
   20788     cat confcache >$cache_file
   20789   else
   20790     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20791 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20792   fi
   20793 fi
   20794 rm -f confcache
   20795 
   20796 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20797 # Let make expand exec_prefix.
   20798 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20799 
   20800 DEFS=-DHAVE_CONFIG_H
   20801 
   20802 ac_libobjs=
   20803 ac_ltlibobjs=
   20804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20805   # 1. Remove the extension, and $U if already installed.
   20806   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20807   ac_i=`echo "$ac_i" | sed "$ac_script"`
   20808   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20809   #    will be set to the directory where LIBOBJS objects are built.
   20810   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20811   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   20812 done
   20813 LIBOBJS=$ac_libobjs
   20814 
   20815 LTLIBOBJS=$ac_ltlibobjs
   20816 
   20817 
   20818 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20819   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   20820 Usually this means the macro was only invoked conditionally." >&5
   20821 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   20822 Usually this means the macro was only invoked conditionally." >&2;}
   20823    { (exit 1); exit 1; }; }
   20824 fi
   20825 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20826   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20827 Usually this means the macro was only invoked conditionally." >&5
   20828 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20829 Usually this means the macro was only invoked conditionally." >&2;}
   20830    { (exit 1); exit 1; }; }
   20831 fi
   20832 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20833   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20834 Usually this means the macro was only invoked conditionally." >&5
   20835 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20836 Usually this means the macro was only invoked conditionally." >&2;}
   20837    { (exit 1); exit 1; }; }
   20838 fi
   20839 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20840   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20841 Usually this means the macro was only invoked conditionally." >&5
   20842 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20843 Usually this means the macro was only invoked conditionally." >&2;}
   20844    { (exit 1); exit 1; }; }
   20845 fi
   20846 if test -z "${INSTALL_MAKESTRS_TRUE}" && test -z "${INSTALL_MAKESTRS_FALSE}"; then
   20847   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_MAKESTRS\" was never defined.
   20848 Usually this means the macro was only invoked conditionally." >&5
   20849 echo "$as_me: error: conditional \"INSTALL_MAKESTRS\" was never defined.
   20850 Usually this means the macro was only invoked conditionally." >&2;}
   20851    { (exit 1); exit 1; }; }
   20852 fi
   20853 
   20854 : ${CONFIG_STATUS=./config.status}
   20855 ac_clean_files_save=$ac_clean_files
   20856 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20857 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20858 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20859 cat >$CONFIG_STATUS <<_ACEOF
   20860 #! $SHELL
   20861 # Generated by $as_me.
   20862 # Run this file to recreate the current configuration.
   20863 # Compiler output produced by configure, useful for debugging
   20864 # configure, is in config.log if it exists.
   20865 
   20866 debug=false
   20867 ac_cs_recheck=false
   20868 ac_cs_silent=false
   20869 SHELL=\${CONFIG_SHELL-$SHELL}
   20870 _ACEOF
   20871 
   20872 cat >>$CONFIG_STATUS <<\_ACEOF
   20873 ## --------------------- ##
   20874 ## M4sh Initialization.  ##
   20875 ## --------------------- ##
   20876 
   20877 # Be Bourne compatible
   20878 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20879   emulate sh
   20880   NULLCMD=:
   20881   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   20882   # is contrary to our usage.  Disable this feature.
   20883   alias -g '${1+"$@"}'='"$@"'
   20884   setopt NO_GLOB_SUBST
   20885 else
   20886   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   20887 fi
   20888 BIN_SH=xpg4; export BIN_SH # for Tru64
   20889 DUALCASE=1; export DUALCASE # for MKS sh
   20890 
   20891 
   20892 # PATH needs CR
   20893 # Avoid depending upon Character Ranges.
   20894 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20895 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20896 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20897 as_cr_digits='0123456789'
   20898 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20899 
   20900 # The user is always right.
   20901 if test "${PATH_SEPARATOR+set}" != set; then
   20902   echo "#! /bin/sh" >conf$$.sh
   20903   echo  "exit 0"   >>conf$$.sh
   20904   chmod +x conf$$.sh
   20905   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   20906     PATH_SEPARATOR=';'
   20907   else
   20908     PATH_SEPARATOR=:
   20909   fi
   20910   rm -f conf$$.sh
   20911 fi
   20912 
   20913 # Support unset when possible.
   20914 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   20915   as_unset=unset
   20916 else
   20917   as_unset=false
   20918 fi
   20919 
   20920 
   20921 # IFS
   20922 # We need space, tab and new line, in precisely that order.  Quoting is
   20923 # there to prevent editors from complaining about space-tab.
   20924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20925 # splitting by setting IFS to empty value.)
   20926 as_nl='
   20927 '
   20928 IFS=" ""	$as_nl"
   20929 
   20930 # Find who we are.  Look in the path if we contain no directory separator.
   20931 case $0 in
   20932   *[\\/]* ) as_myself=$0 ;;
   20933   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20934 for as_dir in $PATH
   20935 do
   20936   IFS=$as_save_IFS
   20937   test -z "$as_dir" && as_dir=.
   20938   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20939 done
   20940 IFS=$as_save_IFS
   20941 
   20942      ;;
   20943 esac
   20944 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20945 # in which case we are not to be found in the path.
   20946 if test "x$as_myself" = x; then
   20947   as_myself=$0
   20948 fi
   20949 if test ! -f "$as_myself"; then
   20950   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20951   { (exit 1); exit 1; }
   20952 fi
   20953 
   20954 # Work around bugs in pre-3.0 UWIN ksh.
   20955 for as_var in ENV MAIL MAILPATH
   20956 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20957 done
   20958 PS1='$ '
   20959 PS2='> '
   20960 PS4='+ '
   20961 
   20962 # NLS nuisances.
   20963 for as_var in \
   20964   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   20965   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   20966   LC_TELEPHONE LC_TIME
   20967 do
   20968   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   20969     eval $as_var=C; export $as_var
   20970   else
   20971     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20972   fi
   20973 done
   20974 
   20975 # Required to use basename.
   20976 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20977    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20978   as_expr=expr
   20979 else
   20980   as_expr=false
   20981 fi
   20982 
   20983 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20984   as_basename=basename
   20985 else
   20986   as_basename=false
   20987 fi
   20988 
   20989 
   20990 # Name of the executable.
   20991 as_me=`$as_basename -- "$0" ||
   20992 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20993 	 X"$0" : 'X\(//\)$' \| \
   20994 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20995 echo X/"$0" |
   20996     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20997 	    s//\1/
   20998 	    q
   20999 	  }
   21000 	  /^X\/\(\/\/\)$/{
   21001 	    s//\1/
   21002 	    q
   21003 	  }
   21004 	  /^X\/\(\/\).*/{
   21005 	    s//\1/
   21006 	    q
   21007 	  }
   21008 	  s/.*/./; q'`
   21009 
   21010 # CDPATH.
   21011 $as_unset CDPATH
   21012 
   21013 
   21014 
   21015   as_lineno_1=$LINENO
   21016   as_lineno_2=$LINENO
   21017   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21018   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21019 
   21020   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21021   # uniformly replaced by the line number.  The first 'sed' inserts a
   21022   # line-number line after each line using $LINENO; the second 'sed'
   21023   # does the real work.  The second script uses 'N' to pair each
   21024   # line-number line with the line containing $LINENO, and appends
   21025   # trailing '-' during substitution so that $LINENO is not a special
   21026   # case at line end.
   21027   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21028   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21029   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21030   sed -n '
   21031     p
   21032     /[$]LINENO/=
   21033   ' <$as_myself |
   21034     sed '
   21035       s/[$]LINENO.*/&-/
   21036       t lineno
   21037       b
   21038       :lineno
   21039       N
   21040       :loop
   21041       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21042       t loop
   21043       s/-\n.*//
   21044     ' >$as_me.lineno &&
   21045   chmod +x "$as_me.lineno" ||
   21046     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21047    { (exit 1); exit 1; }; }
   21048 
   21049   # Don't try to exec as it changes $[0], causing all sort of problems
   21050   # (the dirname of $[0] is not the place where we might find the
   21051   # original and so on.  Autoconf is especially sensitive to this).
   21052   . "./$as_me.lineno"
   21053   # Exit status is that of the last command.
   21054   exit
   21055 }
   21056 
   21057 
   21058 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21059   as_dirname=dirname
   21060 else
   21061   as_dirname=false
   21062 fi
   21063 
   21064 ECHO_C= ECHO_N= ECHO_T=
   21065 case `echo -n x` in
   21066 -n*)
   21067   case `echo 'x\c'` in
   21068   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21069   *)   ECHO_C='\c';;
   21070   esac;;
   21071 *)
   21072   ECHO_N='-n';;
   21073 esac
   21074 
   21075 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21076    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21077   as_expr=expr
   21078 else
   21079   as_expr=false
   21080 fi
   21081 
   21082 rm -f conf$$ conf$$.exe conf$$.file
   21083 if test -d conf$$.dir; then
   21084   rm -f conf$$.dir/conf$$.file
   21085 else
   21086   rm -f conf$$.dir
   21087   mkdir conf$$.dir
   21088 fi
   21089 echo >conf$$.file
   21090 if ln -s conf$$.file conf$$ 2>/dev/null; then
   21091   as_ln_s='ln -s'
   21092   # ... but there are two gotchas:
   21093   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21094   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21095   # In both cases, we have to default to `cp -p'.
   21096   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21097     as_ln_s='cp -p'
   21098 elif ln conf$$.file conf$$ 2>/dev/null; then
   21099   as_ln_s=ln
   21100 else
   21101   as_ln_s='cp -p'
   21102 fi
   21103 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21104 rmdir conf$$.dir 2>/dev/null
   21105 
   21106 if mkdir -p . 2>/dev/null; then
   21107   as_mkdir_p=:
   21108 else
   21109   test -d ./-p && rmdir ./-p
   21110   as_mkdir_p=false
   21111 fi
   21112 
   21113 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   21114 # systems may use methods other than mode bits to determine executability.
   21115 cat >conf$$.file <<_ASEOF
   21116 #! /bin/sh
   21117 exit 0
   21118 _ASEOF
   21119 chmod +x conf$$.file
   21120 if test -x conf$$.file >/dev/null 2>&1; then
   21121   as_executable_p="test -x"
   21122 else
   21123   as_executable_p=:
   21124 fi
   21125 rm -f conf$$.file
   21126 
   21127 # Sed expression to map a string onto a valid CPP name.
   21128 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21129 
   21130 # Sed expression to map a string onto a valid variable name.
   21131 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21132 
   21133 
   21134 exec 6>&1
   21135 
   21136 # Save the log message, to keep $[0] and so on meaningful, and to
   21137 # report actual input values of CONFIG_FILES etc. instead of their
   21138 # values after options handling.
   21139 ac_log="
   21140 This file was extended by libXt $as_me 1.0.5, which was
   21141 generated by GNU Autoconf 2.60.  Invocation command line was
   21142 
   21143   CONFIG_FILES    = $CONFIG_FILES
   21144   CONFIG_HEADERS  = $CONFIG_HEADERS
   21145   CONFIG_LINKS    = $CONFIG_LINKS
   21146   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21147   $ $0 $@
   21148 
   21149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21150 "
   21151 
   21152 _ACEOF
   21153 
   21154 cat >>$CONFIG_STATUS <<_ACEOF
   21155 # Files that config.status was made for.
   21156 config_files="$ac_config_files"
   21157 config_headers="$ac_config_headers"
   21158 config_commands="$ac_config_commands"
   21159 
   21160 _ACEOF
   21161 
   21162 cat >>$CONFIG_STATUS <<\_ACEOF
   21163 ac_cs_usage="\
   21164 \`$as_me' instantiates files from templates according to the
   21165 current configuration.
   21166 
   21167 Usage: $0 [OPTIONS] [FILE]...
   21168 
   21169   -h, --help       print this help, then exit
   21170   -V, --version    print version number, then exit
   21171   -q, --quiet      do not print progress messages
   21172   -d, --debug      don't remove temporary files
   21173       --recheck    update $as_me by reconfiguring in the same conditions
   21174   --file=FILE[:TEMPLATE]
   21175 		   instantiate the configuration file FILE
   21176   --header=FILE[:TEMPLATE]
   21177 		   instantiate the configuration header FILE
   21178 
   21179 Configuration files:
   21180 $config_files
   21181 
   21182 Configuration headers:
   21183 $config_headers
   21184 
   21185 Configuration commands:
   21186 $config_commands
   21187 
   21188 Report bugs to <bug-autoconf@gnu.org>."
   21189 
   21190 _ACEOF
   21191 cat >>$CONFIG_STATUS <<_ACEOF
   21192 ac_cs_version="\\
   21193 libXt config.status 1.0.5
   21194 configured by $0, generated by GNU Autoconf 2.60,
   21195   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21196 
   21197 Copyright (C) 2006 Free Software Foundation, Inc.
   21198 This config.status script is free software; the Free Software Foundation
   21199 gives unlimited permission to copy, distribute and modify it."
   21200 
   21201 ac_pwd='$ac_pwd'
   21202 srcdir='$srcdir'
   21203 INSTALL='$INSTALL'
   21204 _ACEOF
   21205 
   21206 cat >>$CONFIG_STATUS <<\_ACEOF
   21207 # If no file are specified by the user, then we need to provide default
   21208 # value.  By we need to know if files were specified by the user.
   21209 ac_need_defaults=:
   21210 while test $# != 0
   21211 do
   21212   case $1 in
   21213   --*=*)
   21214     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21215     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21216     ac_shift=:
   21217     ;;
   21218   *)
   21219     ac_option=$1
   21220     ac_optarg=$2
   21221     ac_shift=shift
   21222     ;;
   21223   esac
   21224 
   21225   case $ac_option in
   21226   # Handling of the options.
   21227   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21228     ac_cs_recheck=: ;;
   21229   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21230     echo "$ac_cs_version"; exit ;;
   21231   --debug | --debu | --deb | --de | --d | -d )
   21232     debug=: ;;
   21233   --file | --fil | --fi | --f )
   21234     $ac_shift
   21235     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21236     ac_need_defaults=false;;
   21237   --header | --heade | --head | --hea )
   21238     $ac_shift
   21239     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   21240     ac_need_defaults=false;;
   21241   --he | --h)
   21242     # Conflict between --help and --header
   21243     { echo "$as_me: error: ambiguous option: $1
   21244 Try \`$0 --help' for more information." >&2
   21245    { (exit 1); exit 1; }; };;
   21246   --help | --hel | -h )
   21247     echo "$ac_cs_usage"; exit ;;
   21248   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21249   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21250     ac_cs_silent=: ;;
   21251 
   21252   # This is an error.
   21253   -*) { echo "$as_me: error: unrecognized option: $1
   21254 Try \`$0 --help' for more information." >&2
   21255    { (exit 1); exit 1; }; } ;;
   21256 
   21257   *) ac_config_targets="$ac_config_targets $1"
   21258      ac_need_defaults=false ;;
   21259 
   21260   esac
   21261   shift
   21262 done
   21263 
   21264 ac_configure_extra_args=
   21265 
   21266 if $ac_cs_silent; then
   21267   exec 6>/dev/null
   21268   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21269 fi
   21270 
   21271 _ACEOF
   21272 cat >>$CONFIG_STATUS <<_ACEOF
   21273 if \$ac_cs_recheck; then
   21274   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21275   CONFIG_SHELL=$SHELL
   21276   export CONFIG_SHELL
   21277   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21278 fi
   21279 
   21280 _ACEOF
   21281 cat >>$CONFIG_STATUS <<\_ACEOF
   21282 exec 5>>config.log
   21283 {
   21284   echo
   21285   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21286 ## Running $as_me. ##
   21287 _ASBOX
   21288   echo "$ac_log"
   21289 } >&5
   21290 
   21291 _ACEOF
   21292 cat >>$CONFIG_STATUS <<_ACEOF
   21293 #
   21294 # INIT-COMMANDS
   21295 #
   21296 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21297 
   21298 _ACEOF
   21299 
   21300 cat >>$CONFIG_STATUS <<\_ACEOF
   21301 
   21302 # Handling of arguments.
   21303 for ac_config_target in $ac_config_targets
   21304 do
   21305   case $ac_config_target in
   21306     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21307     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21308     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21309     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21310     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   21311     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21312     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21313     "xt.pc") CONFIG_FILES="$CONFIG_FILES xt.pc" ;;
   21314 
   21315   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21316 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21317    { (exit 1); exit 1; }; };;
   21318   esac
   21319 done
   21320 
   21321 
   21322 # If the user did not use the arguments to specify the items to instantiate,
   21323 # then the envvar interface is used.  Set only those that are not.
   21324 # We use the long form for the default assignment because of an extremely
   21325 # bizarre bug on SunOS 4.1.3.
   21326 if $ac_need_defaults; then
   21327   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21328   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21329   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21330 fi
   21331 
   21332 # Have a temporary directory for convenience.  Make it in the build tree
   21333 # simply because there is no reason against having it here, and in addition,
   21334 # creating and moving files from /tmp can sometimes cause problems.
   21335 # Hook for its removal unless debugging.
   21336 # Note that there is a small window in which the directory will not be cleaned:
   21337 # after its creation but before its name has been assigned to `$tmp'.
   21338 $debug ||
   21339 {
   21340   tmp=
   21341   trap 'exit_status=$?
   21342   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21343 ' 0
   21344   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21345 }
   21346 # Create a (secure) tmp directory for tmp files.
   21347 
   21348 {
   21349   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21350   test -n "$tmp" && test -d "$tmp"
   21351 }  ||
   21352 {
   21353   tmp=./conf$$-$RANDOM
   21354   (umask 077 && mkdir "$tmp")
   21355 } ||
   21356 {
   21357    echo "$me: cannot create a temporary directory in ." >&2
   21358    { (exit 1); exit 1; }
   21359 }
   21360 
   21361 #
   21362 # Set up the sed scripts for CONFIG_FILES section.
   21363 #
   21364 
   21365 # No need to generate the scripts if there are no CONFIG_FILES.
   21366 # This happens for instance when ./config.status config.h
   21367 if test -n "$CONFIG_FILES"; then
   21368 
   21369 _ACEOF
   21370 
   21371 
   21372 
   21373 ac_delim='%!_!# '
   21374 for ac_last_try in false false false false false :; do
   21375   cat >conf$$subs.sed <<_ACEOF
   21376 SHELL!$SHELL$ac_delim
   21377 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21378 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21379 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21380 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21381 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21382 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21383 exec_prefix!$exec_prefix$ac_delim
   21384 prefix!$prefix$ac_delim
   21385 program_transform_name!$program_transform_name$ac_delim
   21386 bindir!$bindir$ac_delim
   21387 sbindir!$sbindir$ac_delim
   21388 libexecdir!$libexecdir$ac_delim
   21389 datarootdir!$datarootdir$ac_delim
   21390 datadir!$datadir$ac_delim
   21391 sysconfdir!$sysconfdir$ac_delim
   21392 sharedstatedir!$sharedstatedir$ac_delim
   21393 localstatedir!$localstatedir$ac_delim
   21394 includedir!$includedir$ac_delim
   21395 oldincludedir!$oldincludedir$ac_delim
   21396 docdir!$docdir$ac_delim
   21397 infodir!$infodir$ac_delim
   21398 htmldir!$htmldir$ac_delim
   21399 dvidir!$dvidir$ac_delim
   21400 pdfdir!$pdfdir$ac_delim
   21401 psdir!$psdir$ac_delim
   21402 libdir!$libdir$ac_delim
   21403 localedir!$localedir$ac_delim
   21404 mandir!$mandir$ac_delim
   21405 DEFS!$DEFS$ac_delim
   21406 ECHO_C!$ECHO_C$ac_delim
   21407 ECHO_N!$ECHO_N$ac_delim
   21408 ECHO_T!$ECHO_T$ac_delim
   21409 LIBS!$LIBS$ac_delim
   21410 build_alias!$build_alias$ac_delim
   21411 host_alias!$host_alias$ac_delim
   21412 target_alias!$target_alias$ac_delim
   21413 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21414 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21415 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21416 CYGPATH_W!$CYGPATH_W$ac_delim
   21417 PACKAGE!$PACKAGE$ac_delim
   21418 VERSION!$VERSION$ac_delim
   21419 ACLOCAL!$ACLOCAL$ac_delim
   21420 AUTOCONF!$AUTOCONF$ac_delim
   21421 AUTOMAKE!$AUTOMAKE$ac_delim
   21422 AUTOHEADER!$AUTOHEADER$ac_delim
   21423 MAKEINFO!$MAKEINFO$ac_delim
   21424 install_sh!$install_sh$ac_delim
   21425 STRIP!$STRIP$ac_delim
   21426 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   21427 mkdir_p!$mkdir_p$ac_delim
   21428 AWK!$AWK$ac_delim
   21429 SET_MAKE!$SET_MAKE$ac_delim
   21430 am__leading_dot!$am__leading_dot$ac_delim
   21431 AMTAR!$AMTAR$ac_delim
   21432 am__tar!$am__tar$ac_delim
   21433 am__untar!$am__untar$ac_delim
   21434 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   21435 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   21436 MAINT!$MAINT$ac_delim
   21437 CC!$CC$ac_delim
   21438 CFLAGS!$CFLAGS$ac_delim
   21439 LDFLAGS!$LDFLAGS$ac_delim
   21440 CPPFLAGS!$CPPFLAGS$ac_delim
   21441 ac_ct_CC!$ac_ct_CC$ac_delim
   21442 EXEEXT!$EXEEXT$ac_delim
   21443 OBJEXT!$OBJEXT$ac_delim
   21444 DEPDIR!$DEPDIR$ac_delim
   21445 am__include!$am__include$ac_delim
   21446 am__quote!$am__quote$ac_delim
   21447 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   21448 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   21449 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   21450 CCDEPMODE!$CCDEPMODE$ac_delim
   21451 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   21452 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   21453 build!$build$ac_delim
   21454 build_cpu!$build_cpu$ac_delim
   21455 build_vendor!$build_vendor$ac_delim
   21456 build_os!$build_os$ac_delim
   21457 host!$host$ac_delim
   21458 host_cpu!$host_cpu$ac_delim
   21459 host_vendor!$host_vendor$ac_delim
   21460 host_os!$host_os$ac_delim
   21461 GREP!$GREP$ac_delim
   21462 EGREP!$EGREP$ac_delim
   21463 LN_S!$LN_S$ac_delim
   21464 ECHO!$ECHO$ac_delim
   21465 AR!$AR$ac_delim
   21466 RANLIB!$RANLIB$ac_delim
   21467 CPP!$CPP$ac_delim
   21468 CXX!$CXX$ac_delim
   21469 CXXFLAGS!$CXXFLAGS$ac_delim
   21470 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21471 CXXDEPMODE!$CXXDEPMODE$ac_delim
   21472 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   21473 _ACEOF
   21474 
   21475   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21476     break
   21477   elif $ac_last_try; then
   21478     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21479 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21480    { (exit 1); exit 1; }; }
   21481   else
   21482     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21483   fi
   21484 done
   21485 
   21486 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21487 if test -n "$ac_eof"; then
   21488   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21489   ac_eof=`expr $ac_eof + 1`
   21490 fi
   21491 
   21492 cat >>$CONFIG_STATUS <<_ACEOF
   21493 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21495 _ACEOF
   21496 sed '
   21497 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21498 s/^/s,@/; s/!/@,|#_!!_#|/
   21499 :n
   21500 t n
   21501 s/'"$ac_delim"'$/,g/; t
   21502 s/$/\\/; p
   21503 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21504 ' >>$CONFIG_STATUS <conf$$subs.sed
   21505 rm -f conf$$subs.sed
   21506 cat >>$CONFIG_STATUS <<_ACEOF
   21507 CEOF$ac_eof
   21508 _ACEOF
   21509 
   21510 
   21511 ac_delim='%!_!# '
   21512 for ac_last_try in false false false false false :; do
   21513   cat >conf$$subs.sed <<_ACEOF
   21514 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   21515 CXXCPP!$CXXCPP$ac_delim
   21516 F77!$F77$ac_delim
   21517 FFLAGS!$FFLAGS$ac_delim
   21518 ac_ct_F77!$ac_ct_F77$ac_delim
   21519 LIBTOOL!$LIBTOOL$ac_delim
   21520 PKG_CONFIG!$PKG_CONFIG$ac_delim
   21521 XT_CFLAGS!$XT_CFLAGS$ac_delim
   21522 XT_LIBS!$XT_LIBS$ac_delim
   21523 INSTALL_MAKESTRS_TRUE!$INSTALL_MAKESTRS_TRUE$ac_delim
   21524 INSTALL_MAKESTRS_FALSE!$INSTALL_MAKESTRS_FALSE$ac_delim
   21525 XFILESEARCHPATHDEFAULT!$XFILESEARCHPATHDEFAULT$ac_delim
   21526 appdefaultdir!$appdefaultdir$ac_delim
   21527 STRINGSABIOPTIONS!$STRINGSABIOPTIONS$ac_delim
   21528 RAWCPP!$RAWCPP$ac_delim
   21529 RAWCPPFLAGS!$RAWCPPFLAGS$ac_delim
   21530 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   21531 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   21532 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   21533 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   21534 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   21535 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   21536 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   21537 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   21538 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   21539 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   21540 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   21541 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   21542 MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
   21543 XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
   21544 XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
   21545 LIBOBJS!$LIBOBJS$ac_delim
   21546 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21547 _ACEOF
   21548 
   21549   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then
   21550     break
   21551   elif $ac_last_try; then
   21552     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21553 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21554    { (exit 1); exit 1; }; }
   21555   else
   21556     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21557   fi
   21558 done
   21559 
   21560 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21561 if test -n "$ac_eof"; then
   21562   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21563   ac_eof=`expr $ac_eof + 1`
   21564 fi
   21565 
   21566 cat >>$CONFIG_STATUS <<_ACEOF
   21567 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21568 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21569 _ACEOF
   21570 sed '
   21571 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21572 s/^/s,@/; s/!/@,|#_!!_#|/
   21573 :n
   21574 t n
   21575 s/'"$ac_delim"'$/,g/; t
   21576 s/$/\\/; p
   21577 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21578 ' >>$CONFIG_STATUS <conf$$subs.sed
   21579 rm -f conf$$subs.sed
   21580 cat >>$CONFIG_STATUS <<_ACEOF
   21581 :end
   21582 s/|#_!!_#|//g
   21583 CEOF$ac_eof
   21584 _ACEOF
   21585 
   21586 
   21587 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21588 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21589 # trailing colons and then remove the whole line if VPATH becomes empty
   21590 # (actually we leave an empty line to preserve line numbers).
   21591 if test "x$srcdir" = x.; then
   21592   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21593 s/:*\$(srcdir):*/:/
   21594 s/:*\${srcdir}:*/:/
   21595 s/:*@srcdir@:*/:/
   21596 s/^\([^=]*=[	 ]*\):*/\1/
   21597 s/:*$//
   21598 s/^[^=]*=[	 ]*$//
   21599 }'
   21600 fi
   21601 
   21602 cat >>$CONFIG_STATUS <<\_ACEOF
   21603 fi # test -n "$CONFIG_FILES"
   21604 
   21605 
   21606 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   21607 do
   21608   case $ac_tag in
   21609   :[FHLC]) ac_mode=$ac_tag; continue;;
   21610   esac
   21611   case $ac_mode$ac_tag in
   21612   :[FHL]*:*);;
   21613   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21614 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21615    { (exit 1); exit 1; }; };;
   21616   :[FH]-) ac_tag=-:-;;
   21617   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21618   esac
   21619   ac_save_IFS=$IFS
   21620   IFS=:
   21621   set x $ac_tag
   21622   IFS=$ac_save_IFS
   21623   shift
   21624   ac_file=$1
   21625   shift
   21626 
   21627   case $ac_mode in
   21628   :L) ac_source=$1;;
   21629   :[FH])
   21630     ac_file_inputs=
   21631     for ac_f
   21632     do
   21633       case $ac_f in
   21634       -) ac_f="$tmp/stdin";;
   21635       *) # Look for the file first in the build tree, then in the source tree
   21636 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21637 	 # because $ac_f cannot contain `:'.
   21638 	 test -f "$ac_f" ||
   21639 	   case $ac_f in
   21640 	   [\\/$]*) false;;
   21641 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21642 	   esac ||
   21643 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21644 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21645    { (exit 1); exit 1; }; };;
   21646       esac
   21647       ac_file_inputs="$ac_file_inputs $ac_f"
   21648     done
   21649 
   21650     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21651     # use $as_me), people would be surprised to read:
   21652     #    /* config.h.  Generated by config.status.  */
   21653     configure_input="Generated from "`IFS=:
   21654 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   21655     if test x"$ac_file" != x-; then
   21656       configure_input="$ac_file.  $configure_input"
   21657       { echo "$as_me:$LINENO: creating $ac_file" >&5
   21658 echo "$as_me: creating $ac_file" >&6;}
   21659     fi
   21660 
   21661     case $ac_tag in
   21662     *:-:* | *:-) cat >"$tmp/stdin";;
   21663     esac
   21664     ;;
   21665   esac
   21666 
   21667   ac_dir=`$as_dirname -- "$ac_file" ||
   21668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21669 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21670 	 X"$ac_file" : 'X\(//\)$' \| \
   21671 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21672 echo X"$ac_file" |
   21673     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21674 	    s//\1/
   21675 	    q
   21676 	  }
   21677 	  /^X\(\/\/\)[^/].*/{
   21678 	    s//\1/
   21679 	    q
   21680 	  }
   21681 	  /^X\(\/\/\)$/{
   21682 	    s//\1/
   21683 	    q
   21684 	  }
   21685 	  /^X\(\/\).*/{
   21686 	    s//\1/
   21687 	    q
   21688 	  }
   21689 	  s/.*/./; q'`
   21690   { as_dir="$ac_dir"
   21691   case $as_dir in #(
   21692   -*) as_dir=./$as_dir;;
   21693   esac
   21694   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21695     as_dirs=
   21696     while :; do
   21697       case $as_dir in #(
   21698       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21699       *) as_qdir=$as_dir;;
   21700       esac
   21701       as_dirs="'$as_qdir' $as_dirs"
   21702       as_dir=`$as_dirname -- "$as_dir" ||
   21703 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21704 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21705 	 X"$as_dir" : 'X\(//\)$' \| \
   21706 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21707 echo X"$as_dir" |
   21708     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21709 	    s//\1/
   21710 	    q
   21711 	  }
   21712 	  /^X\(\/\/\)[^/].*/{
   21713 	    s//\1/
   21714 	    q
   21715 	  }
   21716 	  /^X\(\/\/\)$/{
   21717 	    s//\1/
   21718 	    q
   21719 	  }
   21720 	  /^X\(\/\).*/{
   21721 	    s//\1/
   21722 	    q
   21723 	  }
   21724 	  s/.*/./; q'`
   21725       test -d "$as_dir" && break
   21726     done
   21727     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21728   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21729 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21730    { (exit 1); exit 1; }; }; }
   21731   ac_builddir=.
   21732 
   21733 case "$ac_dir" in
   21734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21735 *)
   21736   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21737   # A ".." for each directory in $ac_dir_suffix.
   21738   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   21739   case $ac_top_builddir_sub in
   21740   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21741   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21742   esac ;;
   21743 esac
   21744 ac_abs_top_builddir=$ac_pwd
   21745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21746 # for backward compatibility:
   21747 ac_top_builddir=$ac_top_build_prefix
   21748 
   21749 case $srcdir in
   21750   .)  # We are building in place.
   21751     ac_srcdir=.
   21752     ac_top_srcdir=$ac_top_builddir_sub
   21753     ac_abs_top_srcdir=$ac_pwd ;;
   21754   [\\/]* | ?:[\\/]* )  # Absolute name.
   21755     ac_srcdir=$srcdir$ac_dir_suffix;
   21756     ac_top_srcdir=$srcdir
   21757     ac_abs_top_srcdir=$srcdir ;;
   21758   *) # Relative name.
   21759     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21760     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21761     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21762 esac
   21763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21764 
   21765 
   21766   case $ac_mode in
   21767   :F)
   21768   #
   21769   # CONFIG_FILE
   21770   #
   21771 
   21772   case $INSTALL in
   21773   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21774   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21775   esac
   21776 _ACEOF
   21777 
   21778 cat >>$CONFIG_STATUS <<\_ACEOF
   21779 # If the template does not know about datarootdir, expand it.
   21780 # FIXME: This hack should be removed a few years after 2.60.
   21781 ac_datarootdir_hack=; ac_datarootdir_seen=
   21782 
   21783 case `sed -n '/datarootdir/ {
   21784   p
   21785   q
   21786 }
   21787 /@datadir@/p
   21788 /@docdir@/p
   21789 /@infodir@/p
   21790 /@localedir@/p
   21791 /@mandir@/p
   21792 ' $ac_file_inputs` in
   21793 *datarootdir*) ac_datarootdir_seen=yes;;
   21794 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21795   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21796 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21797 _ACEOF
   21798 cat >>$CONFIG_STATUS <<_ACEOF
   21799   ac_datarootdir_hack='
   21800   s&@datadir@&$datadir&g
   21801   s&@docdir@&$docdir&g
   21802   s&@infodir@&$infodir&g
   21803   s&@localedir@&$localedir&g
   21804   s&@mandir@&$mandir&g
   21805     s&\\\${datarootdir}&$datarootdir&g' ;;
   21806 esac
   21807 _ACEOF
   21808 
   21809 # Neutralize VPATH when `$srcdir' = `.'.
   21810 # Shell code in configure.ac might set extrasub.
   21811 # FIXME: do we really want to maintain this feature?
   21812 cat >>$CONFIG_STATUS <<_ACEOF
   21813   sed "$ac_vpsub
   21814 $extrasub
   21815 _ACEOF
   21816 cat >>$CONFIG_STATUS <<\_ACEOF
   21817 :t
   21818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21819 s&@configure_input@&$configure_input&;t t
   21820 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21821 s&@srcdir@&$ac_srcdir&;t t
   21822 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21823 s&@top_srcdir@&$ac_top_srcdir&;t t
   21824 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21825 s&@builddir@&$ac_builddir&;t t
   21826 s&@abs_builddir@&$ac_abs_builddir&;t t
   21827 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21828 s&@INSTALL@&$ac_INSTALL&;t t
   21829 $ac_datarootdir_hack
   21830 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   21831 
   21832 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21833   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   21834   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   21835   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21836 which seems to be undefined.  Please make sure it is defined." >&5
   21837 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21838 which seems to be undefined.  Please make sure it is defined." >&2;}
   21839 
   21840   rm -f "$tmp/stdin"
   21841   case $ac_file in
   21842   -) cat "$tmp/out"; rm -f "$tmp/out";;
   21843   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   21844   esac
   21845  ;;
   21846   :H)
   21847   #
   21848   # CONFIG_HEADER
   21849   #
   21850 _ACEOF
   21851 
   21852 # Transform confdefs.h into a sed script `conftest.defines', that
   21853 # substitutes the proper values into config.h.in to produce config.h.
   21854 rm -f conftest.defines conftest.tail
   21855 # First, append a space to every undef/define line, to ease matching.
   21856 echo 's/$/ /' >conftest.defines
   21857 # Then, protect against being on the right side of a sed subst, or in
   21858 # an unquoted here document, in config.status.  If some macros were
   21859 # called several times there might be several #defines for the same
   21860 # symbol, which is useless.  But do not sort them, since the last
   21861 # AC_DEFINE must be honored.
   21862 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21863 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   21864 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   21865 # PARAMS is the parameter list in the macro definition--in most cases, it's
   21866 # just an empty string.
   21867 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   21868 ac_dB='\\)[	 (].*,\\1define\\2'
   21869 ac_dC=' '
   21870 ac_dD=' ,'
   21871 
   21872 uniq confdefs.h |
   21873   sed -n '
   21874 	t rset
   21875 	:rset
   21876 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   21877 	t ok
   21878 	d
   21879 	:ok
   21880 	s/[\\&,]/\\&/g
   21881 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   21882 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   21883   ' >>conftest.defines
   21884 
   21885 # Remove the space that was appended to ease matching.
   21886 # Then replace #undef with comments.  This is necessary, for
   21887 # example, in the case of _POSIX_SOURCE, which is predefined and required
   21888 # on some systems where configure will not decide to define it.
   21889 # (The regexp can be short, since the line contains either #define or #undef.)
   21890 echo 's/ $//
   21891 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   21892 
   21893 # Break up conftest.defines:
   21894 ac_max_sed_lines=50
   21895 
   21896 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   21897 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   21898 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   21899 # et cetera.
   21900 ac_in='$ac_file_inputs'
   21901 ac_out='"$tmp/out1"'
   21902 ac_nxt='"$tmp/out2"'
   21903 
   21904 while :
   21905 do
   21906   # Write a here document:
   21907     cat >>$CONFIG_STATUS <<_ACEOF
   21908     # First, check the format of the line:
   21909     cat >"\$tmp/defines.sed" <<\\CEOF
   21910 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   21911 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   21912 b
   21913 :def
   21914 _ACEOF
   21915   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   21916   echo 'CEOF
   21917     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   21918   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   21919   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   21920   grep . conftest.tail >/dev/null || break
   21921   rm -f conftest.defines
   21922   mv conftest.tail conftest.defines
   21923 done
   21924 rm -f conftest.defines conftest.tail
   21925 
   21926 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   21927 cat >>$CONFIG_STATUS <<\_ACEOF
   21928   if test x"$ac_file" != x-; then
   21929     echo "/* $configure_input  */" >"$tmp/config.h"
   21930     cat "$ac_result" >>"$tmp/config.h"
   21931     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   21932       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   21933 echo "$as_me: $ac_file is unchanged" >&6;}
   21934     else
   21935       rm -f $ac_file
   21936       mv "$tmp/config.h" $ac_file
   21937     fi
   21938   else
   21939     echo "/* $configure_input  */"
   21940     cat "$ac_result"
   21941   fi
   21942   rm -f "$tmp/out12"
   21943 # Compute $ac_file's index in $config_headers.
   21944 _am_stamp_count=1
   21945 for _am_header in $config_headers :; do
   21946   case $_am_header in
   21947     $ac_file | $ac_file:* )
   21948       break ;;
   21949     * )
   21950       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21951   esac
   21952 done
   21953 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   21954 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21955 	 X$ac_file : 'X\(//\)[^/]' \| \
   21956 	 X$ac_file : 'X\(//\)$' \| \
   21957 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   21958 echo X$ac_file |
   21959     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21960 	    s//\1/
   21961 	    q
   21962 	  }
   21963 	  /^X\(\/\/\)[^/].*/{
   21964 	    s//\1/
   21965 	    q
   21966 	  }
   21967 	  /^X\(\/\/\)$/{
   21968 	    s//\1/
   21969 	    q
   21970 	  }
   21971 	  /^X\(\/\).*/{
   21972 	    s//\1/
   21973 	    q
   21974 	  }
   21975 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21976  ;;
   21977 
   21978   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   21979 echo "$as_me: executing $ac_file commands" >&6;}
   21980  ;;
   21981   esac
   21982 
   21983 
   21984   case $ac_file$ac_mode in
   21985     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   21986   # Strip MF so we end up with the name of the file.
   21987   mf=`echo "$mf" | sed -e 's/:.*$//'`
   21988   # Check whether this is an Automake generated Makefile or not.
   21989   # We used to match only the files named `Makefile.in', but
   21990   # some people rename them; so instead we look at the file content.
   21991   # Grep'ing the first line is not enough: some people post-process
   21992   # each Makefile.in and add a new line on top of each file to say so.
   21993   # So let's grep whole file.
   21994   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   21995     dirpart=`$as_dirname -- "$mf" ||
   21996 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21997 	 X"$mf" : 'X\(//\)[^/]' \| \
   21998 	 X"$mf" : 'X\(//\)$' \| \
   21999 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22000 echo X"$mf" |
   22001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22002 	    s//\1/
   22003 	    q
   22004 	  }
   22005 	  /^X\(\/\/\)[^/].*/{
   22006 	    s//\1/
   22007 	    q
   22008 	  }
   22009 	  /^X\(\/\/\)$/{
   22010 	    s//\1/
   22011 	    q
   22012 	  }
   22013 	  /^X\(\/\).*/{
   22014 	    s//\1/
   22015 	    q
   22016 	  }
   22017 	  s/.*/./; q'`
   22018   else
   22019     continue
   22020   fi
   22021   # Extract the definition of DEPDIR, am__include, and am__quote
   22022   # from the Makefile without running `make'.
   22023   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22024   test -z "$DEPDIR" && continue
   22025   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22026   test -z "am__include" && continue
   22027   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22028   # When using ansi2knr, U may be empty or an underscore; expand it
   22029   U=`sed -n 's/^U = //p' < "$mf"`
   22030   # Find all dependency output files, they are included files with
   22031   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22032   # simplest approach to changing $(DEPDIR) to its actual value in the
   22033   # expansion.
   22034   for file in `sed -n "
   22035     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22036        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22037     # Make sure the directory exists.
   22038     test -f "$dirpart/$file" && continue
   22039     fdir=`$as_dirname -- "$file" ||
   22040 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22041 	 X"$file" : 'X\(//\)[^/]' \| \
   22042 	 X"$file" : 'X\(//\)$' \| \
   22043 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22044 echo X"$file" |
   22045     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22046 	    s//\1/
   22047 	    q
   22048 	  }
   22049 	  /^X\(\/\/\)[^/].*/{
   22050 	    s//\1/
   22051 	    q
   22052 	  }
   22053 	  /^X\(\/\/\)$/{
   22054 	    s//\1/
   22055 	    q
   22056 	  }
   22057 	  /^X\(\/\).*/{
   22058 	    s//\1/
   22059 	    q
   22060 	  }
   22061 	  s/.*/./; q'`
   22062     { as_dir=$dirpart/$fdir
   22063   case $as_dir in #(
   22064   -*) as_dir=./$as_dir;;
   22065   esac
   22066   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22067     as_dirs=
   22068     while :; do
   22069       case $as_dir in #(
   22070       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22071       *) as_qdir=$as_dir;;
   22072       esac
   22073       as_dirs="'$as_qdir' $as_dirs"
   22074       as_dir=`$as_dirname -- "$as_dir" ||
   22075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22076 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22077 	 X"$as_dir" : 'X\(//\)$' \| \
   22078 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22079 echo X"$as_dir" |
   22080     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22081 	    s//\1/
   22082 	    q
   22083 	  }
   22084 	  /^X\(\/\/\)[^/].*/{
   22085 	    s//\1/
   22086 	    q
   22087 	  }
   22088 	  /^X\(\/\/\)$/{
   22089 	    s//\1/
   22090 	    q
   22091 	  }
   22092 	  /^X\(\/\).*/{
   22093 	    s//\1/
   22094 	    q
   22095 	  }
   22096 	  s/.*/./; q'`
   22097       test -d "$as_dir" && break
   22098     done
   22099     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22100   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22101 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22102    { (exit 1); exit 1; }; }; }
   22103     # echo "creating $dirpart/$file"
   22104     echo '# dummy' > "$dirpart/$file"
   22105   done
   22106 done
   22107  ;;
   22108 
   22109   esac
   22110 done # for ac_tag
   22111 
   22112 
   22113 { (exit 0); exit 0; }
   22114 _ACEOF
   22115 chmod +x $CONFIG_STATUS
   22116 ac_clean_files=$ac_clean_files_save
   22117 
   22118 
   22119 # configure is writing to config.log, and then calls config.status.
   22120 # config.status does its own redirection, appending to config.log.
   22121 # Unfortunately, on DOS this fails, as config.log is still kept open
   22122 # by configure, so config.status won't be able to write to it; its
   22123 # output is simply discarded.  So we exec the FD to /dev/null,
   22124 # effectively closing config.log, so it can be properly (re)opened and
   22125 # appended to by config.status.  When coming back to configure, we
   22126 # need to make the FD available again.
   22127 if test "$no_create" != yes; then
   22128   ac_cs_success=:
   22129   ac_config_status_args=
   22130   test "$silent" = yes &&
   22131     ac_config_status_args="$ac_config_status_args --quiet"
   22132   exec 5>/dev/null
   22133   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22134   exec 5>>config.log
   22135   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22136   # would make configure fail if this is the last instruction.
   22137   $ac_cs_success || { (exit 1); exit 1; }
   22138 fi
   22139 
   22140