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 libXau 1.0.3.
      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='libXau'
    715 PACKAGE_TARNAME='libXau'
    716 PACKAGE_VERSION='1.0.3'
    717 PACKAGE_STRING='libXau 1.0.3'
    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 AMSHOWCMDSAT
    815 AMDEPSHOWCMDSAT
    816 AMPRETTYECHO
    817 AMCMDECHO
    818 LT_QUIET
    819 MAINTAINER_MODE_TRUE
    820 MAINTAINER_MODE_FALSE
    821 MAINT
    822 CC
    823 CFLAGS
    824 LDFLAGS
    825 CPPFLAGS
    826 ac_ct_CC
    827 EXEEXT
    828 OBJEXT
    829 DEPDIR
    830 am__include
    831 am__quote
    832 AMDEP_TRUE
    833 AMDEP_FALSE
    834 AMDEPBACKSLASH
    835 CCDEPMODE
    836 am__fastdepCC_TRUE
    837 am__fastdepCC_FALSE
    838 LN_S
    839 build
    840 build_cpu
    841 build_vendor
    842 build_os
    843 host
    844 host_cpu
    845 host_vendor
    846 host_os
    847 GREP
    848 EGREP
    849 ECHO
    850 AR
    851 RANLIB
    852 DLLTOOL
    853 AS
    854 OBJDUMP
    855 CPP
    856 CXX
    857 CXXFLAGS
    858 ac_ct_CXX
    859 CXXDEPMODE
    860 am__fastdepCXX_TRUE
    861 am__fastdepCXX_FALSE
    862 CXXCPP
    863 F77
    864 FFLAGS
    865 ac_ct_F77
    866 LIBTOOL
    867 PKG_CONFIG
    868 XAU_CFLAGS
    869 XAU_LIBS
    870 KERBEROS_TRUE
    871 KERBEROS_FALSE
    872 LINT
    873 LINT_FLAGS
    874 LINT_TRUE
    875 LINT_FALSE
    876 LINTLIB
    877 MAKE_LINT_LIB_TRUE
    878 MAKE_LINT_LIB_FALSE
    879 APP_MAN_SUFFIX
    880 LIB_MAN_SUFFIX
    881 FILE_MAN_SUFFIX
    882 MISC_MAN_SUFFIX
    883 DRIVER_MAN_SUFFIX
    884 ADMIN_MAN_SUFFIX
    885 APP_MAN_DIR
    886 LIB_MAN_DIR
    887 FILE_MAN_DIR
    888 MISC_MAN_DIR
    889 DRIVER_MAN_DIR
    890 ADMIN_MAN_DIR
    891 LIBOBJS
    892 LTLIBOBJS'
    893 ac_subst_files=''
    894       ac_precious_vars='build_alias
    895 host_alias
    896 target_alias
    897 CC
    898 CFLAGS
    899 LDFLAGS
    900 CPPFLAGS
    901 CPP
    902 CXX
    903 CXXFLAGS
    904 CCC
    905 CXXCPP
    906 F77
    907 FFLAGS
    908 PKG_CONFIG
    909 XAU_CFLAGS
    910 XAU_LIBS'
    911 
    912 
    913 # Initialize some variables set by options.
    914 ac_init_help=
    915 ac_init_version=false
    916 # The variables have the same names as the options, with
    917 # dashes changed to underlines.
    918 cache_file=/dev/null
    919 exec_prefix=NONE
    920 no_create=
    921 no_recursion=
    922 prefix=NONE
    923 program_prefix=NONE
    924 program_suffix=NONE
    925 program_transform_name=s,x,x,
    926 silent=
    927 site=
    928 srcdir=
    929 verbose=
    930 x_includes=NONE
    931 x_libraries=NONE
    932 
    933 # Installation directory options.
    934 # These are left unexpanded so users can "make install exec_prefix=/foo"
    935 # and all the variables that are supposed to be based on exec_prefix
    936 # by default will actually change.
    937 # Use braces instead of parens because sh, perl, etc. also accept them.
    938 # (The list follows the same order as the GNU Coding Standards.)
    939 bindir='${exec_prefix}/bin'
    940 sbindir='${exec_prefix}/sbin'
    941 libexecdir='${exec_prefix}/libexec'
    942 datarootdir='${prefix}/share'
    943 datadir='${datarootdir}'
    944 sysconfdir='${prefix}/etc'
    945 sharedstatedir='${prefix}/com'
    946 localstatedir='${prefix}/var'
    947 includedir='${prefix}/include'
    948 oldincludedir='/usr/include'
    949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    950 infodir='${datarootdir}/info'
    951 htmldir='${docdir}'
    952 dvidir='${docdir}'
    953 pdfdir='${docdir}'
    954 psdir='${docdir}'
    955 libdir='${exec_prefix}/lib'
    956 localedir='${datarootdir}/locale'
    957 mandir='${datarootdir}/man'
    958 
    959 ac_prev=
    960 ac_dashdash=
    961 for ac_option
    962 do
    963   # If the previous option needs an argument, assign it.
    964   if test -n "$ac_prev"; then
    965     eval $ac_prev=\$ac_option
    966     ac_prev=
    967     continue
    968   fi
    969 
    970   case $ac_option in
    971   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    972   *)	ac_optarg=yes ;;
    973   esac
    974 
    975   # Accept the important Cygnus configure options, so we can diagnose typos.
    976 
    977   case $ac_dashdash$ac_option in
    978   --)
    979     ac_dashdash=yes ;;
    980 
    981   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    982     ac_prev=bindir ;;
    983   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    984     bindir=$ac_optarg ;;
    985 
    986   -build | --build | --buil | --bui | --bu)
    987     ac_prev=build_alias ;;
    988   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    989     build_alias=$ac_optarg ;;
    990 
    991   -cache-file | --cache-file | --cache-fil | --cache-fi \
    992   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    993     ac_prev=cache_file ;;
    994   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    995   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    996     cache_file=$ac_optarg ;;
    997 
    998   --config-cache | -C)
    999     cache_file=config.cache ;;
   1000 
   1001   -datadir | --datadir | --datadi | --datad)
   1002     ac_prev=datadir ;;
   1003   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1004     datadir=$ac_optarg ;;
   1005 
   1006   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1007   | --dataroo | --dataro | --datar)
   1008     ac_prev=datarootdir ;;
   1009   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1010   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1011     datarootdir=$ac_optarg ;;
   1012 
   1013   -disable-* | --disable-*)
   1014     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1015     # Reject names that are not valid shell variable names.
   1016     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1017       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1018    { (exit 1); exit 1; }; }
   1019     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   1020     eval enable_$ac_feature=no ;;
   1021 
   1022   -docdir | --docdir | --docdi | --doc | --do)
   1023     ac_prev=docdir ;;
   1024   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1025     docdir=$ac_optarg ;;
   1026 
   1027   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1028     ac_prev=dvidir ;;
   1029   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1030     dvidir=$ac_optarg ;;
   1031 
   1032   -enable-* | --enable-*)
   1033     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1034     # Reject names that are not valid shell variable names.
   1035     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1036       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1037    { (exit 1); exit 1; }; }
   1038     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   1039     eval enable_$ac_feature=\$ac_optarg ;;
   1040 
   1041   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1042   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1043   | --exec | --exe | --ex)
   1044     ac_prev=exec_prefix ;;
   1045   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1046   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1047   | --exec=* | --exe=* | --ex=*)
   1048     exec_prefix=$ac_optarg ;;
   1049 
   1050   -gas | --gas | --ga | --g)
   1051     # Obsolete; use --with-gas.
   1052     with_gas=yes ;;
   1053 
   1054   -help | --help | --hel | --he | -h)
   1055     ac_init_help=long ;;
   1056   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1057     ac_init_help=recursive ;;
   1058   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1059     ac_init_help=short ;;
   1060 
   1061   -host | --host | --hos | --ho)
   1062     ac_prev=host_alias ;;
   1063   -host=* | --host=* | --hos=* | --ho=*)
   1064     host_alias=$ac_optarg ;;
   1065 
   1066   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1067     ac_prev=htmldir ;;
   1068   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1069   | --ht=*)
   1070     htmldir=$ac_optarg ;;
   1071 
   1072   -includedir | --includedir | --includedi | --included | --include \
   1073   | --includ | --inclu | --incl | --inc)
   1074     ac_prev=includedir ;;
   1075   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1076   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1077     includedir=$ac_optarg ;;
   1078 
   1079   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1080     ac_prev=infodir ;;
   1081   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1082     infodir=$ac_optarg ;;
   1083 
   1084   -libdir | --libdir | --libdi | --libd)
   1085     ac_prev=libdir ;;
   1086   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1087     libdir=$ac_optarg ;;
   1088 
   1089   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1090   | --libexe | --libex | --libe)
   1091     ac_prev=libexecdir ;;
   1092   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1093   | --libexe=* | --libex=* | --libe=*)
   1094     libexecdir=$ac_optarg ;;
   1095 
   1096   -localedir | --localedir | --localedi | --localed | --locale)
   1097     ac_prev=localedir ;;
   1098   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1099     localedir=$ac_optarg ;;
   1100 
   1101   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1102   | --localstate | --localstat | --localsta | --localst | --locals)
   1103     ac_prev=localstatedir ;;
   1104   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1105   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1106     localstatedir=$ac_optarg ;;
   1107 
   1108   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1109     ac_prev=mandir ;;
   1110   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1111     mandir=$ac_optarg ;;
   1112 
   1113   -nfp | --nfp | --nf)
   1114     # Obsolete; use --without-fp.
   1115     with_fp=no ;;
   1116 
   1117   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1118   | --no-cr | --no-c | -n)
   1119     no_create=yes ;;
   1120 
   1121   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1122   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1123     no_recursion=yes ;;
   1124 
   1125   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1126   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1127   | --oldin | --oldi | --old | --ol | --o)
   1128     ac_prev=oldincludedir ;;
   1129   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1130   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1131   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1132     oldincludedir=$ac_optarg ;;
   1133 
   1134   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1135     ac_prev=prefix ;;
   1136   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1137     prefix=$ac_optarg ;;
   1138 
   1139   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1140   | --program-pre | --program-pr | --program-p)
   1141     ac_prev=program_prefix ;;
   1142   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1143   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1144     program_prefix=$ac_optarg ;;
   1145 
   1146   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1147   | --program-suf | --program-su | --program-s)
   1148     ac_prev=program_suffix ;;
   1149   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1150   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1151     program_suffix=$ac_optarg ;;
   1152 
   1153   -program-transform-name | --program-transform-name \
   1154   | --program-transform-nam | --program-transform-na \
   1155   | --program-transform-n | --program-transform- \
   1156   | --program-transform | --program-transfor \
   1157   | --program-transfo | --program-transf \
   1158   | --program-trans | --program-tran \
   1159   | --progr-tra | --program-tr | --program-t)
   1160     ac_prev=program_transform_name ;;
   1161   -program-transform-name=* | --program-transform-name=* \
   1162   | --program-transform-nam=* | --program-transform-na=* \
   1163   | --program-transform-n=* | --program-transform-=* \
   1164   | --program-transform=* | --program-transfor=* \
   1165   | --program-transfo=* | --program-transf=* \
   1166   | --program-trans=* | --program-tran=* \
   1167   | --progr-tra=* | --program-tr=* | --program-t=*)
   1168     program_transform_name=$ac_optarg ;;
   1169 
   1170   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1171     ac_prev=pdfdir ;;
   1172   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1173     pdfdir=$ac_optarg ;;
   1174 
   1175   -psdir | --psdir | --psdi | --psd | --ps)
   1176     ac_prev=psdir ;;
   1177   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1178     psdir=$ac_optarg ;;
   1179 
   1180   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1181   | -silent | --silent | --silen | --sile | --sil)
   1182     silent=yes ;;
   1183 
   1184   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1185     ac_prev=sbindir ;;
   1186   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1187   | --sbi=* | --sb=*)
   1188     sbindir=$ac_optarg ;;
   1189 
   1190   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1191   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1192   | --sharedst | --shareds | --shared | --share | --shar \
   1193   | --sha | --sh)
   1194     ac_prev=sharedstatedir ;;
   1195   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1196   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1197   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1198   | --sha=* | --sh=*)
   1199     sharedstatedir=$ac_optarg ;;
   1200 
   1201   -site | --site | --sit)
   1202     ac_prev=site ;;
   1203   -site=* | --site=* | --sit=*)
   1204     site=$ac_optarg ;;
   1205 
   1206   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1207     ac_prev=srcdir ;;
   1208   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1209     srcdir=$ac_optarg ;;
   1210 
   1211   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1212   | --syscon | --sysco | --sysc | --sys | --sy)
   1213     ac_prev=sysconfdir ;;
   1214   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1215   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1216     sysconfdir=$ac_optarg ;;
   1217 
   1218   -target | --target | --targe | --targ | --tar | --ta | --t)
   1219     ac_prev=target_alias ;;
   1220   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1221     target_alias=$ac_optarg ;;
   1222 
   1223   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1224     verbose=yes ;;
   1225 
   1226   -version | --version | --versio | --versi | --vers | -V)
   1227     ac_init_version=: ;;
   1228 
   1229   -with-* | --with-*)
   1230     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1231     # Reject names that are not valid shell variable names.
   1232     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1233       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1234    { (exit 1); exit 1; }; }
   1235     ac_package=`echo $ac_package| sed 's/-/_/g'`
   1236     eval with_$ac_package=\$ac_optarg ;;
   1237 
   1238   -without-* | --without-*)
   1239     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1240     # Reject names that are not valid shell variable names.
   1241     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1242       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1243    { (exit 1); exit 1; }; }
   1244     ac_package=`echo $ac_package | sed 's/-/_/g'`
   1245     eval with_$ac_package=no ;;
   1246 
   1247   --x)
   1248     # Obsolete; use --with-x.
   1249     with_x=yes ;;
   1250 
   1251   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1252   | --x-incl | --x-inc | --x-in | --x-i)
   1253     ac_prev=x_includes ;;
   1254   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1255   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1256     x_includes=$ac_optarg ;;
   1257 
   1258   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1259   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1260     ac_prev=x_libraries ;;
   1261   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1262   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1263     x_libraries=$ac_optarg ;;
   1264 
   1265   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1266 Try \`$0 --help' for more information." >&2
   1267    { (exit 1); exit 1; }; }
   1268     ;;
   1269 
   1270   *=*)
   1271     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1272     # Reject names that are not valid shell variable names.
   1273     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1274       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1275    { (exit 1); exit 1; }; }
   1276     eval $ac_envvar=\$ac_optarg
   1277     export $ac_envvar ;;
   1278 
   1279   *)
   1280     # FIXME: should be removed in autoconf 3.0.
   1281     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1282     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1283       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1284     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1285     ;;
   1286 
   1287   esac
   1288 done
   1289 
   1290 if test -n "$ac_prev"; then
   1291   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1292   { echo "$as_me: error: missing argument to $ac_option" >&2
   1293    { (exit 1); exit 1; }; }
   1294 fi
   1295 
   1296 # Be sure to have absolute directory names.
   1297 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1298 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1299 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1300 		libdir localedir mandir
   1301 do
   1302   eval ac_val=\$$ac_var
   1303   case $ac_val in
   1304     [\\/$]* | ?:[\\/]* )  continue;;
   1305     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1306   esac
   1307   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1308    { (exit 1); exit 1; }; }
   1309 done
   1310 
   1311 # There might be people who depend on the old broken behavior: `$host'
   1312 # used to hold the argument of --host etc.
   1313 # FIXME: To remove some day.
   1314 build=$build_alias
   1315 host=$host_alias
   1316 target=$target_alias
   1317 
   1318 # FIXME: To remove some day.
   1319 if test "x$host_alias" != x; then
   1320   if test "x$build_alias" = x; then
   1321     cross_compiling=maybe
   1322     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1323     If a cross compiler is detected then cross compile mode will be used." >&2
   1324   elif test "x$build_alias" != "x$host_alias"; then
   1325     cross_compiling=yes
   1326   fi
   1327 fi
   1328 
   1329 ac_tool_prefix=
   1330 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1331 
   1332 test "$silent" = yes && exec 6>/dev/null
   1333 
   1334 
   1335 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1336 ac_ls_di=`ls -di .` &&
   1337 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1338   { echo "$as_me: error: Working directory cannot be determined" >&2
   1339    { (exit 1); exit 1; }; }
   1340 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1341   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1342    { (exit 1); exit 1; }; }
   1343 
   1344 
   1345 # Find the source files, if location was not specified.
   1346 if test -z "$srcdir"; then
   1347   ac_srcdir_defaulted=yes
   1348   # Try the directory containing this script, then the parent directory.
   1349   ac_confdir=`$as_dirname -- "$0" ||
   1350 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1351 	 X"$0" : 'X\(//\)[^/]' \| \
   1352 	 X"$0" : 'X\(//\)$' \| \
   1353 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1354 echo X"$0" |
   1355     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1356 	    s//\1/
   1357 	    q
   1358 	  }
   1359 	  /^X\(\/\/\)[^/].*/{
   1360 	    s//\1/
   1361 	    q
   1362 	  }
   1363 	  /^X\(\/\/\)$/{
   1364 	    s//\1/
   1365 	    q
   1366 	  }
   1367 	  /^X\(\/\).*/{
   1368 	    s//\1/
   1369 	    q
   1370 	  }
   1371 	  s/.*/./; q'`
   1372   srcdir=$ac_confdir
   1373   if test ! -r "$srcdir/$ac_unique_file"; then
   1374     srcdir=..
   1375   fi
   1376 else
   1377   ac_srcdir_defaulted=no
   1378 fi
   1379 if test ! -r "$srcdir/$ac_unique_file"; then
   1380   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1381   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1382    { (exit 1); exit 1; }; }
   1383 fi
   1384 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1385 ac_abs_confdir=`(
   1386 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1387    { (exit 1); exit 1; }; }
   1388 	pwd)`
   1389 # When building in place, set srcdir=.
   1390 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1391   srcdir=.
   1392 fi
   1393 # Remove unnecessary trailing slashes from srcdir.
   1394 # Double slashes in file names in object file debugging info
   1395 # mess up M-x gdb in Emacs.
   1396 case $srcdir in
   1397 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1398 esac
   1399 for ac_var in $ac_precious_vars; do
   1400   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1401   eval ac_env_${ac_var}_value=\$${ac_var}
   1402   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1403   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1404 done
   1405 
   1406 #
   1407 # Report the --help message.
   1408 #
   1409 if test "$ac_init_help" = "long"; then
   1410   # Omit some internal or obsolete options to make the list less imposing.
   1411   # This message is too long to be a string in the A/UX 3.1 sh.
   1412   cat <<_ACEOF
   1413 \`configure' configures libXau 1.0.3 to adapt to many kinds of systems.
   1414 
   1415 Usage: $0 [OPTION]... [VAR=VALUE]...
   1416 
   1417 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1418 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1419 
   1420 Defaults for the options are specified in brackets.
   1421 
   1422 Configuration:
   1423   -h, --help              display this help and exit
   1424       --help=short        display options specific to this package
   1425       --help=recursive    display the short help of all the included packages
   1426   -V, --version           display version information and exit
   1427   -q, --quiet, --silent   do not print \`checking...' messages
   1428       --cache-file=FILE   cache test results in FILE [disabled]
   1429   -C, --config-cache      alias for \`--cache-file=config.cache'
   1430   -n, --no-create         do not create output files
   1431       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1432 
   1433 Installation directories:
   1434   --prefix=PREFIX         install architecture-independent files in PREFIX
   1435 			  [$ac_default_prefix]
   1436   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1437 			  [PREFIX]
   1438 
   1439 By default, \`make install' will install all the files in
   1440 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1442 for instance \`--prefix=\$HOME'.
   1443 
   1444 For better control, use the options below.
   1445 
   1446 Fine tuning of the installation directories:
   1447   --bindir=DIR           user executables [EPREFIX/bin]
   1448   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1449   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1450   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1451   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1452   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1453   --libdir=DIR           object code libraries [EPREFIX/lib]
   1454   --includedir=DIR       C header files [PREFIX/include]
   1455   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1456   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1457   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1458   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1459   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1460   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1461   --docdir=DIR           documentation root [DATAROOTDIR/doc/libXau]
   1462   --htmldir=DIR          html documentation [DOCDIR]
   1463   --dvidir=DIR           dvi documentation [DOCDIR]
   1464   --pdfdir=DIR           pdf documentation [DOCDIR]
   1465   --psdir=DIR            ps documentation [DOCDIR]
   1466 _ACEOF
   1467 
   1468   cat <<\_ACEOF
   1469 
   1470 Program names:
   1471   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1472   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1473   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1474 
   1475 System types:
   1476   --build=BUILD     configure for building on BUILD [guessed]
   1477   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1478 _ACEOF
   1479 fi
   1480 
   1481 if test -n "$ac_init_help"; then
   1482   case $ac_init_help in
   1483      short | recursive ) echo "Configuration of libXau 1.0.3:";;
   1484    esac
   1485   cat <<\_ACEOF
   1486 
   1487 Optional Features:
   1488   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1489   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1490   --disable-pretty-cmds          show all commands executed
   1491   --enable-pretty-cmds           do not output the entire command lines
   1492   --enable-maintainer-mode  enable make rules and dependencies not useful
   1493 			  (and sometimes confusing) to the casual installer
   1494   --disable-dependency-tracking  speeds up one-time build
   1495   --enable-dependency-tracking   do not reject slow dependency extractors
   1496   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1497   --enable-static[=PKGS]  build static libraries [default=yes]
   1498   --enable-fast-install[=PKGS]
   1499                           optimize for fast installation [default=yes]
   1500   --disable-libtool-lock  avoid locking (might break parallel builds)
   1501   --disable-xthreads      Disable libXau support for Multithreading
   1502   --enable-lint-library   Create lint library (default: disabled)
   1503 
   1504 Optional Packages:
   1505   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1506   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1507   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1508   --with-pic              try to use only PIC/non-PIC objects [default=use
   1509                           both]
   1510   --with-tags[=TAGS]      include additional configurations [automatic]
   1511   --with-lint             Use a lint-style source code checker (default:
   1512                           disabled)
   1513   --with-release-version=STRING
   1514                           Use release version string in package name
   1515 
   1516 Some influential environment variables:
   1517   CC          C compiler command
   1518   CFLAGS      C compiler flags
   1519   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1520               nonstandard directory <lib dir>
   1521   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1522               you have headers in a nonstandard directory <include dir>
   1523   CPP         C preprocessor
   1524   CXX         C++ compiler command
   1525   CXXFLAGS    C++ compiler flags
   1526   CXXCPP      C++ preprocessor
   1527   F77         Fortran 77 compiler command
   1528   FFLAGS      Fortran 77 compiler flags
   1529   PKG_CONFIG  path to pkg-config utility
   1530   XAU_CFLAGS  C compiler flags for XAU, overriding pkg-config
   1531   XAU_LIBS    linker flags for XAU, overriding pkg-config
   1532 
   1533 Use these variables to override the choices made by `configure' or to help
   1534 it to find libraries and programs with nonstandard names/locations.
   1535 
   1536 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1537 _ACEOF
   1538 ac_status=$?
   1539 fi
   1540 
   1541 if test "$ac_init_help" = "recursive"; then
   1542   # If there are subdirs, report their specific --help.
   1543   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1544     test -d "$ac_dir" || continue
   1545     ac_builddir=.
   1546 
   1547 case "$ac_dir" in
   1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1549 *)
   1550   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1551   # A ".." for each directory in $ac_dir_suffix.
   1552   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1553   case $ac_top_builddir_sub in
   1554   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1555   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1556   esac ;;
   1557 esac
   1558 ac_abs_top_builddir=$ac_pwd
   1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1560 # for backward compatibility:
   1561 ac_top_builddir=$ac_top_build_prefix
   1562 
   1563 case $srcdir in
   1564   .)  # We are building in place.
   1565     ac_srcdir=.
   1566     ac_top_srcdir=$ac_top_builddir_sub
   1567     ac_abs_top_srcdir=$ac_pwd ;;
   1568   [\\/]* | ?:[\\/]* )  # Absolute name.
   1569     ac_srcdir=$srcdir$ac_dir_suffix;
   1570     ac_top_srcdir=$srcdir
   1571     ac_abs_top_srcdir=$srcdir ;;
   1572   *) # Relative name.
   1573     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1574     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1575     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1576 esac
   1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1578 
   1579     cd "$ac_dir" || { ac_status=$?; continue; }
   1580     # Check for guested configure.
   1581     if test -f "$ac_srcdir/configure.gnu"; then
   1582       echo &&
   1583       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1584     elif test -f "$ac_srcdir/configure"; then
   1585       echo &&
   1586       $SHELL "$ac_srcdir/configure" --help=recursive
   1587     else
   1588       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1589     fi || ac_status=$?
   1590     cd "$ac_pwd" || { ac_status=$?; break; }
   1591   done
   1592 fi
   1593 
   1594 test -n "$ac_init_help" && exit $ac_status
   1595 if $ac_init_version; then
   1596   cat <<\_ACEOF
   1597 libXau configure 1.0.3
   1598 generated by GNU Autoconf 2.60
   1599 
   1600 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1601 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1602 This configure script is free software; the Free Software Foundation
   1603 gives unlimited permission to copy, distribute and modify it.
   1604 _ACEOF
   1605   exit
   1606 fi
   1607 cat >config.log <<_ACEOF
   1608 This file contains any messages produced by compilers while
   1609 running configure, to aid debugging if configure makes a mistake.
   1610 
   1611 It was created by libXau $as_me 1.0.3, which was
   1612 generated by GNU Autoconf 2.60.  Invocation command line was
   1613 
   1614   $ $0 $@
   1615 
   1616 _ACEOF
   1617 exec 5>>config.log
   1618 {
   1619 cat <<_ASUNAME
   1620 ## --------- ##
   1621 ## Platform. ##
   1622 ## --------- ##
   1623 
   1624 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1625 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1626 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1627 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1628 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1629 
   1630 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1631 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1632 
   1633 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1634 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1635 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1636 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1637 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1638 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1639 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1640 
   1641 _ASUNAME
   1642 
   1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1644 for as_dir in $PATH
   1645 do
   1646   IFS=$as_save_IFS
   1647   test -z "$as_dir" && as_dir=.
   1648   echo "PATH: $as_dir"
   1649 done
   1650 IFS=$as_save_IFS
   1651 
   1652 } >&5
   1653 
   1654 cat >&5 <<_ACEOF
   1655 
   1656 
   1657 ## ----------- ##
   1658 ## Core tests. ##
   1659 ## ----------- ##
   1660 
   1661 _ACEOF
   1662 
   1663 
   1664 # Keep a trace of the command line.
   1665 # Strip out --no-create and --no-recursion so they do not pile up.
   1666 # Strip out --silent because we don't want to record it for future runs.
   1667 # Also quote any args containing shell meta-characters.
   1668 # Make two passes to allow for proper duplicate-argument suppression.
   1669 ac_configure_args=
   1670 ac_configure_args0=
   1671 ac_configure_args1=
   1672 ac_must_keep_next=false
   1673 for ac_pass in 1 2
   1674 do
   1675   for ac_arg
   1676   do
   1677     case $ac_arg in
   1678     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1679     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1680     | -silent | --silent | --silen | --sile | --sil)
   1681       continue ;;
   1682     *\'*)
   1683       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1684     esac
   1685     case $ac_pass in
   1686     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1687     2)
   1688       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1689       if test $ac_must_keep_next = true; then
   1690 	ac_must_keep_next=false # Got value, back to normal.
   1691       else
   1692 	case $ac_arg in
   1693 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1694 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1695 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1696 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1697 	    case "$ac_configure_args0 " in
   1698 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1699 	    esac
   1700 	    ;;
   1701 	  -* ) ac_must_keep_next=true ;;
   1702 	esac
   1703       fi
   1704       ac_configure_args="$ac_configure_args '$ac_arg'"
   1705       ;;
   1706     esac
   1707   done
   1708 done
   1709 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1710 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1711 
   1712 # When interrupted or exit'd, cleanup temporary files, and complete
   1713 # config.log.  We remove comments because anyway the quotes in there
   1714 # would cause problems or look ugly.
   1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1717 trap 'exit_status=$?
   1718   # Save into config.log some information that might help in debugging.
   1719   {
   1720     echo
   1721 
   1722     cat <<\_ASBOX
   1723 ## ---------------- ##
   1724 ## Cache variables. ##
   1725 ## ---------------- ##
   1726 _ASBOX
   1727     echo
   1728     # The following way of writing the cache mishandles newlines in values,
   1729 (
   1730   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1731     eval ac_val=\$$ac_var
   1732     case $ac_val in #(
   1733     *${as_nl}*)
   1734       case $ac_var in #(
   1735       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1737       esac
   1738       case $ac_var in #(
   1739       _ | IFS | as_nl) ;; #(
   1740       *) $as_unset $ac_var ;;
   1741       esac ;;
   1742     esac
   1743   done
   1744   (set) 2>&1 |
   1745     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1746     *${as_nl}ac_space=\ *)
   1747       sed -n \
   1748 	"s/'\''/'\''\\\\'\'''\''/g;
   1749 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1750       ;; #(
   1751     *)
   1752       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1753       ;;
   1754     esac |
   1755     sort
   1756 )
   1757     echo
   1758 
   1759     cat <<\_ASBOX
   1760 ## ----------------- ##
   1761 ## Output variables. ##
   1762 ## ----------------- ##
   1763 _ASBOX
   1764     echo
   1765     for ac_var in $ac_subst_vars
   1766     do
   1767       eval ac_val=\$$ac_var
   1768       case $ac_val in
   1769       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1770       esac
   1771       echo "$ac_var='\''$ac_val'\''"
   1772     done | sort
   1773     echo
   1774 
   1775     if test -n "$ac_subst_files"; then
   1776       cat <<\_ASBOX
   1777 ## ------------------- ##
   1778 ## File substitutions. ##
   1779 ## ------------------- ##
   1780 _ASBOX
   1781       echo
   1782       for ac_var in $ac_subst_files
   1783       do
   1784 	eval ac_val=\$$ac_var
   1785 	case $ac_val in
   1786 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1787 	esac
   1788 	echo "$ac_var='\''$ac_val'\''"
   1789       done | sort
   1790       echo
   1791     fi
   1792 
   1793     if test -s confdefs.h; then
   1794       cat <<\_ASBOX
   1795 ## ----------- ##
   1796 ## confdefs.h. ##
   1797 ## ----------- ##
   1798 _ASBOX
   1799       echo
   1800       cat confdefs.h
   1801       echo
   1802     fi
   1803     test "$ac_signal" != 0 &&
   1804       echo "$as_me: caught signal $ac_signal"
   1805     echo "$as_me: exit $exit_status"
   1806   } >&5
   1807   rm -f core *.core core.conftest.* &&
   1808     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1809     exit $exit_status
   1810 ' 0
   1811 for ac_signal in 1 2 13 15; do
   1812   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1813 done
   1814 ac_signal=0
   1815 
   1816 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1817 rm -f -r conftest* confdefs.h
   1818 
   1819 # Predefined preprocessor variables.
   1820 
   1821 cat >>confdefs.h <<_ACEOF
   1822 #define PACKAGE_NAME "$PACKAGE_NAME"
   1823 _ACEOF
   1824 
   1825 
   1826 cat >>confdefs.h <<_ACEOF
   1827 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1828 _ACEOF
   1829 
   1830 
   1831 cat >>confdefs.h <<_ACEOF
   1832 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1833 _ACEOF
   1834 
   1835 
   1836 cat >>confdefs.h <<_ACEOF
   1837 #define PACKAGE_STRING "$PACKAGE_STRING"
   1838 _ACEOF
   1839 
   1840 
   1841 cat >>confdefs.h <<_ACEOF
   1842 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1843 _ACEOF
   1844 
   1845 
   1846 # Let the site file select an alternate cache file if it wants to.
   1847 # Prefer explicitly selected file to automatically selected ones.
   1848 if test -n "$CONFIG_SITE"; then
   1849   set x "$CONFIG_SITE"
   1850 elif test "x$prefix" != xNONE; then
   1851   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1852 else
   1853   set x "$ac_default_prefix/share/config.site" \
   1854 	"$ac_default_prefix/etc/config.site"
   1855 fi
   1856 shift
   1857 for ac_site_file
   1858 do
   1859   if test -r "$ac_site_file"; then
   1860     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1861 echo "$as_me: loading site script $ac_site_file" >&6;}
   1862     sed 's/^/| /' "$ac_site_file" >&5
   1863     . "$ac_site_file"
   1864   fi
   1865 done
   1866 
   1867 if test -r "$cache_file"; then
   1868   # Some versions of bash will fail to source /dev/null (special
   1869   # files actually), so we avoid doing that.
   1870   if test -f "$cache_file"; then
   1871     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1872 echo "$as_me: loading cache $cache_file" >&6;}
   1873     case $cache_file in
   1874       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1875       *)                      . "./$cache_file";;
   1876     esac
   1877   fi
   1878 else
   1879   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1880 echo "$as_me: creating cache $cache_file" >&6;}
   1881   >$cache_file
   1882 fi
   1883 
   1884 # Check that the precious variables saved in the cache have kept the same
   1885 # value.
   1886 ac_cache_corrupted=false
   1887 for ac_var in $ac_precious_vars; do
   1888   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1889   eval ac_new_set=\$ac_env_${ac_var}_set
   1890   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1891   eval ac_new_val=\$ac_env_${ac_var}_value
   1892   case $ac_old_set,$ac_new_set in
   1893     set,)
   1894       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1895 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1896       ac_cache_corrupted=: ;;
   1897     ,set)
   1898       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1899 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1900       ac_cache_corrupted=: ;;
   1901     ,);;
   1902     *)
   1903       if test "x$ac_old_val" != "x$ac_new_val"; then
   1904 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1905 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1906 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1907 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1908 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1909 echo "$as_me:   current value: $ac_new_val" >&2;}
   1910 	ac_cache_corrupted=:
   1911       fi;;
   1912   esac
   1913   # Pass precious variables to config.status.
   1914   if test "$ac_new_set" = set; then
   1915     case $ac_new_val in
   1916     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1917     *) ac_arg=$ac_var=$ac_new_val ;;
   1918     esac
   1919     case " $ac_configure_args " in
   1920       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1921       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1922     esac
   1923   fi
   1924 done
   1925 if $ac_cache_corrupted; then
   1926   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1927 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1928   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1929 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1930    { (exit 1); exit 1; }; }
   1931 fi
   1932 
   1933 
   1934 
   1935 
   1936 
   1937 
   1938 
   1939 
   1940 
   1941 
   1942 
   1943 
   1944 
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 ac_ext=c
   1958 ac_cpp='$CPP $CPPFLAGS'
   1959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1962 
   1963 
   1964 am__api_version="1.9"
   1965 ac_aux_dir=
   1966 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1967   if test -f "$ac_dir/install-sh"; then
   1968     ac_aux_dir=$ac_dir
   1969     ac_install_sh="$ac_aux_dir/install-sh -c"
   1970     break
   1971   elif test -f "$ac_dir/install.sh"; then
   1972     ac_aux_dir=$ac_dir
   1973     ac_install_sh="$ac_aux_dir/install.sh -c"
   1974     break
   1975   elif test -f "$ac_dir/shtool"; then
   1976     ac_aux_dir=$ac_dir
   1977     ac_install_sh="$ac_aux_dir/shtool install -c"
   1978     break
   1979   fi
   1980 done
   1981 if test -z "$ac_aux_dir"; then
   1982   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1983 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1984    { (exit 1); exit 1; }; }
   1985 fi
   1986 
   1987 # These three variables are undocumented and unsupported,
   1988 # and are intended to be withdrawn in a future Autoconf release.
   1989 # They can cause serious problems if a builder's source tree is in a directory
   1990 # whose full name contains unusual characters.
   1991 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1992 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1993 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1994 
   1995 
   1996 # Find a good install program.  We prefer a C program (faster),
   1997 # so one script is as good as another.  But avoid the broken or
   1998 # incompatible versions:
   1999 # SysV /etc/install, /usr/sbin/install
   2000 # SunOS /usr/etc/install
   2001 # IRIX /sbin/install
   2002 # AIX /bin/install
   2003 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2007 # OS/2's system install, which has a completely different semantic
   2008 # ./install, which can be erroneously created by make from ./install.sh.
   2009 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2010 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2011 if test -z "$INSTALL"; then
   2012 if test "${ac_cv_path_install+set}" = set; then
   2013   echo $ECHO_N "(cached) $ECHO_C" >&6
   2014 else
   2015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2016 for as_dir in $PATH
   2017 do
   2018   IFS=$as_save_IFS
   2019   test -z "$as_dir" && as_dir=.
   2020   # Account for people who put trailing slashes in PATH elements.
   2021 case $as_dir/ in
   2022   ./ | .// | /cC/* | \
   2023   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2024   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2025   /usr/ucb/* ) ;;
   2026   *)
   2027     # OSF1 and SCO ODT 3.0 have their own names for install.
   2028     # Don't use installbsd from OSF since it installs stuff as root
   2029     # by default.
   2030     for ac_prog in ginstall scoinst install; do
   2031       for ac_exec_ext in '' $ac_executable_extensions; do
   2032 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2033 	  if test $ac_prog = install &&
   2034 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2035 	    # AIX install.  It has an incompatible calling convention.
   2036 	    :
   2037 	  elif test $ac_prog = install &&
   2038 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2039 	    # program-specific install script used by HP pwplus--don't use.
   2040 	    :
   2041 	  else
   2042 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2043 	    break 3
   2044 	  fi
   2045 	fi
   2046       done
   2047     done
   2048     ;;
   2049 esac
   2050 done
   2051 IFS=$as_save_IFS
   2052 
   2053 
   2054 fi
   2055   if test "${ac_cv_path_install+set}" = set; then
   2056     INSTALL=$ac_cv_path_install
   2057   else
   2058     # As a last resort, use the slow shell script.  Don't cache a
   2059     # value for INSTALL within a source directory, because that will
   2060     # break other packages using the cache if that directory is
   2061     # removed, or if the value is a relative name.
   2062     INSTALL=$ac_install_sh
   2063   fi
   2064 fi
   2065 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2066 echo "${ECHO_T}$INSTALL" >&6; }
   2067 
   2068 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2069 # It thinks the first close brace ends the variable substitution.
   2070 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2071 
   2072 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2073 
   2074 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2075 
   2076 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2077 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2078 # Just in case
   2079 sleep 1
   2080 echo timestamp > conftest.file
   2081 # Do `set' in a subshell so we don't clobber the current shell's
   2082 # arguments.  Must try -L first in case configure is actually a
   2083 # symlink; some systems play weird games with the mod time of symlinks
   2084 # (eg FreeBSD returns the mod time of the symlink's containing
   2085 # directory).
   2086 if (
   2087    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2088    if test "$*" = "X"; then
   2089       # -L didn't work.
   2090       set X `ls -t $srcdir/configure conftest.file`
   2091    fi
   2092    rm -f conftest.file
   2093    if test "$*" != "X $srcdir/configure conftest.file" \
   2094       && test "$*" != "X conftest.file $srcdir/configure"; then
   2095 
   2096       # If neither matched, then we have a broken ls.  This can happen
   2097       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2098       # broken ls alias from the environment.  This has actually
   2099       # happened.  Such a system could not be considered "sane".
   2100       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2101 alias in your environment" >&5
   2102 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2103 alias in your environment" >&2;}
   2104    { (exit 1); exit 1; }; }
   2105    fi
   2106 
   2107    test "$2" = conftest.file
   2108    )
   2109 then
   2110    # Ok.
   2111    :
   2112 else
   2113    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2114 Check your system clock" >&5
   2115 echo "$as_me: error: newly created file is older than distributed files!
   2116 Check your system clock" >&2;}
   2117    { (exit 1); exit 1; }; }
   2118 fi
   2119 { echo "$as_me:$LINENO: result: yes" >&5
   2120 echo "${ECHO_T}yes" >&6; }
   2121 test "$program_prefix" != NONE &&
   2122   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2123 # Use a double $ so make ignores it.
   2124 test "$program_suffix" != NONE &&
   2125   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2126 # Double any \ or $.  echo might interpret backslashes.
   2127 # By default was `s,x,x', remove it if useless.
   2128 cat <<\_ACEOF >conftest.sed
   2129 s/[\\$]/&&/g;s/;s,x,x,$//
   2130 _ACEOF
   2131 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2132 rm -f conftest.sed
   2133 
   2134 # expand $ac_aux_dir to an absolute path
   2135 am_aux_dir=`cd $ac_aux_dir && pwd`
   2136 
   2137 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2138 # Use eval to expand $SHELL
   2139 if eval "$MISSING --run true"; then
   2140   am_missing_run="$MISSING --run "
   2141 else
   2142   am_missing_run=
   2143   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2144 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2145 fi
   2146 
   2147 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   2148   # We used to keeping the `.' as first argument, in order to
   2149   # allow $(mkdir_p) to be used without argument.  As in
   2150   #   $(mkdir_p) $(somedir)
   2151   # where $(somedir) is conditionally defined.  However this is wrong
   2152   # for two reasons:
   2153   #  1. if the package is installed by a user who cannot write `.'
   2154   #     make install will fail,
   2155   #  2. the above comment should most certainly read
   2156   #     $(mkdir_p) $(DESTDIR)$(somedir)
   2157   #     so it does not work when $(somedir) is undefined and
   2158   #     $(DESTDIR) is not.
   2159   #  To support the latter case, we have to write
   2160   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   2161   #  so the `.' trick is pointless.
   2162   mkdir_p='mkdir -p --'
   2163 else
   2164   # On NextStep and OpenStep, the `mkdir' command does not
   2165   # recognize any option.  It will interpret all options as
   2166   # directories to create, and then abort because `.' already
   2167   # exists.
   2168   for d in ./-p ./--version;
   2169   do
   2170     test -d $d && rmdir $d
   2171   done
   2172   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   2173   if test -f "$ac_aux_dir/mkinstalldirs"; then
   2174     mkdir_p='$(mkinstalldirs)'
   2175   else
   2176     mkdir_p='$(install_sh) -d'
   2177   fi
   2178 fi
   2179 
   2180 for ac_prog in gawk mawk nawk awk
   2181 do
   2182   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2183 set dummy $ac_prog; ac_word=$2
   2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2186 if test "${ac_cv_prog_AWK+set}" = set; then
   2187   echo $ECHO_N "(cached) $ECHO_C" >&6
   2188 else
   2189   if test -n "$AWK"; then
   2190   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2191 else
   2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2193 for as_dir in $PATH
   2194 do
   2195   IFS=$as_save_IFS
   2196   test -z "$as_dir" && as_dir=.
   2197   for ac_exec_ext in '' $ac_executable_extensions; do
   2198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2199     ac_cv_prog_AWK="$ac_prog"
   2200     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2201     break 2
   2202   fi
   2203 done
   2204 done
   2205 IFS=$as_save_IFS
   2206 
   2207 fi
   2208 fi
   2209 AWK=$ac_cv_prog_AWK
   2210 if test -n "$AWK"; then
   2211   { echo "$as_me:$LINENO: result: $AWK" >&5
   2212 echo "${ECHO_T}$AWK" >&6; }
   2213 else
   2214   { echo "$as_me:$LINENO: result: no" >&5
   2215 echo "${ECHO_T}no" >&6; }
   2216 fi
   2217 
   2218 
   2219   test -n "$AWK" && break
   2220 done
   2221 
   2222 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2223 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2224 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2225 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2226   echo $ECHO_N "(cached) $ECHO_C" >&6
   2227 else
   2228   cat >conftest.make <<\_ACEOF
   2229 SHELL = /bin/sh
   2230 all:
   2231 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2232 _ACEOF
   2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2235   *@@@%%%=?*=@@@%%%*)
   2236     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2237   *)
   2238     eval ac_cv_prog_make_${ac_make}_set=no;;
   2239 esac
   2240 rm -f conftest.make
   2241 fi
   2242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2243   { echo "$as_me:$LINENO: result: yes" >&5
   2244 echo "${ECHO_T}yes" >&6; }
   2245   SET_MAKE=
   2246 else
   2247   { echo "$as_me:$LINENO: result: no" >&5
   2248 echo "${ECHO_T}no" >&6; }
   2249   SET_MAKE="MAKE=${MAKE-make}"
   2250 fi
   2251 
   2252 rm -rf .tst 2>/dev/null
   2253 mkdir .tst 2>/dev/null
   2254 if test -d .tst; then
   2255   am__leading_dot=.
   2256 else
   2257   am__leading_dot=_
   2258 fi
   2259 rmdir .tst 2>/dev/null
   2260 
   2261 # Check whether --enable-pretty-cmds was given.
   2262 if test "${enable_pretty_cmds+set}" = set; then
   2263   enableval=$enable_pretty_cmds;
   2264 fi
   2265 
   2266 AMSHOWCMDSAT=''
   2267 AMDEPSHOWCMDSAT=''
   2268 AMPRETTYECHO=true
   2269 AMCMDECHO=echo
   2270 if test "x$enable_pretty_cmds" = xyes;
   2271 then
   2272   AMSHOWCMDSAT='@'
   2273   test "x$enable_dependency_tracking" = xno && AMDEPSHOWCMDSAT='@'
   2274   AMPRETTYECHO=echo
   2275   AMCMDECHO=true
   2276   LT_QUIET='--quiet'
   2277 fi
   2278 
   2279 
   2280 
   2281 
   2282 
   2283 
   2284 # test to see if srcdir already configured
   2285 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   2286    test -f $srcdir/config.status; then
   2287   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2288 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2289    { (exit 1); exit 1; }; }
   2290 fi
   2291 
   2292 # test whether we have cygpath
   2293 if test -z "$CYGPATH_W"; then
   2294   if (cygpath --version) >/dev/null 2>/dev/null; then
   2295     CYGPATH_W='cygpath -w'
   2296   else
   2297     CYGPATH_W=echo
   2298   fi
   2299 fi
   2300 
   2301 
   2302 # Define the identity of the package.
   2303  PACKAGE='libXau'
   2304  VERSION='1.0.3'
   2305 
   2306 
   2307 cat >>confdefs.h <<_ACEOF
   2308 #define PACKAGE "$PACKAGE"
   2309 _ACEOF
   2310 
   2311 
   2312 cat >>confdefs.h <<_ACEOF
   2313 #define VERSION "$VERSION"
   2314 _ACEOF
   2315 
   2316 # Some tools Automake needs.
   2317 
   2318 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2319 
   2320 
   2321 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2322 
   2323 
   2324 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2325 
   2326 
   2327 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2328 
   2329 
   2330 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2331 
   2332 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   2333 
   2334 # Installed binaries are usually stripped using `strip' when the user
   2335 # run `make install-strip'.  However `strip' might not be the right
   2336 # tool to use in cross-compilation environments, therefore Automake
   2337 # will honor the `STRIP' environment variable to overrule this program.
   2338 if test "$cross_compiling" != no; then
   2339   if test -n "$ac_tool_prefix"; then
   2340   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2341 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2344 if test "${ac_cv_prog_STRIP+set}" = set; then
   2345   echo $ECHO_N "(cached) $ECHO_C" >&6
   2346 else
   2347   if test -n "$STRIP"; then
   2348   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2349 else
   2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2351 for as_dir in $PATH
   2352 do
   2353   IFS=$as_save_IFS
   2354   test -z "$as_dir" && as_dir=.
   2355   for ac_exec_ext in '' $ac_executable_extensions; do
   2356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2357     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2358     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2359     break 2
   2360   fi
   2361 done
   2362 done
   2363 IFS=$as_save_IFS
   2364 
   2365 fi
   2366 fi
   2367 STRIP=$ac_cv_prog_STRIP
   2368 if test -n "$STRIP"; then
   2369   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2370 echo "${ECHO_T}$STRIP" >&6; }
   2371 else
   2372   { echo "$as_me:$LINENO: result: no" >&5
   2373 echo "${ECHO_T}no" >&6; }
   2374 fi
   2375 
   2376 
   2377 fi
   2378 if test -z "$ac_cv_prog_STRIP"; then
   2379   ac_ct_STRIP=$STRIP
   2380   # Extract the first word of "strip", so it can be a program name with args.
   2381 set dummy strip; ac_word=$2
   2382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2384 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2385   echo $ECHO_N "(cached) $ECHO_C" >&6
   2386 else
   2387   if test -n "$ac_ct_STRIP"; then
   2388   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2389 else
   2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2391 for as_dir in $PATH
   2392 do
   2393   IFS=$as_save_IFS
   2394   test -z "$as_dir" && as_dir=.
   2395   for ac_exec_ext in '' $ac_executable_extensions; do
   2396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2397     ac_cv_prog_ac_ct_STRIP="strip"
   2398     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2399     break 2
   2400   fi
   2401 done
   2402 done
   2403 IFS=$as_save_IFS
   2404 
   2405 fi
   2406 fi
   2407 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2408 if test -n "$ac_ct_STRIP"; then
   2409   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2410 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2411 else
   2412   { echo "$as_me:$LINENO: result: no" >&5
   2413 echo "${ECHO_T}no" >&6; }
   2414 fi
   2415 
   2416   if test "x$ac_ct_STRIP" = x; then
   2417     STRIP=":"
   2418   else
   2419     case $cross_compiling:$ac_tool_warned in
   2420 yes:)
   2421 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2422 whose name does not start with the host triplet.  If you think this
   2423 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2424 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2425 whose name does not start with the host triplet.  If you think this
   2426 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2427 ac_tool_warned=yes ;;
   2428 esac
   2429     STRIP=$ac_ct_STRIP
   2430   fi
   2431 else
   2432   STRIP="$ac_cv_prog_STRIP"
   2433 fi
   2434 
   2435 fi
   2436 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   2437 
   2438 # We need awk for the "check" target.  The system "awk" is bad on
   2439 # some platforms.
   2440 # Always define AMTAR for backward compatibility.
   2441 
   2442 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2443 
   2444 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2445 
   2446 
   2447 
   2448 
   2449 
   2450 
   2451 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2452 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2453     # Check whether --enable-maintainer-mode was given.
   2454 if test "${enable_maintainer_mode+set}" = set; then
   2455   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2456 else
   2457   USE_MAINTAINER_MODE=no
   2458 fi
   2459 
   2460   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2461 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2462 
   2463 
   2464 if test $USE_MAINTAINER_MODE = yes; then
   2465   MAINTAINER_MODE_TRUE=
   2466   MAINTAINER_MODE_FALSE='#'
   2467 else
   2468   MAINTAINER_MODE_TRUE='#'
   2469   MAINTAINER_MODE_FALSE=
   2470 fi
   2471 
   2472   MAINT=$MAINTAINER_MODE_TRUE
   2473 
   2474 
   2475 
   2476 ac_config_headers="$ac_config_headers config.h"
   2477 
   2478 
   2479 # Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
   2480 
   2481 
   2482 	XORG_MACROS_needed_version=1.1
   2483 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   2484 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2485 	{ echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   2486 echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; }
   2487 	XORG_MACROS_version=1.1.3
   2488 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   2489 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2490 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   2491 		{ { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
   2492 echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
   2493    { (exit 1); exit 1; }; }
   2494 	fi
   2495 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   2496 		{ { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
   2497 echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
   2498    { (exit 1); exit 1; }; }
   2499 	fi
   2500 	{ echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   2501 echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
   2502 
   2503 
   2504 ac_ext=c
   2505 ac_cpp='$CPP $CPPFLAGS'
   2506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2509 if test -n "$ac_tool_prefix"; then
   2510   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2511 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2514 if test "${ac_cv_prog_CC+set}" = set; then
   2515   echo $ECHO_N "(cached) $ECHO_C" >&6
   2516 else
   2517   if test -n "$CC"; then
   2518   ac_cv_prog_CC="$CC" # Let the user override the test.
   2519 else
   2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2521 for as_dir in $PATH
   2522 do
   2523   IFS=$as_save_IFS
   2524   test -z "$as_dir" && as_dir=.
   2525   for ac_exec_ext in '' $ac_executable_extensions; do
   2526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2527     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2528     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2529     break 2
   2530   fi
   2531 done
   2532 done
   2533 IFS=$as_save_IFS
   2534 
   2535 fi
   2536 fi
   2537 CC=$ac_cv_prog_CC
   2538 if test -n "$CC"; then
   2539   { echo "$as_me:$LINENO: result: $CC" >&5
   2540 echo "${ECHO_T}$CC" >&6; }
   2541 else
   2542   { echo "$as_me:$LINENO: result: no" >&5
   2543 echo "${ECHO_T}no" >&6; }
   2544 fi
   2545 
   2546 
   2547 fi
   2548 if test -z "$ac_cv_prog_CC"; then
   2549   ac_ct_CC=$CC
   2550   # Extract the first word of "gcc", so it can be a program name with args.
   2551 set dummy gcc; ac_word=$2
   2552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2555   echo $ECHO_N "(cached) $ECHO_C" >&6
   2556 else
   2557   if test -n "$ac_ct_CC"; then
   2558   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2559 else
   2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2561 for as_dir in $PATH
   2562 do
   2563   IFS=$as_save_IFS
   2564   test -z "$as_dir" && as_dir=.
   2565   for ac_exec_ext in '' $ac_executable_extensions; do
   2566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2567     ac_cv_prog_ac_ct_CC="gcc"
   2568     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2569     break 2
   2570   fi
   2571 done
   2572 done
   2573 IFS=$as_save_IFS
   2574 
   2575 fi
   2576 fi
   2577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2578 if test -n "$ac_ct_CC"; then
   2579   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2580 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2581 else
   2582   { echo "$as_me:$LINENO: result: no" >&5
   2583 echo "${ECHO_T}no" >&6; }
   2584 fi
   2585 
   2586   if test "x$ac_ct_CC" = x; then
   2587     CC=""
   2588   else
   2589     case $cross_compiling:$ac_tool_warned in
   2590 yes:)
   2591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2592 whose name does not start with the host triplet.  If you think this
   2593 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2595 whose name does not start with the host triplet.  If you think this
   2596 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2597 ac_tool_warned=yes ;;
   2598 esac
   2599     CC=$ac_ct_CC
   2600   fi
   2601 else
   2602   CC="$ac_cv_prog_CC"
   2603 fi
   2604 
   2605 if test -z "$CC"; then
   2606           if test -n "$ac_tool_prefix"; then
   2607     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2608 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2611 if test "${ac_cv_prog_CC+set}" = set; then
   2612   echo $ECHO_N "(cached) $ECHO_C" >&6
   2613 else
   2614   if test -n "$CC"; then
   2615   ac_cv_prog_CC="$CC" # Let the user override the test.
   2616 else
   2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2618 for as_dir in $PATH
   2619 do
   2620   IFS=$as_save_IFS
   2621   test -z "$as_dir" && as_dir=.
   2622   for ac_exec_ext in '' $ac_executable_extensions; do
   2623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2624     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2626     break 2
   2627   fi
   2628 done
   2629 done
   2630 IFS=$as_save_IFS
   2631 
   2632 fi
   2633 fi
   2634 CC=$ac_cv_prog_CC
   2635 if test -n "$CC"; then
   2636   { echo "$as_me:$LINENO: result: $CC" >&5
   2637 echo "${ECHO_T}$CC" >&6; }
   2638 else
   2639   { echo "$as_me:$LINENO: result: no" >&5
   2640 echo "${ECHO_T}no" >&6; }
   2641 fi
   2642 
   2643 
   2644   fi
   2645 fi
   2646 if test -z "$CC"; then
   2647   # Extract the first word of "cc", so it can be a program name with args.
   2648 set dummy cc; ac_word=$2
   2649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2651 if test "${ac_cv_prog_CC+set}" = set; then
   2652   echo $ECHO_N "(cached) $ECHO_C" >&6
   2653 else
   2654   if test -n "$CC"; then
   2655   ac_cv_prog_CC="$CC" # Let the user override the test.
   2656 else
   2657   ac_prog_rejected=no
   2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2659 for as_dir in $PATH
   2660 do
   2661   IFS=$as_save_IFS
   2662   test -z "$as_dir" && as_dir=.
   2663   for ac_exec_ext in '' $ac_executable_extensions; do
   2664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2665     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2666        ac_prog_rejected=yes
   2667        continue
   2668      fi
   2669     ac_cv_prog_CC="cc"
   2670     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2671     break 2
   2672   fi
   2673 done
   2674 done
   2675 IFS=$as_save_IFS
   2676 
   2677 if test $ac_prog_rejected = yes; then
   2678   # We found a bogon in the path, so make sure we never use it.
   2679   set dummy $ac_cv_prog_CC
   2680   shift
   2681   if test $# != 0; then
   2682     # We chose a different compiler from the bogus one.
   2683     # However, it has the same basename, so the bogon will be chosen
   2684     # first if we set CC to just the basename; use the full file name.
   2685     shift
   2686     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2687   fi
   2688 fi
   2689 fi
   2690 fi
   2691 CC=$ac_cv_prog_CC
   2692 if test -n "$CC"; then
   2693   { echo "$as_me:$LINENO: result: $CC" >&5
   2694 echo "${ECHO_T}$CC" >&6; }
   2695 else
   2696   { echo "$as_me:$LINENO: result: no" >&5
   2697 echo "${ECHO_T}no" >&6; }
   2698 fi
   2699 
   2700 
   2701 fi
   2702 if test -z "$CC"; then
   2703   if test -n "$ac_tool_prefix"; then
   2704   for ac_prog in cl.exe
   2705   do
   2706     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2710 if test "${ac_cv_prog_CC+set}" = set; then
   2711   echo $ECHO_N "(cached) $ECHO_C" >&6
   2712 else
   2713   if test -n "$CC"; then
   2714   ac_cv_prog_CC="$CC" # Let the user override the test.
   2715 else
   2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2717 for as_dir in $PATH
   2718 do
   2719   IFS=$as_save_IFS
   2720   test -z "$as_dir" && as_dir=.
   2721   for ac_exec_ext in '' $ac_executable_extensions; do
   2722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2723     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2724     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2725     break 2
   2726   fi
   2727 done
   2728 done
   2729 IFS=$as_save_IFS
   2730 
   2731 fi
   2732 fi
   2733 CC=$ac_cv_prog_CC
   2734 if test -n "$CC"; then
   2735   { echo "$as_me:$LINENO: result: $CC" >&5
   2736 echo "${ECHO_T}$CC" >&6; }
   2737 else
   2738   { echo "$as_me:$LINENO: result: no" >&5
   2739 echo "${ECHO_T}no" >&6; }
   2740 fi
   2741 
   2742 
   2743     test -n "$CC" && break
   2744   done
   2745 fi
   2746 if test -z "$CC"; then
   2747   ac_ct_CC=$CC
   2748   for ac_prog in cl.exe
   2749 do
   2750   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2751 set dummy $ac_prog; ac_word=$2
   2752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2754 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2755   echo $ECHO_N "(cached) $ECHO_C" >&6
   2756 else
   2757   if test -n "$ac_ct_CC"; then
   2758   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2759 else
   2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2761 for as_dir in $PATH
   2762 do
   2763   IFS=$as_save_IFS
   2764   test -z "$as_dir" && as_dir=.
   2765   for ac_exec_ext in '' $ac_executable_extensions; do
   2766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2767     ac_cv_prog_ac_ct_CC="$ac_prog"
   2768     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2769     break 2
   2770   fi
   2771 done
   2772 done
   2773 IFS=$as_save_IFS
   2774 
   2775 fi
   2776 fi
   2777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2778 if test -n "$ac_ct_CC"; then
   2779   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2780 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2781 else
   2782   { echo "$as_me:$LINENO: result: no" >&5
   2783 echo "${ECHO_T}no" >&6; }
   2784 fi
   2785 
   2786 
   2787   test -n "$ac_ct_CC" && break
   2788 done
   2789 
   2790   if test "x$ac_ct_CC" = x; then
   2791     CC=""
   2792   else
   2793     case $cross_compiling:$ac_tool_warned in
   2794 yes:)
   2795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2796 whose name does not start with the host triplet.  If you think this
   2797 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2799 whose name does not start with the host triplet.  If you think this
   2800 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2801 ac_tool_warned=yes ;;
   2802 esac
   2803     CC=$ac_ct_CC
   2804   fi
   2805 fi
   2806 
   2807 fi
   2808 
   2809 
   2810 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2811 See \`config.log' for more details." >&5
   2812 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2813 See \`config.log' for more details." >&2;}
   2814    { (exit 1); exit 1; }; }
   2815 
   2816 # Provide some information about the compiler.
   2817 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2818 ac_compiler=`set X $ac_compile; echo $2`
   2819 { (ac_try="$ac_compiler --version >&5"
   2820 case "(($ac_try" in
   2821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2822   *) ac_try_echo=$ac_try;;
   2823 esac
   2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2825   (eval "$ac_compiler --version >&5") 2>&5
   2826   ac_status=$?
   2827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2828   (exit $ac_status); }
   2829 { (ac_try="$ac_compiler -v >&5"
   2830 case "(($ac_try" in
   2831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2832   *) ac_try_echo=$ac_try;;
   2833 esac
   2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2835   (eval "$ac_compiler -v >&5") 2>&5
   2836   ac_status=$?
   2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2838   (exit $ac_status); }
   2839 { (ac_try="$ac_compiler -V >&5"
   2840 case "(($ac_try" in
   2841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2842   *) ac_try_echo=$ac_try;;
   2843 esac
   2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2845   (eval "$ac_compiler -V >&5") 2>&5
   2846   ac_status=$?
   2847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2848   (exit $ac_status); }
   2849 
   2850 cat >conftest.$ac_ext <<_ACEOF
   2851 /* confdefs.h.  */
   2852 _ACEOF
   2853 cat confdefs.h >>conftest.$ac_ext
   2854 cat >>conftest.$ac_ext <<_ACEOF
   2855 /* end confdefs.h.  */
   2856 
   2857 int
   2858 main ()
   2859 {
   2860 
   2861   ;
   2862   return 0;
   2863 }
   2864 _ACEOF
   2865 ac_clean_files_save=$ac_clean_files
   2866 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2867 # Try to create an executable without -o first, disregard a.out.
   2868 # It will help us diagnose broken compilers, and finding out an intuition
   2869 # of exeext.
   2870 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2871 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2872 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2873 #
   2874 # List of possible output files, starting from the most likely.
   2875 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2876 # only as a last resort.  b.out is created by i960 compilers.
   2877 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2878 #
   2879 # The IRIX 6 linker writes into existing files which may not be
   2880 # executable, retaining their permissions.  Remove them first so a
   2881 # subsequent execution test works.
   2882 ac_rmfiles=
   2883 for ac_file in $ac_files
   2884 do
   2885   case $ac_file in
   2886     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2887     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2888   esac
   2889 done
   2890 rm -f $ac_rmfiles
   2891 
   2892 if { (ac_try="$ac_link_default"
   2893 case "(($ac_try" in
   2894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2895   *) ac_try_echo=$ac_try;;
   2896 esac
   2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2898   (eval "$ac_link_default") 2>&5
   2899   ac_status=$?
   2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2901   (exit $ac_status); }; then
   2902   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2903 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2904 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2905 # so that the user can short-circuit this test for compilers unknown to
   2906 # Autoconf.
   2907 for ac_file in $ac_files
   2908 do
   2909   test -f "$ac_file" || continue
   2910   case $ac_file in
   2911     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2912 	;;
   2913     [ab].out )
   2914 	# We found the default executable, but exeext='' is most
   2915 	# certainly right.
   2916 	break;;
   2917     *.* )
   2918         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2919 	then :; else
   2920 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2921 	fi
   2922 	# We set ac_cv_exeext here because the later test for it is not
   2923 	# safe: cross compilers may not add the suffix if given an `-o'
   2924 	# argument, so we may need to know it at that point already.
   2925 	# Even if this section looks crufty: it has the advantage of
   2926 	# actually working.
   2927 	break;;
   2928     * )
   2929 	break;;
   2930   esac
   2931 done
   2932 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2933 
   2934 else
   2935   echo "$as_me: failed program was:" >&5
   2936 sed 's/^/| /' conftest.$ac_ext >&5
   2937 
   2938 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2939 See \`config.log' for more details." >&5
   2940 echo "$as_me: error: C compiler cannot create executables
   2941 See \`config.log' for more details." >&2;}
   2942    { (exit 77); exit 77; }; }
   2943 fi
   2944 
   2945 ac_exeext=$ac_cv_exeext
   2946 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2947 echo "${ECHO_T}$ac_file" >&6; }
   2948 
   2949 # Check that the compiler produces executables we can run.  If not, either
   2950 # the compiler is broken, or we cross compile.
   2951 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2952 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2953 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2954 # If not cross compiling, check that we can run a simple program.
   2955 if test "$cross_compiling" != yes; then
   2956   if { ac_try='./$ac_file'
   2957   { (case "(($ac_try" in
   2958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2959   *) ac_try_echo=$ac_try;;
   2960 esac
   2961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2962   (eval "$ac_try") 2>&5
   2963   ac_status=$?
   2964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2965   (exit $ac_status); }; }; then
   2966     cross_compiling=no
   2967   else
   2968     if test "$cross_compiling" = maybe; then
   2969 	cross_compiling=yes
   2970     else
   2971 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2972 If you meant to cross compile, use \`--host'.
   2973 See \`config.log' for more details." >&5
   2974 echo "$as_me: error: cannot run C compiled programs.
   2975 If you meant to cross compile, use \`--host'.
   2976 See \`config.log' for more details." >&2;}
   2977    { (exit 1); exit 1; }; }
   2978     fi
   2979   fi
   2980 fi
   2981 { echo "$as_me:$LINENO: result: yes" >&5
   2982 echo "${ECHO_T}yes" >&6; }
   2983 
   2984 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2985 ac_clean_files=$ac_clean_files_save
   2986 # Check that the compiler produces executables we can run.  If not, either
   2987 # the compiler is broken, or we cross compile.
   2988 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2989 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2990 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2991 echo "${ECHO_T}$cross_compiling" >&6; }
   2992 
   2993 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2994 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2995 if { (ac_try="$ac_link"
   2996 case "(($ac_try" in
   2997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2998   *) ac_try_echo=$ac_try;;
   2999 esac
   3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3001   (eval "$ac_link") 2>&5
   3002   ac_status=$?
   3003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3004   (exit $ac_status); }; then
   3005   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3006 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3007 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3008 # `rm'.
   3009 for ac_file in conftest.exe conftest conftest.*; do
   3010   test -f "$ac_file" || continue
   3011   case $ac_file in
   3012     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3013     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3014 	  break;;
   3015     * ) break;;
   3016   esac
   3017 done
   3018 else
   3019   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3020 See \`config.log' for more details." >&5
   3021 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3022 See \`config.log' for more details." >&2;}
   3023    { (exit 1); exit 1; }; }
   3024 fi
   3025 
   3026 rm -f conftest$ac_cv_exeext
   3027 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3028 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3029 
   3030 rm -f conftest.$ac_ext
   3031 EXEEXT=$ac_cv_exeext
   3032 ac_exeext=$EXEEXT
   3033 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3034 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3035 if test "${ac_cv_objext+set}" = set; then
   3036   echo $ECHO_N "(cached) $ECHO_C" >&6
   3037 else
   3038   cat >conftest.$ac_ext <<_ACEOF
   3039 /* confdefs.h.  */
   3040 _ACEOF
   3041 cat confdefs.h >>conftest.$ac_ext
   3042 cat >>conftest.$ac_ext <<_ACEOF
   3043 /* end confdefs.h.  */
   3044 
   3045 int
   3046 main ()
   3047 {
   3048 
   3049   ;
   3050   return 0;
   3051 }
   3052 _ACEOF
   3053 rm -f conftest.o conftest.obj
   3054 if { (ac_try="$ac_compile"
   3055 case "(($ac_try" in
   3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3057   *) ac_try_echo=$ac_try;;
   3058 esac
   3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3060   (eval "$ac_compile") 2>&5
   3061   ac_status=$?
   3062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3063   (exit $ac_status); }; then
   3064   for ac_file in conftest.o conftest.obj conftest.*; do
   3065   test -f "$ac_file" || continue;
   3066   case $ac_file in
   3067     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3068     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3069        break;;
   3070   esac
   3071 done
   3072 else
   3073   echo "$as_me: failed program was:" >&5
   3074 sed 's/^/| /' conftest.$ac_ext >&5
   3075 
   3076 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3077 See \`config.log' for more details." >&5
   3078 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3079 See \`config.log' for more details." >&2;}
   3080    { (exit 1); exit 1; }; }
   3081 fi
   3082 
   3083 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3084 fi
   3085 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3086 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3087 OBJEXT=$ac_cv_objext
   3088 ac_objext=$OBJEXT
   3089 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3090 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3091 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3092   echo $ECHO_N "(cached) $ECHO_C" >&6
   3093 else
   3094   cat >conftest.$ac_ext <<_ACEOF
   3095 /* confdefs.h.  */
   3096 _ACEOF
   3097 cat confdefs.h >>conftest.$ac_ext
   3098 cat >>conftest.$ac_ext <<_ACEOF
   3099 /* end confdefs.h.  */
   3100 
   3101 int
   3102 main ()
   3103 {
   3104 #ifndef __GNUC__
   3105        choke me
   3106 #endif
   3107 
   3108   ;
   3109   return 0;
   3110 }
   3111 _ACEOF
   3112 rm -f conftest.$ac_objext
   3113 if { (ac_try="$ac_compile"
   3114 case "(($ac_try" in
   3115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3116   *) ac_try_echo=$ac_try;;
   3117 esac
   3118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3119   (eval "$ac_compile") 2>conftest.er1
   3120   ac_status=$?
   3121   grep -v '^ *+' conftest.er1 >conftest.err
   3122   rm -f conftest.er1
   3123   cat conftest.err >&5
   3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3125   (exit $ac_status); } &&
   3126 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3127   { (case "(($ac_try" in
   3128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3129   *) ac_try_echo=$ac_try;;
   3130 esac
   3131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3132   (eval "$ac_try") 2>&5
   3133   ac_status=$?
   3134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3135   (exit $ac_status); }; } &&
   3136 	 { ac_try='test -s conftest.$ac_objext'
   3137   { (case "(($ac_try" in
   3138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3139   *) ac_try_echo=$ac_try;;
   3140 esac
   3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3142   (eval "$ac_try") 2>&5
   3143   ac_status=$?
   3144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3145   (exit $ac_status); }; }; then
   3146   ac_compiler_gnu=yes
   3147 else
   3148   echo "$as_me: failed program was:" >&5
   3149 sed 's/^/| /' conftest.$ac_ext >&5
   3150 
   3151 	ac_compiler_gnu=no
   3152 fi
   3153 
   3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3155 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3156 
   3157 fi
   3158 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3159 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3160 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3161 ac_test_CFLAGS=${CFLAGS+set}
   3162 ac_save_CFLAGS=$CFLAGS
   3163 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3164 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3165 if test "${ac_cv_prog_cc_g+set}" = set; then
   3166   echo $ECHO_N "(cached) $ECHO_C" >&6
   3167 else
   3168   ac_save_c_werror_flag=$ac_c_werror_flag
   3169    ac_c_werror_flag=yes
   3170    ac_cv_prog_cc_g=no
   3171    CFLAGS="-g"
   3172    cat >conftest.$ac_ext <<_ACEOF
   3173 /* confdefs.h.  */
   3174 _ACEOF
   3175 cat confdefs.h >>conftest.$ac_ext
   3176 cat >>conftest.$ac_ext <<_ACEOF
   3177 /* end confdefs.h.  */
   3178 
   3179 int
   3180 main ()
   3181 {
   3182 
   3183   ;
   3184   return 0;
   3185 }
   3186 _ACEOF
   3187 rm -f conftest.$ac_objext
   3188 if { (ac_try="$ac_compile"
   3189 case "(($ac_try" in
   3190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3191   *) ac_try_echo=$ac_try;;
   3192 esac
   3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3194   (eval "$ac_compile") 2>conftest.er1
   3195   ac_status=$?
   3196   grep -v '^ *+' conftest.er1 >conftest.err
   3197   rm -f conftest.er1
   3198   cat conftest.err >&5
   3199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3200   (exit $ac_status); } &&
   3201 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3202   { (case "(($ac_try" in
   3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3204   *) ac_try_echo=$ac_try;;
   3205 esac
   3206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3207   (eval "$ac_try") 2>&5
   3208   ac_status=$?
   3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3210   (exit $ac_status); }; } &&
   3211 	 { ac_try='test -s conftest.$ac_objext'
   3212   { (case "(($ac_try" in
   3213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3214   *) ac_try_echo=$ac_try;;
   3215 esac
   3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3217   (eval "$ac_try") 2>&5
   3218   ac_status=$?
   3219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3220   (exit $ac_status); }; }; then
   3221   ac_cv_prog_cc_g=yes
   3222 else
   3223   echo "$as_me: failed program was:" >&5
   3224 sed 's/^/| /' conftest.$ac_ext >&5
   3225 
   3226 	CFLAGS=""
   3227       cat >conftest.$ac_ext <<_ACEOF
   3228 /* confdefs.h.  */
   3229 _ACEOF
   3230 cat confdefs.h >>conftest.$ac_ext
   3231 cat >>conftest.$ac_ext <<_ACEOF
   3232 /* end confdefs.h.  */
   3233 
   3234 int
   3235 main ()
   3236 {
   3237 
   3238   ;
   3239   return 0;
   3240 }
   3241 _ACEOF
   3242 rm -f conftest.$ac_objext
   3243 if { (ac_try="$ac_compile"
   3244 case "(($ac_try" in
   3245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3246   *) ac_try_echo=$ac_try;;
   3247 esac
   3248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3249   (eval "$ac_compile") 2>conftest.er1
   3250   ac_status=$?
   3251   grep -v '^ *+' conftest.er1 >conftest.err
   3252   rm -f conftest.er1
   3253   cat conftest.err >&5
   3254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3255   (exit $ac_status); } &&
   3256 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3257   { (case "(($ac_try" in
   3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3259   *) ac_try_echo=$ac_try;;
   3260 esac
   3261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3262   (eval "$ac_try") 2>&5
   3263   ac_status=$?
   3264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3265   (exit $ac_status); }; } &&
   3266 	 { ac_try='test -s conftest.$ac_objext'
   3267   { (case "(($ac_try" in
   3268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3269   *) ac_try_echo=$ac_try;;
   3270 esac
   3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3272   (eval "$ac_try") 2>&5
   3273   ac_status=$?
   3274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3275   (exit $ac_status); }; }; then
   3276   :
   3277 else
   3278   echo "$as_me: failed program was:" >&5
   3279 sed 's/^/| /' conftest.$ac_ext >&5
   3280 
   3281 	ac_c_werror_flag=$ac_save_c_werror_flag
   3282 	 CFLAGS="-g"
   3283 	 cat >conftest.$ac_ext <<_ACEOF
   3284 /* confdefs.h.  */
   3285 _ACEOF
   3286 cat confdefs.h >>conftest.$ac_ext
   3287 cat >>conftest.$ac_ext <<_ACEOF
   3288 /* end confdefs.h.  */
   3289 
   3290 int
   3291 main ()
   3292 {
   3293 
   3294   ;
   3295   return 0;
   3296 }
   3297 _ACEOF
   3298 rm -f conftest.$ac_objext
   3299 if { (ac_try="$ac_compile"
   3300 case "(($ac_try" in
   3301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3302   *) ac_try_echo=$ac_try;;
   3303 esac
   3304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3305   (eval "$ac_compile") 2>conftest.er1
   3306   ac_status=$?
   3307   grep -v '^ *+' conftest.er1 >conftest.err
   3308   rm -f conftest.er1
   3309   cat conftest.err >&5
   3310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3311   (exit $ac_status); } &&
   3312 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3313   { (case "(($ac_try" in
   3314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3315   *) ac_try_echo=$ac_try;;
   3316 esac
   3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3318   (eval "$ac_try") 2>&5
   3319   ac_status=$?
   3320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3321   (exit $ac_status); }; } &&
   3322 	 { ac_try='test -s conftest.$ac_objext'
   3323   { (case "(($ac_try" in
   3324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3325   *) ac_try_echo=$ac_try;;
   3326 esac
   3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3328   (eval "$ac_try") 2>&5
   3329   ac_status=$?
   3330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3331   (exit $ac_status); }; }; then
   3332   ac_cv_prog_cc_g=yes
   3333 else
   3334   echo "$as_me: failed program was:" >&5
   3335 sed 's/^/| /' conftest.$ac_ext >&5
   3336 
   3337 
   3338 fi
   3339 
   3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3341 fi
   3342 
   3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3344 fi
   3345 
   3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3347    ac_c_werror_flag=$ac_save_c_werror_flag
   3348 fi
   3349 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3350 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3351 if test "$ac_test_CFLAGS" = set; then
   3352   CFLAGS=$ac_save_CFLAGS
   3353 elif test $ac_cv_prog_cc_g = yes; then
   3354   if test "$GCC" = yes; then
   3355     CFLAGS="-g -O2"
   3356   else
   3357     CFLAGS="-g"
   3358   fi
   3359 else
   3360   if test "$GCC" = yes; then
   3361     CFLAGS="-O2"
   3362   else
   3363     CFLAGS=
   3364   fi
   3365 fi
   3366 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3367 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3368 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3369   echo $ECHO_N "(cached) $ECHO_C" >&6
   3370 else
   3371   ac_cv_prog_cc_c89=no
   3372 ac_save_CC=$CC
   3373 cat >conftest.$ac_ext <<_ACEOF
   3374 /* confdefs.h.  */
   3375 _ACEOF
   3376 cat confdefs.h >>conftest.$ac_ext
   3377 cat >>conftest.$ac_ext <<_ACEOF
   3378 /* end confdefs.h.  */
   3379 #include <stdarg.h>
   3380 #include <stdio.h>
   3381 #include <sys/types.h>
   3382 #include <sys/stat.h>
   3383 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3384 struct buf { int x; };
   3385 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3386 static char *e (p, i)
   3387      char **p;
   3388      int i;
   3389 {
   3390   return p[i];
   3391 }
   3392 static char *f (char * (*g) (char **, int), char **p, ...)
   3393 {
   3394   char *s;
   3395   va_list v;
   3396   va_start (v,p);
   3397   s = g (p, va_arg (v,int));
   3398   va_end (v);
   3399   return s;
   3400 }
   3401 
   3402 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3403    function prototypes and stuff, but not '\xHH' hex character constants.
   3404    These don't provoke an error unfortunately, instead are silently treated
   3405    as 'x'.  The following induces an error, until -std is added to get
   3406    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3407    array size at least.  It's necessary to write '\x00'==0 to get something
   3408    that's true only with -std.  */
   3409 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3410 
   3411 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3412    inside strings and character constants.  */
   3413 #define FOO(x) 'x'
   3414 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3415 
   3416 int test (int i, double x);
   3417 struct s1 {int (*f) (int a);};
   3418 struct s2 {int (*f) (double a);};
   3419 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3420 int argc;
   3421 char **argv;
   3422 int
   3423 main ()
   3424 {
   3425 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3426   ;
   3427   return 0;
   3428 }
   3429 _ACEOF
   3430 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3431 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3432 do
   3433   CC="$ac_save_CC $ac_arg"
   3434   rm -f conftest.$ac_objext
   3435 if { (ac_try="$ac_compile"
   3436 case "(($ac_try" in
   3437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3438   *) ac_try_echo=$ac_try;;
   3439 esac
   3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3441   (eval "$ac_compile") 2>conftest.er1
   3442   ac_status=$?
   3443   grep -v '^ *+' conftest.er1 >conftest.err
   3444   rm -f conftest.er1
   3445   cat conftest.err >&5
   3446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3447   (exit $ac_status); } &&
   3448 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3449   { (case "(($ac_try" in
   3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3451   *) ac_try_echo=$ac_try;;
   3452 esac
   3453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3454   (eval "$ac_try") 2>&5
   3455   ac_status=$?
   3456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3457   (exit $ac_status); }; } &&
   3458 	 { ac_try='test -s conftest.$ac_objext'
   3459   { (case "(($ac_try" in
   3460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3461   *) ac_try_echo=$ac_try;;
   3462 esac
   3463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3464   (eval "$ac_try") 2>&5
   3465   ac_status=$?
   3466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3467   (exit $ac_status); }; }; then
   3468   ac_cv_prog_cc_c89=$ac_arg
   3469 else
   3470   echo "$as_me: failed program was:" >&5
   3471 sed 's/^/| /' conftest.$ac_ext >&5
   3472 
   3473 
   3474 fi
   3475 
   3476 rm -f core conftest.err conftest.$ac_objext
   3477   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3478 done
   3479 rm -f conftest.$ac_ext
   3480 CC=$ac_save_CC
   3481 
   3482 fi
   3483 # AC_CACHE_VAL
   3484 case "x$ac_cv_prog_cc_c89" in
   3485   x)
   3486     { echo "$as_me:$LINENO: result: none needed" >&5
   3487 echo "${ECHO_T}none needed" >&6; } ;;
   3488   xno)
   3489     { echo "$as_me:$LINENO: result: unsupported" >&5
   3490 echo "${ECHO_T}unsupported" >&6; } ;;
   3491   *)
   3492     CC="$CC $ac_cv_prog_cc_c89"
   3493     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3494 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3495 esac
   3496 
   3497 
   3498 ac_ext=c
   3499 ac_cpp='$CPP $CPPFLAGS'
   3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3503 DEPDIR="${am__leading_dot}deps"
   3504 
   3505 ac_config_commands="$ac_config_commands depfiles"
   3506 
   3507 
   3508 am_make=${MAKE-make}
   3509 cat > confinc << 'END'
   3510 am__doit:
   3511 	@echo done
   3512 .PHONY: am__doit
   3513 END
   3514 # If we don't find an include directive, just comment out the code.
   3515 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3516 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3517 am__include="#"
   3518 am__quote=
   3519 _am_result=none
   3520 # First try GNU make style include.
   3521 echo "include confinc" > confmf
   3522 # We grep out `Entering directory' and `Leaving directory'
   3523 # messages which can occur if `w' ends up in MAKEFLAGS.
   3524 # In particular we don't look at `^make:' because GNU make might
   3525 # be invoked under some other name (usually "gmake"), in which
   3526 # case it prints its new name instead of `make'.
   3527 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3528    am__include=include
   3529    am__quote=
   3530    _am_result=GNU
   3531 fi
   3532 # Now try BSD make style include.
   3533 if test "$am__include" = "#"; then
   3534    echo '.include "confinc"' > confmf
   3535    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3536       am__include=.include
   3537       am__quote="\""
   3538       _am_result=BSD
   3539    fi
   3540 fi
   3541 
   3542 
   3543 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3544 echo "${ECHO_T}$_am_result" >&6; }
   3545 rm -f confinc confmf
   3546 
   3547 # Check whether --enable-dependency-tracking was given.
   3548 if test "${enable_dependency_tracking+set}" = set; then
   3549   enableval=$enable_dependency_tracking;
   3550 fi
   3551 
   3552 if test "x$enable_dependency_tracking" != xno; then
   3553   am_depcomp="$ac_aux_dir/depcomp"
   3554   AMDEPBACKSLASH='\'
   3555 fi
   3556 
   3557 
   3558 if test "x$enable_dependency_tracking" != xno; then
   3559   AMDEP_TRUE=
   3560   AMDEP_FALSE='#'
   3561 else
   3562   AMDEP_TRUE='#'
   3563   AMDEP_FALSE=
   3564 fi
   3565 
   3566 
   3567 
   3568 
   3569 depcc="$CC"   am_compiler_list=
   3570 
   3571 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3572 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3573 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3574   echo $ECHO_N "(cached) $ECHO_C" >&6
   3575 else
   3576   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3577   # We make a subdir and do the tests there.  Otherwise we can end up
   3578   # making bogus files that we don't know about and never remove.  For
   3579   # instance it was reported that on HP-UX the gcc test will end up
   3580   # making a dummy file named `D' -- because `-MD' means `put the output
   3581   # in D'.
   3582   mkdir conftest.dir
   3583   # Copy depcomp to subdir because otherwise we won't find it if we're
   3584   # using a relative directory.
   3585   cp "$am_depcomp" conftest.dir
   3586   cd conftest.dir
   3587   # We will build objects and dependencies in a subdirectory because
   3588   # it helps to detect inapplicable dependency modes.  For instance
   3589   # both Tru64's cc and ICC support -MD to output dependencies as a
   3590   # side effect of compilation, but ICC will put the dependencies in
   3591   # the current directory while Tru64 will put them in the object
   3592   # directory.
   3593   mkdir sub
   3594 
   3595   am_cv_CC_dependencies_compiler_type=none
   3596   if test "$am_compiler_list" = ""; then
   3597      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3598   fi
   3599   for depmode in $am_compiler_list; do
   3600     # Setup a source with many dependencies, because some compilers
   3601     # like to wrap large dependency lists on column 80 (with \), and
   3602     # we should not choose a depcomp mode which is confused by this.
   3603     #
   3604     # We need to recreate these files for each test, as the compiler may
   3605     # overwrite some of them when testing with obscure command lines.
   3606     # This happens at least with the AIX C compiler.
   3607     : > sub/conftest.c
   3608     for i in 1 2 3 4 5 6; do
   3609       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3610       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3611       # Solaris 8's {/usr,}/bin/sh.
   3612       touch sub/conftst$i.h
   3613     done
   3614     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3615 
   3616     case $depmode in
   3617     nosideeffect)
   3618       # after this tag, mechanisms are not by side-effect, so they'll
   3619       # only be used when explicitly requested
   3620       if test "x$enable_dependency_tracking" = xyes; then
   3621 	continue
   3622       else
   3623 	break
   3624       fi
   3625       ;;
   3626     none) break ;;
   3627     esac
   3628     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3629     # mode.  It turns out that the SunPro C++ compiler does not properly
   3630     # handle `-M -o', and we need to detect this.
   3631     if depmode=$depmode \
   3632        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3633        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3634        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3635          >/dev/null 2>conftest.err &&
   3636        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3637        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3638        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3639       # icc doesn't choke on unknown options, it will just issue warnings
   3640       # or remarks (even with -Werror).  So we grep stderr for any message
   3641       # that says an option was ignored or not supported.
   3642       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3643       #   icc: Command line warning: ignoring option '-M'; no argument required
   3644       # The diagnosis changed in icc 8.0:
   3645       #   icc: Command line remark: option '-MP' not supported
   3646       if (grep 'ignoring option' conftest.err ||
   3647           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3648         am_cv_CC_dependencies_compiler_type=$depmode
   3649         break
   3650       fi
   3651     fi
   3652   done
   3653 
   3654   cd ..
   3655   rm -rf conftest.dir
   3656 else
   3657   am_cv_CC_dependencies_compiler_type=none
   3658 fi
   3659 
   3660 fi
   3661 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3662 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3663 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3664 
   3665 
   3666 
   3667 if
   3668   test "x$enable_dependency_tracking" != xno \
   3669   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3670   am__fastdepCC_TRUE=
   3671   am__fastdepCC_FALSE='#'
   3672 else
   3673   am__fastdepCC_TRUE='#'
   3674   am__fastdepCC_FALSE=
   3675 fi
   3676 
   3677 
   3678 # Find a good install program.  We prefer a C program (faster),
   3679 # so one script is as good as another.  But avoid the broken or
   3680 # incompatible versions:
   3681 # SysV /etc/install, /usr/sbin/install
   3682 # SunOS /usr/etc/install
   3683 # IRIX /sbin/install
   3684 # AIX /bin/install
   3685 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3689 # OS/2's system install, which has a completely different semantic
   3690 # ./install, which can be erroneously created by make from ./install.sh.
   3691 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   3693 if test -z "$INSTALL"; then
   3694 if test "${ac_cv_path_install+set}" = set; then
   3695   echo $ECHO_N "(cached) $ECHO_C" >&6
   3696 else
   3697   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3698 for as_dir in $PATH
   3699 do
   3700   IFS=$as_save_IFS
   3701   test -z "$as_dir" && as_dir=.
   3702   # Account for people who put trailing slashes in PATH elements.
   3703 case $as_dir/ in
   3704   ./ | .// | /cC/* | \
   3705   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3706   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3707   /usr/ucb/* ) ;;
   3708   *)
   3709     # OSF1 and SCO ODT 3.0 have their own names for install.
   3710     # Don't use installbsd from OSF since it installs stuff as root
   3711     # by default.
   3712     for ac_prog in ginstall scoinst install; do
   3713       for ac_exec_ext in '' $ac_executable_extensions; do
   3714 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3715 	  if test $ac_prog = install &&
   3716 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3717 	    # AIX install.  It has an incompatible calling convention.
   3718 	    :
   3719 	  elif test $ac_prog = install &&
   3720 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3721 	    # program-specific install script used by HP pwplus--don't use.
   3722 	    :
   3723 	  else
   3724 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3725 	    break 3
   3726 	  fi
   3727 	fi
   3728       done
   3729     done
   3730     ;;
   3731 esac
   3732 done
   3733 IFS=$as_save_IFS
   3734 
   3735 
   3736 fi
   3737   if test "${ac_cv_path_install+set}" = set; then
   3738     INSTALL=$ac_cv_path_install
   3739   else
   3740     # As a last resort, use the slow shell script.  Don't cache a
   3741     # value for INSTALL within a source directory, because that will
   3742     # break other packages using the cache if that directory is
   3743     # removed, or if the value is a relative name.
   3744     INSTALL=$ac_install_sh
   3745   fi
   3746 fi
   3747 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   3748 echo "${ECHO_T}$INSTALL" >&6; }
   3749 
   3750 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3751 # It thinks the first close brace ends the variable substitution.
   3752 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3753 
   3754 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3755 
   3756 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3757 
   3758 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   3759 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   3760 LN_S=$as_ln_s
   3761 if test "$LN_S" = "ln -s"; then
   3762   { echo "$as_me:$LINENO: result: yes" >&5
   3763 echo "${ECHO_T}yes" >&6; }
   3764 else
   3765   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   3766 echo "${ECHO_T}no, using $LN_S" >&6; }
   3767 fi
   3768 
   3769 
   3770 
   3771 # Check whether --enable-shared was given.
   3772 if test "${enable_shared+set}" = set; then
   3773   enableval=$enable_shared; p=${PACKAGE-default}
   3774     case $enableval in
   3775     yes) enable_shared=yes ;;
   3776     no) enable_shared=no ;;
   3777     *)
   3778       enable_shared=no
   3779       # Look at the argument we got.  We use all the common list separators.
   3780       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3781       for pkg in $enableval; do
   3782 	IFS="$lt_save_ifs"
   3783 	if test "X$pkg" = "X$p"; then
   3784 	  enable_shared=yes
   3785 	fi
   3786       done
   3787       IFS="$lt_save_ifs"
   3788       ;;
   3789     esac
   3790 else
   3791   enable_shared=yes
   3792 fi
   3793 
   3794 
   3795 # Check whether --enable-static was given.
   3796 if test "${enable_static+set}" = set; then
   3797   enableval=$enable_static; p=${PACKAGE-default}
   3798     case $enableval in
   3799     yes) enable_static=yes ;;
   3800     no) enable_static=no ;;
   3801     *)
   3802      enable_static=no
   3803       # Look at the argument we got.  We use all the common list separators.
   3804       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3805       for pkg in $enableval; do
   3806 	IFS="$lt_save_ifs"
   3807 	if test "X$pkg" = "X$p"; then
   3808 	  enable_static=yes
   3809 	fi
   3810       done
   3811       IFS="$lt_save_ifs"
   3812       ;;
   3813     esac
   3814 else
   3815   enable_static=yes
   3816 fi
   3817 
   3818 
   3819 # Check whether --enable-fast-install was given.
   3820 if test "${enable_fast_install+set}" = set; then
   3821   enableval=$enable_fast_install; p=${PACKAGE-default}
   3822     case $enableval in
   3823     yes) enable_fast_install=yes ;;
   3824     no) enable_fast_install=no ;;
   3825     *)
   3826       enable_fast_install=no
   3827       # Look at the argument we got.  We use all the common list separators.
   3828       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3829       for pkg in $enableval; do
   3830 	IFS="$lt_save_ifs"
   3831 	if test "X$pkg" = "X$p"; then
   3832 	  enable_fast_install=yes
   3833 	fi
   3834       done
   3835       IFS="$lt_save_ifs"
   3836       ;;
   3837     esac
   3838 else
   3839   enable_fast_install=yes
   3840 fi
   3841 
   3842 
   3843 # Make sure we can run config.sub.
   3844 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3845   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3846 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3847    { (exit 1); exit 1; }; }
   3848 
   3849 { echo "$as_me:$LINENO: checking build system type" >&5
   3850 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3851 if test "${ac_cv_build+set}" = set; then
   3852   echo $ECHO_N "(cached) $ECHO_C" >&6
   3853 else
   3854   ac_build_alias=$build_alias
   3855 test "x$ac_build_alias" = x &&
   3856   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3857 test "x$ac_build_alias" = x &&
   3858   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3859 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3860    { (exit 1); exit 1; }; }
   3861 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3862   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3863 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3864    { (exit 1); exit 1; }; }
   3865 
   3866 fi
   3867 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3868 echo "${ECHO_T}$ac_cv_build" >&6; }
   3869 case $ac_cv_build in
   3870 *-*-*) ;;
   3871 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3872 echo "$as_me: error: invalid value of canonical build" >&2;}
   3873    { (exit 1); exit 1; }; };;
   3874 esac
   3875 build=$ac_cv_build
   3876 ac_save_IFS=$IFS; IFS='-'
   3877 set x $ac_cv_build
   3878 shift
   3879 build_cpu=$1
   3880 build_vendor=$2
   3881 shift; shift
   3882 # Remember, the first character of IFS is used to create $*,
   3883 # except with old shells:
   3884 build_os=$*
   3885 IFS=$ac_save_IFS
   3886 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3887 
   3888 
   3889 { echo "$as_me:$LINENO: checking host system type" >&5
   3890 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3891 if test "${ac_cv_host+set}" = set; then
   3892   echo $ECHO_N "(cached) $ECHO_C" >&6
   3893 else
   3894   if test "x$host_alias" = x; then
   3895   ac_cv_host=$ac_cv_build
   3896 else
   3897   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3898     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3899 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3900    { (exit 1); exit 1; }; }
   3901 fi
   3902 
   3903 fi
   3904 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3905 echo "${ECHO_T}$ac_cv_host" >&6; }
   3906 case $ac_cv_host in
   3907 *-*-*) ;;
   3908 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3909 echo "$as_me: error: invalid value of canonical host" >&2;}
   3910    { (exit 1); exit 1; }; };;
   3911 esac
   3912 host=$ac_cv_host
   3913 ac_save_IFS=$IFS; IFS='-'
   3914 set x $ac_cv_host
   3915 shift
   3916 host_cpu=$1
   3917 host_vendor=$2
   3918 shift; shift
   3919 # Remember, the first character of IFS is used to create $*,
   3920 # except with old shells:
   3921 host_os=$*
   3922 IFS=$ac_save_IFS
   3923 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3924 
   3925 
   3926 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3927 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3928 if test "${lt_cv_path_SED+set}" = set; then
   3929   echo $ECHO_N "(cached) $ECHO_C" >&6
   3930 else
   3931   # Loop through the user's path and test for sed and gsed.
   3932 # Then use that list of sed's as ones to test for truncation.
   3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3934 for as_dir in $PATH
   3935 do
   3936   IFS=$as_save_IFS
   3937   test -z "$as_dir" && as_dir=.
   3938   for lt_ac_prog in sed gsed; do
   3939     for ac_exec_ext in '' $ac_executable_extensions; do
   3940       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3941         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3942       fi
   3943     done
   3944   done
   3945 done
   3946 lt_ac_max=0
   3947 lt_ac_count=0
   3948 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3949 # along with /bin/sed that truncates output.
   3950 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3951   test ! -f $lt_ac_sed && continue
   3952   cat /dev/null > conftest.in
   3953   lt_ac_count=0
   3954   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3955   # Check for GNU sed and select it if it is found.
   3956   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3957     lt_cv_path_SED=$lt_ac_sed
   3958     break
   3959   fi
   3960   while true; do
   3961     cat conftest.in conftest.in >conftest.tmp
   3962     mv conftest.tmp conftest.in
   3963     cp conftest.in conftest.nl
   3964     echo >>conftest.nl
   3965     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3966     cmp -s conftest.out conftest.nl || break
   3967     # 10000 chars as input seems more than enough
   3968     test $lt_ac_count -gt 10 && break
   3969     lt_ac_count=`expr $lt_ac_count + 1`
   3970     if test $lt_ac_count -gt $lt_ac_max; then
   3971       lt_ac_max=$lt_ac_count
   3972       lt_cv_path_SED=$lt_ac_sed
   3973     fi
   3974   done
   3975 done
   3976 
   3977 fi
   3978 
   3979 SED=$lt_cv_path_SED
   3980 { echo "$as_me:$LINENO: result: $SED" >&5
   3981 echo "${ECHO_T}$SED" >&6; }
   3982 
   3983 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3984 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3985 if test "${ac_cv_path_GREP+set}" = set; then
   3986   echo $ECHO_N "(cached) $ECHO_C" >&6
   3987 else
   3988   # Extract the first word of "grep ggrep" to use in msg output
   3989 if test -z "$GREP"; then
   3990 set dummy grep ggrep; ac_prog_name=$2
   3991 if test "${ac_cv_path_GREP+set}" = set; then
   3992   echo $ECHO_N "(cached) $ECHO_C" >&6
   3993 else
   3994   ac_path_GREP_found=false
   3995 # Loop through the user's path and test for each of PROGNAME-LIST
   3996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3998 do
   3999   IFS=$as_save_IFS
   4000   test -z "$as_dir" && as_dir=.
   4001   for ac_prog in grep ggrep; do
   4002   for ac_exec_ext in '' $ac_executable_extensions; do
   4003     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4004     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
   4005     # Check for GNU ac_path_GREP and select it if it is found.
   4006   # Check for GNU $ac_path_GREP
   4007 case `"$ac_path_GREP" --version 2>&1` in
   4008 *GNU*)
   4009   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4010 *)
   4011   ac_count=0
   4012   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4013   while :
   4014   do
   4015     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4016     mv "conftest.tmp" "conftest.in"
   4017     cp "conftest.in" "conftest.nl"
   4018     echo 'GREP' >> "conftest.nl"
   4019     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4021     ac_count=`expr $ac_count + 1`
   4022     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4023       # Best one so far, save it but keep looking for a better one
   4024       ac_cv_path_GREP="$ac_path_GREP"
   4025       ac_path_GREP_max=$ac_count
   4026     fi
   4027     # 10*(2^10) chars as input seems more than enough
   4028     test $ac_count -gt 10 && break
   4029   done
   4030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4031 esac
   4032 
   4033 
   4034     $ac_path_GREP_found && break 3
   4035   done
   4036 done
   4037 
   4038 done
   4039 IFS=$as_save_IFS
   4040 
   4041 
   4042 fi
   4043 
   4044 GREP="$ac_cv_path_GREP"
   4045 if test -z "$GREP"; then
   4046   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4047 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4048    { (exit 1); exit 1; }; }
   4049 fi
   4050 
   4051 else
   4052   ac_cv_path_GREP=$GREP
   4053 fi
   4054 
   4055 
   4056 fi
   4057 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4058 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   4059  GREP="$ac_cv_path_GREP"
   4060 
   4061 
   4062 { echo "$as_me:$LINENO: checking for egrep" >&5
   4063 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   4064 if test "${ac_cv_path_EGREP+set}" = set; then
   4065   echo $ECHO_N "(cached) $ECHO_C" >&6
   4066 else
   4067   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4068    then ac_cv_path_EGREP="$GREP -E"
   4069    else
   4070      # Extract the first word of "egrep" to use in msg output
   4071 if test -z "$EGREP"; then
   4072 set dummy egrep; ac_prog_name=$2
   4073 if test "${ac_cv_path_EGREP+set}" = set; then
   4074   echo $ECHO_N "(cached) $ECHO_C" >&6
   4075 else
   4076   ac_path_EGREP_found=false
   4077 # Loop through the user's path and test for each of PROGNAME-LIST
   4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4080 do
   4081   IFS=$as_save_IFS
   4082   test -z "$as_dir" && as_dir=.
   4083   for ac_prog in egrep; do
   4084   for ac_exec_ext in '' $ac_executable_extensions; do
   4085     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4086     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
   4087     # Check for GNU ac_path_EGREP and select it if it is found.
   4088   # Check for GNU $ac_path_EGREP
   4089 case `"$ac_path_EGREP" --version 2>&1` in
   4090 *GNU*)
   4091   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4092 *)
   4093   ac_count=0
   4094   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4095   while :
   4096   do
   4097     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4098     mv "conftest.tmp" "conftest.in"
   4099     cp "conftest.in" "conftest.nl"
   4100     echo 'EGREP' >> "conftest.nl"
   4101     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4102     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4103     ac_count=`expr $ac_count + 1`
   4104     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4105       # Best one so far, save it but keep looking for a better one
   4106       ac_cv_path_EGREP="$ac_path_EGREP"
   4107       ac_path_EGREP_max=$ac_count
   4108     fi
   4109     # 10*(2^10) chars as input seems more than enough
   4110     test $ac_count -gt 10 && break
   4111   done
   4112   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4113 esac
   4114 
   4115 
   4116     $ac_path_EGREP_found && break 3
   4117   done
   4118 done
   4119 
   4120 done
   4121 IFS=$as_save_IFS
   4122 
   4123 
   4124 fi
   4125 
   4126 EGREP="$ac_cv_path_EGREP"
   4127 if test -z "$EGREP"; then
   4128   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4129 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4130    { (exit 1); exit 1; }; }
   4131 fi
   4132 
   4133 else
   4134   ac_cv_path_EGREP=$EGREP
   4135 fi
   4136 
   4137 
   4138    fi
   4139 fi
   4140 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4141 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4142  EGREP="$ac_cv_path_EGREP"
   4143 
   4144 
   4145 
   4146 # Check whether --with-gnu-ld was given.
   4147 if test "${with_gnu_ld+set}" = set; then
   4148   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4149 else
   4150   with_gnu_ld=no
   4151 fi
   4152 
   4153 ac_prog=ld
   4154 if test "$GCC" = yes; then
   4155   # Check if gcc -print-prog-name=ld gives a path.
   4156   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4157 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4158   case $host in
   4159   *-*-mingw*)
   4160     # gcc leaves a trailing carriage return which upsets mingw
   4161     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4162   *)
   4163     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4164   esac
   4165   case $ac_prog in
   4166     # Accept absolute paths.
   4167     [\\/]* | ?:[\\/]*)
   4168       re_direlt='/[^/][^/]*/\.\./'
   4169       # Canonicalize the pathname of ld
   4170       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4171       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4172 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4173       done
   4174       test -z "$LD" && LD="$ac_prog"
   4175       ;;
   4176   "")
   4177     # If it fails, then pretend we aren't using GCC.
   4178     ac_prog=ld
   4179     ;;
   4180   *)
   4181     # If it is relative, then search for the first ld in PATH.
   4182     with_gnu_ld=unknown
   4183     ;;
   4184   esac
   4185 elif test "$with_gnu_ld" = yes; then
   4186   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4187 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4188 else
   4189   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4190 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4191 fi
   4192 if test "${lt_cv_path_LD+set}" = set; then
   4193   echo $ECHO_N "(cached) $ECHO_C" >&6
   4194 else
   4195   if test -z "$LD"; then
   4196   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4197   for ac_dir in $PATH; do
   4198     IFS="$lt_save_ifs"
   4199     test -z "$ac_dir" && ac_dir=.
   4200     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4201       lt_cv_path_LD="$ac_dir/$ac_prog"
   4202       # Check to see if the program is GNU ld.  I'd rather use --version,
   4203       # but apparently some variants of GNU ld only accept -v.
   4204       # Break only if it was the GNU/non-GNU ld that we prefer.
   4205       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4206       *GNU* | *'with BFD'*)
   4207 	test "$with_gnu_ld" != no && break
   4208 	;;
   4209       *)
   4210 	test "$with_gnu_ld" != yes && break
   4211 	;;
   4212       esac
   4213     fi
   4214   done
   4215   IFS="$lt_save_ifs"
   4216 else
   4217   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4218 fi
   4219 fi
   4220 
   4221 LD="$lt_cv_path_LD"
   4222 if test -n "$LD"; then
   4223   { echo "$as_me:$LINENO: result: $LD" >&5
   4224 echo "${ECHO_T}$LD" >&6; }
   4225 else
   4226   { echo "$as_me:$LINENO: result: no" >&5
   4227 echo "${ECHO_T}no" >&6; }
   4228 fi
   4229 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4230 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4231    { (exit 1); exit 1; }; }
   4232 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4233 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4234 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4235   echo $ECHO_N "(cached) $ECHO_C" >&6
   4236 else
   4237   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4238 case `$LD -v 2>&1 </dev/null` in
   4239 *GNU* | *'with BFD'*)
   4240   lt_cv_prog_gnu_ld=yes
   4241   ;;
   4242 *)
   4243   lt_cv_prog_gnu_ld=no
   4244   ;;
   4245 esac
   4246 fi
   4247 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4248 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4249 with_gnu_ld=$lt_cv_prog_gnu_ld
   4250 
   4251 
   4252 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4253 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4254 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4255   echo $ECHO_N "(cached) $ECHO_C" >&6
   4256 else
   4257   lt_cv_ld_reload_flag='-r'
   4258 fi
   4259 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4260 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4261 reload_flag=$lt_cv_ld_reload_flag
   4262 case $reload_flag in
   4263 "" | " "*) ;;
   4264 *) reload_flag=" $reload_flag" ;;
   4265 esac
   4266 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4267 case $host_os in
   4268   darwin*)
   4269     if test "$GCC" = yes; then
   4270       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4271     else
   4272       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4273     fi
   4274     ;;
   4275 esac
   4276 
   4277 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4278 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4279 if test "${lt_cv_path_NM+set}" = set; then
   4280   echo $ECHO_N "(cached) $ECHO_C" >&6
   4281 else
   4282   if test -n "$NM"; then
   4283   # Let the user override the test.
   4284   lt_cv_path_NM="$NM"
   4285 else
   4286   lt_nm_to_check="${ac_tool_prefix}nm"
   4287   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4288     lt_nm_to_check="$lt_nm_to_check nm"
   4289   fi
   4290   for lt_tmp_nm in $lt_nm_to_check; do
   4291     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4292     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4293       IFS="$lt_save_ifs"
   4294       test -z "$ac_dir" && ac_dir=.
   4295       tmp_nm="$ac_dir/$lt_tmp_nm"
   4296       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4297 	# Check to see if the nm accepts a BSD-compat flag.
   4298 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4299 	#   nm: unknown option "B" ignored
   4300 	# Tru64's nm complains that /dev/null is an invalid object file
   4301 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4302 	*/dev/null* | *'Invalid file or object type'*)
   4303 	  lt_cv_path_NM="$tmp_nm -B"
   4304 	  break
   4305 	  ;;
   4306 	*)
   4307 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4308 	  */dev/null*)
   4309 	    lt_cv_path_NM="$tmp_nm -p"
   4310 	    break
   4311 	    ;;
   4312 	  *)
   4313 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4314 	    continue # so that we can try to find one that supports BSD flags
   4315 	    ;;
   4316 	  esac
   4317 	  ;;
   4318 	esac
   4319       fi
   4320     done
   4321     IFS="$lt_save_ifs"
   4322   done
   4323   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4324 fi
   4325 fi
   4326 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4327 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4328 NM="$lt_cv_path_NM"
   4329 
   4330 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4331 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4332 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4333   echo $ECHO_N "(cached) $ECHO_C" >&6
   4334 else
   4335   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4336 lt_cv_file_magic_test_file=
   4337 lt_cv_deplibs_check_method='unknown'
   4338 # Need to set the preceding variable on all platforms that support
   4339 # interlibrary dependencies.
   4340 # 'none' -- dependencies not supported.
   4341 # `unknown' -- same as none, but documents that we really don't know.
   4342 # 'pass_all' -- all dependencies passed with no checks.
   4343 # 'test_compile' -- check by making test program.
   4344 # 'file_magic [[regex]]' -- check by looking for files in library path
   4345 # which responds to the $file_magic_cmd with a given extended regex.
   4346 # If you have `file' or equivalent on your system and you're not sure
   4347 # whether `pass_all' will *always* work, you probably want this one.
   4348 
   4349 case $host_os in
   4350 aix4* | aix5*)
   4351   lt_cv_deplibs_check_method=pass_all
   4352   ;;
   4353 
   4354 beos*)
   4355   lt_cv_deplibs_check_method=pass_all
   4356   ;;
   4357 
   4358 bsdi[45]*)
   4359   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4360   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4361   lt_cv_file_magic_test_file=/shlib/libc.so
   4362   ;;
   4363 
   4364 cygwin*)
   4365   # func_win32_libid is a shell function defined in ltmain.sh
   4366   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4367   lt_cv_file_magic_cmd='func_win32_libid'
   4368   ;;
   4369 
   4370 mingw* | pw32*)
   4371   # Base MSYS/MinGW do not provide the 'file' command needed by
   4372   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4373   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4374   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4375   ;;
   4376 
   4377 darwin* | rhapsody*)
   4378   lt_cv_deplibs_check_method=pass_all
   4379   ;;
   4380 
   4381 freebsd* | dragonfly*)
   4382   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4383     case $host_cpu in
   4384     i*86 )
   4385       # Not sure whether the presence of OpenBSD here was a mistake.
   4386       # Let's accept both of them until this is cleared up.
   4387       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4388       lt_cv_file_magic_cmd=/usr/bin/file
   4389       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4390       ;;
   4391     esac
   4392   else
   4393     lt_cv_deplibs_check_method=pass_all
   4394   fi
   4395   ;;
   4396 
   4397 gnu*)
   4398   lt_cv_deplibs_check_method=pass_all
   4399   ;;
   4400 
   4401 hpux10.20* | hpux11*)
   4402   lt_cv_file_magic_cmd=/usr/bin/file
   4403   case $host_cpu in
   4404   ia64*)
   4405     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4406     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4407     ;;
   4408   hppa*64*)
   4409     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]'
   4410     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4411     ;;
   4412   *)
   4413     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4414     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4415     ;;
   4416   esac
   4417   ;;
   4418 
   4419 interix3*)
   4420   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4421   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4422   ;;
   4423 
   4424 irix5* | irix6* | nonstopux*)
   4425   case $LD in
   4426   *-32|*"-32 ") libmagic=32-bit;;
   4427   *-n32|*"-n32 ") libmagic=N32;;
   4428   *-64|*"-64 ") libmagic=64-bit;;
   4429   *) libmagic=never-match;;
   4430   esac
   4431   lt_cv_deplibs_check_method=pass_all
   4432   ;;
   4433 
   4434 # This must be Linux ELF.
   4435 linux* | k*bsd*-gnu)
   4436   lt_cv_deplibs_check_method=pass_all
   4437   ;;
   4438 
   4439 netbsd* | netbsdelf*-gnu)
   4440   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4441     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4442   else
   4443     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4444   fi
   4445   ;;
   4446 
   4447 newos6*)
   4448   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4449   lt_cv_file_magic_cmd=/usr/bin/file
   4450   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4451   ;;
   4452 
   4453 nto-qnx*)
   4454   lt_cv_deplibs_check_method=unknown
   4455   ;;
   4456 
   4457 openbsd*)
   4458   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4459     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4460   else
   4461     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4462   fi
   4463   ;;
   4464 
   4465 osf3* | osf4* | osf5*)
   4466   lt_cv_deplibs_check_method=pass_all
   4467   ;;
   4468 
   4469 solaris*)
   4470   lt_cv_deplibs_check_method=pass_all
   4471   ;;
   4472 
   4473 sysv4 | sysv4.3*)
   4474   case $host_vendor in
   4475   motorola)
   4476     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]'
   4477     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4478     ;;
   4479   ncr)
   4480     lt_cv_deplibs_check_method=pass_all
   4481     ;;
   4482   sequent)
   4483     lt_cv_file_magic_cmd='/bin/file'
   4484     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4485     ;;
   4486   sni)
   4487     lt_cv_file_magic_cmd='/bin/file'
   4488     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4489     lt_cv_file_magic_test_file=/lib/libc.so
   4490     ;;
   4491   siemens)
   4492     lt_cv_deplibs_check_method=pass_all
   4493     ;;
   4494   pc)
   4495     lt_cv_deplibs_check_method=pass_all
   4496     ;;
   4497   esac
   4498   ;;
   4499 
   4500 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4501   lt_cv_deplibs_check_method=pass_all
   4502   ;;
   4503 esac
   4504 
   4505 fi
   4506 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4507 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4508 file_magic_cmd=$lt_cv_file_magic_cmd
   4509 deplibs_check_method=$lt_cv_deplibs_check_method
   4510 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4511 
   4512 
   4513 
   4514 
   4515 # If no C compiler was specified, use CC.
   4516 LTCC=${LTCC-"$CC"}
   4517 
   4518 # If no C compiler flags were specified, use CFLAGS.
   4519 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4520 
   4521 # Allow CC to be a program name with arguments.
   4522 compiler=$CC
   4523 
   4524 
   4525 # Check whether --enable-libtool-lock was given.
   4526 if test "${enable_libtool_lock+set}" = set; then
   4527   enableval=$enable_libtool_lock;
   4528 fi
   4529 
   4530 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4531 
   4532 # Some flags need to be propagated to the compiler or linker for good
   4533 # libtool support.
   4534 case $host in
   4535 ia64-*-hpux*)
   4536   # Find out which ABI we are using.
   4537   echo 'int i;' > conftest.$ac_ext
   4538   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4539   (eval $ac_compile) 2>&5
   4540   ac_status=$?
   4541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4542   (exit $ac_status); }; then
   4543     case `/usr/bin/file conftest.$ac_objext` in
   4544     *ELF-32*)
   4545       HPUX_IA64_MODE="32"
   4546       ;;
   4547     *ELF-64*)
   4548       HPUX_IA64_MODE="64"
   4549       ;;
   4550     esac
   4551   fi
   4552   rm -rf conftest*
   4553   ;;
   4554 *-*-irix6*)
   4555   # Find out which ABI we are using.
   4556   echo '#line 4556 "configure"' > conftest.$ac_ext
   4557   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4558   (eval $ac_compile) 2>&5
   4559   ac_status=$?
   4560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4561   (exit $ac_status); }; then
   4562    if test "$lt_cv_prog_gnu_ld" = yes; then
   4563     case `/usr/bin/file conftest.$ac_objext` in
   4564     *32-bit*)
   4565       LD="${LD-ld} -melf32bsmip"
   4566       ;;
   4567     *N32*)
   4568       LD="${LD-ld} -melf32bmipn32"
   4569       ;;
   4570     *64-bit*)
   4571       LD="${LD-ld} -melf64bmip"
   4572       ;;
   4573     esac
   4574    else
   4575     case `/usr/bin/file conftest.$ac_objext` in
   4576     *32-bit*)
   4577       LD="${LD-ld} -32"
   4578       ;;
   4579     *N32*)
   4580       LD="${LD-ld} -n32"
   4581       ;;
   4582     *64-bit*)
   4583       LD="${LD-ld} -64"
   4584       ;;
   4585     esac
   4586    fi
   4587   fi
   4588   rm -rf conftest*
   4589   ;;
   4590 
   4591 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4592   # Find out which ABI we are using.
   4593   echo 'int i;' > conftest.$ac_ext
   4594   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4595   (eval $ac_compile) 2>&5
   4596   ac_status=$?
   4597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4598   (exit $ac_status); }; then
   4599     case `/usr/bin/file conftest.o` in
   4600     *32-bit*)
   4601       case $host in
   4602         x86_64-*linux*)
   4603           LD="${LD-ld} -m elf_i386"
   4604           ;;
   4605         ppc64-*linux*|powerpc64-*linux*)
   4606           LD="${LD-ld} -m elf32ppclinux"
   4607           ;;
   4608         s390x-*linux*)
   4609           LD="${LD-ld} -m elf_s390"
   4610           ;;
   4611         sparc64-*linux*)
   4612           LD="${LD-ld} -m elf32_sparc"
   4613           ;;
   4614       esac
   4615       ;;
   4616     *64-bit*)
   4617       case $host in
   4618         x86_64-*linux*)
   4619           LD="${LD-ld} -m elf_x86_64"
   4620           ;;
   4621         ppc*-*linux*|powerpc*-*linux*)
   4622           LD="${LD-ld} -m elf64ppc"
   4623           ;;
   4624         s390*-*linux*)
   4625           LD="${LD-ld} -m elf64_s390"
   4626           ;;
   4627         sparc*-*linux*)
   4628           LD="${LD-ld} -m elf64_sparc"
   4629           ;;
   4630       esac
   4631       ;;
   4632     esac
   4633   fi
   4634   rm -rf conftest*
   4635   ;;
   4636 
   4637 *-*-sco3.2v5*)
   4638   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4639   SAVE_CFLAGS="$CFLAGS"
   4640   CFLAGS="$CFLAGS -belf"
   4641   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4642 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4643 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4644   echo $ECHO_N "(cached) $ECHO_C" >&6
   4645 else
   4646   ac_ext=c
   4647 ac_cpp='$CPP $CPPFLAGS'
   4648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4651 
   4652      cat >conftest.$ac_ext <<_ACEOF
   4653 /* confdefs.h.  */
   4654 _ACEOF
   4655 cat confdefs.h >>conftest.$ac_ext
   4656 cat >>conftest.$ac_ext <<_ACEOF
   4657 /* end confdefs.h.  */
   4658 
   4659 int
   4660 main ()
   4661 {
   4662 
   4663   ;
   4664   return 0;
   4665 }
   4666 _ACEOF
   4667 rm -f conftest.$ac_objext conftest$ac_exeext
   4668 if { (ac_try="$ac_link"
   4669 case "(($ac_try" in
   4670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4671   *) ac_try_echo=$ac_try;;
   4672 esac
   4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4674   (eval "$ac_link") 2>conftest.er1
   4675   ac_status=$?
   4676   grep -v '^ *+' conftest.er1 >conftest.err
   4677   rm -f conftest.er1
   4678   cat conftest.err >&5
   4679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4680   (exit $ac_status); } &&
   4681 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4682   { (case "(($ac_try" in
   4683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4684   *) ac_try_echo=$ac_try;;
   4685 esac
   4686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4687   (eval "$ac_try") 2>&5
   4688   ac_status=$?
   4689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4690   (exit $ac_status); }; } &&
   4691 	 { ac_try='test -s conftest$ac_exeext'
   4692   { (case "(($ac_try" in
   4693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4694   *) ac_try_echo=$ac_try;;
   4695 esac
   4696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4697   (eval "$ac_try") 2>&5
   4698   ac_status=$?
   4699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4700   (exit $ac_status); }; }; then
   4701   lt_cv_cc_needs_belf=yes
   4702 else
   4703   echo "$as_me: failed program was:" >&5
   4704 sed 's/^/| /' conftest.$ac_ext >&5
   4705 
   4706 	lt_cv_cc_needs_belf=no
   4707 fi
   4708 
   4709 rm -f core conftest.err conftest.$ac_objext \
   4710       conftest$ac_exeext conftest.$ac_ext
   4711      ac_ext=c
   4712 ac_cpp='$CPP $CPPFLAGS'
   4713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4716 
   4717 fi
   4718 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4719 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4720   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4721     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4722     CFLAGS="$SAVE_CFLAGS"
   4723   fi
   4724   ;;
   4725 sparc*-*solaris*)
   4726   # Find out which ABI we are using.
   4727   echo 'int i;' > conftest.$ac_ext
   4728   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4729   (eval $ac_compile) 2>&5
   4730   ac_status=$?
   4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4732   (exit $ac_status); }; then
   4733     case `/usr/bin/file conftest.o` in
   4734     *64-bit*)
   4735       case $lt_cv_prog_gnu_ld in
   4736       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4737       *)    LD="${LD-ld} -64" ;;
   4738       esac
   4739       ;;
   4740     esac
   4741   fi
   4742   rm -rf conftest*
   4743   ;;
   4744 
   4745 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
   4746   if test -n "$ac_tool_prefix"; then
   4747   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4748 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4751 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
   4752   echo $ECHO_N "(cached) $ECHO_C" >&6
   4753 else
   4754   if test -n "$DLLTOOL"; then
   4755   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4756 else
   4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4758 for as_dir in $PATH
   4759 do
   4760   IFS=$as_save_IFS
   4761   test -z "$as_dir" && as_dir=.
   4762   for ac_exec_ext in '' $ac_executable_extensions; do
   4763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4764     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4765     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4766     break 2
   4767   fi
   4768 done
   4769 done
   4770 IFS=$as_save_IFS
   4771 
   4772 fi
   4773 fi
   4774 DLLTOOL=$ac_cv_prog_DLLTOOL
   4775 if test -n "$DLLTOOL"; then
   4776   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
   4777 echo "${ECHO_T}$DLLTOOL" >&6; }
   4778 else
   4779   { echo "$as_me:$LINENO: result: no" >&5
   4780 echo "${ECHO_T}no" >&6; }
   4781 fi
   4782 
   4783 
   4784 fi
   4785 if test -z "$ac_cv_prog_DLLTOOL"; then
   4786   ac_ct_DLLTOOL=$DLLTOOL
   4787   # Extract the first word of "dlltool", so it can be a program name with args.
   4788 set dummy dlltool; ac_word=$2
   4789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4791 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
   4792   echo $ECHO_N "(cached) $ECHO_C" >&6
   4793 else
   4794   if test -n "$ac_ct_DLLTOOL"; then
   4795   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4796 else
   4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4798 for as_dir in $PATH
   4799 do
   4800   IFS=$as_save_IFS
   4801   test -z "$as_dir" && as_dir=.
   4802   for ac_exec_ext in '' $ac_executable_extensions; do
   4803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4804     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4805     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4806     break 2
   4807   fi
   4808 done
   4809 done
   4810 IFS=$as_save_IFS
   4811 
   4812 fi
   4813 fi
   4814 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4815 if test -n "$ac_ct_DLLTOOL"; then
   4816   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
   4817 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
   4818 else
   4819   { echo "$as_me:$LINENO: result: no" >&5
   4820 echo "${ECHO_T}no" >&6; }
   4821 fi
   4822 
   4823   if test "x$ac_ct_DLLTOOL" = x; then
   4824     DLLTOOL="false"
   4825   else
   4826     case $cross_compiling:$ac_tool_warned in
   4827 yes:)
   4828 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   4829 whose name does not start with the host triplet.  If you think this
   4830 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   4831 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   4832 whose name does not start with the host triplet.  If you think this
   4833 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   4834 ac_tool_warned=yes ;;
   4835 esac
   4836     DLLTOOL=$ac_ct_DLLTOOL
   4837   fi
   4838 else
   4839   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4840 fi
   4841 
   4842   if test -n "$ac_tool_prefix"; then
   4843   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4844 set dummy ${ac_tool_prefix}as; ac_word=$2
   4845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4847 if test "${ac_cv_prog_AS+set}" = set; then
   4848   echo $ECHO_N "(cached) $ECHO_C" >&6
   4849 else
   4850   if test -n "$AS"; then
   4851   ac_cv_prog_AS="$AS" # Let the user override the test.
   4852 else
   4853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4854 for as_dir in $PATH
   4855 do
   4856   IFS=$as_save_IFS
   4857   test -z "$as_dir" && as_dir=.
   4858   for ac_exec_ext in '' $ac_executable_extensions; do
   4859   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4860     ac_cv_prog_AS="${ac_tool_prefix}as"
   4861     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4862     break 2
   4863   fi
   4864 done
   4865 done
   4866 IFS=$as_save_IFS
   4867 
   4868 fi
   4869 fi
   4870 AS=$ac_cv_prog_AS
   4871 if test -n "$AS"; then
   4872   { echo "$as_me:$LINENO: result: $AS" >&5
   4873 echo "${ECHO_T}$AS" >&6; }
   4874 else
   4875   { echo "$as_me:$LINENO: result: no" >&5
   4876 echo "${ECHO_T}no" >&6; }
   4877 fi
   4878 
   4879 
   4880 fi
   4881 if test -z "$ac_cv_prog_AS"; then
   4882   ac_ct_AS=$AS
   4883   # Extract the first word of "as", so it can be a program name with args.
   4884 set dummy as; ac_word=$2
   4885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4887 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
   4888   echo $ECHO_N "(cached) $ECHO_C" >&6
   4889 else
   4890   if test -n "$ac_ct_AS"; then
   4891   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4892 else
   4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4894 for as_dir in $PATH
   4895 do
   4896   IFS=$as_save_IFS
   4897   test -z "$as_dir" && as_dir=.
   4898   for ac_exec_ext in '' $ac_executable_extensions; do
   4899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4900     ac_cv_prog_ac_ct_AS="as"
   4901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4902     break 2
   4903   fi
   4904 done
   4905 done
   4906 IFS=$as_save_IFS
   4907 
   4908 fi
   4909 fi
   4910 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4911 if test -n "$ac_ct_AS"; then
   4912   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
   4913 echo "${ECHO_T}$ac_ct_AS" >&6; }
   4914 else
   4915   { echo "$as_me:$LINENO: result: no" >&5
   4916 echo "${ECHO_T}no" >&6; }
   4917 fi
   4918 
   4919   if test "x$ac_ct_AS" = x; then
   4920     AS="false"
   4921   else
   4922     case $cross_compiling:$ac_tool_warned in
   4923 yes:)
   4924 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   4925 whose name does not start with the host triplet.  If you think this
   4926 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   4927 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   4928 whose name does not start with the host triplet.  If you think this
   4929 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   4930 ac_tool_warned=yes ;;
   4931 esac
   4932     AS=$ac_ct_AS
   4933   fi
   4934 else
   4935   AS="$ac_cv_prog_AS"
   4936 fi
   4937 
   4938   if test -n "$ac_tool_prefix"; then
   4939   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4940 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4943 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4944   echo $ECHO_N "(cached) $ECHO_C" >&6
   4945 else
   4946   if test -n "$OBJDUMP"; then
   4947   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4948 else
   4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4950 for as_dir in $PATH
   4951 do
   4952   IFS=$as_save_IFS
   4953   test -z "$as_dir" && as_dir=.
   4954   for ac_exec_ext in '' $ac_executable_extensions; do
   4955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4956     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4957     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4958     break 2
   4959   fi
   4960 done
   4961 done
   4962 IFS=$as_save_IFS
   4963 
   4964 fi
   4965 fi
   4966 OBJDUMP=$ac_cv_prog_OBJDUMP
   4967 if test -n "$OBJDUMP"; then
   4968   { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4969 echo "${ECHO_T}$OBJDUMP" >&6; }
   4970 else
   4971   { echo "$as_me:$LINENO: result: no" >&5
   4972 echo "${ECHO_T}no" >&6; }
   4973 fi
   4974 
   4975 
   4976 fi
   4977 if test -z "$ac_cv_prog_OBJDUMP"; then
   4978   ac_ct_OBJDUMP=$OBJDUMP
   4979   # Extract the first word of "objdump", so it can be a program name with args.
   4980 set dummy objdump; ac_word=$2
   4981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4983 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4984   echo $ECHO_N "(cached) $ECHO_C" >&6
   4985 else
   4986   if test -n "$ac_ct_OBJDUMP"; then
   4987   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4988 else
   4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4990 for as_dir in $PATH
   4991 do
   4992   IFS=$as_save_IFS
   4993   test -z "$as_dir" && as_dir=.
   4994   for ac_exec_ext in '' $ac_executable_extensions; do
   4995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4996     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4997     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4998     break 2
   4999   fi
   5000 done
   5001 done
   5002 IFS=$as_save_IFS
   5003 
   5004 fi
   5005 fi
   5006 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5007 if test -n "$ac_ct_OBJDUMP"; then
   5008   { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   5009 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
   5010 else
   5011   { echo "$as_me:$LINENO: result: no" >&5
   5012 echo "${ECHO_T}no" >&6; }
   5013 fi
   5014 
   5015   if test "x$ac_ct_OBJDUMP" = x; then
   5016     OBJDUMP="false"
   5017   else
   5018     case $cross_compiling:$ac_tool_warned in
   5019 yes:)
   5020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5021 whose name does not start with the host triplet.  If you think this
   5022 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5024 whose name does not start with the host triplet.  If you think this
   5025 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5026 ac_tool_warned=yes ;;
   5027 esac
   5028     OBJDUMP=$ac_ct_OBJDUMP
   5029   fi
   5030 else
   5031   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5032 fi
   5033 
   5034   ;;
   5035 
   5036 esac
   5037 
   5038 need_locks="$enable_libtool_lock"
   5039 
   5040 
   5041 ac_ext=c
   5042 ac_cpp='$CPP $CPPFLAGS'
   5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5046 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   5047 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   5048 # On Suns, sometimes $CPP names a directory.
   5049 if test -n "$CPP" && test -d "$CPP"; then
   5050   CPP=
   5051 fi
   5052 if test -z "$CPP"; then
   5053   if test "${ac_cv_prog_CPP+set}" = set; then
   5054   echo $ECHO_N "(cached) $ECHO_C" >&6
   5055 else
   5056       # Double quotes because CPP needs to be expanded
   5057     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5058     do
   5059       ac_preproc_ok=false
   5060 for ac_c_preproc_warn_flag in '' yes
   5061 do
   5062   # Use a header file that comes with gcc, so configuring glibc
   5063   # with a fresh cross-compiler works.
   5064   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5065   # <limits.h> exists even on freestanding compilers.
   5066   # On the NeXT, cc -E runs the code through the compiler's parser,
   5067   # not just through cpp. "Syntax error" is here to catch this case.
   5068   cat >conftest.$ac_ext <<_ACEOF
   5069 /* confdefs.h.  */
   5070 _ACEOF
   5071 cat confdefs.h >>conftest.$ac_ext
   5072 cat >>conftest.$ac_ext <<_ACEOF
   5073 /* end confdefs.h.  */
   5074 #ifdef __STDC__
   5075 # include <limits.h>
   5076 #else
   5077 # include <assert.h>
   5078 #endif
   5079 		     Syntax error
   5080 _ACEOF
   5081 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5082 case "(($ac_try" in
   5083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5084   *) ac_try_echo=$ac_try;;
   5085 esac
   5086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5087   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5088   ac_status=$?
   5089   grep -v '^ *+' conftest.er1 >conftest.err
   5090   rm -f conftest.er1
   5091   cat conftest.err >&5
   5092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5093   (exit $ac_status); } >/dev/null; then
   5094   if test -s conftest.err; then
   5095     ac_cpp_err=$ac_c_preproc_warn_flag
   5096     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5097   else
   5098     ac_cpp_err=
   5099   fi
   5100 else
   5101   ac_cpp_err=yes
   5102 fi
   5103 if test -z "$ac_cpp_err"; then
   5104   :
   5105 else
   5106   echo "$as_me: failed program was:" >&5
   5107 sed 's/^/| /' conftest.$ac_ext >&5
   5108 
   5109   # Broken: fails on valid input.
   5110 continue
   5111 fi
   5112 
   5113 rm -f conftest.err conftest.$ac_ext
   5114 
   5115   # OK, works on sane cases.  Now check whether nonexistent headers
   5116   # can be detected and how.
   5117   cat >conftest.$ac_ext <<_ACEOF
   5118 /* confdefs.h.  */
   5119 _ACEOF
   5120 cat confdefs.h >>conftest.$ac_ext
   5121 cat >>conftest.$ac_ext <<_ACEOF
   5122 /* end confdefs.h.  */
   5123 #include <ac_nonexistent.h>
   5124 _ACEOF
   5125 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5126 case "(($ac_try" in
   5127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5128   *) ac_try_echo=$ac_try;;
   5129 esac
   5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5131   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5132   ac_status=$?
   5133   grep -v '^ *+' conftest.er1 >conftest.err
   5134   rm -f conftest.er1
   5135   cat conftest.err >&5
   5136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5137   (exit $ac_status); } >/dev/null; then
   5138   if test -s conftest.err; then
   5139     ac_cpp_err=$ac_c_preproc_warn_flag
   5140     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5141   else
   5142     ac_cpp_err=
   5143   fi
   5144 else
   5145   ac_cpp_err=yes
   5146 fi
   5147 if test -z "$ac_cpp_err"; then
   5148   # Broken: success on invalid input.
   5149 continue
   5150 else
   5151   echo "$as_me: failed program was:" >&5
   5152 sed 's/^/| /' conftest.$ac_ext >&5
   5153 
   5154   # Passes both tests.
   5155 ac_preproc_ok=:
   5156 break
   5157 fi
   5158 
   5159 rm -f conftest.err conftest.$ac_ext
   5160 
   5161 done
   5162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5163 rm -f conftest.err conftest.$ac_ext
   5164 if $ac_preproc_ok; then
   5165   break
   5166 fi
   5167 
   5168     done
   5169     ac_cv_prog_CPP=$CPP
   5170 
   5171 fi
   5172   CPP=$ac_cv_prog_CPP
   5173 else
   5174   ac_cv_prog_CPP=$CPP
   5175 fi
   5176 { echo "$as_me:$LINENO: result: $CPP" >&5
   5177 echo "${ECHO_T}$CPP" >&6; }
   5178 ac_preproc_ok=false
   5179 for ac_c_preproc_warn_flag in '' yes
   5180 do
   5181   # Use a header file that comes with gcc, so configuring glibc
   5182   # with a fresh cross-compiler works.
   5183   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5184   # <limits.h> exists even on freestanding compilers.
   5185   # On the NeXT, cc -E runs the code through the compiler's parser,
   5186   # not just through cpp. "Syntax error" is here to catch this case.
   5187   cat >conftest.$ac_ext <<_ACEOF
   5188 /* confdefs.h.  */
   5189 _ACEOF
   5190 cat confdefs.h >>conftest.$ac_ext
   5191 cat >>conftest.$ac_ext <<_ACEOF
   5192 /* end confdefs.h.  */
   5193 #ifdef __STDC__
   5194 # include <limits.h>
   5195 #else
   5196 # include <assert.h>
   5197 #endif
   5198 		     Syntax error
   5199 _ACEOF
   5200 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5201 case "(($ac_try" in
   5202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5203   *) ac_try_echo=$ac_try;;
   5204 esac
   5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5206   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5207   ac_status=$?
   5208   grep -v '^ *+' conftest.er1 >conftest.err
   5209   rm -f conftest.er1
   5210   cat conftest.err >&5
   5211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5212   (exit $ac_status); } >/dev/null; then
   5213   if test -s conftest.err; then
   5214     ac_cpp_err=$ac_c_preproc_warn_flag
   5215     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5216   else
   5217     ac_cpp_err=
   5218   fi
   5219 else
   5220   ac_cpp_err=yes
   5221 fi
   5222 if test -z "$ac_cpp_err"; then
   5223   :
   5224 else
   5225   echo "$as_me: failed program was:" >&5
   5226 sed 's/^/| /' conftest.$ac_ext >&5
   5227 
   5228   # Broken: fails on valid input.
   5229 continue
   5230 fi
   5231 
   5232 rm -f conftest.err conftest.$ac_ext
   5233 
   5234   # OK, works on sane cases.  Now check whether nonexistent headers
   5235   # can be detected and how.
   5236   cat >conftest.$ac_ext <<_ACEOF
   5237 /* confdefs.h.  */
   5238 _ACEOF
   5239 cat confdefs.h >>conftest.$ac_ext
   5240 cat >>conftest.$ac_ext <<_ACEOF
   5241 /* end confdefs.h.  */
   5242 #include <ac_nonexistent.h>
   5243 _ACEOF
   5244 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5245 case "(($ac_try" in
   5246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5247   *) ac_try_echo=$ac_try;;
   5248 esac
   5249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5250   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5251   ac_status=$?
   5252   grep -v '^ *+' conftest.er1 >conftest.err
   5253   rm -f conftest.er1
   5254   cat conftest.err >&5
   5255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5256   (exit $ac_status); } >/dev/null; then
   5257   if test -s conftest.err; then
   5258     ac_cpp_err=$ac_c_preproc_warn_flag
   5259     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5260   else
   5261     ac_cpp_err=
   5262   fi
   5263 else
   5264   ac_cpp_err=yes
   5265 fi
   5266 if test -z "$ac_cpp_err"; then
   5267   # Broken: success on invalid input.
   5268 continue
   5269 else
   5270   echo "$as_me: failed program was:" >&5
   5271 sed 's/^/| /' conftest.$ac_ext >&5
   5272 
   5273   # Passes both tests.
   5274 ac_preproc_ok=:
   5275 break
   5276 fi
   5277 
   5278 rm -f conftest.err conftest.$ac_ext
   5279 
   5280 done
   5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5282 rm -f conftest.err conftest.$ac_ext
   5283 if $ac_preproc_ok; then
   5284   :
   5285 else
   5286   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5287 See \`config.log' for more details." >&5
   5288 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5289 See \`config.log' for more details." >&2;}
   5290    { (exit 1); exit 1; }; }
   5291 fi
   5292 
   5293 ac_ext=c
   5294 ac_cpp='$CPP $CPPFLAGS'
   5295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5298 
   5299 
   5300 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5301 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   5302 if test "${ac_cv_header_stdc+set}" = set; then
   5303   echo $ECHO_N "(cached) $ECHO_C" >&6
   5304 else
   5305   cat >conftest.$ac_ext <<_ACEOF
   5306 /* confdefs.h.  */
   5307 _ACEOF
   5308 cat confdefs.h >>conftest.$ac_ext
   5309 cat >>conftest.$ac_ext <<_ACEOF
   5310 /* end confdefs.h.  */
   5311 #include <stdlib.h>
   5312 #include <stdarg.h>
   5313 #include <string.h>
   5314 #include <float.h>
   5315 
   5316 int
   5317 main ()
   5318 {
   5319 
   5320   ;
   5321   return 0;
   5322 }
   5323 _ACEOF
   5324 rm -f conftest.$ac_objext
   5325 if { (ac_try="$ac_compile"
   5326 case "(($ac_try" in
   5327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5328   *) ac_try_echo=$ac_try;;
   5329 esac
   5330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5331   (eval "$ac_compile") 2>conftest.er1
   5332   ac_status=$?
   5333   grep -v '^ *+' conftest.er1 >conftest.err
   5334   rm -f conftest.er1
   5335   cat conftest.err >&5
   5336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5337   (exit $ac_status); } &&
   5338 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   5339   { (case "(($ac_try" in
   5340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5341   *) ac_try_echo=$ac_try;;
   5342 esac
   5343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5344   (eval "$ac_try") 2>&5
   5345   ac_status=$?
   5346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5347   (exit $ac_status); }; } &&
   5348 	 { ac_try='test -s conftest.$ac_objext'
   5349   { (case "(($ac_try" in
   5350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5351   *) ac_try_echo=$ac_try;;
   5352 esac
   5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5354   (eval "$ac_try") 2>&5
   5355   ac_status=$?
   5356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5357   (exit $ac_status); }; }; then
   5358   ac_cv_header_stdc=yes
   5359 else
   5360   echo "$as_me: failed program was:" >&5
   5361 sed 's/^/| /' conftest.$ac_ext >&5
   5362 
   5363 	ac_cv_header_stdc=no
   5364 fi
   5365 
   5366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5367 
   5368 if test $ac_cv_header_stdc = yes; then
   5369   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5370   cat >conftest.$ac_ext <<_ACEOF
   5371 /* confdefs.h.  */
   5372 _ACEOF
   5373 cat confdefs.h >>conftest.$ac_ext
   5374 cat >>conftest.$ac_ext <<_ACEOF
   5375 /* end confdefs.h.  */
   5376 #include <string.h>
   5377 
   5378 _ACEOF
   5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5380   $EGREP "memchr" >/dev/null 2>&1; then
   5381   :
   5382 else
   5383   ac_cv_header_stdc=no
   5384 fi
   5385 rm -f conftest*
   5386 
   5387 fi
   5388 
   5389 if test $ac_cv_header_stdc = yes; then
   5390   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5391   cat >conftest.$ac_ext <<_ACEOF
   5392 /* confdefs.h.  */
   5393 _ACEOF
   5394 cat confdefs.h >>conftest.$ac_ext
   5395 cat >>conftest.$ac_ext <<_ACEOF
   5396 /* end confdefs.h.  */
   5397 #include <stdlib.h>
   5398 
   5399 _ACEOF
   5400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5401   $EGREP "free" >/dev/null 2>&1; then
   5402   :
   5403 else
   5404   ac_cv_header_stdc=no
   5405 fi
   5406 rm -f conftest*
   5407 
   5408 fi
   5409 
   5410 if test $ac_cv_header_stdc = yes; then
   5411   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5412   if test "$cross_compiling" = yes; then
   5413   :
   5414 else
   5415   cat >conftest.$ac_ext <<_ACEOF
   5416 /* confdefs.h.  */
   5417 _ACEOF
   5418 cat confdefs.h >>conftest.$ac_ext
   5419 cat >>conftest.$ac_ext <<_ACEOF
   5420 /* end confdefs.h.  */
   5421 #include <ctype.h>
   5422 #include <stdlib.h>
   5423 #if ((' ' & 0x0FF) == 0x020)
   5424 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5425 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5426 #else
   5427 # define ISLOWER(c) \
   5428 		   (('a' <= (c) && (c) <= 'i') \
   5429 		     || ('j' <= (c) && (c) <= 'r') \
   5430 		     || ('s' <= (c) && (c) <= 'z'))
   5431 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5432 #endif
   5433 
   5434 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5435 int
   5436 main ()
   5437 {
   5438   int i;
   5439   for (i = 0; i < 256; i++)
   5440     if (XOR (islower (i), ISLOWER (i))
   5441 	|| toupper (i) != TOUPPER (i))
   5442       return 2;
   5443   return 0;
   5444 }
   5445 _ACEOF
   5446 rm -f conftest$ac_exeext
   5447 if { (ac_try="$ac_link"
   5448 case "(($ac_try" in
   5449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5450   *) ac_try_echo=$ac_try;;
   5451 esac
   5452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5453   (eval "$ac_link") 2>&5
   5454   ac_status=$?
   5455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5456   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5457   { (case "(($ac_try" in
   5458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5459   *) ac_try_echo=$ac_try;;
   5460 esac
   5461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5462   (eval "$ac_try") 2>&5
   5463   ac_status=$?
   5464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5465   (exit $ac_status); }; }; then
   5466   :
   5467 else
   5468   echo "$as_me: program exited with status $ac_status" >&5
   5469 echo "$as_me: failed program was:" >&5
   5470 sed 's/^/| /' conftest.$ac_ext >&5
   5471 
   5472 ( exit $ac_status )
   5473 ac_cv_header_stdc=no
   5474 fi
   5475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5476 fi
   5477 
   5478 
   5479 fi
   5480 fi
   5481 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5482 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5483 if test $ac_cv_header_stdc = yes; then
   5484 
   5485 cat >>confdefs.h <<\_ACEOF
   5486 #define STDC_HEADERS 1
   5487 _ACEOF
   5488 
   5489 fi
   5490 
   5491 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5502 		  inttypes.h stdint.h unistd.h
   5503 do
   5504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5508   echo $ECHO_N "(cached) $ECHO_C" >&6
   5509 else
   5510   cat >conftest.$ac_ext <<_ACEOF
   5511 /* confdefs.h.  */
   5512 _ACEOF
   5513 cat confdefs.h >>conftest.$ac_ext
   5514 cat >>conftest.$ac_ext <<_ACEOF
   5515 /* end confdefs.h.  */
   5516 $ac_includes_default
   5517 
   5518 #include <$ac_header>
   5519 _ACEOF
   5520 rm -f conftest.$ac_objext
   5521 if { (ac_try="$ac_compile"
   5522 case "(($ac_try" in
   5523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5524   *) ac_try_echo=$ac_try;;
   5525 esac
   5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5527   (eval "$ac_compile") 2>conftest.er1
   5528   ac_status=$?
   5529   grep -v '^ *+' conftest.er1 >conftest.err
   5530   rm -f conftest.er1
   5531   cat conftest.err >&5
   5532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5533   (exit $ac_status); } &&
   5534 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   5535   { (case "(($ac_try" in
   5536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5537   *) ac_try_echo=$ac_try;;
   5538 esac
   5539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5540   (eval "$ac_try") 2>&5
   5541   ac_status=$?
   5542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5543   (exit $ac_status); }; } &&
   5544 	 { ac_try='test -s conftest.$ac_objext'
   5545   { (case "(($ac_try" in
   5546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5547   *) ac_try_echo=$ac_try;;
   5548 esac
   5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5550   (eval "$ac_try") 2>&5
   5551   ac_status=$?
   5552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5553   (exit $ac_status); }; }; then
   5554   eval "$as_ac_Header=yes"
   5555 else
   5556   echo "$as_me: failed program was:" >&5
   5557 sed 's/^/| /' conftest.$ac_ext >&5
   5558 
   5559 	eval "$as_ac_Header=no"
   5560 fi
   5561 
   5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5563 fi
   5564 ac_res=`eval echo '${'$as_ac_Header'}'`
   5565 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5566 echo "${ECHO_T}$ac_res" >&6; }
   5567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5568   cat >>confdefs.h <<_ACEOF
   5569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5570 _ACEOF
   5571 
   5572 fi
   5573 
   5574 done
   5575 
   5576 
   5577 
   5578 for ac_header in dlfcn.h
   5579 do
   5580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5582   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5585   echo $ECHO_N "(cached) $ECHO_C" >&6
   5586 fi
   5587 ac_res=`eval echo '${'$as_ac_Header'}'`
   5588 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5589 echo "${ECHO_T}$ac_res" >&6; }
   5590 else
   5591   # Is the header compilable?
   5592 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5594 cat >conftest.$ac_ext <<_ACEOF
   5595 /* confdefs.h.  */
   5596 _ACEOF
   5597 cat confdefs.h >>conftest.$ac_ext
   5598 cat >>conftest.$ac_ext <<_ACEOF
   5599 /* end confdefs.h.  */
   5600 $ac_includes_default
   5601 #include <$ac_header>
   5602 _ACEOF
   5603 rm -f conftest.$ac_objext
   5604 if { (ac_try="$ac_compile"
   5605 case "(($ac_try" in
   5606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5607   *) ac_try_echo=$ac_try;;
   5608 esac
   5609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5610   (eval "$ac_compile") 2>conftest.er1
   5611   ac_status=$?
   5612   grep -v '^ *+' conftest.er1 >conftest.err
   5613   rm -f conftest.er1
   5614   cat conftest.err >&5
   5615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5616   (exit $ac_status); } &&
   5617 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   5618   { (case "(($ac_try" in
   5619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5620   *) ac_try_echo=$ac_try;;
   5621 esac
   5622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5623   (eval "$ac_try") 2>&5
   5624   ac_status=$?
   5625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5626   (exit $ac_status); }; } &&
   5627 	 { ac_try='test -s conftest.$ac_objext'
   5628   { (case "(($ac_try" in
   5629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5630   *) ac_try_echo=$ac_try;;
   5631 esac
   5632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5633   (eval "$ac_try") 2>&5
   5634   ac_status=$?
   5635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5636   (exit $ac_status); }; }; then
   5637   ac_header_compiler=yes
   5638 else
   5639   echo "$as_me: failed program was:" >&5
   5640 sed 's/^/| /' conftest.$ac_ext >&5
   5641 
   5642 	ac_header_compiler=no
   5643 fi
   5644 
   5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5646 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5647 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5648 
   5649 # Is the header present?
   5650 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5652 cat >conftest.$ac_ext <<_ACEOF
   5653 /* confdefs.h.  */
   5654 _ACEOF
   5655 cat confdefs.h >>conftest.$ac_ext
   5656 cat >>conftest.$ac_ext <<_ACEOF
   5657 /* end confdefs.h.  */
   5658 #include <$ac_header>
   5659 _ACEOF
   5660 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5661 case "(($ac_try" in
   5662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5663   *) ac_try_echo=$ac_try;;
   5664 esac
   5665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5666   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5667   ac_status=$?
   5668   grep -v '^ *+' conftest.er1 >conftest.err
   5669   rm -f conftest.er1
   5670   cat conftest.err >&5
   5671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5672   (exit $ac_status); } >/dev/null; then
   5673   if test -s conftest.err; then
   5674     ac_cpp_err=$ac_c_preproc_warn_flag
   5675     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5676   else
   5677     ac_cpp_err=
   5678   fi
   5679 else
   5680   ac_cpp_err=yes
   5681 fi
   5682 if test -z "$ac_cpp_err"; then
   5683   ac_header_preproc=yes
   5684 else
   5685   echo "$as_me: failed program was:" >&5
   5686 sed 's/^/| /' conftest.$ac_ext >&5
   5687 
   5688   ac_header_preproc=no
   5689 fi
   5690 
   5691 rm -f conftest.err conftest.$ac_ext
   5692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5693 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5694 
   5695 # So?  What about this header?
   5696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5697   yes:no: )
   5698     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5700     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5702     ac_header_preproc=yes
   5703     ;;
   5704   no:yes:* )
   5705     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5707     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5708 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5709     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5711     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5712 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5713     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5715     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5717     ( cat <<\_ASBOX
   5718 ## ---------------------------------------------------------------------- ##
   5719 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5720 ## ---------------------------------------------------------------------- ##
   5721 _ASBOX
   5722      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5723     ;;
   5724 esac
   5725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5728   echo $ECHO_N "(cached) $ECHO_C" >&6
   5729 else
   5730   eval "$as_ac_Header=\$ac_header_preproc"
   5731 fi
   5732 ac_res=`eval echo '${'$as_ac_Header'}'`
   5733 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5734 echo "${ECHO_T}$ac_res" >&6; }
   5735 
   5736 fi
   5737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5738   cat >>confdefs.h <<_ACEOF
   5739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5740 _ACEOF
   5741 
   5742 fi
   5743 
   5744 done
   5745 
   5746 ac_ext=cpp
   5747 ac_cpp='$CXXCPP $CPPFLAGS'
   5748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5751 if test -z "$CXX"; then
   5752   if test -n "$CCC"; then
   5753     CXX=$CCC
   5754   else
   5755     if test -n "$ac_tool_prefix"; then
   5756   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5757   do
   5758     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5762 if test "${ac_cv_prog_CXX+set}" = set; then
   5763   echo $ECHO_N "(cached) $ECHO_C" >&6
   5764 else
   5765   if test -n "$CXX"; then
   5766   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5767 else
   5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5769 for as_dir in $PATH
   5770 do
   5771   IFS=$as_save_IFS
   5772   test -z "$as_dir" && as_dir=.
   5773   for ac_exec_ext in '' $ac_executable_extensions; do
   5774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5775     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5776     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5777     break 2
   5778   fi
   5779 done
   5780 done
   5781 IFS=$as_save_IFS
   5782 
   5783 fi
   5784 fi
   5785 CXX=$ac_cv_prog_CXX
   5786 if test -n "$CXX"; then
   5787   { echo "$as_me:$LINENO: result: $CXX" >&5
   5788 echo "${ECHO_T}$CXX" >&6; }
   5789 else
   5790   { echo "$as_me:$LINENO: result: no" >&5
   5791 echo "${ECHO_T}no" >&6; }
   5792 fi
   5793 
   5794 
   5795     test -n "$CXX" && break
   5796   done
   5797 fi
   5798 if test -z "$CXX"; then
   5799   ac_ct_CXX=$CXX
   5800   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5801 do
   5802   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5803 set dummy $ac_prog; ac_word=$2
   5804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5806 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5807   echo $ECHO_N "(cached) $ECHO_C" >&6
   5808 else
   5809   if test -n "$ac_ct_CXX"; then
   5810   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5811 else
   5812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5813 for as_dir in $PATH
   5814 do
   5815   IFS=$as_save_IFS
   5816   test -z "$as_dir" && as_dir=.
   5817   for ac_exec_ext in '' $ac_executable_extensions; do
   5818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5819     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5820     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5821     break 2
   5822   fi
   5823 done
   5824 done
   5825 IFS=$as_save_IFS
   5826 
   5827 fi
   5828 fi
   5829 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5830 if test -n "$ac_ct_CXX"; then
   5831   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5832 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5833 else
   5834   { echo "$as_me:$LINENO: result: no" >&5
   5835 echo "${ECHO_T}no" >&6; }
   5836 fi
   5837 
   5838 
   5839   test -n "$ac_ct_CXX" && break
   5840 done
   5841 
   5842   if test "x$ac_ct_CXX" = x; then
   5843     CXX="g++"
   5844   else
   5845     case $cross_compiling:$ac_tool_warned in
   5846 yes:)
   5847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5848 whose name does not start with the host triplet.  If you think this
   5849 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5851 whose name does not start with the host triplet.  If you think this
   5852 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5853 ac_tool_warned=yes ;;
   5854 esac
   5855     CXX=$ac_ct_CXX
   5856   fi
   5857 fi
   5858 
   5859   fi
   5860 fi
   5861 # Provide some information about the compiler.
   5862 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5863 ac_compiler=`set X $ac_compile; echo $2`
   5864 { (ac_try="$ac_compiler --version >&5"
   5865 case "(($ac_try" in
   5866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5867   *) ac_try_echo=$ac_try;;
   5868 esac
   5869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5870   (eval "$ac_compiler --version >&5") 2>&5
   5871   ac_status=$?
   5872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5873   (exit $ac_status); }
   5874 { (ac_try="$ac_compiler -v >&5"
   5875 case "(($ac_try" in
   5876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5877   *) ac_try_echo=$ac_try;;
   5878 esac
   5879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5880   (eval "$ac_compiler -v >&5") 2>&5
   5881   ac_status=$?
   5882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5883   (exit $ac_status); }
   5884 { (ac_try="$ac_compiler -V >&5"
   5885 case "(($ac_try" in
   5886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5887   *) ac_try_echo=$ac_try;;
   5888 esac
   5889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5890   (eval "$ac_compiler -V >&5") 2>&5
   5891   ac_status=$?
   5892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5893   (exit $ac_status); }
   5894 
   5895 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5896 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5897 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5898   echo $ECHO_N "(cached) $ECHO_C" >&6
   5899 else
   5900   cat >conftest.$ac_ext <<_ACEOF
   5901 /* confdefs.h.  */
   5902 _ACEOF
   5903 cat confdefs.h >>conftest.$ac_ext
   5904 cat >>conftest.$ac_ext <<_ACEOF
   5905 /* end confdefs.h.  */
   5906 
   5907 int
   5908 main ()
   5909 {
   5910 #ifndef __GNUC__
   5911        choke me
   5912 #endif
   5913 
   5914   ;
   5915   return 0;
   5916 }
   5917 _ACEOF
   5918 rm -f conftest.$ac_objext
   5919 if { (ac_try="$ac_compile"
   5920 case "(($ac_try" in
   5921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5922   *) ac_try_echo=$ac_try;;
   5923 esac
   5924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5925   (eval "$ac_compile") 2>conftest.er1
   5926   ac_status=$?
   5927   grep -v '^ *+' conftest.er1 >conftest.err
   5928   rm -f conftest.er1
   5929   cat conftest.err >&5
   5930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5931   (exit $ac_status); } &&
   5932 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5933   { (case "(($ac_try" in
   5934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5935   *) ac_try_echo=$ac_try;;
   5936 esac
   5937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5938   (eval "$ac_try") 2>&5
   5939   ac_status=$?
   5940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5941   (exit $ac_status); }; } &&
   5942 	 { ac_try='test -s conftest.$ac_objext'
   5943   { (case "(($ac_try" in
   5944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5945   *) ac_try_echo=$ac_try;;
   5946 esac
   5947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5948   (eval "$ac_try") 2>&5
   5949   ac_status=$?
   5950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5951   (exit $ac_status); }; }; then
   5952   ac_compiler_gnu=yes
   5953 else
   5954   echo "$as_me: failed program was:" >&5
   5955 sed 's/^/| /' conftest.$ac_ext >&5
   5956 
   5957 	ac_compiler_gnu=no
   5958 fi
   5959 
   5960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5961 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5962 
   5963 fi
   5964 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5965 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5966 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5967 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5968 ac_save_CXXFLAGS=$CXXFLAGS
   5969 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5970 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5971 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5972   echo $ECHO_N "(cached) $ECHO_C" >&6
   5973 else
   5974   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5975    ac_cxx_werror_flag=yes
   5976    ac_cv_prog_cxx_g=no
   5977    CXXFLAGS="-g"
   5978    cat >conftest.$ac_ext <<_ACEOF
   5979 /* confdefs.h.  */
   5980 _ACEOF
   5981 cat confdefs.h >>conftest.$ac_ext
   5982 cat >>conftest.$ac_ext <<_ACEOF
   5983 /* end confdefs.h.  */
   5984 
   5985 int
   5986 main ()
   5987 {
   5988 
   5989   ;
   5990   return 0;
   5991 }
   5992 _ACEOF
   5993 rm -f conftest.$ac_objext
   5994 if { (ac_try="$ac_compile"
   5995 case "(($ac_try" in
   5996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5997   *) ac_try_echo=$ac_try;;
   5998 esac
   5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6000   (eval "$ac_compile") 2>conftest.er1
   6001   ac_status=$?
   6002   grep -v '^ *+' conftest.er1 >conftest.err
   6003   rm -f conftest.er1
   6004   cat conftest.err >&5
   6005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6006   (exit $ac_status); } &&
   6007 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   6008   { (case "(($ac_try" in
   6009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6010   *) ac_try_echo=$ac_try;;
   6011 esac
   6012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6013   (eval "$ac_try") 2>&5
   6014   ac_status=$?
   6015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6016   (exit $ac_status); }; } &&
   6017 	 { ac_try='test -s conftest.$ac_objext'
   6018   { (case "(($ac_try" in
   6019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6020   *) ac_try_echo=$ac_try;;
   6021 esac
   6022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6023   (eval "$ac_try") 2>&5
   6024   ac_status=$?
   6025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6026   (exit $ac_status); }; }; then
   6027   ac_cv_prog_cxx_g=yes
   6028 else
   6029   echo "$as_me: failed program was:" >&5
   6030 sed 's/^/| /' conftest.$ac_ext >&5
   6031 
   6032 	CXXFLAGS=""
   6033       cat >conftest.$ac_ext <<_ACEOF
   6034 /* confdefs.h.  */
   6035 _ACEOF
   6036 cat confdefs.h >>conftest.$ac_ext
   6037 cat >>conftest.$ac_ext <<_ACEOF
   6038 /* end confdefs.h.  */
   6039 
   6040 int
   6041 main ()
   6042 {
   6043 
   6044   ;
   6045   return 0;
   6046 }
   6047 _ACEOF
   6048 rm -f conftest.$ac_objext
   6049 if { (ac_try="$ac_compile"
   6050 case "(($ac_try" in
   6051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6052   *) ac_try_echo=$ac_try;;
   6053 esac
   6054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6055   (eval "$ac_compile") 2>conftest.er1
   6056   ac_status=$?
   6057   grep -v '^ *+' conftest.er1 >conftest.err
   6058   rm -f conftest.er1
   6059   cat conftest.err >&5
   6060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6061   (exit $ac_status); } &&
   6062 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   6063   { (case "(($ac_try" in
   6064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6065   *) ac_try_echo=$ac_try;;
   6066 esac
   6067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6068   (eval "$ac_try") 2>&5
   6069   ac_status=$?
   6070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6071   (exit $ac_status); }; } &&
   6072 	 { ac_try='test -s conftest.$ac_objext'
   6073   { (case "(($ac_try" in
   6074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6075   *) ac_try_echo=$ac_try;;
   6076 esac
   6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6078   (eval "$ac_try") 2>&5
   6079   ac_status=$?
   6080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6081   (exit $ac_status); }; }; then
   6082   :
   6083 else
   6084   echo "$as_me: failed program was:" >&5
   6085 sed 's/^/| /' conftest.$ac_ext >&5
   6086 
   6087 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   6088 	 CXXFLAGS="-g"
   6089 	 cat >conftest.$ac_ext <<_ACEOF
   6090 /* confdefs.h.  */
   6091 _ACEOF
   6092 cat confdefs.h >>conftest.$ac_ext
   6093 cat >>conftest.$ac_ext <<_ACEOF
   6094 /* end confdefs.h.  */
   6095 
   6096 int
   6097 main ()
   6098 {
   6099 
   6100   ;
   6101   return 0;
   6102 }
   6103 _ACEOF
   6104 rm -f conftest.$ac_objext
   6105 if { (ac_try="$ac_compile"
   6106 case "(($ac_try" in
   6107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6108   *) ac_try_echo=$ac_try;;
   6109 esac
   6110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6111   (eval "$ac_compile") 2>conftest.er1
   6112   ac_status=$?
   6113   grep -v '^ *+' conftest.er1 >conftest.err
   6114   rm -f conftest.er1
   6115   cat conftest.err >&5
   6116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6117   (exit $ac_status); } &&
   6118 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   6119   { (case "(($ac_try" in
   6120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6121   *) ac_try_echo=$ac_try;;
   6122 esac
   6123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6124   (eval "$ac_try") 2>&5
   6125   ac_status=$?
   6126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6127   (exit $ac_status); }; } &&
   6128 	 { ac_try='test -s conftest.$ac_objext'
   6129   { (case "(($ac_try" in
   6130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6131   *) ac_try_echo=$ac_try;;
   6132 esac
   6133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6134   (eval "$ac_try") 2>&5
   6135   ac_status=$?
   6136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6137   (exit $ac_status); }; }; then
   6138   ac_cv_prog_cxx_g=yes
   6139 else
   6140   echo "$as_me: failed program was:" >&5
   6141 sed 's/^/| /' conftest.$ac_ext >&5
   6142 
   6143 
   6144 fi
   6145 
   6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6147 fi
   6148 
   6149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6150 fi
   6151 
   6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6153    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   6154 fi
   6155 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   6156 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   6157 if test "$ac_test_CXXFLAGS" = set; then
   6158   CXXFLAGS=$ac_save_CXXFLAGS
   6159 elif test $ac_cv_prog_cxx_g = yes; then
   6160   if test "$GXX" = yes; then
   6161     CXXFLAGS="-g -O2"
   6162   else
   6163     CXXFLAGS="-g"
   6164   fi
   6165 else
   6166   if test "$GXX" = yes; then
   6167     CXXFLAGS="-O2"
   6168   else
   6169     CXXFLAGS=
   6170   fi
   6171 fi
   6172 ac_ext=cpp
   6173 ac_cpp='$CXXCPP $CPPFLAGS'
   6174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6177 
   6178 depcc="$CXX"  am_compiler_list=
   6179 
   6180 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   6181 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   6182 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   6183   echo $ECHO_N "(cached) $ECHO_C" >&6
   6184 else
   6185   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6186   # We make a subdir and do the tests there.  Otherwise we can end up
   6187   # making bogus files that we don't know about and never remove.  For
   6188   # instance it was reported that on HP-UX the gcc test will end up
   6189   # making a dummy file named `D' -- because `-MD' means `put the output
   6190   # in D'.
   6191   mkdir conftest.dir
   6192   # Copy depcomp to subdir because otherwise we won't find it if we're
   6193   # using a relative directory.
   6194   cp "$am_depcomp" conftest.dir
   6195   cd conftest.dir
   6196   # We will build objects and dependencies in a subdirectory because
   6197   # it helps to detect inapplicable dependency modes.  For instance
   6198   # both Tru64's cc and ICC support -MD to output dependencies as a
   6199   # side effect of compilation, but ICC will put the dependencies in
   6200   # the current directory while Tru64 will put them in the object
   6201   # directory.
   6202   mkdir sub
   6203 
   6204   am_cv_CXX_dependencies_compiler_type=none
   6205   if test "$am_compiler_list" = ""; then
   6206      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6207   fi
   6208   for depmode in $am_compiler_list; do
   6209     # Setup a source with many dependencies, because some compilers
   6210     # like to wrap large dependency lists on column 80 (with \), and
   6211     # we should not choose a depcomp mode which is confused by this.
   6212     #
   6213     # We need to recreate these files for each test, as the compiler may
   6214     # overwrite some of them when testing with obscure command lines.
   6215     # This happens at least with the AIX C compiler.
   6216     : > sub/conftest.c
   6217     for i in 1 2 3 4 5 6; do
   6218       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6219       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   6220       # Solaris 8's {/usr,}/bin/sh.
   6221       touch sub/conftst$i.h
   6222     done
   6223     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6224 
   6225     case $depmode in
   6226     nosideeffect)
   6227       # after this tag, mechanisms are not by side-effect, so they'll
   6228       # only be used when explicitly requested
   6229       if test "x$enable_dependency_tracking" = xyes; then
   6230 	continue
   6231       else
   6232 	break
   6233       fi
   6234       ;;
   6235     none) break ;;
   6236     esac
   6237     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   6238     # mode.  It turns out that the SunPro C++ compiler does not properly
   6239     # handle `-M -o', and we need to detect this.
   6240     if depmode=$depmode \
   6241        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   6242        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6243        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   6244          >/dev/null 2>conftest.err &&
   6245        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6246        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   6247        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6248       # icc doesn't choke on unknown options, it will just issue warnings
   6249       # or remarks (even with -Werror).  So we grep stderr for any message
   6250       # that says an option was ignored or not supported.
   6251       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6252       #   icc: Command line warning: ignoring option '-M'; no argument required
   6253       # The diagnosis changed in icc 8.0:
   6254       #   icc: Command line remark: option '-MP' not supported
   6255       if (grep 'ignoring option' conftest.err ||
   6256           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6257         am_cv_CXX_dependencies_compiler_type=$depmode
   6258         break
   6259       fi
   6260     fi
   6261   done
   6262 
   6263   cd ..
   6264   rm -rf conftest.dir
   6265 else
   6266   am_cv_CXX_dependencies_compiler_type=none
   6267 fi
   6268 
   6269 fi
   6270 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   6271 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   6272 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   6273 
   6274 
   6275 
   6276 if
   6277   test "x$enable_dependency_tracking" != xno \
   6278   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   6279   am__fastdepCXX_TRUE=
   6280   am__fastdepCXX_FALSE='#'
   6281 else
   6282   am__fastdepCXX_TRUE='#'
   6283   am__fastdepCXX_FALSE=
   6284 fi
   6285 
   6286 
   6287 
   6288 
   6289 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   6290     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   6291     (test "X$CXX" != "Xg++"))) ; then
   6292   ac_ext=cpp
   6293 ac_cpp='$CXXCPP $CPPFLAGS'
   6294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6297 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   6298 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   6299 if test -z "$CXXCPP"; then
   6300   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   6301   echo $ECHO_N "(cached) $ECHO_C" >&6
   6302 else
   6303       # Double quotes because CXXCPP needs to be expanded
   6304     for CXXCPP in "$CXX -E" "/lib/cpp"
   6305     do
   6306       ac_preproc_ok=false
   6307 for ac_cxx_preproc_warn_flag in '' yes
   6308 do
   6309   # Use a header file that comes with gcc, so configuring glibc
   6310   # with a fresh cross-compiler works.
   6311   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6312   # <limits.h> exists even on freestanding compilers.
   6313   # On the NeXT, cc -E runs the code through the compiler's parser,
   6314   # not just through cpp. "Syntax error" is here to catch this case.
   6315   cat >conftest.$ac_ext <<_ACEOF
   6316 /* confdefs.h.  */
   6317 _ACEOF
   6318 cat confdefs.h >>conftest.$ac_ext
   6319 cat >>conftest.$ac_ext <<_ACEOF
   6320 /* end confdefs.h.  */
   6321 #ifdef __STDC__
   6322 # include <limits.h>
   6323 #else
   6324 # include <assert.h>
   6325 #endif
   6326 		     Syntax error
   6327 _ACEOF
   6328 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6329 case "(($ac_try" in
   6330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6331   *) ac_try_echo=$ac_try;;
   6332 esac
   6333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6334   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6335   ac_status=$?
   6336   grep -v '^ *+' conftest.er1 >conftest.err
   6337   rm -f conftest.er1
   6338   cat conftest.err >&5
   6339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6340   (exit $ac_status); } >/dev/null; then
   6341   if test -s conftest.err; then
   6342     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6343     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6344   else
   6345     ac_cpp_err=
   6346   fi
   6347 else
   6348   ac_cpp_err=yes
   6349 fi
   6350 if test -z "$ac_cpp_err"; then
   6351   :
   6352 else
   6353   echo "$as_me: failed program was:" >&5
   6354 sed 's/^/| /' conftest.$ac_ext >&5
   6355 
   6356   # Broken: fails on valid input.
   6357 continue
   6358 fi
   6359 
   6360 rm -f conftest.err conftest.$ac_ext
   6361 
   6362   # OK, works on sane cases.  Now check whether nonexistent headers
   6363   # can be detected and how.
   6364   cat >conftest.$ac_ext <<_ACEOF
   6365 /* confdefs.h.  */
   6366 _ACEOF
   6367 cat confdefs.h >>conftest.$ac_ext
   6368 cat >>conftest.$ac_ext <<_ACEOF
   6369 /* end confdefs.h.  */
   6370 #include <ac_nonexistent.h>
   6371 _ACEOF
   6372 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6373 case "(($ac_try" in
   6374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6375   *) ac_try_echo=$ac_try;;
   6376 esac
   6377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6378   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6379   ac_status=$?
   6380   grep -v '^ *+' conftest.er1 >conftest.err
   6381   rm -f conftest.er1
   6382   cat conftest.err >&5
   6383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6384   (exit $ac_status); } >/dev/null; then
   6385   if test -s conftest.err; then
   6386     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6387     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6388   else
   6389     ac_cpp_err=
   6390   fi
   6391 else
   6392   ac_cpp_err=yes
   6393 fi
   6394 if test -z "$ac_cpp_err"; then
   6395   # Broken: success on invalid input.
   6396 continue
   6397 else
   6398   echo "$as_me: failed program was:" >&5
   6399 sed 's/^/| /' conftest.$ac_ext >&5
   6400 
   6401   # Passes both tests.
   6402 ac_preproc_ok=:
   6403 break
   6404 fi
   6405 
   6406 rm -f conftest.err conftest.$ac_ext
   6407 
   6408 done
   6409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6410 rm -f conftest.err conftest.$ac_ext
   6411 if $ac_preproc_ok; then
   6412   break
   6413 fi
   6414 
   6415     done
   6416     ac_cv_prog_CXXCPP=$CXXCPP
   6417 
   6418 fi
   6419   CXXCPP=$ac_cv_prog_CXXCPP
   6420 else
   6421   ac_cv_prog_CXXCPP=$CXXCPP
   6422 fi
   6423 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6424 echo "${ECHO_T}$CXXCPP" >&6; }
   6425 ac_preproc_ok=false
   6426 for ac_cxx_preproc_warn_flag in '' yes
   6427 do
   6428   # Use a header file that comes with gcc, so configuring glibc
   6429   # with a fresh cross-compiler works.
   6430   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6431   # <limits.h> exists even on freestanding compilers.
   6432   # On the NeXT, cc -E runs the code through the compiler's parser,
   6433   # not just through cpp. "Syntax error" is here to catch this case.
   6434   cat >conftest.$ac_ext <<_ACEOF
   6435 /* confdefs.h.  */
   6436 _ACEOF
   6437 cat confdefs.h >>conftest.$ac_ext
   6438 cat >>conftest.$ac_ext <<_ACEOF
   6439 /* end confdefs.h.  */
   6440 #ifdef __STDC__
   6441 # include <limits.h>
   6442 #else
   6443 # include <assert.h>
   6444 #endif
   6445 		     Syntax error
   6446 _ACEOF
   6447 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6448 case "(($ac_try" in
   6449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6450   *) ac_try_echo=$ac_try;;
   6451 esac
   6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6453   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6454   ac_status=$?
   6455   grep -v '^ *+' conftest.er1 >conftest.err
   6456   rm -f conftest.er1
   6457   cat conftest.err >&5
   6458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6459   (exit $ac_status); } >/dev/null; then
   6460   if test -s conftest.err; then
   6461     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6462     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6463   else
   6464     ac_cpp_err=
   6465   fi
   6466 else
   6467   ac_cpp_err=yes
   6468 fi
   6469 if test -z "$ac_cpp_err"; then
   6470   :
   6471 else
   6472   echo "$as_me: failed program was:" >&5
   6473 sed 's/^/| /' conftest.$ac_ext >&5
   6474 
   6475   # Broken: fails on valid input.
   6476 continue
   6477 fi
   6478 
   6479 rm -f conftest.err conftest.$ac_ext
   6480 
   6481   # OK, works on sane cases.  Now check whether nonexistent headers
   6482   # can be detected and how.
   6483   cat >conftest.$ac_ext <<_ACEOF
   6484 /* confdefs.h.  */
   6485 _ACEOF
   6486 cat confdefs.h >>conftest.$ac_ext
   6487 cat >>conftest.$ac_ext <<_ACEOF
   6488 /* end confdefs.h.  */
   6489 #include <ac_nonexistent.h>
   6490 _ACEOF
   6491 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6492 case "(($ac_try" in
   6493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6494   *) ac_try_echo=$ac_try;;
   6495 esac
   6496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6497   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6498   ac_status=$?
   6499   grep -v '^ *+' conftest.er1 >conftest.err
   6500   rm -f conftest.er1
   6501   cat conftest.err >&5
   6502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6503   (exit $ac_status); } >/dev/null; then
   6504   if test -s conftest.err; then
   6505     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6506     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6507   else
   6508     ac_cpp_err=
   6509   fi
   6510 else
   6511   ac_cpp_err=yes
   6512 fi
   6513 if test -z "$ac_cpp_err"; then
   6514   # Broken: success on invalid input.
   6515 continue
   6516 else
   6517   echo "$as_me: failed program was:" >&5
   6518 sed 's/^/| /' conftest.$ac_ext >&5
   6519 
   6520   # Passes both tests.
   6521 ac_preproc_ok=:
   6522 break
   6523 fi
   6524 
   6525 rm -f conftest.err conftest.$ac_ext
   6526 
   6527 done
   6528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6529 rm -f conftest.err conftest.$ac_ext
   6530 if $ac_preproc_ok; then
   6531   :
   6532 else
   6533   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6534 See \`config.log' for more details." >&5
   6535 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6536 See \`config.log' for more details." >&2;}
   6537    { (exit 1); exit 1; }; }
   6538 fi
   6539 
   6540 ac_ext=cpp
   6541 ac_cpp='$CXXCPP $CPPFLAGS'
   6542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6545 
   6546 fi
   6547 
   6548 
   6549 ac_ext=f
   6550 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6551 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6552 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6553 if test -n "$ac_tool_prefix"; then
   6554   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
   6555   do
   6556     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6557 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6560 if test "${ac_cv_prog_F77+set}" = set; then
   6561   echo $ECHO_N "(cached) $ECHO_C" >&6
   6562 else
   6563   if test -n "$F77"; then
   6564   ac_cv_prog_F77="$F77" # Let the user override the test.
   6565 else
   6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6567 for as_dir in $PATH
   6568 do
   6569   IFS=$as_save_IFS
   6570   test -z "$as_dir" && as_dir=.
   6571   for ac_exec_ext in '' $ac_executable_extensions; do
   6572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6573     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6575     break 2
   6576   fi
   6577 done
   6578 done
   6579 IFS=$as_save_IFS
   6580 
   6581 fi
   6582 fi
   6583 F77=$ac_cv_prog_F77
   6584 if test -n "$F77"; then
   6585   { echo "$as_me:$LINENO: result: $F77" >&5
   6586 echo "${ECHO_T}$F77" >&6; }
   6587 else
   6588   { echo "$as_me:$LINENO: result: no" >&5
   6589 echo "${ECHO_T}no" >&6; }
   6590 fi
   6591 
   6592 
   6593     test -n "$F77" && break
   6594   done
   6595 fi
   6596 if test -z "$F77"; then
   6597   ac_ct_F77=$F77
   6598   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
   6599 do
   6600   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6601 set dummy $ac_prog; ac_word=$2
   6602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6604 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6605   echo $ECHO_N "(cached) $ECHO_C" >&6
   6606 else
   6607   if test -n "$ac_ct_F77"; then
   6608   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6609 else
   6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6611 for as_dir in $PATH
   6612 do
   6613   IFS=$as_save_IFS
   6614   test -z "$as_dir" && as_dir=.
   6615   for ac_exec_ext in '' $ac_executable_extensions; do
   6616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6617     ac_cv_prog_ac_ct_F77="$ac_prog"
   6618     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6619     break 2
   6620   fi
   6621 done
   6622 done
   6623 IFS=$as_save_IFS
   6624 
   6625 fi
   6626 fi
   6627 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6628 if test -n "$ac_ct_F77"; then
   6629   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6630 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6631 else
   6632   { echo "$as_me:$LINENO: result: no" >&5
   6633 echo "${ECHO_T}no" >&6; }
   6634 fi
   6635 
   6636 
   6637   test -n "$ac_ct_F77" && break
   6638 done
   6639 
   6640   if test "x$ac_ct_F77" = x; then
   6641     F77=""
   6642   else
   6643     case $cross_compiling:$ac_tool_warned in
   6644 yes:)
   6645 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6646 whose name does not start with the host triplet.  If you think this
   6647 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6648 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6649 whose name does not start with the host triplet.  If you think this
   6650 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6651 ac_tool_warned=yes ;;
   6652 esac
   6653     F77=$ac_ct_F77
   6654   fi
   6655 fi
   6656 
   6657 
   6658 # Provide some information about the compiler.
   6659 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6660 ac_compiler=`set X $ac_compile; echo $2`
   6661 { (ac_try="$ac_compiler --version >&5"
   6662 case "(($ac_try" in
   6663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6664   *) ac_try_echo=$ac_try;;
   6665 esac
   6666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6667   (eval "$ac_compiler --version >&5") 2>&5
   6668   ac_status=$?
   6669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6670   (exit $ac_status); }
   6671 { (ac_try="$ac_compiler -v >&5"
   6672 case "(($ac_try" in
   6673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6674   *) ac_try_echo=$ac_try;;
   6675 esac
   6676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6677   (eval "$ac_compiler -v >&5") 2>&5
   6678   ac_status=$?
   6679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6680   (exit $ac_status); }
   6681 { (ac_try="$ac_compiler -V >&5"
   6682 case "(($ac_try" in
   6683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6684   *) ac_try_echo=$ac_try;;
   6685 esac
   6686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6687   (eval "$ac_compiler -V >&5") 2>&5
   6688   ac_status=$?
   6689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6690   (exit $ac_status); }
   6691 rm -f a.out
   6692 
   6693 # If we don't use `.F' as extension, the preprocessor is not run on the
   6694 # input file.  (Note that this only needs to work for GNU compilers.)
   6695 ac_save_ext=$ac_ext
   6696 ac_ext=F
   6697 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6698 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6699 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6700   echo $ECHO_N "(cached) $ECHO_C" >&6
   6701 else
   6702   cat >conftest.$ac_ext <<_ACEOF
   6703       program main
   6704 #ifndef __GNUC__
   6705        choke me
   6706 #endif
   6707 
   6708       end
   6709 _ACEOF
   6710 rm -f conftest.$ac_objext
   6711 if { (ac_try="$ac_compile"
   6712 case "(($ac_try" in
   6713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6714   *) ac_try_echo=$ac_try;;
   6715 esac
   6716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6717   (eval "$ac_compile") 2>conftest.er1
   6718   ac_status=$?
   6719   grep -v '^ *+' conftest.er1 >conftest.err
   6720   rm -f conftest.er1
   6721   cat conftest.err >&5
   6722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6723   (exit $ac_status); } &&
   6724 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   6725   { (case "(($ac_try" in
   6726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6727   *) ac_try_echo=$ac_try;;
   6728 esac
   6729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6730   (eval "$ac_try") 2>&5
   6731   ac_status=$?
   6732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6733   (exit $ac_status); }; } &&
   6734 	 { ac_try='test -s conftest.$ac_objext'
   6735   { (case "(($ac_try" in
   6736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6737   *) ac_try_echo=$ac_try;;
   6738 esac
   6739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6740   (eval "$ac_try") 2>&5
   6741   ac_status=$?
   6742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6743   (exit $ac_status); }; }; then
   6744   ac_compiler_gnu=yes
   6745 else
   6746   echo "$as_me: failed program was:" >&5
   6747 sed 's/^/| /' conftest.$ac_ext >&5
   6748 
   6749 	ac_compiler_gnu=no
   6750 fi
   6751 
   6752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6753 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6754 
   6755 fi
   6756 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6757 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6758 ac_ext=$ac_save_ext
   6759 ac_test_FFLAGS=${FFLAGS+set}
   6760 ac_save_FFLAGS=$FFLAGS
   6761 FFLAGS=
   6762 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6763 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6764 if test "${ac_cv_prog_f77_g+set}" = set; then
   6765   echo $ECHO_N "(cached) $ECHO_C" >&6
   6766 else
   6767   FFLAGS=-g
   6768 cat >conftest.$ac_ext <<_ACEOF
   6769       program main
   6770 
   6771       end
   6772 _ACEOF
   6773 rm -f conftest.$ac_objext
   6774 if { (ac_try="$ac_compile"
   6775 case "(($ac_try" in
   6776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6777   *) ac_try_echo=$ac_try;;
   6778 esac
   6779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6780   (eval "$ac_compile") 2>conftest.er1
   6781   ac_status=$?
   6782   grep -v '^ *+' conftest.er1 >conftest.err
   6783   rm -f conftest.er1
   6784   cat conftest.err >&5
   6785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6786   (exit $ac_status); } &&
   6787 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   6788   { (case "(($ac_try" in
   6789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6790   *) ac_try_echo=$ac_try;;
   6791 esac
   6792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6793   (eval "$ac_try") 2>&5
   6794   ac_status=$?
   6795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6796   (exit $ac_status); }; } &&
   6797 	 { ac_try='test -s conftest.$ac_objext'
   6798   { (case "(($ac_try" in
   6799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6800   *) ac_try_echo=$ac_try;;
   6801 esac
   6802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6803   (eval "$ac_try") 2>&5
   6804   ac_status=$?
   6805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6806   (exit $ac_status); }; }; then
   6807   ac_cv_prog_f77_g=yes
   6808 else
   6809   echo "$as_me: failed program was:" >&5
   6810 sed 's/^/| /' conftest.$ac_ext >&5
   6811 
   6812 	ac_cv_prog_f77_g=no
   6813 fi
   6814 
   6815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6816 
   6817 fi
   6818 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6819 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6820 if test "$ac_test_FFLAGS" = set; then
   6821   FFLAGS=$ac_save_FFLAGS
   6822 elif test $ac_cv_prog_f77_g = yes; then
   6823   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6824     FFLAGS="-g -O2"
   6825   else
   6826     FFLAGS="-g"
   6827   fi
   6828 else
   6829   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6830     FFLAGS="-O2"
   6831   else
   6832     FFLAGS=
   6833   fi
   6834 fi
   6835 
   6836 G77=`test $ac_compiler_gnu = yes && echo yes`
   6837 ac_ext=c
   6838 ac_cpp='$CPP $CPPFLAGS'
   6839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6842 
   6843 
   6844 
   6845 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6846 
   6847 # find the maximum length of command line arguments
   6848 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6849 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6850 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6851   echo $ECHO_N "(cached) $ECHO_C" >&6
   6852 else
   6853     i=0
   6854   teststring="ABCD"
   6855 
   6856   case $build_os in
   6857   msdosdjgpp*)
   6858     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6859     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6860     # during glob expansion).  Even if it were fixed, the result of this
   6861     # check would be larger than it should be.
   6862     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6863     ;;
   6864 
   6865   gnu*)
   6866     # Under GNU Hurd, this test is not required because there is
   6867     # no limit to the length of command line arguments.
   6868     # Libtool will interpret -1 as no limit whatsoever
   6869     lt_cv_sys_max_cmd_len=-1;
   6870     ;;
   6871 
   6872   cygwin* | mingw*)
   6873     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6874     # about 5 minutes as the teststring grows exponentially.
   6875     # Worse, since 9x/ME are not pre-emptively multitasking,
   6876     # you end up with a "frozen" computer, even though with patience
   6877     # the test eventually succeeds (with a max line length of 256k).
   6878     # Instead, let's just punt: use the minimum linelength reported by
   6879     # all of the supported platforms: 8192 (on NT/2K/XP).
   6880     lt_cv_sys_max_cmd_len=8192;
   6881     ;;
   6882 
   6883   amigaos*)
   6884     # On AmigaOS with pdksh, this test takes hours, literally.
   6885     # So we just punt and use a minimum line length of 8192.
   6886     lt_cv_sys_max_cmd_len=8192;
   6887     ;;
   6888 
   6889   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6890     # This has been around since 386BSD, at least.  Likely further.
   6891     if test -x /sbin/sysctl; then
   6892       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6893     elif test -x /usr/sbin/sysctl; then
   6894       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6895     else
   6896       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6897     fi
   6898     # And add a safety zone
   6899     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6900     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6901     ;;
   6902 
   6903   interix*)
   6904     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6905     lt_cv_sys_max_cmd_len=196608
   6906     ;;
   6907 
   6908   osf*)
   6909     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6910     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6911     # nice to cause kernel panics so lets avoid the loop below.
   6912     # First set a reasonable default.
   6913     lt_cv_sys_max_cmd_len=16384
   6914     #
   6915     if test -x /sbin/sysconfig; then
   6916       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6917         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6918       esac
   6919     fi
   6920     ;;
   6921   sco3.2v5*)
   6922     lt_cv_sys_max_cmd_len=102400
   6923     ;;
   6924   sysv5* | sco5v6* | sysv4.2uw2*)
   6925     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6926     if test -n "$kargmax"; then
   6927       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6928     else
   6929       lt_cv_sys_max_cmd_len=32768
   6930     fi
   6931     ;;
   6932   *)
   6933     # If test is not a shell built-in, we'll probably end up computing a
   6934     # maximum length that is only half of the actual maximum length, but
   6935     # we can't tell.
   6936     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6937     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6938 	       = "XX$teststring") >/dev/null 2>&1 &&
   6939 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6940 	    lt_cv_sys_max_cmd_len=$new_result &&
   6941 	    test $i != 17 # 1/2 MB should be enough
   6942     do
   6943       i=`expr $i + 1`
   6944       teststring=$teststring$teststring
   6945     done
   6946     teststring=
   6947     # Add a significant safety factor because C++ compilers can tack on massive
   6948     # amounts of additional arguments before passing them to the linker.
   6949     # It appears as though 1/2 is a usable value.
   6950     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6951     ;;
   6952   esac
   6953 
   6954 fi
   6955 
   6956 if test -n $lt_cv_sys_max_cmd_len ; then
   6957   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6958 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6959 else
   6960   { echo "$as_me:$LINENO: result: none" >&5
   6961 echo "${ECHO_T}none" >&6; }
   6962 fi
   6963 
   6964 
   6965 
   6966 
   6967 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6968 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6969 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6970 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6971   echo $ECHO_N "(cached) $ECHO_C" >&6
   6972 else
   6973 
   6974 # These are sane defaults that work on at least a few old systems.
   6975 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6976 
   6977 # Character class describing NM global symbol codes.
   6978 symcode='[BCDEGRST]'
   6979 
   6980 # Regexp to match symbols that can be accessed directly from C.
   6981 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6982 
   6983 # Transform an extracted symbol line into a proper C declaration
   6984 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6985 
   6986 # Transform an extracted symbol line into symbol name and symbol address
   6987 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'"
   6988 
   6989 # Define system-specific variables.
   6990 case $host_os in
   6991 aix*)
   6992   symcode='[BCDT]'
   6993   ;;
   6994 cygwin* | mingw* | pw32*)
   6995   symcode='[ABCDGISTW]'
   6996   ;;
   6997 hpux*) # Its linker distinguishes data from code symbols
   6998   if test "$host_cpu" = ia64; then
   6999     symcode='[ABCDEGRST]'
   7000   fi
   7001   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7002   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'"
   7003   ;;
   7004 linux* | k*bsd*-gnu)
   7005   if test "$host_cpu" = ia64; then
   7006     symcode='[ABCDGIRSTW]'
   7007     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7008     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'"
   7009   fi
   7010   ;;
   7011 irix* | nonstopux*)
   7012   symcode='[BCDEGRST]'
   7013   ;;
   7014 osf*)
   7015   symcode='[BCDEGQRST]'
   7016   ;;
   7017 solaris*)
   7018   symcode='[BDRT]'
   7019   ;;
   7020 sco3.2v5*)
   7021   symcode='[DT]'
   7022   ;;
   7023 sysv4.2uw2*)
   7024   symcode='[DT]'
   7025   ;;
   7026 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7027   symcode='[ABDT]'
   7028   ;;
   7029 sysv4)
   7030   symcode='[DFNSTU]'
   7031   ;;
   7032 esac
   7033 
   7034 # Handle CRLF in mingw tool chain
   7035 opt_cr=
   7036 case $build_os in
   7037 mingw*)
   7038   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7039   ;;
   7040 esac
   7041 
   7042 # If we're using GNU nm, then use its standard symbol codes.
   7043 case `$NM -V 2>&1` in
   7044 *GNU* | *'with BFD'*)
   7045   symcode='[ABCDGIRSTW]' ;;
   7046 esac
   7047 
   7048 # Try without a prefix undercore, then with it.
   7049 for ac_symprfx in "" "_"; do
   7050 
   7051   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7052   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7053 
   7054   # Write the raw and C identifiers.
   7055   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7056 
   7057   # Check to see that the pipe works correctly.
   7058   pipe_works=no
   7059 
   7060   rm -f conftest*
   7061   cat > conftest.$ac_ext <<EOF
   7062 #ifdef __cplusplus
   7063 extern "C" {
   7064 #endif
   7065 char nm_test_var;
   7066 void nm_test_func(){}
   7067 #ifdef __cplusplus
   7068 }
   7069 #endif
   7070 int main(){nm_test_var='a';nm_test_func();return(0);}
   7071 EOF
   7072 
   7073   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7074   (eval $ac_compile) 2>&5
   7075   ac_status=$?
   7076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7077   (exit $ac_status); }; then
   7078     # Now try to grab the symbols.
   7079     nlist=conftest.nm
   7080     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   7081   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   7082   ac_status=$?
   7083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7084   (exit $ac_status); } && test -s "$nlist"; then
   7085       # Try sorting and uniquifying the output.
   7086       if sort "$nlist" | uniq > "$nlist"T; then
   7087 	mv -f "$nlist"T "$nlist"
   7088       else
   7089 	rm -f "$nlist"T
   7090       fi
   7091 
   7092       # Make sure that we snagged all the symbols we need.
   7093       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   7094 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   7095 	  cat <<EOF > conftest.$ac_ext
   7096 #ifdef __cplusplus
   7097 extern "C" {
   7098 #endif
   7099 
   7100 EOF
   7101 	  # Now generate the symbol file.
   7102 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   7103 
   7104 	  cat <<EOF >> conftest.$ac_ext
   7105 #if defined (__STDC__) && __STDC__
   7106 # define lt_ptr_t void *
   7107 #else
   7108 # define lt_ptr_t char *
   7109 # define const
   7110 #endif
   7111 
   7112 /* The mapping between symbol names and symbols. */
   7113 const struct {
   7114   const char *name;
   7115   lt_ptr_t address;
   7116 }
   7117 lt_preloaded_symbols[] =
   7118 {
   7119 EOF
   7120 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   7121 	  cat <<\EOF >> conftest.$ac_ext
   7122   {0, (lt_ptr_t) 0}
   7123 };
   7124 
   7125 #ifdef __cplusplus
   7126 }
   7127 #endif
   7128 EOF
   7129 	  # Now try linking the two files.
   7130 	  mv conftest.$ac_objext conftstm.$ac_objext
   7131 	  lt_save_LIBS="$LIBS"
   7132 	  lt_save_CFLAGS="$CFLAGS"
   7133 	  LIBS="conftstm.$ac_objext"
   7134 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7135 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7136   (eval $ac_link) 2>&5
   7137   ac_status=$?
   7138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7139   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   7140 	    pipe_works=yes
   7141 	  fi
   7142 	  LIBS="$lt_save_LIBS"
   7143 	  CFLAGS="$lt_save_CFLAGS"
   7144 	else
   7145 	  echo "cannot find nm_test_func in $nlist" >&5
   7146 	fi
   7147       else
   7148 	echo "cannot find nm_test_var in $nlist" >&5
   7149       fi
   7150     else
   7151       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7152     fi
   7153   else
   7154     echo "$progname: failed program was:" >&5
   7155     cat conftest.$ac_ext >&5
   7156   fi
   7157   rm -f conftest* conftst*
   7158 
   7159   # Do not use the global_symbol_pipe unless it works.
   7160   if test "$pipe_works" = yes; then
   7161     break
   7162   else
   7163     lt_cv_sys_global_symbol_pipe=
   7164   fi
   7165 done
   7166 
   7167 fi
   7168 
   7169 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7170   lt_cv_sys_global_symbol_to_cdecl=
   7171 fi
   7172 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7173   { echo "$as_me:$LINENO: result: failed" >&5
   7174 echo "${ECHO_T}failed" >&6; }
   7175 else
   7176   { echo "$as_me:$LINENO: result: ok" >&5
   7177 echo "${ECHO_T}ok" >&6; }
   7178 fi
   7179 
   7180 { echo "$as_me:$LINENO: checking for objdir" >&5
   7181 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   7182 if test "${lt_cv_objdir+set}" = set; then
   7183   echo $ECHO_N "(cached) $ECHO_C" >&6
   7184 else
   7185   rm -f .libs 2>/dev/null
   7186 mkdir .libs 2>/dev/null
   7187 if test -d .libs; then
   7188   lt_cv_objdir=.libs
   7189 else
   7190   # MS-DOS does not allow filenames that begin with a dot.
   7191   lt_cv_objdir=_libs
   7192 fi
   7193 rmdir .libs 2>/dev/null
   7194 fi
   7195 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7196 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   7197 objdir=$lt_cv_objdir
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 case $host_os in
   7204 aix3*)
   7205   # AIX sometimes has problems with the GCC collect2 program.  For some
   7206   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7207   # vanish in a puff of smoke.
   7208   if test "X${COLLECT_NAMES+set}" != Xset; then
   7209     COLLECT_NAMES=
   7210     export COLLECT_NAMES
   7211   fi
   7212   ;;
   7213 esac
   7214 
   7215 # Sed substitution that helps us do robust quoting.  It backslashifies
   7216 # metacharacters that are still active within double-quoted strings.
   7217 Xsed='sed -e 1s/^X//'
   7218 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   7219 
   7220 # Same as above, but do not quote variable references.
   7221 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   7222 
   7223 # Sed substitution to delay expansion of an escaped shell variable in a
   7224 # double_quote_subst'ed string.
   7225 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7226 
   7227 # Sed substitution to avoid accidental globbing in evaled expressions
   7228 no_glob_subst='s/\*/\\\*/g'
   7229 
   7230 # Constants:
   7231 rm="rm -f"
   7232 
   7233 # Global variables:
   7234 default_ofile=libtool
   7235 can_build_shared=yes
   7236 
   7237 # All known linkers require a `.a' archive for static linking (except MSVC,
   7238 # which needs '.lib').
   7239 libext=a
   7240 ltmain="$ac_aux_dir/ltmain.sh"
   7241 ofile="$default_ofile"
   7242 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7243 
   7244 if test -n "$ac_tool_prefix"; then
   7245   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7246 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7249 if test "${ac_cv_prog_AR+set}" = set; then
   7250   echo $ECHO_N "(cached) $ECHO_C" >&6
   7251 else
   7252   if test -n "$AR"; then
   7253   ac_cv_prog_AR="$AR" # Let the user override the test.
   7254 else
   7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7256 for as_dir in $PATH
   7257 do
   7258   IFS=$as_save_IFS
   7259   test -z "$as_dir" && as_dir=.
   7260   for ac_exec_ext in '' $ac_executable_extensions; do
   7261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7262     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7263     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7264     break 2
   7265   fi
   7266 done
   7267 done
   7268 IFS=$as_save_IFS
   7269 
   7270 fi
   7271 fi
   7272 AR=$ac_cv_prog_AR
   7273 if test -n "$AR"; then
   7274   { echo "$as_me:$LINENO: result: $AR" >&5
   7275 echo "${ECHO_T}$AR" >&6; }
   7276 else
   7277   { echo "$as_me:$LINENO: result: no" >&5
   7278 echo "${ECHO_T}no" >&6; }
   7279 fi
   7280 
   7281 
   7282 fi
   7283 if test -z "$ac_cv_prog_AR"; then
   7284   ac_ct_AR=$AR
   7285   # Extract the first word of "ar", so it can be a program name with args.
   7286 set dummy ar; ac_word=$2
   7287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7289 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   7290   echo $ECHO_N "(cached) $ECHO_C" >&6
   7291 else
   7292   if test -n "$ac_ct_AR"; then
   7293   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7294 else
   7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7296 for as_dir in $PATH
   7297 do
   7298   IFS=$as_save_IFS
   7299   test -z "$as_dir" && as_dir=.
   7300   for ac_exec_ext in '' $ac_executable_extensions; do
   7301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7302     ac_cv_prog_ac_ct_AR="ar"
   7303     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7304     break 2
   7305   fi
   7306 done
   7307 done
   7308 IFS=$as_save_IFS
   7309 
   7310 fi
   7311 fi
   7312 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7313 if test -n "$ac_ct_AR"; then
   7314   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   7315 echo "${ECHO_T}$ac_ct_AR" >&6; }
   7316 else
   7317   { echo "$as_me:$LINENO: result: no" >&5
   7318 echo "${ECHO_T}no" >&6; }
   7319 fi
   7320 
   7321   if test "x$ac_ct_AR" = x; then
   7322     AR="false"
   7323   else
   7324     case $cross_compiling:$ac_tool_warned in
   7325 yes:)
   7326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7327 whose name does not start with the host triplet.  If you think this
   7328 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7330 whose name does not start with the host triplet.  If you think this
   7331 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7332 ac_tool_warned=yes ;;
   7333 esac
   7334     AR=$ac_ct_AR
   7335   fi
   7336 else
   7337   AR="$ac_cv_prog_AR"
   7338 fi
   7339 
   7340 if test -n "$ac_tool_prefix"; then
   7341   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7342 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7345 if test "${ac_cv_prog_RANLIB+set}" = set; then
   7346   echo $ECHO_N "(cached) $ECHO_C" >&6
   7347 else
   7348   if test -n "$RANLIB"; then
   7349   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7350 else
   7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7352 for as_dir in $PATH
   7353 do
   7354   IFS=$as_save_IFS
   7355   test -z "$as_dir" && as_dir=.
   7356   for ac_exec_ext in '' $ac_executable_extensions; do
   7357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7358     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7359     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7360     break 2
   7361   fi
   7362 done
   7363 done
   7364 IFS=$as_save_IFS
   7365 
   7366 fi
   7367 fi
   7368 RANLIB=$ac_cv_prog_RANLIB
   7369 if test -n "$RANLIB"; then
   7370   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   7371 echo "${ECHO_T}$RANLIB" >&6; }
   7372 else
   7373   { echo "$as_me:$LINENO: result: no" >&5
   7374 echo "${ECHO_T}no" >&6; }
   7375 fi
   7376 
   7377 
   7378 fi
   7379 if test -z "$ac_cv_prog_RANLIB"; then
   7380   ac_ct_RANLIB=$RANLIB
   7381   # Extract the first word of "ranlib", so it can be a program name with args.
   7382 set dummy ranlib; ac_word=$2
   7383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7385 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   7386   echo $ECHO_N "(cached) $ECHO_C" >&6
   7387 else
   7388   if test -n "$ac_ct_RANLIB"; then
   7389   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7390 else
   7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7392 for as_dir in $PATH
   7393 do
   7394   IFS=$as_save_IFS
   7395   test -z "$as_dir" && as_dir=.
   7396   for ac_exec_ext in '' $ac_executable_extensions; do
   7397   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7398     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7400     break 2
   7401   fi
   7402 done
   7403 done
   7404 IFS=$as_save_IFS
   7405 
   7406 fi
   7407 fi
   7408 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7409 if test -n "$ac_ct_RANLIB"; then
   7410   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7411 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   7412 else
   7413   { echo "$as_me:$LINENO: result: no" >&5
   7414 echo "${ECHO_T}no" >&6; }
   7415 fi
   7416 
   7417   if test "x$ac_ct_RANLIB" = x; then
   7418     RANLIB=":"
   7419   else
   7420     case $cross_compiling:$ac_tool_warned in
   7421 yes:)
   7422 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7423 whose name does not start with the host triplet.  If you think this
   7424 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7425 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7426 whose name does not start with the host triplet.  If you think this
   7427 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7428 ac_tool_warned=yes ;;
   7429 esac
   7430     RANLIB=$ac_ct_RANLIB
   7431   fi
   7432 else
   7433   RANLIB="$ac_cv_prog_RANLIB"
   7434 fi
   7435 
   7436 if test -n "$ac_tool_prefix"; then
   7437   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7438 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7441 if test "${ac_cv_prog_STRIP+set}" = set; then
   7442   echo $ECHO_N "(cached) $ECHO_C" >&6
   7443 else
   7444   if test -n "$STRIP"; then
   7445   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7446 else
   7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7448 for as_dir in $PATH
   7449 do
   7450   IFS=$as_save_IFS
   7451   test -z "$as_dir" && as_dir=.
   7452   for ac_exec_ext in '' $ac_executable_extensions; do
   7453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7454     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7455     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7456     break 2
   7457   fi
   7458 done
   7459 done
   7460 IFS=$as_save_IFS
   7461 
   7462 fi
   7463 fi
   7464 STRIP=$ac_cv_prog_STRIP
   7465 if test -n "$STRIP"; then
   7466   { echo "$as_me:$LINENO: result: $STRIP" >&5
   7467 echo "${ECHO_T}$STRIP" >&6; }
   7468 else
   7469   { echo "$as_me:$LINENO: result: no" >&5
   7470 echo "${ECHO_T}no" >&6; }
   7471 fi
   7472 
   7473 
   7474 fi
   7475 if test -z "$ac_cv_prog_STRIP"; then
   7476   ac_ct_STRIP=$STRIP
   7477   # Extract the first word of "strip", so it can be a program name with args.
   7478 set dummy strip; ac_word=$2
   7479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7481 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7482   echo $ECHO_N "(cached) $ECHO_C" >&6
   7483 else
   7484   if test -n "$ac_ct_STRIP"; then
   7485   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7486 else
   7487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7488 for as_dir in $PATH
   7489 do
   7490   IFS=$as_save_IFS
   7491   test -z "$as_dir" && as_dir=.
   7492   for ac_exec_ext in '' $ac_executable_extensions; do
   7493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7494     ac_cv_prog_ac_ct_STRIP="strip"
   7495     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7496     break 2
   7497   fi
   7498 done
   7499 done
   7500 IFS=$as_save_IFS
   7501 
   7502 fi
   7503 fi
   7504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7505 if test -n "$ac_ct_STRIP"; then
   7506   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7507 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   7508 else
   7509   { echo "$as_me:$LINENO: result: no" >&5
   7510 echo "${ECHO_T}no" >&6; }
   7511 fi
   7512 
   7513   if test "x$ac_ct_STRIP" = x; then
   7514     STRIP=":"
   7515   else
   7516     case $cross_compiling:$ac_tool_warned in
   7517 yes:)
   7518 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7519 whose name does not start with the host triplet.  If you think this
   7520 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7521 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7522 whose name does not start with the host triplet.  If you think this
   7523 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7524 ac_tool_warned=yes ;;
   7525 esac
   7526     STRIP=$ac_ct_STRIP
   7527   fi
   7528 else
   7529   STRIP="$ac_cv_prog_STRIP"
   7530 fi
   7531 
   7532 
   7533 old_CC="$CC"
   7534 old_CFLAGS="$CFLAGS"
   7535 
   7536 # Set sane defaults for various variables
   7537 test -z "$AR" && AR=ar
   7538 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7539 test -z "$AS" && AS=as
   7540 test -z "$CC" && CC=cc
   7541 test -z "$LTCC" && LTCC=$CC
   7542 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7543 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7544 test -z "$LD" && LD=ld
   7545 test -z "$LN_S" && LN_S="ln -s"
   7546 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7547 test -z "$NM" && NM=nm
   7548 test -z "$SED" && SED=sed
   7549 test -z "$OBJDUMP" && OBJDUMP=objdump
   7550 test -z "$RANLIB" && RANLIB=:
   7551 test -z "$STRIP" && STRIP=:
   7552 test -z "$ac_objext" && ac_objext=o
   7553 
   7554 # Determine commands to create old-style static archives.
   7555 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   7556 old_postinstall_cmds='chmod 644 $oldlib'
   7557 old_postuninstall_cmds=
   7558 
   7559 if test -n "$RANLIB"; then
   7560   case $host_os in
   7561   openbsd*)
   7562     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7563     ;;
   7564   *)
   7565     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7566     ;;
   7567   esac
   7568   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7569 fi
   7570 
   7571 for cc_temp in $compiler""; do
   7572   case $cc_temp in
   7573     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7574     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7575     \-*) ;;
   7576     *) break;;
   7577   esac
   7578 done
   7579 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7580 
   7581 
   7582 # Only perform the check for file, if the check method requires it
   7583 case $deplibs_check_method in
   7584 file_magic*)
   7585   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7586     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7587 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   7588 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7589   echo $ECHO_N "(cached) $ECHO_C" >&6
   7590 else
   7591   case $MAGIC_CMD in
   7592 [\\/*] |  ?:[\\/]*)
   7593   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7594   ;;
   7595 *)
   7596   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7597   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7598   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7599   for ac_dir in $ac_dummy; do
   7600     IFS="$lt_save_ifs"
   7601     test -z "$ac_dir" && ac_dir=.
   7602     if test -f $ac_dir/${ac_tool_prefix}file; then
   7603       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7604       if test -n "$file_magic_test_file"; then
   7605 	case $deplibs_check_method in
   7606 	"file_magic "*)
   7607 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7608 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7609 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7610 	    $EGREP "$file_magic_regex" > /dev/null; then
   7611 	    :
   7612 	  else
   7613 	    cat <<EOF 1>&2
   7614 
   7615 *** Warning: the command libtool uses to detect shared libraries,
   7616 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7617 *** The result is that libtool may fail to recognize shared libraries
   7618 *** as such.  This will affect the creation of libtool libraries that
   7619 *** depend on shared libraries, but programs linked with such libtool
   7620 *** libraries will work regardless of this problem.  Nevertheless, you
   7621 *** may want to report the problem to your system manager and/or to
   7622 *** bug-libtool@gnu.org
   7623 
   7624 EOF
   7625 	  fi ;;
   7626 	esac
   7627       fi
   7628       break
   7629     fi
   7630   done
   7631   IFS="$lt_save_ifs"
   7632   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7633   ;;
   7634 esac
   7635 fi
   7636 
   7637 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7638 if test -n "$MAGIC_CMD"; then
   7639   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7640 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7641 else
   7642   { echo "$as_me:$LINENO: result: no" >&5
   7643 echo "${ECHO_T}no" >&6; }
   7644 fi
   7645 
   7646 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7647   if test -n "$ac_tool_prefix"; then
   7648     { echo "$as_me:$LINENO: checking for file" >&5
   7649 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7650 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7651   echo $ECHO_N "(cached) $ECHO_C" >&6
   7652 else
   7653   case $MAGIC_CMD in
   7654 [\\/*] |  ?:[\\/]*)
   7655   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7656   ;;
   7657 *)
   7658   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7659   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7660   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7661   for ac_dir in $ac_dummy; do
   7662     IFS="$lt_save_ifs"
   7663     test -z "$ac_dir" && ac_dir=.
   7664     if test -f $ac_dir/file; then
   7665       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7666       if test -n "$file_magic_test_file"; then
   7667 	case $deplibs_check_method in
   7668 	"file_magic "*)
   7669 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7670 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7671 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7672 	    $EGREP "$file_magic_regex" > /dev/null; then
   7673 	    :
   7674 	  else
   7675 	    cat <<EOF 1>&2
   7676 
   7677 *** Warning: the command libtool uses to detect shared libraries,
   7678 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7679 *** The result is that libtool may fail to recognize shared libraries
   7680 *** as such.  This will affect the creation of libtool libraries that
   7681 *** depend on shared libraries, but programs linked with such libtool
   7682 *** libraries will work regardless of this problem.  Nevertheless, you
   7683 *** may want to report the problem to your system manager and/or to
   7684 *** bug-libtool@gnu.org
   7685 
   7686 EOF
   7687 	  fi ;;
   7688 	esac
   7689       fi
   7690       break
   7691     fi
   7692   done
   7693   IFS="$lt_save_ifs"
   7694   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7695   ;;
   7696 esac
   7697 fi
   7698 
   7699 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7700 if test -n "$MAGIC_CMD"; then
   7701   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7702 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7703 else
   7704   { echo "$as_me:$LINENO: result: no" >&5
   7705 echo "${ECHO_T}no" >&6; }
   7706 fi
   7707 
   7708   else
   7709     MAGIC_CMD=:
   7710   fi
   7711 fi
   7712 
   7713   fi
   7714   ;;
   7715 esac
   7716 
   7717 enable_dlopen=no
   7718 enable_win32_dll=yes
   7719 
   7720 # Check whether --enable-libtool-lock was given.
   7721 if test "${enable_libtool_lock+set}" = set; then
   7722   enableval=$enable_libtool_lock;
   7723 fi
   7724 
   7725 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7726 
   7727 
   7728 # Check whether --with-pic was given.
   7729 if test "${with_pic+set}" = set; then
   7730   withval=$with_pic; pic_mode="$withval"
   7731 else
   7732   pic_mode=default
   7733 fi
   7734 
   7735 test -z "$pic_mode" && pic_mode=default
   7736 
   7737 # Use C for the default configuration in the libtool script
   7738 tagname=
   7739 lt_save_CC="$CC"
   7740 ac_ext=c
   7741 ac_cpp='$CPP $CPPFLAGS'
   7742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7745 
   7746 
   7747 # Source file extension for C test sources.
   7748 ac_ext=c
   7749 
   7750 # Object file extension for compiled C test sources.
   7751 objext=o
   7752 objext=$objext
   7753 
   7754 # Code to be used in simple compile tests
   7755 lt_simple_compile_test_code="int some_variable = 0;\n"
   7756 
   7757 # Code to be used in simple link tests
   7758 lt_simple_link_test_code='int main(){return(0);}\n'
   7759 
   7760 
   7761 # If no C compiler was specified, use CC.
   7762 LTCC=${LTCC-"$CC"}
   7763 
   7764 # If no C compiler flags were specified, use CFLAGS.
   7765 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7766 
   7767 # Allow CC to be a program name with arguments.
   7768 compiler=$CC
   7769 
   7770 
   7771 # save warnings/boilerplate of simple test code
   7772 ac_outfile=conftest.$ac_objext
   7773 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7774 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7775 _lt_compiler_boilerplate=`cat conftest.err`
   7776 $rm conftest*
   7777 
   7778 ac_outfile=conftest.$ac_objext
   7779 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7780 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7781 _lt_linker_boilerplate=`cat conftest.err`
   7782 $rm conftest*
   7783 
   7784 
   7785 
   7786 lt_prog_compiler_no_builtin_flag=
   7787 
   7788 if test "$GCC" = yes; then
   7789   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7790 
   7791 
   7792 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7793 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7794 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7795   echo $ECHO_N "(cached) $ECHO_C" >&6
   7796 else
   7797   lt_cv_prog_compiler_rtti_exceptions=no
   7798   ac_outfile=conftest.$ac_objext
   7799    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7800    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7801    # Insert the option either (1) after the last *FLAGS variable, or
   7802    # (2) before a word containing "conftest.", or (3) at the end.
   7803    # Note that $ac_compile itself does not contain backslashes and begins
   7804    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7805    # The option is referenced via a variable to avoid confusing sed.
   7806    lt_compile=`echo "$ac_compile" | $SED \
   7807    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7808    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7809    -e 's:$: $lt_compiler_flag:'`
   7810    (eval echo "\"\$as_me:7810: $lt_compile\"" >&5)
   7811    (eval "$lt_compile" 2>conftest.err)
   7812    ac_status=$?
   7813    cat conftest.err >&5
   7814    echo "$as_me:7814: \$? = $ac_status" >&5
   7815    if (exit $ac_status) && test -s "$ac_outfile"; then
   7816      # The compiler can only warn and ignore the option if not recognized
   7817      # So say no if there are warnings other than the usual output.
   7818      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7819      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7820      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7821        lt_cv_prog_compiler_rtti_exceptions=yes
   7822      fi
   7823    fi
   7824    $rm conftest*
   7825 
   7826 fi
   7827 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7828 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7829 
   7830 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7831     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7832 else
   7833     :
   7834 fi
   7835 
   7836 fi
   7837 
   7838 lt_prog_compiler_wl=
   7839 lt_prog_compiler_pic=
   7840 lt_prog_compiler_static=
   7841 
   7842 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7843 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7844 
   7845   if test "$GCC" = yes; then
   7846     lt_prog_compiler_wl='-Wl,'
   7847     lt_prog_compiler_static='-static'
   7848 
   7849     case $host_os in
   7850       aix*)
   7851       # All AIX code is PIC.
   7852       if test "$host_cpu" = ia64; then
   7853 	# AIX 5 now supports IA64 processor
   7854 	lt_prog_compiler_static='-Bstatic'
   7855       fi
   7856       ;;
   7857 
   7858     amigaos*)
   7859       # FIXME: we need at least 68020 code to build shared libraries, but
   7860       # adding the `-m68020' flag to GCC prevents building anything better,
   7861       # like `-m68040'.
   7862       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7863       ;;
   7864 
   7865     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7866       # PIC is the default for these OSes.
   7867       ;;
   7868 
   7869     mingw* | pw32* | os2*)
   7870       # This hack is so that the source file can tell whether it is being
   7871       # built for inclusion in a dll (and should export symbols for example).
   7872       lt_prog_compiler_pic='-DDLL_EXPORT'
   7873       ;;
   7874 
   7875     darwin* | rhapsody*)
   7876       # PIC is the default on this platform
   7877       # Common symbols not allowed in MH_DYLIB files
   7878       lt_prog_compiler_pic='-fno-common'
   7879       ;;
   7880 
   7881     interix3*)
   7882       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7883       # Instead, we relocate shared libraries at runtime.
   7884       ;;
   7885 
   7886     msdosdjgpp*)
   7887       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7888       # on systems that don't support them.
   7889       lt_prog_compiler_can_build_shared=no
   7890       enable_shared=no
   7891       ;;
   7892 
   7893     sysv4*MP*)
   7894       if test -d /usr/nec; then
   7895 	lt_prog_compiler_pic=-Kconform_pic
   7896       fi
   7897       ;;
   7898 
   7899     hpux*)
   7900       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7901       # not for PA HP-UX.
   7902       case $host_cpu in
   7903       hppa*64*|ia64*)
   7904 	# +Z the default
   7905 	;;
   7906       *)
   7907 	lt_prog_compiler_pic='-fPIC'
   7908 	;;
   7909       esac
   7910       ;;
   7911 
   7912     *)
   7913       lt_prog_compiler_pic='-fPIC'
   7914       ;;
   7915     esac
   7916   else
   7917     # PORTME Check for flag to pass linker flags through the system compiler.
   7918     case $host_os in
   7919     aix*)
   7920       lt_prog_compiler_wl='-Wl,'
   7921       if test "$host_cpu" = ia64; then
   7922 	# AIX 5 now supports IA64 processor
   7923 	lt_prog_compiler_static='-Bstatic'
   7924       else
   7925 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7926       fi
   7927       ;;
   7928       darwin*)
   7929         # PIC is the default on this platform
   7930         # Common symbols not allowed in MH_DYLIB files
   7931        case $cc_basename in
   7932          xlc*)
   7933          lt_prog_compiler_pic='-qnocommon'
   7934          lt_prog_compiler_wl='-Wl,'
   7935          ;;
   7936        esac
   7937        ;;
   7938 
   7939     mingw* | pw32* | os2*)
   7940       # This hack is so that the source file can tell whether it is being
   7941       # built for inclusion in a dll (and should export symbols for example).
   7942       lt_prog_compiler_pic='-DDLL_EXPORT'
   7943       ;;
   7944 
   7945     hpux9* | hpux10* | hpux11*)
   7946       lt_prog_compiler_wl='-Wl,'
   7947       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7948       # not for PA HP-UX.
   7949       case $host_cpu in
   7950       hppa*64*|ia64*)
   7951 	# +Z the default
   7952 	;;
   7953       *)
   7954 	lt_prog_compiler_pic='+Z'
   7955 	;;
   7956       esac
   7957       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7958       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7959       ;;
   7960 
   7961     irix5* | irix6* | nonstopux*)
   7962       lt_prog_compiler_wl='-Wl,'
   7963       # PIC (with -KPIC) is the default.
   7964       lt_prog_compiler_static='-non_shared'
   7965       ;;
   7966 
   7967     newsos6)
   7968       lt_prog_compiler_pic='-KPIC'
   7969       lt_prog_compiler_static='-Bstatic'
   7970       ;;
   7971 
   7972     linux* | k*bsd*-gnu)
   7973       case $cc_basename in
   7974       icc* | ecc*)
   7975 	lt_prog_compiler_wl='-Wl,'
   7976 	lt_prog_compiler_pic='-KPIC'
   7977 	lt_prog_compiler_static='-static'
   7978         ;;
   7979       pgcc* | pgf77* | pgf90* | pgf95*)
   7980         # Portland Group compilers (*not* the Pentium gcc compiler,
   7981 	# which looks to be a dead project)
   7982 	lt_prog_compiler_wl='-Wl,'
   7983 	lt_prog_compiler_pic='-fpic'
   7984 	lt_prog_compiler_static='-Bstatic'
   7985         ;;
   7986       ccc*)
   7987         lt_prog_compiler_wl='-Wl,'
   7988         # All Alpha code is PIC.
   7989         lt_prog_compiler_static='-non_shared'
   7990         ;;
   7991       esac
   7992       ;;
   7993 
   7994     osf3* | osf4* | osf5*)
   7995       lt_prog_compiler_wl='-Wl,'
   7996       # All OSF/1 code is PIC.
   7997       lt_prog_compiler_static='-non_shared'
   7998       ;;
   7999 
   8000     solaris*)
   8001       lt_prog_compiler_pic='-KPIC'
   8002       lt_prog_compiler_static='-Bstatic'
   8003       case $cc_basename in
   8004       f77* | f90* | f95*)
   8005 	lt_prog_compiler_wl='-Qoption ld ';;
   8006       *)
   8007 	lt_prog_compiler_wl='-Wl,';;
   8008       esac
   8009       ;;
   8010 
   8011     sunos4*)
   8012       lt_prog_compiler_wl='-Qoption ld '
   8013       lt_prog_compiler_pic='-PIC'
   8014       lt_prog_compiler_static='-Bstatic'
   8015       ;;
   8016 
   8017     sysv4 | sysv4.2uw2* | sysv4.3*)
   8018       lt_prog_compiler_wl='-Wl,'
   8019       lt_prog_compiler_pic='-KPIC'
   8020       lt_prog_compiler_static='-Bstatic'
   8021       ;;
   8022 
   8023     sysv4*MP*)
   8024       if test -d /usr/nec ;then
   8025 	lt_prog_compiler_pic='-Kconform_pic'
   8026 	lt_prog_compiler_static='-Bstatic'
   8027       fi
   8028       ;;
   8029 
   8030     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8031       lt_prog_compiler_wl='-Wl,'
   8032       lt_prog_compiler_pic='-KPIC'
   8033       lt_prog_compiler_static='-Bstatic'
   8034       ;;
   8035 
   8036     unicos*)
   8037       lt_prog_compiler_wl='-Wl,'
   8038       lt_prog_compiler_can_build_shared=no
   8039       ;;
   8040 
   8041     uts4*)
   8042       lt_prog_compiler_pic='-pic'
   8043       lt_prog_compiler_static='-Bstatic'
   8044       ;;
   8045 
   8046     *)
   8047       lt_prog_compiler_can_build_shared=no
   8048       ;;
   8049     esac
   8050   fi
   8051 
   8052 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   8053 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   8054 
   8055 #
   8056 # Check to make sure the PIC flag actually works.
   8057 #
   8058 if test -n "$lt_prog_compiler_pic"; then
   8059 
   8060 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8061 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   8062 if test "${lt_prog_compiler_pic_works+set}" = set; then
   8063   echo $ECHO_N "(cached) $ECHO_C" >&6
   8064 else
   8065   lt_prog_compiler_pic_works=no
   8066   ac_outfile=conftest.$ac_objext
   8067    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8068    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8069    # Insert the option either (1) after the last *FLAGS variable, or
   8070    # (2) before a word containing "conftest.", or (3) at the end.
   8071    # Note that $ac_compile itself does not contain backslashes and begins
   8072    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8073    # The option is referenced via a variable to avoid confusing sed.
   8074    lt_compile=`echo "$ac_compile" | $SED \
   8075    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8076    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8077    -e 's:$: $lt_compiler_flag:'`
   8078    (eval echo "\"\$as_me:8078: $lt_compile\"" >&5)
   8079    (eval "$lt_compile" 2>conftest.err)
   8080    ac_status=$?
   8081    cat conftest.err >&5
   8082    echo "$as_me:8082: \$? = $ac_status" >&5
   8083    if (exit $ac_status) && test -s "$ac_outfile"; then
   8084      # The compiler can only warn and ignore the option if not recognized
   8085      # So say no if there are warnings other than the usual output.
   8086      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8087      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8088      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8089        lt_prog_compiler_pic_works=yes
   8090      fi
   8091    fi
   8092    $rm conftest*
   8093 
   8094 fi
   8095 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   8096 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   8097 
   8098 if test x"$lt_prog_compiler_pic_works" = xyes; then
   8099     case $lt_prog_compiler_pic in
   8100      "" | " "*) ;;
   8101      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8102      esac
   8103 else
   8104     lt_prog_compiler_pic=
   8105      lt_prog_compiler_can_build_shared=no
   8106 fi
   8107 
   8108 fi
   8109 case $host_os in
   8110   # For platforms which do not support PIC, -DPIC is meaningless:
   8111   *djgpp*)
   8112     lt_prog_compiler_pic=
   8113     ;;
   8114   *)
   8115     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8116     ;;
   8117 esac
   8118 
   8119 #
   8120 # Check to make sure the static flag actually works.
   8121 #
   8122 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8123 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8124 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   8125 if test "${lt_prog_compiler_static_works+set}" = set; then
   8126   echo $ECHO_N "(cached) $ECHO_C" >&6
   8127 else
   8128   lt_prog_compiler_static_works=no
   8129    save_LDFLAGS="$LDFLAGS"
   8130    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8131    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   8132    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8133      # The linker can only warn and ignore the option if not recognized
   8134      # So say no if there are warnings
   8135      if test -s conftest.err; then
   8136        # Append any errors to the config.log.
   8137        cat conftest.err 1>&5
   8138        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8139        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8140        if diff conftest.exp conftest.er2 >/dev/null; then
   8141          lt_prog_compiler_static_works=yes
   8142        fi
   8143      else
   8144        lt_prog_compiler_static_works=yes
   8145      fi
   8146    fi
   8147    $rm conftest*
   8148    LDFLAGS="$save_LDFLAGS"
   8149 
   8150 fi
   8151 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   8152 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   8153 
   8154 if test x"$lt_prog_compiler_static_works" = xyes; then
   8155     :
   8156 else
   8157     lt_prog_compiler_static=
   8158 fi
   8159 
   8160 
   8161 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8162 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   8163 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8164   echo $ECHO_N "(cached) $ECHO_C" >&6
   8165 else
   8166   lt_cv_prog_compiler_c_o=no
   8167    $rm -r conftest 2>/dev/null
   8168    mkdir conftest
   8169    cd conftest
   8170    mkdir out
   8171    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8172 
   8173    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8174    # Insert the option either (1) after the last *FLAGS variable, or
   8175    # (2) before a word containing "conftest.", or (3) at the end.
   8176    # Note that $ac_compile itself does not contain backslashes and begins
   8177    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8178    lt_compile=`echo "$ac_compile" | $SED \
   8179    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8180    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8181    -e 's:$: $lt_compiler_flag:'`
   8182    (eval echo "\"\$as_me:8182: $lt_compile\"" >&5)
   8183    (eval "$lt_compile" 2>out/conftest.err)
   8184    ac_status=$?
   8185    cat out/conftest.err >&5
   8186    echo "$as_me:8186: \$? = $ac_status" >&5
   8187    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8188    then
   8189      # The compiler can only warn and ignore the option if not recognized
   8190      # So say no if there are warnings
   8191      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8192      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8193      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8194        lt_cv_prog_compiler_c_o=yes
   8195      fi
   8196    fi
   8197    chmod u+w . 2>&5
   8198    $rm conftest*
   8199    # SGI C++ compiler will create directory out/ii_files/ for
   8200    # template instantiation
   8201    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8202    $rm out/* && rmdir out
   8203    cd ..
   8204    rmdir conftest
   8205    $rm conftest*
   8206 
   8207 fi
   8208 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8209 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   8210 
   8211 
   8212 hard_links="nottested"
   8213 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8214   # do not overwrite the value of need_locks provided by the user
   8215   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8216 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   8217   hard_links=yes
   8218   $rm conftest*
   8219   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8220   touch conftest.a
   8221   ln conftest.a conftest.b 2>&5 || hard_links=no
   8222   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8223   { echo "$as_me:$LINENO: result: $hard_links" >&5
   8224 echo "${ECHO_T}$hard_links" >&6; }
   8225   if test "$hard_links" = no; then
   8226     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8227 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8228     need_locks=warn
   8229   fi
   8230 else
   8231   need_locks=no
   8232 fi
   8233 
   8234 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8235 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   8236 
   8237   runpath_var=
   8238   allow_undefined_flag=
   8239   enable_shared_with_static_runtimes=no
   8240   archive_cmds=
   8241   archive_expsym_cmds=
   8242   old_archive_From_new_cmds=
   8243   old_archive_from_expsyms_cmds=
   8244   export_dynamic_flag_spec=
   8245   whole_archive_flag_spec=
   8246   thread_safe_flag_spec=
   8247   hardcode_libdir_flag_spec=
   8248   hardcode_libdir_flag_spec_ld=
   8249   hardcode_libdir_separator=
   8250   hardcode_direct=no
   8251   hardcode_minus_L=no
   8252   hardcode_shlibpath_var=unsupported
   8253   link_all_deplibs=unknown
   8254   hardcode_automatic=no
   8255   module_cmds=
   8256   module_expsym_cmds=
   8257   always_export_symbols=no
   8258   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8259   # include_expsyms should be a list of space-separated symbols to be *always*
   8260   # included in the symbol list
   8261   include_expsyms=
   8262   # exclude_expsyms can be an extended regexp of symbols to exclude
   8263   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8264   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8265   # as well as any symbol that contains `d'.
   8266   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   8267   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8268   # platforms (ab)use it in PIC code, but their linkers get confused if
   8269   # the symbol is explicitly referenced.  Since portable code cannot
   8270   # rely on this symbol name, it's probably fine to never include it in
   8271   # preloaded symbol tables.
   8272   extract_expsyms_cmds=
   8273   # Just being paranoid about ensuring that cc_basename is set.
   8274   for cc_temp in $compiler""; do
   8275   case $cc_temp in
   8276     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8277     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8278     \-*) ;;
   8279     *) break;;
   8280   esac
   8281 done
   8282 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8283 
   8284   case $host_os in
   8285   cygwin* | mingw* | pw32*)
   8286     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8287     # When not using gcc, we currently assume that we are using
   8288     # Microsoft Visual C++.
   8289     if test "$GCC" != yes; then
   8290       with_gnu_ld=no
   8291     fi
   8292     ;;
   8293   interix*)
   8294     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8295     with_gnu_ld=yes
   8296     ;;
   8297   openbsd*)
   8298     with_gnu_ld=no
   8299     ;;
   8300   esac
   8301 
   8302   ld_shlibs=yes
   8303   if test "$with_gnu_ld" = yes; then
   8304     # If archive_cmds runs LD, not CC, wlarc should be empty
   8305     wlarc='${wl}'
   8306 
   8307     # Set some defaults for GNU ld with shared library support. These
   8308     # are reset later if shared libraries are not supported. Putting them
   8309     # here allows them to be overridden if necessary.
   8310     runpath_var=LD_RUN_PATH
   8311     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8312     export_dynamic_flag_spec='${wl}--export-dynamic'
   8313     # ancient GNU ld didn't support --whole-archive et. al.
   8314     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8315 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8316       else
   8317   	whole_archive_flag_spec=
   8318     fi
   8319     supports_anon_versioning=no
   8320     case `$LD -v 2>/dev/null` in
   8321       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8322       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8323       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8324       *\ 2.11.*) ;; # other 2.11 versions
   8325       *) supports_anon_versioning=yes ;;
   8326     esac
   8327 
   8328     # See if GNU ld supports shared libraries.
   8329     case $host_os in
   8330     aix3* | aix4* | aix5*)
   8331       # On AIX/PPC, the GNU linker is very broken
   8332       if test "$host_cpu" != ia64; then
   8333 	ld_shlibs=no
   8334 	cat <<EOF 1>&2
   8335 
   8336 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8337 *** to be unable to reliably create shared libraries on AIX.
   8338 *** Therefore, libtool is disabling shared libraries support.  If you
   8339 *** really care for shared libraries, you may want to modify your PATH
   8340 *** so that a non-GNU linker is found, and then restart.
   8341 
   8342 EOF
   8343       fi
   8344       ;;
   8345 
   8346     amigaos*)
   8347       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)'
   8348       hardcode_libdir_flag_spec='-L$libdir'
   8349       hardcode_minus_L=yes
   8350 
   8351       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8352       # that the semantics of dynamic libraries on AmigaOS, at least up
   8353       # to version 4, is to share data among multiple programs linked
   8354       # with the same dynamic library.  Since this doesn't match the
   8355       # behavior of shared libraries on other platforms, we can't use
   8356       # them.
   8357       ld_shlibs=no
   8358       ;;
   8359 
   8360     beos*)
   8361       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8362 	allow_undefined_flag=unsupported
   8363 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8364 	# support --undefined.  This deserves some investigation.  FIXME
   8365 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8366       else
   8367 	ld_shlibs=no
   8368       fi
   8369       ;;
   8370 
   8371     cygwin* | mingw* | pw32*)
   8372       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8373       # as there is no search path for DLLs.
   8374       hardcode_libdir_flag_spec='-L$libdir'
   8375       allow_undefined_flag=unsupported
   8376       always_export_symbols=no
   8377       enable_shared_with_static_runtimes=yes
   8378       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   8379 
   8380       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8381         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8382 	# If the export-symbols file already is a .def file (1st line
   8383 	# is EXPORTS), use it as is; otherwise, prepend...
   8384 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8385 	  cp $export_symbols $output_objdir/$soname.def;
   8386 	else
   8387 	  echo EXPORTS > $output_objdir/$soname.def;
   8388 	  cat $export_symbols >> $output_objdir/$soname.def;
   8389 	fi~
   8390 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8391       else
   8392 	ld_shlibs=no
   8393       fi
   8394       ;;
   8395 
   8396     interix3*)
   8397       hardcode_direct=no
   8398       hardcode_shlibpath_var=no
   8399       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8400       export_dynamic_flag_spec='${wl}-E'
   8401       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8402       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8403       # default) and relocated if they conflict, which is a slow very memory
   8404       # consuming and fragmenting process.  To avoid this, we pick a random,
   8405       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8406       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8407       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8408       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'
   8409       ;;
   8410 
   8411     linux* | k*bsd*-gnu)
   8412       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8413 	tmp_addflag=
   8414 	case $cc_basename,$host_cpu in
   8415 	pgcc*)				# Portland Group C compiler
   8416 	  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'
   8417 	  tmp_addflag=' $pic_flag'
   8418 	  ;;
   8419 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8420 	  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'
   8421 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8422 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8423 	  tmp_addflag=' -i_dynamic' ;;
   8424 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8425 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8426 	ifc* | ifort*)			# Intel Fortran compiler
   8427 	  tmp_addflag=' -nofor_main' ;;
   8428 	esac
   8429 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8430 
   8431 	if test $supports_anon_versioning = yes; then
   8432 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8433   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8434   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8435 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8436 	fi
   8437 	link_all_deplibs=no
   8438       else
   8439 	ld_shlibs=no
   8440       fi
   8441       ;;
   8442 
   8443     netbsd* | netbsdelf*-gnu)
   8444       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8445 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8446 	wlarc=
   8447       else
   8448 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8449 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8450       fi
   8451       ;;
   8452 
   8453     solaris*)
   8454       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8455 	ld_shlibs=no
   8456 	cat <<EOF 1>&2
   8457 
   8458 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8459 *** create shared libraries on Solaris systems.  Therefore, libtool
   8460 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8461 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8462 *** your PATH or compiler configuration so that the native linker is
   8463 *** used, and then restart.
   8464 
   8465 EOF
   8466       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8467 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8468 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8469       else
   8470 	ld_shlibs=no
   8471       fi
   8472       ;;
   8473 
   8474     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8475       case `$LD -v 2>&1` in
   8476         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8477 	ld_shlibs=no
   8478 	cat <<_LT_EOF 1>&2
   8479 
   8480 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8481 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8482 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8483 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8484 *** your PATH or compiler configuration so that the native linker is
   8485 *** used, and then restart.
   8486 
   8487 _LT_EOF
   8488 	;;
   8489 	*)
   8490 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8491 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8492 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8493 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8494 	  else
   8495 	    ld_shlibs=no
   8496 	  fi
   8497 	;;
   8498       esac
   8499       ;;
   8500 
   8501     sunos4*)
   8502       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8503       wlarc=
   8504       hardcode_direct=yes
   8505       hardcode_shlibpath_var=no
   8506       ;;
   8507 
   8508     *)
   8509       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8510 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8511 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8512       else
   8513 	ld_shlibs=no
   8514       fi
   8515       ;;
   8516     esac
   8517 
   8518     if test "$ld_shlibs" = no; then
   8519       runpath_var=
   8520       hardcode_libdir_flag_spec=
   8521       export_dynamic_flag_spec=
   8522       whole_archive_flag_spec=
   8523     fi
   8524   else
   8525     # PORTME fill in a description of your system's linker (not GNU ld)
   8526     case $host_os in
   8527     aix3*)
   8528       allow_undefined_flag=unsupported
   8529       always_export_symbols=yes
   8530       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'
   8531       # Note: this linker hardcodes the directories in LIBPATH if there
   8532       # are no directories specified by -L.
   8533       hardcode_minus_L=yes
   8534       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8535 	# Neither direct hardcoding nor static linking is supported with a
   8536 	# broken collect2.
   8537 	hardcode_direct=unsupported
   8538       fi
   8539       ;;
   8540 
   8541     aix4* | aix5*)
   8542       if test "$host_cpu" = ia64; then
   8543 	# On IA64, the linker does run time linking by default, so we don't
   8544 	# have to do anything special.
   8545 	aix_use_runtimelinking=no
   8546 	exp_sym_flag='-Bexport'
   8547 	no_entry_flag=""
   8548       else
   8549 	# If we're using GNU nm, then we don't want the "-C" option.
   8550 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8551 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8552 	  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'
   8553 	else
   8554 	  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'
   8555 	fi
   8556 	aix_use_runtimelinking=no
   8557 
   8558 	# Test if we are trying to use run time linking or normal
   8559 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8560 	# need to do runtime linking.
   8561 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   8562 	  for ld_flag in $LDFLAGS; do
   8563   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8564   	    aix_use_runtimelinking=yes
   8565   	    break
   8566   	  fi
   8567 	  done
   8568 	  ;;
   8569 	esac
   8570 
   8571 	exp_sym_flag='-bexport'
   8572 	no_entry_flag='-bnoentry'
   8573       fi
   8574 
   8575       # When large executables or shared objects are built, AIX ld can
   8576       # have problems creating the table of contents.  If linking a library
   8577       # or program results in "error TOC overflow" add -mminimal-toc to
   8578       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8579       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8580 
   8581       archive_cmds=''
   8582       hardcode_direct=yes
   8583       hardcode_libdir_separator=':'
   8584       link_all_deplibs=yes
   8585 
   8586       if test "$GCC" = yes; then
   8587 	case $host_os in aix4.[012]|aix4.[012].*)
   8588 	# We only want to do this on AIX 4.2 and lower, the check
   8589 	# below for broken collect2 doesn't work under 4.3+
   8590 	  collect2name=`${CC} -print-prog-name=collect2`
   8591 	  if test -f "$collect2name" && \
   8592   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8593 	  then
   8594   	  # We have reworked collect2
   8595   	  hardcode_direct=yes
   8596 	  else
   8597   	  # We have old collect2
   8598   	  hardcode_direct=unsupported
   8599   	  # It fails to find uninstalled libraries when the uninstalled
   8600   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8601   	  # to unsupported forces relinking
   8602   	  hardcode_minus_L=yes
   8603   	  hardcode_libdir_flag_spec='-L$libdir'
   8604   	  hardcode_libdir_separator=
   8605 	  fi
   8606 	  ;;
   8607 	esac
   8608 	shared_flag='-shared'
   8609 	if test "$aix_use_runtimelinking" = yes; then
   8610 	  shared_flag="$shared_flag "'${wl}-G'
   8611 	fi
   8612       else
   8613 	# not using gcc
   8614 	if test "$host_cpu" = ia64; then
   8615   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8616   	# chokes on -Wl,-G. The following line is correct:
   8617 	  shared_flag='-G'
   8618 	else
   8619 	  if test "$aix_use_runtimelinking" = yes; then
   8620 	    shared_flag='${wl}-G'
   8621 	  else
   8622 	    shared_flag='${wl}-bM:SRE'
   8623 	  fi
   8624 	fi
   8625       fi
   8626 
   8627       # It seems that -bexpall does not export symbols beginning with
   8628       # underscore (_), so it is better to generate a list of symbols to export.
   8629       always_export_symbols=yes
   8630       if test "$aix_use_runtimelinking" = yes; then
   8631 	# Warning - without using the other runtime loading flags (-brtl),
   8632 	# -berok will link without error, but may produce a broken library.
   8633 	allow_undefined_flag='-berok'
   8634        # Determine the default libpath from the value encoded in an empty executable.
   8635        cat >conftest.$ac_ext <<_ACEOF
   8636 /* confdefs.h.  */
   8637 _ACEOF
   8638 cat confdefs.h >>conftest.$ac_ext
   8639 cat >>conftest.$ac_ext <<_ACEOF
   8640 /* end confdefs.h.  */
   8641 
   8642 int
   8643 main ()
   8644 {
   8645 
   8646   ;
   8647   return 0;
   8648 }
   8649 _ACEOF
   8650 rm -f conftest.$ac_objext conftest$ac_exeext
   8651 if { (ac_try="$ac_link"
   8652 case "(($ac_try" in
   8653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8654   *) ac_try_echo=$ac_try;;
   8655 esac
   8656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8657   (eval "$ac_link") 2>conftest.er1
   8658   ac_status=$?
   8659   grep -v '^ *+' conftest.er1 >conftest.err
   8660   rm -f conftest.er1
   8661   cat conftest.err >&5
   8662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8663   (exit $ac_status); } &&
   8664 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8665   { (case "(($ac_try" in
   8666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8667   *) ac_try_echo=$ac_try;;
   8668 esac
   8669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8670   (eval "$ac_try") 2>&5
   8671   ac_status=$?
   8672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8673   (exit $ac_status); }; } &&
   8674 	 { ac_try='test -s conftest$ac_exeext'
   8675   { (case "(($ac_try" in
   8676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8677   *) ac_try_echo=$ac_try;;
   8678 esac
   8679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8680   (eval "$ac_try") 2>&5
   8681   ac_status=$?
   8682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8683   (exit $ac_status); }; }; then
   8684 
   8685 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8686 }'`
   8687 # Check for a 64-bit object if we didn't find anything.
   8688 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; }
   8689 }'`; fi
   8690 else
   8691   echo "$as_me: failed program was:" >&5
   8692 sed 's/^/| /' conftest.$ac_ext >&5
   8693 
   8694 
   8695 fi
   8696 
   8697 rm -f core conftest.err conftest.$ac_objext \
   8698       conftest$ac_exeext conftest.$ac_ext
   8699 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8700 
   8701        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8702 	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"
   8703        else
   8704 	if test "$host_cpu" = ia64; then
   8705 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8706 	  allow_undefined_flag="-z nodefs"
   8707 	  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"
   8708 	else
   8709 	 # Determine the default libpath from the value encoded in an empty executable.
   8710 	 cat >conftest.$ac_ext <<_ACEOF
   8711 /* confdefs.h.  */
   8712 _ACEOF
   8713 cat confdefs.h >>conftest.$ac_ext
   8714 cat >>conftest.$ac_ext <<_ACEOF
   8715 /* end confdefs.h.  */
   8716 
   8717 int
   8718 main ()
   8719 {
   8720 
   8721   ;
   8722   return 0;
   8723 }
   8724 _ACEOF
   8725 rm -f conftest.$ac_objext conftest$ac_exeext
   8726 if { (ac_try="$ac_link"
   8727 case "(($ac_try" in
   8728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8729   *) ac_try_echo=$ac_try;;
   8730 esac
   8731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8732   (eval "$ac_link") 2>conftest.er1
   8733   ac_status=$?
   8734   grep -v '^ *+' conftest.er1 >conftest.err
   8735   rm -f conftest.er1
   8736   cat conftest.err >&5
   8737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8738   (exit $ac_status); } &&
   8739 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8740   { (case "(($ac_try" in
   8741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8742   *) ac_try_echo=$ac_try;;
   8743 esac
   8744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8745   (eval "$ac_try") 2>&5
   8746   ac_status=$?
   8747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8748   (exit $ac_status); }; } &&
   8749 	 { ac_try='test -s conftest$ac_exeext'
   8750   { (case "(($ac_try" in
   8751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8752   *) ac_try_echo=$ac_try;;
   8753 esac
   8754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8755   (eval "$ac_try") 2>&5
   8756   ac_status=$?
   8757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8758   (exit $ac_status); }; }; then
   8759 
   8760 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8761 }'`
   8762 # Check for a 64-bit object if we didn't find anything.
   8763 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; }
   8764 }'`; fi
   8765 else
   8766   echo "$as_me: failed program was:" >&5
   8767 sed 's/^/| /' conftest.$ac_ext >&5
   8768 
   8769 
   8770 fi
   8771 
   8772 rm -f core conftest.err conftest.$ac_objext \
   8773       conftest$ac_exeext conftest.$ac_ext
   8774 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8775 
   8776 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8777 	  # Warning - without using the other run time loading flags,
   8778 	  # -berok will link without error, but may produce a broken library.
   8779 	  no_undefined_flag=' ${wl}-bernotok'
   8780 	  allow_undefined_flag=' ${wl}-berok'
   8781 	  # Exported symbols can be pulled into shared objects from archives
   8782 	  whole_archive_flag_spec='$convenience'
   8783 	  archive_cmds_need_lc=yes
   8784 	  # This is similar to how AIX traditionally builds its shared libraries.
   8785 	  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'
   8786 	fi
   8787       fi
   8788       ;;
   8789 
   8790     amigaos*)
   8791       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)'
   8792       hardcode_libdir_flag_spec='-L$libdir'
   8793       hardcode_minus_L=yes
   8794       # see comment about different semantics on the GNU ld section
   8795       ld_shlibs=no
   8796       ;;
   8797 
   8798     bsdi[45]*)
   8799       export_dynamic_flag_spec=-rdynamic
   8800       ;;
   8801 
   8802     cygwin* | mingw* | pw32*)
   8803       # When not using gcc, we currently assume that we are using
   8804       # Microsoft Visual C++.
   8805       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8806       # no search path for DLLs.
   8807       hardcode_libdir_flag_spec=' '
   8808       allow_undefined_flag=unsupported
   8809       # Tell ltmain to make .lib files, not .a files.
   8810       libext=lib
   8811       # Tell ltmain to make .dll files, not .so files.
   8812       shrext_cmds=".dll"
   8813       # FIXME: Setting linknames here is a bad hack.
   8814       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8815       # The linker will automatically build a .lib file if we build a DLL.
   8816       old_archive_From_new_cmds='true'
   8817       # FIXME: Should let the user specify the lib program.
   8818       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8819       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8820       enable_shared_with_static_runtimes=yes
   8821       ;;
   8822 
   8823     darwin* | rhapsody*)
   8824       case $host_os in
   8825         rhapsody* | darwin1.[012])
   8826          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8827          ;;
   8828        *) # Darwin 1.3 on
   8829          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8830            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8831          else
   8832            case ${MACOSX_DEPLOYMENT_TARGET} in
   8833              10.[012])
   8834                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8835                ;;
   8836              10.*)
   8837                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8838                ;;
   8839            esac
   8840          fi
   8841          ;;
   8842       esac
   8843       archive_cmds_need_lc=no
   8844       hardcode_direct=no
   8845       hardcode_automatic=yes
   8846       hardcode_shlibpath_var=unsupported
   8847       whole_archive_flag_spec=''
   8848       link_all_deplibs=yes
   8849     if test "$GCC" = yes ; then
   8850     	output_verbose_link_cmd='echo'
   8851         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8852       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8853       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8854       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}'
   8855       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}'
   8856     else
   8857       case $cc_basename in
   8858         xlc*)
   8859          output_verbose_link_cmd='echo'
   8860          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8861          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8862           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8863          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}'
   8864           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}'
   8865           ;;
   8866        *)
   8867          ld_shlibs=no
   8868           ;;
   8869       esac
   8870     fi
   8871       ;;
   8872 
   8873     dgux*)
   8874       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8875       hardcode_libdir_flag_spec='-L$libdir'
   8876       hardcode_shlibpath_var=no
   8877       ;;
   8878 
   8879     freebsd1*)
   8880       ld_shlibs=no
   8881       ;;
   8882 
   8883     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8884     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8885     # does not break anything, and helps significantly (at the cost of a little
   8886     # extra space).
   8887     freebsd2.2*)
   8888       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8889       hardcode_libdir_flag_spec='-R$libdir'
   8890       hardcode_direct=yes
   8891       hardcode_shlibpath_var=no
   8892       ;;
   8893 
   8894     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8895     freebsd2*)
   8896       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8897       hardcode_direct=yes
   8898       hardcode_minus_L=yes
   8899       hardcode_shlibpath_var=no
   8900       ;;
   8901 
   8902     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8903     freebsd* | dragonfly*)
   8904       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8905       hardcode_libdir_flag_spec='-R$libdir'
   8906       hardcode_direct=yes
   8907       hardcode_shlibpath_var=no
   8908       ;;
   8909 
   8910     hpux9*)
   8911       if test "$GCC" = yes; then
   8912 	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'
   8913       else
   8914 	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'
   8915       fi
   8916       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8917       hardcode_libdir_separator=:
   8918       hardcode_direct=yes
   8919 
   8920       # hardcode_minus_L: Not really in the search PATH,
   8921       # but as the default location of the library.
   8922       hardcode_minus_L=yes
   8923       export_dynamic_flag_spec='${wl}-E'
   8924       ;;
   8925 
   8926     hpux10*)
   8927       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8928 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8929       else
   8930 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8931       fi
   8932       if test "$with_gnu_ld" = no; then
   8933 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8934 	hardcode_libdir_separator=:
   8935 
   8936 	hardcode_direct=yes
   8937 	export_dynamic_flag_spec='${wl}-E'
   8938 
   8939 	# hardcode_minus_L: Not really in the search PATH,
   8940 	# but as the default location of the library.
   8941 	hardcode_minus_L=yes
   8942       fi
   8943       ;;
   8944 
   8945     hpux11*)
   8946       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8947 	case $host_cpu in
   8948 	hppa*64*)
   8949 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8950 	  ;;
   8951 	ia64*)
   8952 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8953 	  ;;
   8954 	*)
   8955 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8956 	  ;;
   8957 	esac
   8958       else
   8959 	case $host_cpu in
   8960 	hppa*64*)
   8961 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8962 	  ;;
   8963 	ia64*)
   8964 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8965 	  ;;
   8966 	*)
   8967 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8968 	  ;;
   8969 	esac
   8970       fi
   8971       if test "$with_gnu_ld" = no; then
   8972 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8973 	hardcode_libdir_separator=:
   8974 
   8975 	case $host_cpu in
   8976 	hppa*64*|ia64*)
   8977 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8978 	  hardcode_direct=no
   8979 	  hardcode_shlibpath_var=no
   8980 	  ;;
   8981 	*)
   8982 	  hardcode_direct=yes
   8983 	  export_dynamic_flag_spec='${wl}-E'
   8984 
   8985 	  # hardcode_minus_L: Not really in the search PATH,
   8986 	  # but as the default location of the library.
   8987 	  hardcode_minus_L=yes
   8988 	  ;;
   8989 	esac
   8990       fi
   8991       ;;
   8992 
   8993     irix5* | irix6* | nonstopux*)
   8994       if test "$GCC" = yes; then
   8995 	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'
   8996       else
   8997 	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'
   8998 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8999       fi
   9000       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9001       hardcode_libdir_separator=:
   9002       link_all_deplibs=yes
   9003       ;;
   9004 
   9005     netbsd* | netbsdelf*-gnu)
   9006       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9007 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9008       else
   9009 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9010       fi
   9011       hardcode_libdir_flag_spec='-R$libdir'
   9012       hardcode_direct=yes
   9013       hardcode_shlibpath_var=no
   9014       ;;
   9015 
   9016     newsos6)
   9017       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9018       hardcode_direct=yes
   9019       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9020       hardcode_libdir_separator=:
   9021       hardcode_shlibpath_var=no
   9022       ;;
   9023 
   9024     openbsd*)
   9025       hardcode_direct=yes
   9026       hardcode_shlibpath_var=no
   9027       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9028 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9029 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9030 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9031 	export_dynamic_flag_spec='${wl}-E'
   9032       else
   9033        case $host_os in
   9034 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9035 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9036 	   hardcode_libdir_flag_spec='-R$libdir'
   9037 	   ;;
   9038 	 *)
   9039 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9040 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9041 	   ;;
   9042        esac
   9043       fi
   9044       ;;
   9045 
   9046     os2*)
   9047       hardcode_libdir_flag_spec='-L$libdir'
   9048       hardcode_minus_L=yes
   9049       allow_undefined_flag=unsupported
   9050       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'
   9051       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9052       ;;
   9053 
   9054     osf3*)
   9055       if test "$GCC" = yes; then
   9056 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9057 	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'
   9058       else
   9059 	allow_undefined_flag=' -expect_unresolved \*'
   9060 	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'
   9061       fi
   9062       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9063       hardcode_libdir_separator=:
   9064       ;;
   9065 
   9066     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9067       if test "$GCC" = yes; then
   9068 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9069 	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'
   9070 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9071       else
   9072 	allow_undefined_flag=' -expect_unresolved \*'
   9073 	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'
   9074 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   9075 	$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'
   9076 
   9077 	# Both c and cxx compiler support -rpath directly
   9078 	hardcode_libdir_flag_spec='-rpath $libdir'
   9079       fi
   9080       hardcode_libdir_separator=:
   9081       ;;
   9082 
   9083     solaris*)
   9084       no_undefined_flag=' -z text'
   9085       if test "$GCC" = yes; then
   9086 	wlarc='${wl}'
   9087 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9088 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   9089 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   9090       else
   9091 	wlarc=''
   9092 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9093 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   9094   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   9095       fi
   9096       hardcode_libdir_flag_spec='-R$libdir'
   9097       hardcode_shlibpath_var=no
   9098       case $host_os in
   9099       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9100       *)
   9101  	# The compiler driver will combine linker options so we
   9102  	# cannot just pass the convience library names through
   9103  	# without $wl, iff we do not link with $LD.
   9104  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   9105  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9106  	case $wlarc in
   9107  	'')
   9108  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   9109  	*)
   9110  	  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' ;;
   9111  	esac ;;
   9112       esac
   9113       link_all_deplibs=yes
   9114       ;;
   9115 
   9116     sunos4*)
   9117       if test "x$host_vendor" = xsequent; then
   9118 	# Use $CC to link under sequent, because it throws in some extra .o
   9119 	# files that make .init and .fini sections work.
   9120 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9121       else
   9122 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9123       fi
   9124       hardcode_libdir_flag_spec='-L$libdir'
   9125       hardcode_direct=yes
   9126       hardcode_minus_L=yes
   9127       hardcode_shlibpath_var=no
   9128       ;;
   9129 
   9130     sysv4)
   9131       case $host_vendor in
   9132 	sni)
   9133 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9134 	  hardcode_direct=yes # is this really true???
   9135 	;;
   9136 	siemens)
   9137 	  ## LD is ld it makes a PLAMLIB
   9138 	  ## CC just makes a GrossModule.
   9139 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9140 	  reload_cmds='$CC -r -o $output$reload_objs'
   9141 	  hardcode_direct=no
   9142         ;;
   9143 	motorola)
   9144 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9145 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9146 	;;
   9147       esac
   9148       runpath_var='LD_RUN_PATH'
   9149       hardcode_shlibpath_var=no
   9150       ;;
   9151 
   9152     sysv4.3*)
   9153       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9154       hardcode_shlibpath_var=no
   9155       export_dynamic_flag_spec='-Bexport'
   9156       ;;
   9157 
   9158     sysv4*MP*)
   9159       if test -d /usr/nec; then
   9160 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9161 	hardcode_shlibpath_var=no
   9162 	runpath_var=LD_RUN_PATH
   9163 	hardcode_runpath_var=yes
   9164 	ld_shlibs=yes
   9165       fi
   9166       ;;
   9167 
   9168     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   9169       no_undefined_flag='${wl}-z,text'
   9170       archive_cmds_need_lc=no
   9171       hardcode_shlibpath_var=no
   9172       runpath_var='LD_RUN_PATH'
   9173 
   9174       if test "$GCC" = yes; then
   9175 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9176 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9177       else
   9178 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9179 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9180       fi
   9181       ;;
   9182 
   9183     sysv5* | sco3.2v5* | sco5v6*)
   9184       # Note: We can NOT use -z defs as we might desire, because we do not
   9185       # link with -lc, and that would cause any symbols used from libc to
   9186       # always be unresolved, which means just about no library would
   9187       # ever link correctly.  If we're not using GNU ld we use -z text
   9188       # though, which does catch some bad symbols but isn't as heavy-handed
   9189       # as -z defs.
   9190       no_undefined_flag='${wl}-z,text'
   9191       allow_undefined_flag='${wl}-z,nodefs'
   9192       archive_cmds_need_lc=no
   9193       hardcode_shlibpath_var=no
   9194       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9195       hardcode_libdir_separator=':'
   9196       link_all_deplibs=yes
   9197       export_dynamic_flag_spec='${wl}-Bexport'
   9198       runpath_var='LD_RUN_PATH'
   9199 
   9200       if test "$GCC" = yes; then
   9201 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9202 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9203       else
   9204 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9205 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9206       fi
   9207       ;;
   9208 
   9209     uts4*)
   9210       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9211       hardcode_libdir_flag_spec='-L$libdir'
   9212       hardcode_shlibpath_var=no
   9213       ;;
   9214 
   9215     *)
   9216       ld_shlibs=no
   9217       ;;
   9218     esac
   9219   fi
   9220 
   9221 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9222 echo "${ECHO_T}$ld_shlibs" >&6; }
   9223 test "$ld_shlibs" = no && can_build_shared=no
   9224 
   9225 #
   9226 # Do we need to explicitly link libc?
   9227 #
   9228 case "x$archive_cmds_need_lc" in
   9229 x|xyes)
   9230   # Assume -lc should be added
   9231   archive_cmds_need_lc=yes
   9232 
   9233   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9234     case $archive_cmds in
   9235     *'~'*)
   9236       # FIXME: we may have to deal with multi-command sequences.
   9237       ;;
   9238     '$CC '*)
   9239       # Test whether the compiler implicitly links with -lc since on some
   9240       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9241       # to ld, don't add -lc before -lgcc.
   9242       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9243 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   9244       $rm conftest*
   9245       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   9246 
   9247       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9248   (eval $ac_compile) 2>&5
   9249   ac_status=$?
   9250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9251   (exit $ac_status); } 2>conftest.err; then
   9252         soname=conftest
   9253         lib=conftest
   9254         libobjs=conftest.$ac_objext
   9255         deplibs=
   9256         wl=$lt_prog_compiler_wl
   9257 	pic_flag=$lt_prog_compiler_pic
   9258         compiler_flags=-v
   9259         linker_flags=-v
   9260         verstring=
   9261         output_objdir=.
   9262         libname=conftest
   9263         lt_save_allow_undefined_flag=$allow_undefined_flag
   9264         allow_undefined_flag=
   9265         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9266   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9267   ac_status=$?
   9268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9269   (exit $ac_status); }
   9270         then
   9271 	  archive_cmds_need_lc=no
   9272         else
   9273 	  archive_cmds_need_lc=yes
   9274         fi
   9275         allow_undefined_flag=$lt_save_allow_undefined_flag
   9276       else
   9277         cat conftest.err 1>&5
   9278       fi
   9279       $rm conftest*
   9280       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9281 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   9282       ;;
   9283     esac
   9284   fi
   9285   ;;
   9286 esac
   9287 
   9288 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9289 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   9290 library_names_spec=
   9291 libname_spec='lib$name'
   9292 soname_spec=
   9293 shrext_cmds=".so"
   9294 postinstall_cmds=
   9295 postuninstall_cmds=
   9296 finish_cmds=
   9297 finish_eval=
   9298 shlibpath_var=
   9299 shlibpath_overrides_runpath=unknown
   9300 version_type=none
   9301 dynamic_linker="$host_os ld.so"
   9302 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9303 if test "$GCC" = yes; then
   9304   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9305   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   9306     # if the path contains ";" then we assume it to be the separator
   9307     # otherwise default to the standard path separator (i.e. ":") - it is
   9308     # assumed that no part of a normal pathname contains ";" but that should
   9309     # okay in the real world where ";" in dirpaths is itself problematic.
   9310     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9311   else
   9312     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9313   fi
   9314 else
   9315   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9316 fi
   9317 need_lib_prefix=unknown
   9318 hardcode_into_libs=no
   9319 
   9320 # when you set need_version to no, make sure it does not cause -set_version
   9321 # flags to be left without arguments
   9322 need_version=unknown
   9323 
   9324 case $host_os in
   9325 aix3*)
   9326   version_type=linux
   9327   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9328   shlibpath_var=LIBPATH
   9329 
   9330   # AIX 3 has no versioning support, so we append a major version to the name.
   9331   soname_spec='${libname}${release}${shared_ext}$major'
   9332   ;;
   9333 
   9334 aix4* | aix5*)
   9335   version_type=linux
   9336   need_lib_prefix=no
   9337   need_version=no
   9338   hardcode_into_libs=yes
   9339   if test "$host_cpu" = ia64; then
   9340     # AIX 5 supports IA64
   9341     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9342     shlibpath_var=LD_LIBRARY_PATH
   9343   else
   9344     # With GCC up to 2.95.x, collect2 would create an import file
   9345     # for dependence libraries.  The import file would start with
   9346     # the line `#! .'.  This would cause the generated library to
   9347     # depend on `.', always an invalid library.  This was fixed in
   9348     # development snapshots of GCC prior to 3.0.
   9349     case $host_os in
   9350       aix4 | aix4.[01] | aix4.[01].*)
   9351       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9352 	   echo ' yes '
   9353 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9354 	:
   9355       else
   9356 	can_build_shared=no
   9357       fi
   9358       ;;
   9359     esac
   9360     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9361     # soname into executable. Probably we can add versioning support to
   9362     # collect2, so additional links can be useful in future.
   9363     if test "$aix_use_runtimelinking" = yes; then
   9364       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9365       # instead of lib<name>.a to let people know that these are not
   9366       # typical AIX shared libraries.
   9367       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9368     else
   9369       # We preserve .a as extension for shared libraries through AIX4.2
   9370       # and later when we are not doing run time linking.
   9371       library_names_spec='${libname}${release}.a $libname.a'
   9372       soname_spec='${libname}${release}${shared_ext}$major'
   9373     fi
   9374     shlibpath_var=LIBPATH
   9375   fi
   9376   ;;
   9377 
   9378 amigaos*)
   9379   library_names_spec='$libname.ixlibrary $libname.a'
   9380   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9381   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'
   9382   ;;
   9383 
   9384 beos*)
   9385   library_names_spec='${libname}${shared_ext}'
   9386   dynamic_linker="$host_os ld.so"
   9387   shlibpath_var=LIBRARY_PATH
   9388   ;;
   9389 
   9390 bsdi[45]*)
   9391   version_type=linux
   9392   need_version=no
   9393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9394   soname_spec='${libname}${release}${shared_ext}$major'
   9395   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9396   shlibpath_var=LD_LIBRARY_PATH
   9397   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9398   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9399   # the default ld.so.conf also contains /usr/contrib/lib and
   9400   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9401   # libtool to hard-code these into programs
   9402   ;;
   9403 
   9404 cygwin* | mingw* | pw32*)
   9405   version_type=windows
   9406   shrext_cmds=".dll"
   9407   need_version=no
   9408   need_lib_prefix=no
   9409 
   9410   case $GCC,$host_os in
   9411   yes,cygwin* | yes,mingw* | yes,pw32*)
   9412     library_names_spec='$libname.dll.a'
   9413     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9414     postinstall_cmds='base_file=`basename \${file}`~
   9415       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9416       dldir=$destdir/`dirname \$dlpath`~
   9417       test -d \$dldir || mkdir -p \$dldir~
   9418       $install_prog $dir/$dlname \$dldir/$dlname~
   9419       chmod a+x \$dldir/$dlname'
   9420     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9421       dlpath=$dir/\$dldll~
   9422        $rm \$dlpath'
   9423     shlibpath_overrides_runpath=yes
   9424 
   9425     case $host_os in
   9426     cygwin*)
   9427       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9428       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9429       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9430       ;;
   9431     mingw*)
   9432       # MinGW DLLs use traditional 'lib' prefix
   9433       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9434       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9435       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9436         # It is most probably a Windows format PATH printed by
   9437         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9438         # path with ; separators, and with drive letters. We can handle the
   9439         # drive letters (cygwin fileutils understands them), so leave them,
   9440         # especially as we might pass files found there to a mingw objdump,
   9441         # which wouldn't understand a cygwinified path. Ahh.
   9442         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9443       else
   9444         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9445       fi
   9446       ;;
   9447     pw32*)
   9448       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9449       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9450       ;;
   9451     esac
   9452     ;;
   9453 
   9454   *)
   9455     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9456     ;;
   9457   esac
   9458   dynamic_linker='Win32 ld.exe'
   9459   # FIXME: first we should search . and the directory the executable is in
   9460   shlibpath_var=PATH
   9461   ;;
   9462 
   9463 darwin* | rhapsody*)
   9464   dynamic_linker="$host_os dyld"
   9465   version_type=darwin
   9466   need_lib_prefix=no
   9467   need_version=no
   9468   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9469   soname_spec='${libname}${release}${major}$shared_ext'
   9470   shlibpath_overrides_runpath=yes
   9471   shlibpath_var=DYLD_LIBRARY_PATH
   9472   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9473   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   9474   if test "$GCC" = yes; then
   9475     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"`
   9476   else
   9477     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   9478   fi
   9479   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9480   ;;
   9481 
   9482 dgux*)
   9483   version_type=linux
   9484   need_lib_prefix=no
   9485   need_version=no
   9486   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9487   soname_spec='${libname}${release}${shared_ext}$major'
   9488   shlibpath_var=LD_LIBRARY_PATH
   9489   ;;
   9490 
   9491 freebsd1*)
   9492   dynamic_linker=no
   9493   ;;
   9494 
   9495 freebsd* | dragonfly*)
   9496   # DragonFly does not have aout.  When/if they implement a new
   9497   # versioning mechanism, adjust this.
   9498   if test -x /usr/bin/objformat; then
   9499     objformat=`/usr/bin/objformat`
   9500   else
   9501     case $host_os in
   9502     freebsd[123]*) objformat=aout ;;
   9503     *) objformat=elf ;;
   9504     esac
   9505   fi
   9506   version_type=freebsd-$objformat
   9507   case $version_type in
   9508     freebsd-elf*)
   9509       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9510       need_version=no
   9511       need_lib_prefix=no
   9512       ;;
   9513     freebsd-*)
   9514       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9515       need_version=yes
   9516       ;;
   9517   esac
   9518   shlibpath_var=LD_LIBRARY_PATH
   9519   case $host_os in
   9520   freebsd2*)
   9521     shlibpath_overrides_runpath=yes
   9522     ;;
   9523   freebsd3.[01]* | freebsdelf3.[01]*)
   9524     shlibpath_overrides_runpath=yes
   9525     hardcode_into_libs=yes
   9526     ;;
   9527   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9528   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9529     shlibpath_overrides_runpath=no
   9530     hardcode_into_libs=yes
   9531     ;;
   9532   freebsd*) # from 4.6 on
   9533     shlibpath_overrides_runpath=yes
   9534     hardcode_into_libs=yes
   9535     ;;
   9536   esac
   9537   ;;
   9538 
   9539 gnu*)
   9540   version_type=linux
   9541   need_lib_prefix=no
   9542   need_version=no
   9543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9544   soname_spec='${libname}${release}${shared_ext}$major'
   9545   shlibpath_var=LD_LIBRARY_PATH
   9546   hardcode_into_libs=yes
   9547   ;;
   9548 
   9549 hpux9* | hpux10* | hpux11*)
   9550   # Give a soname corresponding to the major version so that dld.sl refuses to
   9551   # link against other versions.
   9552   version_type=sunos
   9553   need_lib_prefix=no
   9554   need_version=no
   9555   case $host_cpu in
   9556   ia64*)
   9557     shrext_cmds='.so'
   9558     hardcode_into_libs=yes
   9559     dynamic_linker="$host_os dld.so"
   9560     shlibpath_var=LD_LIBRARY_PATH
   9561     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9562     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9563     soname_spec='${libname}${release}${shared_ext}$major'
   9564     if test "X$HPUX_IA64_MODE" = X32; then
   9565       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9566     else
   9567       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9568     fi
   9569     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9570     ;;
   9571    hppa*64*)
   9572      shrext_cmds='.sl'
   9573      hardcode_into_libs=yes
   9574      dynamic_linker="$host_os dld.sl"
   9575      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9576      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9577      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9578      soname_spec='${libname}${release}${shared_ext}$major'
   9579      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9580      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9581      ;;
   9582    *)
   9583     shrext_cmds='.sl'
   9584     dynamic_linker="$host_os dld.sl"
   9585     shlibpath_var=SHLIB_PATH
   9586     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9587     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9588     soname_spec='${libname}${release}${shared_ext}$major'
   9589     ;;
   9590   esac
   9591   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9592   postinstall_cmds='chmod 555 $lib'
   9593   ;;
   9594 
   9595 interix3*)
   9596   version_type=linux
   9597   need_lib_prefix=no
   9598   need_version=no
   9599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9600   soname_spec='${libname}${release}${shared_ext}$major'
   9601   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9602   shlibpath_var=LD_LIBRARY_PATH
   9603   shlibpath_overrides_runpath=no
   9604   hardcode_into_libs=yes
   9605   ;;
   9606 
   9607 irix5* | irix6* | nonstopux*)
   9608   case $host_os in
   9609     nonstopux*) version_type=nonstopux ;;
   9610     *)
   9611 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9612 		version_type=linux
   9613 	else
   9614 		version_type=irix
   9615 	fi ;;
   9616   esac
   9617   need_lib_prefix=no
   9618   need_version=no
   9619   soname_spec='${libname}${release}${shared_ext}$major'
   9620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9621   case $host_os in
   9622   irix5* | nonstopux*)
   9623     libsuff= shlibsuff=
   9624     ;;
   9625   *)
   9626     case $LD in # libtool.m4 will add one of these switches to LD
   9627     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9628       libsuff= shlibsuff= libmagic=32-bit;;
   9629     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9630       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9631     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9632       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9633     *) libsuff= shlibsuff= libmagic=never-match;;
   9634     esac
   9635     ;;
   9636   esac
   9637   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9638   shlibpath_overrides_runpath=no
   9639   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9640   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9641   hardcode_into_libs=yes
   9642   ;;
   9643 
   9644 # No shared lib support for Linux oldld, aout, or coff.
   9645 linux*oldld* | linux*aout* | linux*coff*)
   9646   dynamic_linker=no
   9647   ;;
   9648 
   9649 # This must be Linux ELF.
   9650 linux* | k*bsd*-gnu)
   9651   version_type=linux
   9652   need_lib_prefix=no
   9653   need_version=no
   9654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9655   soname_spec='${libname}${release}${shared_ext}$major'
   9656   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9657   shlibpath_var=LD_LIBRARY_PATH
   9658   shlibpath_overrides_runpath=no
   9659   # This implies no fast_install, which is unacceptable.
   9660   # Some rework will be needed to allow for fast_install
   9661   # before this can be enabled.
   9662   hardcode_into_libs=yes
   9663 
   9664   # Append ld.so.conf contents to the search path
   9665   if test -f /etc/ld.so.conf; then
   9666     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' ' '`
   9667     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9668   fi
   9669 
   9670   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9671   # powerpc, because MkLinux only supported shared libraries with the
   9672   # GNU dynamic linker.  Since this was broken with cross compilers,
   9673   # most powerpc-linux boxes support dynamic linking these days and
   9674   # people can always --disable-shared, the test was removed, and we
   9675   # assume the GNU/Linux dynamic linker is in use.
   9676   dynamic_linker='GNU/Linux ld.so'
   9677   ;;
   9678 
   9679 netbsdelf*-gnu)
   9680   version_type=linux
   9681   need_lib_prefix=no
   9682   need_version=no
   9683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9684   soname_spec='${libname}${release}${shared_ext}$major'
   9685   shlibpath_var=LD_LIBRARY_PATH
   9686   shlibpath_overrides_runpath=no
   9687   hardcode_into_libs=yes
   9688   dynamic_linker='NetBSD ld.elf_so'
   9689   ;;
   9690 
   9691 netbsd*)
   9692   version_type=sunos
   9693   need_lib_prefix=no
   9694   need_version=no
   9695   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9696     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9697     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9698     dynamic_linker='NetBSD (a.out) ld.so'
   9699   else
   9700     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9701     soname_spec='${libname}${release}${shared_ext}$major'
   9702     dynamic_linker='NetBSD ld.elf_so'
   9703   fi
   9704   shlibpath_var=LD_LIBRARY_PATH
   9705   shlibpath_overrides_runpath=yes
   9706   hardcode_into_libs=yes
   9707   ;;
   9708 
   9709 newsos6)
   9710   version_type=linux
   9711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9712   shlibpath_var=LD_LIBRARY_PATH
   9713   shlibpath_overrides_runpath=yes
   9714   ;;
   9715 
   9716 nto-qnx*)
   9717   version_type=linux
   9718   need_lib_prefix=no
   9719   need_version=no
   9720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9721   soname_spec='${libname}${release}${shared_ext}$major'
   9722   shlibpath_var=LD_LIBRARY_PATH
   9723   shlibpath_overrides_runpath=yes
   9724   ;;
   9725 
   9726 openbsd*)
   9727   version_type=sunos
   9728   sys_lib_dlsearch_path_spec="/usr/lib"
   9729   need_lib_prefix=no
   9730   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9731   case $host_os in
   9732     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9733     *)                         need_version=no  ;;
   9734   esac
   9735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9736   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9737   shlibpath_var=LD_LIBRARY_PATH
   9738   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9739     case $host_os in
   9740       openbsd2.[89] | openbsd2.[89].*)
   9741 	shlibpath_overrides_runpath=no
   9742 	;;
   9743       *)
   9744 	shlibpath_overrides_runpath=yes
   9745 	;;
   9746       esac
   9747   else
   9748     shlibpath_overrides_runpath=yes
   9749   fi
   9750   ;;
   9751 
   9752 os2*)
   9753   libname_spec='$name'
   9754   shrext_cmds=".dll"
   9755   need_lib_prefix=no
   9756   library_names_spec='$libname${shared_ext} $libname.a'
   9757   dynamic_linker='OS/2 ld.exe'
   9758   shlibpath_var=LIBPATH
   9759   ;;
   9760 
   9761 osf3* | osf4* | osf5*)
   9762   version_type=osf
   9763   need_lib_prefix=no
   9764   need_version=no
   9765   soname_spec='${libname}${release}${shared_ext}$major'
   9766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9767   shlibpath_var=LD_LIBRARY_PATH
   9768   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9769   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9770   ;;
   9771 
   9772 solaris*)
   9773   version_type=linux
   9774   need_lib_prefix=no
   9775   need_version=no
   9776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9777   soname_spec='${libname}${release}${shared_ext}$major'
   9778   shlibpath_var=LD_LIBRARY_PATH
   9779   shlibpath_overrides_runpath=yes
   9780   hardcode_into_libs=yes
   9781   # ldd complains unless libraries are executable
   9782   postinstall_cmds='chmod +x $lib'
   9783   ;;
   9784 
   9785 sunos4*)
   9786   version_type=sunos
   9787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9788   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9789   shlibpath_var=LD_LIBRARY_PATH
   9790   shlibpath_overrides_runpath=yes
   9791   if test "$with_gnu_ld" = yes; then
   9792     need_lib_prefix=no
   9793   fi
   9794   need_version=yes
   9795   ;;
   9796 
   9797 sysv4 | sysv4.3*)
   9798   version_type=linux
   9799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9800   soname_spec='${libname}${release}${shared_ext}$major'
   9801   shlibpath_var=LD_LIBRARY_PATH
   9802   case $host_vendor in
   9803     sni)
   9804       shlibpath_overrides_runpath=no
   9805       need_lib_prefix=no
   9806       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9807       runpath_var=LD_RUN_PATH
   9808       ;;
   9809     siemens)
   9810       need_lib_prefix=no
   9811       ;;
   9812     motorola)
   9813       need_lib_prefix=no
   9814       need_version=no
   9815       shlibpath_overrides_runpath=no
   9816       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9817       ;;
   9818   esac
   9819   ;;
   9820 
   9821 sysv4*MP*)
   9822   if test -d /usr/nec ;then
   9823     version_type=linux
   9824     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9825     soname_spec='$libname${shared_ext}.$major'
   9826     shlibpath_var=LD_LIBRARY_PATH
   9827   fi
   9828   ;;
   9829 
   9830 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9831   version_type=freebsd-elf
   9832   need_lib_prefix=no
   9833   need_version=no
   9834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9835   soname_spec='${libname}${release}${shared_ext}$major'
   9836   shlibpath_var=LD_LIBRARY_PATH
   9837   hardcode_into_libs=yes
   9838   if test "$with_gnu_ld" = yes; then
   9839     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9840     shlibpath_overrides_runpath=no
   9841   else
   9842     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9843     shlibpath_overrides_runpath=yes
   9844     case $host_os in
   9845       sco3.2v5*)
   9846         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9847 	;;
   9848     esac
   9849   fi
   9850   sys_lib_dlsearch_path_spec='/usr/lib'
   9851   ;;
   9852 
   9853 uts4*)
   9854   version_type=linux
   9855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9856   soname_spec='${libname}${release}${shared_ext}$major'
   9857   shlibpath_var=LD_LIBRARY_PATH
   9858   ;;
   9859 
   9860 *)
   9861   dynamic_linker=no
   9862   ;;
   9863 esac
   9864 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9865 echo "${ECHO_T}$dynamic_linker" >&6; }
   9866 test "$dynamic_linker" = no && can_build_shared=no
   9867 
   9868 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9869 if test "$GCC" = yes; then
   9870   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9871 fi
   9872 
   9873 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9874 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9875 hardcode_action=
   9876 if test -n "$hardcode_libdir_flag_spec" || \
   9877    test -n "$runpath_var" || \
   9878    test "X$hardcode_automatic" = "Xyes" ; then
   9879 
   9880   # We can hardcode non-existant directories.
   9881   if test "$hardcode_direct" != no &&
   9882      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9883      # have to relink, otherwise we might link with an installed library
   9884      # when we should be linking with a yet-to-be-installed one
   9885      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9886      test "$hardcode_minus_L" != no; then
   9887     # Linking always hardcodes the temporary library directory.
   9888     hardcode_action=relink
   9889   else
   9890     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9891     hardcode_action=immediate
   9892   fi
   9893 else
   9894   # We cannot hardcode anything, or else we can only hardcode existing
   9895   # directories.
   9896   hardcode_action=unsupported
   9897 fi
   9898 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9899 echo "${ECHO_T}$hardcode_action" >&6; }
   9900 
   9901 if test "$hardcode_action" = relink; then
   9902   # Fast installation is not supported
   9903   enable_fast_install=no
   9904 elif test "$shlibpath_overrides_runpath" = yes ||
   9905      test "$enable_shared" = no; then
   9906   # Fast installation is not necessary
   9907   enable_fast_install=needless
   9908 fi
   9909 
   9910 striplib=
   9911 old_striplib=
   9912 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9913 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9914 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9915   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9916   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9917   { echo "$as_me:$LINENO: result: yes" >&5
   9918 echo "${ECHO_T}yes" >&6; }
   9919 else
   9920 # FIXME - insert some real tests, host_os isn't really good enough
   9921   case $host_os in
   9922    darwin*)
   9923        if test -n "$STRIP" ; then
   9924          striplib="$STRIP -x"
   9925          { echo "$as_me:$LINENO: result: yes" >&5
   9926 echo "${ECHO_T}yes" >&6; }
   9927        else
   9928   { echo "$as_me:$LINENO: result: no" >&5
   9929 echo "${ECHO_T}no" >&6; }
   9930 fi
   9931        ;;
   9932    *)
   9933   { echo "$as_me:$LINENO: result: no" >&5
   9934 echo "${ECHO_T}no" >&6; }
   9935     ;;
   9936   esac
   9937 fi
   9938 
   9939 if test "x$enable_dlopen" != xyes; then
   9940   enable_dlopen=unknown
   9941   enable_dlopen_self=unknown
   9942   enable_dlopen_self_static=unknown
   9943 else
   9944   lt_cv_dlopen=no
   9945   lt_cv_dlopen_libs=
   9946 
   9947   case $host_os in
   9948   beos*)
   9949     lt_cv_dlopen="load_add_on"
   9950     lt_cv_dlopen_libs=
   9951     lt_cv_dlopen_self=yes
   9952     ;;
   9953 
   9954   mingw* | pw32*)
   9955     lt_cv_dlopen="LoadLibrary"
   9956     lt_cv_dlopen_libs=
   9957    ;;
   9958 
   9959   cygwin*)
   9960     lt_cv_dlopen="dlopen"
   9961     lt_cv_dlopen_libs=
   9962    ;;
   9963 
   9964   darwin*)
   9965   # if libdl is installed we need to link against it
   9966     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9967 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9968 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9969   echo $ECHO_N "(cached) $ECHO_C" >&6
   9970 else
   9971   ac_check_lib_save_LIBS=$LIBS
   9972 LIBS="-ldl  $LIBS"
   9973 cat >conftest.$ac_ext <<_ACEOF
   9974 /* confdefs.h.  */
   9975 _ACEOF
   9976 cat confdefs.h >>conftest.$ac_ext
   9977 cat >>conftest.$ac_ext <<_ACEOF
   9978 /* end confdefs.h.  */
   9979 
   9980 /* Override any GCC internal prototype to avoid an error.
   9981    Use char because int might match the return type of a GCC
   9982    builtin and then its argument prototype would still apply.  */
   9983 #ifdef __cplusplus
   9984 extern "C"
   9985 #endif
   9986 char dlopen ();
   9987 int
   9988 main ()
   9989 {
   9990 return dlopen ();
   9991   ;
   9992   return 0;
   9993 }
   9994 _ACEOF
   9995 rm -f conftest.$ac_objext conftest$ac_exeext
   9996 if { (ac_try="$ac_link"
   9997 case "(($ac_try" in
   9998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9999   *) ac_try_echo=$ac_try;;
   10000 esac
   10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10002   (eval "$ac_link") 2>conftest.er1
   10003   ac_status=$?
   10004   grep -v '^ *+' conftest.er1 >conftest.err
   10005   rm -f conftest.er1
   10006   cat conftest.err >&5
   10007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10008   (exit $ac_status); } &&
   10009 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10010   { (case "(($ac_try" in
   10011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10012   *) ac_try_echo=$ac_try;;
   10013 esac
   10014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10015   (eval "$ac_try") 2>&5
   10016   ac_status=$?
   10017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10018   (exit $ac_status); }; } &&
   10019 	 { ac_try='test -s conftest$ac_exeext'
   10020   { (case "(($ac_try" in
   10021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10022   *) ac_try_echo=$ac_try;;
   10023 esac
   10024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10025   (eval "$ac_try") 2>&5
   10026   ac_status=$?
   10027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10028   (exit $ac_status); }; }; then
   10029   ac_cv_lib_dl_dlopen=yes
   10030 else
   10031   echo "$as_me: failed program was:" >&5
   10032 sed 's/^/| /' conftest.$ac_ext >&5
   10033 
   10034 	ac_cv_lib_dl_dlopen=no
   10035 fi
   10036 
   10037 rm -f core conftest.err conftest.$ac_objext \
   10038       conftest$ac_exeext conftest.$ac_ext
   10039 LIBS=$ac_check_lib_save_LIBS
   10040 fi
   10041 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10042 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10043 if test $ac_cv_lib_dl_dlopen = yes; then
   10044   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10045 else
   10046 
   10047     lt_cv_dlopen="dyld"
   10048     lt_cv_dlopen_libs=
   10049     lt_cv_dlopen_self=yes
   10050 
   10051 fi
   10052 
   10053    ;;
   10054 
   10055   *)
   10056     { echo "$as_me:$LINENO: checking for shl_load" >&5
   10057 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   10058 if test "${ac_cv_func_shl_load+set}" = set; then
   10059   echo $ECHO_N "(cached) $ECHO_C" >&6
   10060 else
   10061   cat >conftest.$ac_ext <<_ACEOF
   10062 /* confdefs.h.  */
   10063 _ACEOF
   10064 cat confdefs.h >>conftest.$ac_ext
   10065 cat >>conftest.$ac_ext <<_ACEOF
   10066 /* end confdefs.h.  */
   10067 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10069 #define shl_load innocuous_shl_load
   10070 
   10071 /* System header to define __stub macros and hopefully few prototypes,
   10072     which can conflict with char shl_load (); below.
   10073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10074     <limits.h> exists even on freestanding compilers.  */
   10075 
   10076 #ifdef __STDC__
   10077 # include <limits.h>
   10078 #else
   10079 # include <assert.h>
   10080 #endif
   10081 
   10082 #undef shl_load
   10083 
   10084 /* Override any GCC internal prototype to avoid an error.
   10085    Use char because int might match the return type of a GCC
   10086    builtin and then its argument prototype would still apply.  */
   10087 #ifdef __cplusplus
   10088 extern "C"
   10089 #endif
   10090 char shl_load ();
   10091 /* The GNU C library defines this for functions which it implements
   10092     to always fail with ENOSYS.  Some functions are actually named
   10093     something starting with __ and the normal name is an alias.  */
   10094 #if defined __stub_shl_load || defined __stub___shl_load
   10095 choke me
   10096 #endif
   10097 
   10098 int
   10099 main ()
   10100 {
   10101 return shl_load ();
   10102   ;
   10103   return 0;
   10104 }
   10105 _ACEOF
   10106 rm -f conftest.$ac_objext conftest$ac_exeext
   10107 if { (ac_try="$ac_link"
   10108 case "(($ac_try" in
   10109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10110   *) ac_try_echo=$ac_try;;
   10111 esac
   10112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10113   (eval "$ac_link") 2>conftest.er1
   10114   ac_status=$?
   10115   grep -v '^ *+' conftest.er1 >conftest.err
   10116   rm -f conftest.er1
   10117   cat conftest.err >&5
   10118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10119   (exit $ac_status); } &&
   10120 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10121   { (case "(($ac_try" in
   10122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10123   *) ac_try_echo=$ac_try;;
   10124 esac
   10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10126   (eval "$ac_try") 2>&5
   10127   ac_status=$?
   10128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10129   (exit $ac_status); }; } &&
   10130 	 { ac_try='test -s conftest$ac_exeext'
   10131   { (case "(($ac_try" in
   10132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10133   *) ac_try_echo=$ac_try;;
   10134 esac
   10135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10136   (eval "$ac_try") 2>&5
   10137   ac_status=$?
   10138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10139   (exit $ac_status); }; }; then
   10140   ac_cv_func_shl_load=yes
   10141 else
   10142   echo "$as_me: failed program was:" >&5
   10143 sed 's/^/| /' conftest.$ac_ext >&5
   10144 
   10145 	ac_cv_func_shl_load=no
   10146 fi
   10147 
   10148 rm -f core conftest.err conftest.$ac_objext \
   10149       conftest$ac_exeext conftest.$ac_ext
   10150 fi
   10151 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10152 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   10153 if test $ac_cv_func_shl_load = yes; then
   10154   lt_cv_dlopen="shl_load"
   10155 else
   10156   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10157 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   10158 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10159   echo $ECHO_N "(cached) $ECHO_C" >&6
   10160 else
   10161   ac_check_lib_save_LIBS=$LIBS
   10162 LIBS="-ldld  $LIBS"
   10163 cat >conftest.$ac_ext <<_ACEOF
   10164 /* confdefs.h.  */
   10165 _ACEOF
   10166 cat confdefs.h >>conftest.$ac_ext
   10167 cat >>conftest.$ac_ext <<_ACEOF
   10168 /* end confdefs.h.  */
   10169 
   10170 /* Override any GCC internal prototype to avoid an error.
   10171    Use char because int might match the return type of a GCC
   10172    builtin and then its argument prototype would still apply.  */
   10173 #ifdef __cplusplus
   10174 extern "C"
   10175 #endif
   10176 char shl_load ();
   10177 int
   10178 main ()
   10179 {
   10180 return shl_load ();
   10181   ;
   10182   return 0;
   10183 }
   10184 _ACEOF
   10185 rm -f conftest.$ac_objext conftest$ac_exeext
   10186 if { (ac_try="$ac_link"
   10187 case "(($ac_try" in
   10188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10189   *) ac_try_echo=$ac_try;;
   10190 esac
   10191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10192   (eval "$ac_link") 2>conftest.er1
   10193   ac_status=$?
   10194   grep -v '^ *+' conftest.er1 >conftest.err
   10195   rm -f conftest.er1
   10196   cat conftest.err >&5
   10197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10198   (exit $ac_status); } &&
   10199 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10200   { (case "(($ac_try" in
   10201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10202   *) ac_try_echo=$ac_try;;
   10203 esac
   10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10205   (eval "$ac_try") 2>&5
   10206   ac_status=$?
   10207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10208   (exit $ac_status); }; } &&
   10209 	 { ac_try='test -s conftest$ac_exeext'
   10210   { (case "(($ac_try" in
   10211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10212   *) ac_try_echo=$ac_try;;
   10213 esac
   10214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10215   (eval "$ac_try") 2>&5
   10216   ac_status=$?
   10217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10218   (exit $ac_status); }; }; then
   10219   ac_cv_lib_dld_shl_load=yes
   10220 else
   10221   echo "$as_me: failed program was:" >&5
   10222 sed 's/^/| /' conftest.$ac_ext >&5
   10223 
   10224 	ac_cv_lib_dld_shl_load=no
   10225 fi
   10226 
   10227 rm -f core conftest.err conftest.$ac_objext \
   10228       conftest$ac_exeext conftest.$ac_ext
   10229 LIBS=$ac_check_lib_save_LIBS
   10230 fi
   10231 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10232 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   10233 if test $ac_cv_lib_dld_shl_load = yes; then
   10234   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   10235 else
   10236   { echo "$as_me:$LINENO: checking for dlopen" >&5
   10237 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   10238 if test "${ac_cv_func_dlopen+set}" = set; then
   10239   echo $ECHO_N "(cached) $ECHO_C" >&6
   10240 else
   10241   cat >conftest.$ac_ext <<_ACEOF
   10242 /* confdefs.h.  */
   10243 _ACEOF
   10244 cat confdefs.h >>conftest.$ac_ext
   10245 cat >>conftest.$ac_ext <<_ACEOF
   10246 /* end confdefs.h.  */
   10247 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10249 #define dlopen innocuous_dlopen
   10250 
   10251 /* System header to define __stub macros and hopefully few prototypes,
   10252     which can conflict with char dlopen (); below.
   10253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10254     <limits.h> exists even on freestanding compilers.  */
   10255 
   10256 #ifdef __STDC__
   10257 # include <limits.h>
   10258 #else
   10259 # include <assert.h>
   10260 #endif
   10261 
   10262 #undef dlopen
   10263 
   10264 /* Override any GCC internal prototype to avoid an error.
   10265    Use char because int might match the return type of a GCC
   10266    builtin and then its argument prototype would still apply.  */
   10267 #ifdef __cplusplus
   10268 extern "C"
   10269 #endif
   10270 char dlopen ();
   10271 /* The GNU C library defines this for functions which it implements
   10272     to always fail with ENOSYS.  Some functions are actually named
   10273     something starting with __ and the normal name is an alias.  */
   10274 #if defined __stub_dlopen || defined __stub___dlopen
   10275 choke me
   10276 #endif
   10277 
   10278 int
   10279 main ()
   10280 {
   10281 return dlopen ();
   10282   ;
   10283   return 0;
   10284 }
   10285 _ACEOF
   10286 rm -f conftest.$ac_objext conftest$ac_exeext
   10287 if { (ac_try="$ac_link"
   10288 case "(($ac_try" in
   10289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10290   *) ac_try_echo=$ac_try;;
   10291 esac
   10292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10293   (eval "$ac_link") 2>conftest.er1
   10294   ac_status=$?
   10295   grep -v '^ *+' conftest.er1 >conftest.err
   10296   rm -f conftest.er1
   10297   cat conftest.err >&5
   10298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10299   (exit $ac_status); } &&
   10300 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10301   { (case "(($ac_try" in
   10302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10303   *) ac_try_echo=$ac_try;;
   10304 esac
   10305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10306   (eval "$ac_try") 2>&5
   10307   ac_status=$?
   10308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10309   (exit $ac_status); }; } &&
   10310 	 { ac_try='test -s conftest$ac_exeext'
   10311   { (case "(($ac_try" in
   10312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10313   *) ac_try_echo=$ac_try;;
   10314 esac
   10315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10316   (eval "$ac_try") 2>&5
   10317   ac_status=$?
   10318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10319   (exit $ac_status); }; }; then
   10320   ac_cv_func_dlopen=yes
   10321 else
   10322   echo "$as_me: failed program was:" >&5
   10323 sed 's/^/| /' conftest.$ac_ext >&5
   10324 
   10325 	ac_cv_func_dlopen=no
   10326 fi
   10327 
   10328 rm -f core conftest.err conftest.$ac_objext \
   10329       conftest$ac_exeext conftest.$ac_ext
   10330 fi
   10331 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10332 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   10333 if test $ac_cv_func_dlopen = yes; then
   10334   lt_cv_dlopen="dlopen"
   10335 else
   10336   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10337 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   10338 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10339   echo $ECHO_N "(cached) $ECHO_C" >&6
   10340 else
   10341   ac_check_lib_save_LIBS=$LIBS
   10342 LIBS="-ldl  $LIBS"
   10343 cat >conftest.$ac_ext <<_ACEOF
   10344 /* confdefs.h.  */
   10345 _ACEOF
   10346 cat confdefs.h >>conftest.$ac_ext
   10347 cat >>conftest.$ac_ext <<_ACEOF
   10348 /* end confdefs.h.  */
   10349 
   10350 /* Override any GCC internal prototype to avoid an error.
   10351    Use char because int might match the return type of a GCC
   10352    builtin and then its argument prototype would still apply.  */
   10353 #ifdef __cplusplus
   10354 extern "C"
   10355 #endif
   10356 char dlopen ();
   10357 int
   10358 main ()
   10359 {
   10360 return dlopen ();
   10361   ;
   10362   return 0;
   10363 }
   10364 _ACEOF
   10365 rm -f conftest.$ac_objext conftest$ac_exeext
   10366 if { (ac_try="$ac_link"
   10367 case "(($ac_try" in
   10368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10369   *) ac_try_echo=$ac_try;;
   10370 esac
   10371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10372   (eval "$ac_link") 2>conftest.er1
   10373   ac_status=$?
   10374   grep -v '^ *+' conftest.er1 >conftest.err
   10375   rm -f conftest.er1
   10376   cat conftest.err >&5
   10377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10378   (exit $ac_status); } &&
   10379 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10380   { (case "(($ac_try" in
   10381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10382   *) ac_try_echo=$ac_try;;
   10383 esac
   10384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10385   (eval "$ac_try") 2>&5
   10386   ac_status=$?
   10387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10388   (exit $ac_status); }; } &&
   10389 	 { ac_try='test -s conftest$ac_exeext'
   10390   { (case "(($ac_try" in
   10391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10392   *) ac_try_echo=$ac_try;;
   10393 esac
   10394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10395   (eval "$ac_try") 2>&5
   10396   ac_status=$?
   10397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10398   (exit $ac_status); }; }; then
   10399   ac_cv_lib_dl_dlopen=yes
   10400 else
   10401   echo "$as_me: failed program was:" >&5
   10402 sed 's/^/| /' conftest.$ac_ext >&5
   10403 
   10404 	ac_cv_lib_dl_dlopen=no
   10405 fi
   10406 
   10407 rm -f core conftest.err conftest.$ac_objext \
   10408       conftest$ac_exeext conftest.$ac_ext
   10409 LIBS=$ac_check_lib_save_LIBS
   10410 fi
   10411 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10412 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10413 if test $ac_cv_lib_dl_dlopen = yes; then
   10414   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10415 else
   10416   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10417 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10418 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10419   echo $ECHO_N "(cached) $ECHO_C" >&6
   10420 else
   10421   ac_check_lib_save_LIBS=$LIBS
   10422 LIBS="-lsvld  $LIBS"
   10423 cat >conftest.$ac_ext <<_ACEOF
   10424 /* confdefs.h.  */
   10425 _ACEOF
   10426 cat confdefs.h >>conftest.$ac_ext
   10427 cat >>conftest.$ac_ext <<_ACEOF
   10428 /* end confdefs.h.  */
   10429 
   10430 /* Override any GCC internal prototype to avoid an error.
   10431    Use char because int might match the return type of a GCC
   10432    builtin and then its argument prototype would still apply.  */
   10433 #ifdef __cplusplus
   10434 extern "C"
   10435 #endif
   10436 char dlopen ();
   10437 int
   10438 main ()
   10439 {
   10440 return dlopen ();
   10441   ;
   10442   return 0;
   10443 }
   10444 _ACEOF
   10445 rm -f conftest.$ac_objext conftest$ac_exeext
   10446 if { (ac_try="$ac_link"
   10447 case "(($ac_try" in
   10448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10449   *) ac_try_echo=$ac_try;;
   10450 esac
   10451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10452   (eval "$ac_link") 2>conftest.er1
   10453   ac_status=$?
   10454   grep -v '^ *+' conftest.er1 >conftest.err
   10455   rm -f conftest.er1
   10456   cat conftest.err >&5
   10457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10458   (exit $ac_status); } &&
   10459 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10460   { (case "(($ac_try" in
   10461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10462   *) ac_try_echo=$ac_try;;
   10463 esac
   10464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10465   (eval "$ac_try") 2>&5
   10466   ac_status=$?
   10467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10468   (exit $ac_status); }; } &&
   10469 	 { ac_try='test -s conftest$ac_exeext'
   10470   { (case "(($ac_try" in
   10471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10472   *) ac_try_echo=$ac_try;;
   10473 esac
   10474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10475   (eval "$ac_try") 2>&5
   10476   ac_status=$?
   10477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10478   (exit $ac_status); }; }; then
   10479   ac_cv_lib_svld_dlopen=yes
   10480 else
   10481   echo "$as_me: failed program was:" >&5
   10482 sed 's/^/| /' conftest.$ac_ext >&5
   10483 
   10484 	ac_cv_lib_svld_dlopen=no
   10485 fi
   10486 
   10487 rm -f core conftest.err conftest.$ac_objext \
   10488       conftest$ac_exeext conftest.$ac_ext
   10489 LIBS=$ac_check_lib_save_LIBS
   10490 fi
   10491 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10492 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10493 if test $ac_cv_lib_svld_dlopen = yes; then
   10494   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10495 else
   10496   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10497 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10498 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10499   echo $ECHO_N "(cached) $ECHO_C" >&6
   10500 else
   10501   ac_check_lib_save_LIBS=$LIBS
   10502 LIBS="-ldld  $LIBS"
   10503 cat >conftest.$ac_ext <<_ACEOF
   10504 /* confdefs.h.  */
   10505 _ACEOF
   10506 cat confdefs.h >>conftest.$ac_ext
   10507 cat >>conftest.$ac_ext <<_ACEOF
   10508 /* end confdefs.h.  */
   10509 
   10510 /* Override any GCC internal prototype to avoid an error.
   10511    Use char because int might match the return type of a GCC
   10512    builtin and then its argument prototype would still apply.  */
   10513 #ifdef __cplusplus
   10514 extern "C"
   10515 #endif
   10516 char dld_link ();
   10517 int
   10518 main ()
   10519 {
   10520 return dld_link ();
   10521   ;
   10522   return 0;
   10523 }
   10524 _ACEOF
   10525 rm -f conftest.$ac_objext conftest$ac_exeext
   10526 if { (ac_try="$ac_link"
   10527 case "(($ac_try" in
   10528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10529   *) ac_try_echo=$ac_try;;
   10530 esac
   10531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10532   (eval "$ac_link") 2>conftest.er1
   10533   ac_status=$?
   10534   grep -v '^ *+' conftest.er1 >conftest.err
   10535   rm -f conftest.er1
   10536   cat conftest.err >&5
   10537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10538   (exit $ac_status); } &&
   10539 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10540   { (case "(($ac_try" in
   10541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10542   *) ac_try_echo=$ac_try;;
   10543 esac
   10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10545   (eval "$ac_try") 2>&5
   10546   ac_status=$?
   10547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10548   (exit $ac_status); }; } &&
   10549 	 { ac_try='test -s conftest$ac_exeext'
   10550   { (case "(($ac_try" in
   10551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10552   *) ac_try_echo=$ac_try;;
   10553 esac
   10554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10555   (eval "$ac_try") 2>&5
   10556   ac_status=$?
   10557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10558   (exit $ac_status); }; }; then
   10559   ac_cv_lib_dld_dld_link=yes
   10560 else
   10561   echo "$as_me: failed program was:" >&5
   10562 sed 's/^/| /' conftest.$ac_ext >&5
   10563 
   10564 	ac_cv_lib_dld_dld_link=no
   10565 fi
   10566 
   10567 rm -f core conftest.err conftest.$ac_objext \
   10568       conftest$ac_exeext conftest.$ac_ext
   10569 LIBS=$ac_check_lib_save_LIBS
   10570 fi
   10571 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10572 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10573 if test $ac_cv_lib_dld_dld_link = yes; then
   10574   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10575 fi
   10576 
   10577 
   10578 fi
   10579 
   10580 
   10581 fi
   10582 
   10583 
   10584 fi
   10585 
   10586 
   10587 fi
   10588 
   10589 
   10590 fi
   10591 
   10592     ;;
   10593   esac
   10594 
   10595   if test "x$lt_cv_dlopen" != xno; then
   10596     enable_dlopen=yes
   10597   else
   10598     enable_dlopen=no
   10599   fi
   10600 
   10601   case $lt_cv_dlopen in
   10602   dlopen)
   10603     save_CPPFLAGS="$CPPFLAGS"
   10604     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10605 
   10606     save_LDFLAGS="$LDFLAGS"
   10607     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10608 
   10609     save_LIBS="$LIBS"
   10610     LIBS="$lt_cv_dlopen_libs $LIBS"
   10611 
   10612     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10613 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10614 if test "${lt_cv_dlopen_self+set}" = set; then
   10615   echo $ECHO_N "(cached) $ECHO_C" >&6
   10616 else
   10617   	  if test "$cross_compiling" = yes; then :
   10618   lt_cv_dlopen_self=cross
   10619 else
   10620   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10621   lt_status=$lt_dlunknown
   10622   cat > conftest.$ac_ext <<EOF
   10623 #line 10623 "configure"
   10624 #include "confdefs.h"
   10625 
   10626 #if HAVE_DLFCN_H
   10627 #include <dlfcn.h>
   10628 #endif
   10629 
   10630 #include <stdio.h>
   10631 
   10632 #ifdef RTLD_GLOBAL
   10633 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10634 #else
   10635 #  ifdef DL_GLOBAL
   10636 #    define LT_DLGLOBAL		DL_GLOBAL
   10637 #  else
   10638 #    define LT_DLGLOBAL		0
   10639 #  endif
   10640 #endif
   10641 
   10642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10643    find out it does not work in some platform. */
   10644 #ifndef LT_DLLAZY_OR_NOW
   10645 #  ifdef RTLD_LAZY
   10646 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10647 #  else
   10648 #    ifdef DL_LAZY
   10649 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10650 #    else
   10651 #      ifdef RTLD_NOW
   10652 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10653 #      else
   10654 #        ifdef DL_NOW
   10655 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10656 #        else
   10657 #          define LT_DLLAZY_OR_NOW	0
   10658 #        endif
   10659 #      endif
   10660 #    endif
   10661 #  endif
   10662 #endif
   10663 
   10664 #ifdef __cplusplus
   10665 extern "C" void exit (int);
   10666 #endif
   10667 
   10668 void fnord() { int i=42;}
   10669 int main ()
   10670 {
   10671   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10672   int status = $lt_dlunknown;
   10673 
   10674   if (self)
   10675     {
   10676       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10677       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10678       /* dlclose (self); */
   10679     }
   10680   else
   10681     puts (dlerror ());
   10682 
   10683     exit (status);
   10684 }
   10685 EOF
   10686   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10687   (eval $ac_link) 2>&5
   10688   ac_status=$?
   10689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10690   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10691     (./conftest; exit; ) >&5 2>/dev/null
   10692     lt_status=$?
   10693     case x$lt_status in
   10694       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10695       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10696       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10697     esac
   10698   else :
   10699     # compilation failed
   10700     lt_cv_dlopen_self=no
   10701   fi
   10702 fi
   10703 rm -fr conftest*
   10704 
   10705 
   10706 fi
   10707 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10708 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10709 
   10710     if test "x$lt_cv_dlopen_self" = xyes; then
   10711       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10712       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10713 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10714 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10715   echo $ECHO_N "(cached) $ECHO_C" >&6
   10716 else
   10717   	  if test "$cross_compiling" = yes; then :
   10718   lt_cv_dlopen_self_static=cross
   10719 else
   10720   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10721   lt_status=$lt_dlunknown
   10722   cat > conftest.$ac_ext <<EOF
   10723 #line 10723 "configure"
   10724 #include "confdefs.h"
   10725 
   10726 #if HAVE_DLFCN_H
   10727 #include <dlfcn.h>
   10728 #endif
   10729 
   10730 #include <stdio.h>
   10731 
   10732 #ifdef RTLD_GLOBAL
   10733 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10734 #else
   10735 #  ifdef DL_GLOBAL
   10736 #    define LT_DLGLOBAL		DL_GLOBAL
   10737 #  else
   10738 #    define LT_DLGLOBAL		0
   10739 #  endif
   10740 #endif
   10741 
   10742 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10743    find out it does not work in some platform. */
   10744 #ifndef LT_DLLAZY_OR_NOW
   10745 #  ifdef RTLD_LAZY
   10746 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10747 #  else
   10748 #    ifdef DL_LAZY
   10749 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10750 #    else
   10751 #      ifdef RTLD_NOW
   10752 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10753 #      else
   10754 #        ifdef DL_NOW
   10755 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10756 #        else
   10757 #          define LT_DLLAZY_OR_NOW	0
   10758 #        endif
   10759 #      endif
   10760 #    endif
   10761 #  endif
   10762 #endif
   10763 
   10764 #ifdef __cplusplus
   10765 extern "C" void exit (int);
   10766 #endif
   10767 
   10768 void fnord() { int i=42;}
   10769 int main ()
   10770 {
   10771   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10772   int status = $lt_dlunknown;
   10773 
   10774   if (self)
   10775     {
   10776       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10777       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10778       /* dlclose (self); */
   10779     }
   10780   else
   10781     puts (dlerror ());
   10782 
   10783     exit (status);
   10784 }
   10785 EOF
   10786   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10787   (eval $ac_link) 2>&5
   10788   ac_status=$?
   10789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10790   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10791     (./conftest; exit; ) >&5 2>/dev/null
   10792     lt_status=$?
   10793     case x$lt_status in
   10794       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10795       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10796       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10797     esac
   10798   else :
   10799     # compilation failed
   10800     lt_cv_dlopen_self_static=no
   10801   fi
   10802 fi
   10803 rm -fr conftest*
   10804 
   10805 
   10806 fi
   10807 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10808 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10809     fi
   10810 
   10811     CPPFLAGS="$save_CPPFLAGS"
   10812     LDFLAGS="$save_LDFLAGS"
   10813     LIBS="$save_LIBS"
   10814     ;;
   10815   esac
   10816 
   10817   case $lt_cv_dlopen_self in
   10818   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10819   *) enable_dlopen_self=unknown ;;
   10820   esac
   10821 
   10822   case $lt_cv_dlopen_self_static in
   10823   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10824   *) enable_dlopen_self_static=unknown ;;
   10825   esac
   10826 fi
   10827 
   10828 
   10829 # Report which library types will actually be built
   10830 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10831 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10832 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10833 echo "${ECHO_T}$can_build_shared" >&6; }
   10834 
   10835 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10836 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10837 test "$can_build_shared" = "no" && enable_shared=no
   10838 
   10839 # On AIX, shared libraries and static libraries use the same namespace, and
   10840 # are all built from PIC.
   10841 case $host_os in
   10842 aix3*)
   10843   test "$enable_shared" = yes && enable_static=no
   10844   if test -n "$RANLIB"; then
   10845     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10846     postinstall_cmds='$RANLIB $lib'
   10847   fi
   10848   ;;
   10849 
   10850 aix4* | aix5*)
   10851   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10852     test "$enable_shared" = yes && enable_static=no
   10853   fi
   10854     ;;
   10855 esac
   10856 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10857 echo "${ECHO_T}$enable_shared" >&6; }
   10858 
   10859 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10860 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10861 # Make sure either enable_shared or enable_static is yes.
   10862 test "$enable_shared" = yes || enable_static=yes
   10863 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10864 echo "${ECHO_T}$enable_static" >&6; }
   10865 
   10866 # The else clause should only fire when bootstrapping the
   10867 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10868 # with your package, and you will get complaints that there are
   10869 # no rules to generate ltmain.sh.
   10870 if test -f "$ltmain"; then
   10871   # See if we are running on zsh, and set the options which allow our commands through
   10872   # without removal of \ escapes.
   10873   if test -n "${ZSH_VERSION+set}" ; then
   10874     setopt NO_GLOB_SUBST
   10875   fi
   10876   # Now quote all the things that may contain metacharacters while being
   10877   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10878   # variables and quote the copies for generation of the libtool script.
   10879   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10880     SED SHELL STRIP \
   10881     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10882     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10883     deplibs_check_method reload_flag reload_cmds need_locks \
   10884     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10885     lt_cv_sys_global_symbol_to_c_name_address \
   10886     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10887     old_postinstall_cmds old_postuninstall_cmds \
   10888     compiler \
   10889     CC \
   10890     LD \
   10891     lt_prog_compiler_wl \
   10892     lt_prog_compiler_pic \
   10893     lt_prog_compiler_static \
   10894     lt_prog_compiler_no_builtin_flag \
   10895     export_dynamic_flag_spec \
   10896     thread_safe_flag_spec \
   10897     whole_archive_flag_spec \
   10898     enable_shared_with_static_runtimes \
   10899     old_archive_cmds \
   10900     old_archive_from_new_cmds \
   10901     predep_objects \
   10902     postdep_objects \
   10903     predeps \
   10904     postdeps \
   10905     compiler_lib_search_path \
   10906     archive_cmds \
   10907     archive_expsym_cmds \
   10908     postinstall_cmds \
   10909     postuninstall_cmds \
   10910     old_archive_from_expsyms_cmds \
   10911     allow_undefined_flag \
   10912     no_undefined_flag \
   10913     export_symbols_cmds \
   10914     hardcode_libdir_flag_spec \
   10915     hardcode_libdir_flag_spec_ld \
   10916     hardcode_libdir_separator \
   10917     hardcode_automatic \
   10918     module_cmds \
   10919     module_expsym_cmds \
   10920     lt_cv_prog_compiler_c_o \
   10921     exclude_expsyms \
   10922     include_expsyms; do
   10923 
   10924     case $var in
   10925     old_archive_cmds | \
   10926     old_archive_from_new_cmds | \
   10927     archive_cmds | \
   10928     archive_expsym_cmds | \
   10929     module_cmds | \
   10930     module_expsym_cmds | \
   10931     old_archive_from_expsyms_cmds | \
   10932     export_symbols_cmds | \
   10933     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10934     postinstall_cmds | postuninstall_cmds | \
   10935     old_postinstall_cmds | old_postuninstall_cmds | \
   10936     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10937       # Double-quote double-evaled strings.
   10938       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10939       ;;
   10940     *)
   10941       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10942       ;;
   10943     esac
   10944   done
   10945 
   10946   case $lt_echo in
   10947   *'\$0 --fallback-echo"')
   10948     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10949     ;;
   10950   esac
   10951 
   10952 cfgfile="${ofile}T"
   10953   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10954   $rm -f "$cfgfile"
   10955   { echo "$as_me:$LINENO: creating $ofile" >&5
   10956 echo "$as_me: creating $ofile" >&6;}
   10957 
   10958   cat <<__EOF__ >> "$cfgfile"
   10959 #! $SHELL
   10960 
   10961 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10962 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10963 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10964 #
   10965 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10966 # Free Software Foundation, Inc.
   10967 #
   10968 # This file is part of GNU Libtool:
   10969 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10970 #
   10971 # This program is free software; you can redistribute it and/or modify
   10972 # it under the terms of the GNU General Public License as published by
   10973 # the Free Software Foundation; either version 2 of the License, or
   10974 # (at your option) any later version.
   10975 #
   10976 # This program is distributed in the hope that it will be useful, but
   10977 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10978 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10979 # General Public License for more details.
   10980 #
   10981 # You should have received a copy of the GNU General Public License
   10982 # along with this program; if not, write to the Free Software
   10983 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10984 #
   10985 # As a special exception to the GNU General Public License, if you
   10986 # distribute this file as part of a program that contains a
   10987 # configuration script generated by Autoconf, you may include it under
   10988 # the same distribution terms that you use for the rest of that program.
   10989 
   10990 # A sed program that does not truncate output.
   10991 SED=$lt_SED
   10992 
   10993 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10994 Xsed="$SED -e 1s/^X//"
   10995 
   10996 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10997 # if CDPATH is set.
   10998 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10999 
   11000 # The names of the tagged configurations supported by this script.
   11001 available_tags=
   11002 
   11003 # ### BEGIN LIBTOOL CONFIG
   11004 
   11005 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   11006 
   11007 # Shell to use when invoking shell scripts.
   11008 SHELL=$lt_SHELL
   11009 
   11010 # Whether or not to build shared libraries.
   11011 build_libtool_libs=$enable_shared
   11012 
   11013 # Whether or not to build static libraries.
   11014 build_old_libs=$enable_static
   11015 
   11016 # Whether or not to add -lc for building shared libraries.
   11017 build_libtool_need_lc=$archive_cmds_need_lc
   11018 
   11019 # Whether or not to disallow shared libs when runtime libs are static
   11020 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   11021 
   11022 # Whether or not to optimize for fast installation.
   11023 fast_install=$enable_fast_install
   11024 
   11025 # The host system.
   11026 host_alias=$host_alias
   11027 host=$host
   11028 host_os=$host_os
   11029 
   11030 # The build system.
   11031 build_alias=$build_alias
   11032 build=$build
   11033 build_os=$build_os
   11034 
   11035 # An echo program that does not interpret backslashes.
   11036 echo=$lt_echo
   11037 
   11038 # The archiver.
   11039 AR=$lt_AR
   11040 AR_FLAGS=$lt_AR_FLAGS
   11041 
   11042 # A C compiler.
   11043 LTCC=$lt_LTCC
   11044 
   11045 # LTCC compiler flags.
   11046 LTCFLAGS=$lt_LTCFLAGS
   11047 
   11048 # A language-specific compiler.
   11049 CC=$lt_compiler
   11050 
   11051 # Is the compiler the GNU C compiler?
   11052 with_gcc=$GCC
   11053 
   11054 # An ERE matcher.
   11055 EGREP=$lt_EGREP
   11056 
   11057 # The linker used to build libraries.
   11058 LD=$lt_LD
   11059 
   11060 # Whether we need hard or soft links.
   11061 LN_S=$lt_LN_S
   11062 
   11063 # A BSD-compatible nm program.
   11064 NM=$lt_NM
   11065 
   11066 # A symbol stripping program
   11067 STRIP=$lt_STRIP
   11068 
   11069 # Used to examine libraries when file_magic_cmd begins "file"
   11070 MAGIC_CMD=$MAGIC_CMD
   11071 
   11072 # Used on cygwin: DLL creation program.
   11073 DLLTOOL="$DLLTOOL"
   11074 
   11075 # Used on cygwin: object dumper.
   11076 OBJDUMP="$OBJDUMP"
   11077 
   11078 # Used on cygwin: assembler.
   11079 AS="$AS"
   11080 
   11081 # The name of the directory that contains temporary libtool files.
   11082 objdir=$objdir
   11083 
   11084 # How to create reloadable object files.
   11085 reload_flag=$lt_reload_flag
   11086 reload_cmds=$lt_reload_cmds
   11087 
   11088 # How to pass a linker flag through the compiler.
   11089 wl=$lt_lt_prog_compiler_wl
   11090 
   11091 # Object file suffix (normally "o").
   11092 objext="$ac_objext"
   11093 
   11094 # Old archive suffix (normally "a").
   11095 libext="$libext"
   11096 
   11097 # Shared library suffix (normally ".so").
   11098 shrext_cmds='$shrext_cmds'
   11099 
   11100 # Executable file suffix (normally "").
   11101 exeext="$exeext"
   11102 
   11103 # Additional compiler flags for building library objects.
   11104 pic_flag=$lt_lt_prog_compiler_pic
   11105 pic_mode=$pic_mode
   11106 
   11107 # What is the maximum length of a command?
   11108 max_cmd_len=$lt_cv_sys_max_cmd_len
   11109 
   11110 # Does compiler simultaneously support -c and -o options?
   11111 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   11112 
   11113 # Must we lock files when doing compilation?
   11114 need_locks=$lt_need_locks
   11115 
   11116 # Do we need the lib prefix for modules?
   11117 need_lib_prefix=$need_lib_prefix
   11118 
   11119 # Do we need a version for libraries?
   11120 need_version=$need_version
   11121 
   11122 # Whether dlopen is supported.
   11123 dlopen_support=$enable_dlopen
   11124 
   11125 # Whether dlopen of programs is supported.
   11126 dlopen_self=$enable_dlopen_self
   11127 
   11128 # Whether dlopen of statically linked programs is supported.
   11129 dlopen_self_static=$enable_dlopen_self_static
   11130 
   11131 # Compiler flag to prevent dynamic linking.
   11132 link_static_flag=$lt_lt_prog_compiler_static
   11133 
   11134 # Compiler flag to turn off builtin functions.
   11135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   11136 
   11137 # Compiler flag to allow reflexive dlopens.
   11138 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   11139 
   11140 # Compiler flag to generate shared objects directly from archives.
   11141 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   11142 
   11143 # Compiler flag to generate thread-safe objects.
   11144 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   11145 
   11146 # Library versioning type.
   11147 version_type=$version_type
   11148 
   11149 # Format of library name prefix.
   11150 libname_spec=$lt_libname_spec
   11151 
   11152 # List of archive names.  First name is the real one, the rest are links.
   11153 # The last name is the one that the linker finds with -lNAME.
   11154 library_names_spec=$lt_library_names_spec
   11155 
   11156 # The coded name of the library, if different from the real name.
   11157 soname_spec=$lt_soname_spec
   11158 
   11159 # Commands used to build and install an old-style archive.
   11160 RANLIB=$lt_RANLIB
   11161 old_archive_cmds=$lt_old_archive_cmds
   11162 old_postinstall_cmds=$lt_old_postinstall_cmds
   11163 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11164 
   11165 # Create an old-style archive from a shared archive.
   11166 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11167 
   11168 # Create a temporary old-style archive to link instead of a shared archive.
   11169 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11170 
   11171 # Commands used to build and install a shared archive.
   11172 archive_cmds=$lt_archive_cmds
   11173 archive_expsym_cmds=$lt_archive_expsym_cmds
   11174 postinstall_cmds=$lt_postinstall_cmds
   11175 postuninstall_cmds=$lt_postuninstall_cmds
   11176 
   11177 # Commands used to build a loadable module (assumed same as above if empty)
   11178 module_cmds=$lt_module_cmds
   11179 module_expsym_cmds=$lt_module_expsym_cmds
   11180 
   11181 # Commands to strip libraries.
   11182 old_striplib=$lt_old_striplib
   11183 striplib=$lt_striplib
   11184 
   11185 # Dependencies to place before the objects being linked to create a
   11186 # shared library.
   11187 predep_objects=$lt_predep_objects
   11188 
   11189 # Dependencies to place after the objects being linked to create a
   11190 # shared library.
   11191 postdep_objects=$lt_postdep_objects
   11192 
   11193 # Dependencies to place before the objects being linked to create a
   11194 # shared library.
   11195 predeps=$lt_predeps
   11196 
   11197 # Dependencies to place after the objects being linked to create a
   11198 # shared library.
   11199 postdeps=$lt_postdeps
   11200 
   11201 # The library search path used internally by the compiler when linking
   11202 # a shared library.
   11203 compiler_lib_search_path=$lt_compiler_lib_search_path
   11204 
   11205 # Method to check whether dependent libraries are shared objects.
   11206 deplibs_check_method=$lt_deplibs_check_method
   11207 
   11208 # Command to use when deplibs_check_method == file_magic.
   11209 file_magic_cmd=$lt_file_magic_cmd
   11210 
   11211 # Flag that allows shared libraries with undefined symbols to be built.
   11212 allow_undefined_flag=$lt_allow_undefined_flag
   11213 
   11214 # Flag that forces no undefined symbols.
   11215 no_undefined_flag=$lt_no_undefined_flag
   11216 
   11217 # Commands used to finish a libtool library installation in a directory.
   11218 finish_cmds=$lt_finish_cmds
   11219 
   11220 # Same as above, but a single script fragment to be evaled but not shown.
   11221 finish_eval=$lt_finish_eval
   11222 
   11223 # Take the output of nm and produce a listing of raw symbols and C names.
   11224 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11225 
   11226 # Transform the output of nm in a proper C declaration
   11227 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11228 
   11229 # Transform the output of nm in a C name address pair
   11230 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11231 
   11232 # This is the shared library runtime path variable.
   11233 runpath_var=$runpath_var
   11234 
   11235 # This is the shared library path variable.
   11236 shlibpath_var=$shlibpath_var
   11237 
   11238 # Is shlibpath searched before the hard-coded library search path?
   11239 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11240 
   11241 # How to hardcode a shared library path into an executable.
   11242 hardcode_action=$hardcode_action
   11243 
   11244 # Whether we should hardcode library paths into libraries.
   11245 hardcode_into_libs=$hardcode_into_libs
   11246 
   11247 # Flag to hardcode \$libdir into a binary during linking.
   11248 # This must work even if \$libdir does not exist.
   11249 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11250 
   11251 # If ld is used when linking, flag to hardcode \$libdir into
   11252 # a binary during linking. This must work even if \$libdir does
   11253 # not exist.
   11254 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11255 
   11256 # Whether we need a single -rpath flag with a separated argument.
   11257 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11258 
   11259 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11260 # resulting binary.
   11261 hardcode_direct=$hardcode_direct
   11262 
   11263 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11264 # resulting binary.
   11265 hardcode_minus_L=$hardcode_minus_L
   11266 
   11267 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11268 # the resulting binary.
   11269 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11270 
   11271 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11272 # and all subsequent libraries and executables linked against it.
   11273 hardcode_automatic=$hardcode_automatic
   11274 
   11275 # Variables whose values should be saved in libtool wrapper scripts and
   11276 # restored at relink time.
   11277 variables_saved_for_relink="$variables_saved_for_relink"
   11278 
   11279 # Whether libtool must link a program against all its dependency libraries.
   11280 link_all_deplibs=$link_all_deplibs
   11281 
   11282 # Compile-time system search path for libraries
   11283 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11284 
   11285 # Run-time system search path for libraries
   11286 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11287 
   11288 # Fix the shell variable \$srcfile for the compiler.
   11289 fix_srcfile_path="$fix_srcfile_path"
   11290 
   11291 # Set to yes if exported symbols are required.
   11292 always_export_symbols=$always_export_symbols
   11293 
   11294 # The commands to list exported symbols.
   11295 export_symbols_cmds=$lt_export_symbols_cmds
   11296 
   11297 # The commands to extract the exported symbol list from a shared archive.
   11298 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11299 
   11300 # Symbols that should not be listed in the preloaded symbols.
   11301 exclude_expsyms=$lt_exclude_expsyms
   11302 
   11303 # Symbols that must always be exported.
   11304 include_expsyms=$lt_include_expsyms
   11305 
   11306 # ### END LIBTOOL CONFIG
   11307 
   11308 __EOF__
   11309 
   11310 
   11311   case $host_os in
   11312   aix3*)
   11313     cat <<\EOF >> "$cfgfile"
   11314 
   11315 # AIX sometimes has problems with the GCC collect2 program.  For some
   11316 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11317 # vanish in a puff of smoke.
   11318 if test "X${COLLECT_NAMES+set}" != Xset; then
   11319   COLLECT_NAMES=
   11320   export COLLECT_NAMES
   11321 fi
   11322 EOF
   11323     ;;
   11324   esac
   11325 
   11326   # We use sed instead of cat because bash on DJGPP gets confused if
   11327   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11328   # text mode, it properly converts lines to CR/LF.  This bash problem
   11329   # is reportedly fixed, but why not run on old versions too?
   11330   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11331 
   11332   mv -f "$cfgfile" "$ofile" || \
   11333     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11334   chmod +x "$ofile"
   11335 
   11336 else
   11337   # If there is no Makefile yet, we rely on a make rule to execute
   11338   # `config.status --recheck' to rerun these tests and create the
   11339   # libtool script then.
   11340   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11341   if test -f "$ltmain_in"; then
   11342     test -f Makefile && make "$ltmain"
   11343   fi
   11344 fi
   11345 
   11346 
   11347 ac_ext=c
   11348 ac_cpp='$CPP $CPPFLAGS'
   11349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11352 
   11353 CC="$lt_save_CC"
   11354 
   11355 
   11356 # Check whether --with-tags was given.
   11357 if test "${with_tags+set}" = set; then
   11358   withval=$with_tags; tagnames="$withval"
   11359 fi
   11360 
   11361 
   11362 if test -f "$ltmain" && test -n "$tagnames"; then
   11363   if test ! -f "${ofile}"; then
   11364     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11365 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11366   fi
   11367 
   11368   if test -z "$LTCC"; then
   11369     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11370     if test -z "$LTCC"; then
   11371       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11372 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11373     else
   11374       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11375 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11376     fi
   11377   fi
   11378   if test -z "$LTCFLAGS"; then
   11379     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11380   fi
   11381 
   11382   # Extract list of available tagged configurations in $ofile.
   11383   # Note that this assumes the entire list is on one line.
   11384   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11385 
   11386   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11387   for tagname in $tagnames; do
   11388     IFS="$lt_save_ifs"
   11389     # Check whether tagname contains only valid characters
   11390     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11391     "") ;;
   11392     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11393 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11394    { (exit 1); exit 1; }; }
   11395 	;;
   11396     esac
   11397 
   11398     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11399     then
   11400       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11401 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11402    { (exit 1); exit 1; }; }
   11403     fi
   11404 
   11405     # Update the list of available tags.
   11406     if test -n "$tagname"; then
   11407       echo appending configuration tag \"$tagname\" to $ofile
   11408 
   11409       case $tagname in
   11410       CXX)
   11411 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11412 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11413 	    (test "X$CXX" != "Xg++"))) ; then
   11414 	  ac_ext=cpp
   11415 ac_cpp='$CXXCPP $CPPFLAGS'
   11416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11419 
   11420 
   11421 
   11422 
   11423 archive_cmds_need_lc_CXX=no
   11424 allow_undefined_flag_CXX=
   11425 always_export_symbols_CXX=no
   11426 archive_expsym_cmds_CXX=
   11427 export_dynamic_flag_spec_CXX=
   11428 hardcode_direct_CXX=no
   11429 hardcode_libdir_flag_spec_CXX=
   11430 hardcode_libdir_flag_spec_ld_CXX=
   11431 hardcode_libdir_separator_CXX=
   11432 hardcode_minus_L_CXX=no
   11433 hardcode_shlibpath_var_CXX=unsupported
   11434 hardcode_automatic_CXX=no
   11435 module_cmds_CXX=
   11436 module_expsym_cmds_CXX=
   11437 link_all_deplibs_CXX=unknown
   11438 old_archive_cmds_CXX=$old_archive_cmds
   11439 no_undefined_flag_CXX=
   11440 whole_archive_flag_spec_CXX=
   11441 enable_shared_with_static_runtimes_CXX=no
   11442 
   11443 # Dependencies to place before and after the object being linked:
   11444 predep_objects_CXX=
   11445 postdep_objects_CXX=
   11446 predeps_CXX=
   11447 postdeps_CXX=
   11448 compiler_lib_search_path_CXX=
   11449 
   11450 # Source file extension for C++ test sources.
   11451 ac_ext=cpp
   11452 
   11453 # Object file extension for compiled C++ test sources.
   11454 objext=o
   11455 objext_CXX=$objext
   11456 
   11457 # Code to be used in simple compile tests
   11458 lt_simple_compile_test_code="int some_variable = 0;\n"
   11459 
   11460 # Code to be used in simple link tests
   11461 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   11462 
   11463 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11464 
   11465 # If no C compiler was specified, use CC.
   11466 LTCC=${LTCC-"$CC"}
   11467 
   11468 # If no C compiler flags were specified, use CFLAGS.
   11469 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11470 
   11471 # Allow CC to be a program name with arguments.
   11472 compiler=$CC
   11473 
   11474 
   11475 # save warnings/boilerplate of simple test code
   11476 ac_outfile=conftest.$ac_objext
   11477 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   11478 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11479 _lt_compiler_boilerplate=`cat conftest.err`
   11480 $rm conftest*
   11481 
   11482 ac_outfile=conftest.$ac_objext
   11483 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   11484 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11485 _lt_linker_boilerplate=`cat conftest.err`
   11486 $rm conftest*
   11487 
   11488 
   11489 # Allow CC to be a program name with arguments.
   11490 lt_save_CC=$CC
   11491 lt_save_LD=$LD
   11492 lt_save_GCC=$GCC
   11493 GCC=$GXX
   11494 lt_save_with_gnu_ld=$with_gnu_ld
   11495 lt_save_path_LD=$lt_cv_path_LD
   11496 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11497   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11498 else
   11499   $as_unset lt_cv_prog_gnu_ld
   11500 fi
   11501 if test -n "${lt_cv_path_LDCXX+set}"; then
   11502   lt_cv_path_LD=$lt_cv_path_LDCXX
   11503 else
   11504   $as_unset lt_cv_path_LD
   11505 fi
   11506 test -z "${LDCXX+set}" || LD=$LDCXX
   11507 CC=${CXX-"c++"}
   11508 compiler=$CC
   11509 compiler_CXX=$CC
   11510 for cc_temp in $compiler""; do
   11511   case $cc_temp in
   11512     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11513     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11514     \-*) ;;
   11515     *) break;;
   11516   esac
   11517 done
   11518 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11519 
   11520 
   11521 # We don't want -fno-exception wen compiling C++ code, so set the
   11522 # no_builtin_flag separately
   11523 if test "$GXX" = yes; then
   11524   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11525 else
   11526   lt_prog_compiler_no_builtin_flag_CXX=
   11527 fi
   11528 
   11529 if test "$GXX" = yes; then
   11530   # Set up default GNU C++ configuration
   11531 
   11532 
   11533 # Check whether --with-gnu-ld was given.
   11534 if test "${with_gnu_ld+set}" = set; then
   11535   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11536 else
   11537   with_gnu_ld=no
   11538 fi
   11539 
   11540 ac_prog=ld
   11541 if test "$GCC" = yes; then
   11542   # Check if gcc -print-prog-name=ld gives a path.
   11543   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11544 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11545   case $host in
   11546   *-*-mingw*)
   11547     # gcc leaves a trailing carriage return which upsets mingw
   11548     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11549   *)
   11550     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11551   esac
   11552   case $ac_prog in
   11553     # Accept absolute paths.
   11554     [\\/]* | ?:[\\/]*)
   11555       re_direlt='/[^/][^/]*/\.\./'
   11556       # Canonicalize the pathname of ld
   11557       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11558       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11559 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11560       done
   11561       test -z "$LD" && LD="$ac_prog"
   11562       ;;
   11563   "")
   11564     # If it fails, then pretend we aren't using GCC.
   11565     ac_prog=ld
   11566     ;;
   11567   *)
   11568     # If it is relative, then search for the first ld in PATH.
   11569     with_gnu_ld=unknown
   11570     ;;
   11571   esac
   11572 elif test "$with_gnu_ld" = yes; then
   11573   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11574 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11575 else
   11576   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11577 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11578 fi
   11579 if test "${lt_cv_path_LD+set}" = set; then
   11580   echo $ECHO_N "(cached) $ECHO_C" >&6
   11581 else
   11582   if test -z "$LD"; then
   11583   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11584   for ac_dir in $PATH; do
   11585     IFS="$lt_save_ifs"
   11586     test -z "$ac_dir" && ac_dir=.
   11587     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11588       lt_cv_path_LD="$ac_dir/$ac_prog"
   11589       # Check to see if the program is GNU ld.  I'd rather use --version,
   11590       # but apparently some variants of GNU ld only accept -v.
   11591       # Break only if it was the GNU/non-GNU ld that we prefer.
   11592       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11593       *GNU* | *'with BFD'*)
   11594 	test "$with_gnu_ld" != no && break
   11595 	;;
   11596       *)
   11597 	test "$with_gnu_ld" != yes && break
   11598 	;;
   11599       esac
   11600     fi
   11601   done
   11602   IFS="$lt_save_ifs"
   11603 else
   11604   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11605 fi
   11606 fi
   11607 
   11608 LD="$lt_cv_path_LD"
   11609 if test -n "$LD"; then
   11610   { echo "$as_me:$LINENO: result: $LD" >&5
   11611 echo "${ECHO_T}$LD" >&6; }
   11612 else
   11613   { echo "$as_me:$LINENO: result: no" >&5
   11614 echo "${ECHO_T}no" >&6; }
   11615 fi
   11616 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11617 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11618    { (exit 1); exit 1; }; }
   11619 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11620 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11621 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11622   echo $ECHO_N "(cached) $ECHO_C" >&6
   11623 else
   11624   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11625 case `$LD -v 2>&1 </dev/null` in
   11626 *GNU* | *'with BFD'*)
   11627   lt_cv_prog_gnu_ld=yes
   11628   ;;
   11629 *)
   11630   lt_cv_prog_gnu_ld=no
   11631   ;;
   11632 esac
   11633 fi
   11634 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11635 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11636 with_gnu_ld=$lt_cv_prog_gnu_ld
   11637 
   11638 
   11639 
   11640   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11641   # archiving commands below assume that GNU ld is being used.
   11642   if test "$with_gnu_ld" = yes; then
   11643     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11644     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'
   11645 
   11646     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11647     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11648 
   11649     # If archive_cmds runs LD, not CC, wlarc should be empty
   11650     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11651     #     investigate it a little bit more. (MM)
   11652     wlarc='${wl}'
   11653 
   11654     # ancient GNU ld didn't support --whole-archive et. al.
   11655     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11656 	grep 'no-whole-archive' > /dev/null; then
   11657       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11658     else
   11659       whole_archive_flag_spec_CXX=
   11660     fi
   11661   else
   11662     with_gnu_ld=no
   11663     wlarc=
   11664 
   11665     # A generic and very simple default shared library creation
   11666     # command for GNU C++ for the case where it uses the native
   11667     # linker, instead of GNU ld.  If possible, this setting should
   11668     # overridden to take advantage of the native linker features on
   11669     # the platform it is being used on.
   11670     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11671   fi
   11672 
   11673   # Commands to make compiler produce verbose output that lists
   11674   # what "hidden" libraries, object files and flags are used when
   11675   # linking a shared library.
   11676   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11677 
   11678 else
   11679   GXX=no
   11680   with_gnu_ld=no
   11681   wlarc=
   11682 fi
   11683 
   11684 # PORTME: fill in a description of your system's C++ link characteristics
   11685 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11686 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11687 ld_shlibs_CXX=yes
   11688 case $host_os in
   11689   aix3*)
   11690     # FIXME: insert proper C++ library support
   11691     ld_shlibs_CXX=no
   11692     ;;
   11693   aix4* | aix5*)
   11694     if test "$host_cpu" = ia64; then
   11695       # On IA64, the linker does run time linking by default, so we don't
   11696       # have to do anything special.
   11697       aix_use_runtimelinking=no
   11698       exp_sym_flag='-Bexport'
   11699       no_entry_flag=""
   11700     else
   11701       aix_use_runtimelinking=no
   11702 
   11703       # Test if we are trying to use run time linking or normal
   11704       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11705       # need to do runtime linking.
   11706       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   11707 	for ld_flag in $LDFLAGS; do
   11708 	  case $ld_flag in
   11709 	  *-brtl*)
   11710 	    aix_use_runtimelinking=yes
   11711 	    break
   11712 	    ;;
   11713 	  esac
   11714 	done
   11715 	;;
   11716       esac
   11717 
   11718       exp_sym_flag='-bexport'
   11719       no_entry_flag='-bnoentry'
   11720     fi
   11721 
   11722     # When large executables or shared objects are built, AIX ld can
   11723     # have problems creating the table of contents.  If linking a library
   11724     # or program results in "error TOC overflow" add -mminimal-toc to
   11725     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11726     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11727 
   11728     archive_cmds_CXX=''
   11729     hardcode_direct_CXX=yes
   11730     hardcode_libdir_separator_CXX=':'
   11731     link_all_deplibs_CXX=yes
   11732 
   11733     if test "$GXX" = yes; then
   11734       case $host_os in aix4.[012]|aix4.[012].*)
   11735       # We only want to do this on AIX 4.2 and lower, the check
   11736       # below for broken collect2 doesn't work under 4.3+
   11737 	collect2name=`${CC} -print-prog-name=collect2`
   11738 	if test -f "$collect2name" && \
   11739 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11740 	then
   11741 	  # We have reworked collect2
   11742 	  hardcode_direct_CXX=yes
   11743 	else
   11744 	  # We have old collect2
   11745 	  hardcode_direct_CXX=unsupported
   11746 	  # It fails to find uninstalled libraries when the uninstalled
   11747 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11748 	  # to unsupported forces relinking
   11749 	  hardcode_minus_L_CXX=yes
   11750 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11751 	  hardcode_libdir_separator_CXX=
   11752 	fi
   11753 	;;
   11754       esac
   11755       shared_flag='-shared'
   11756       if test "$aix_use_runtimelinking" = yes; then
   11757 	shared_flag="$shared_flag "'${wl}-G'
   11758       fi
   11759     else
   11760       # not using gcc
   11761       if test "$host_cpu" = ia64; then
   11762 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11763 	# chokes on -Wl,-G. The following line is correct:
   11764 	shared_flag='-G'
   11765       else
   11766 	if test "$aix_use_runtimelinking" = yes; then
   11767 	  shared_flag='${wl}-G'
   11768 	else
   11769 	  shared_flag='${wl}-bM:SRE'
   11770 	fi
   11771       fi
   11772     fi
   11773 
   11774     # It seems that -bexpall does not export symbols beginning with
   11775     # underscore (_), so it is better to generate a list of symbols to export.
   11776     always_export_symbols_CXX=yes
   11777     if test "$aix_use_runtimelinking" = yes; then
   11778       # Warning - without using the other runtime loading flags (-brtl),
   11779       # -berok will link without error, but may produce a broken library.
   11780       allow_undefined_flag_CXX='-berok'
   11781       # Determine the default libpath from the value encoded in an empty executable.
   11782       cat >conftest.$ac_ext <<_ACEOF
   11783 /* confdefs.h.  */
   11784 _ACEOF
   11785 cat confdefs.h >>conftest.$ac_ext
   11786 cat >>conftest.$ac_ext <<_ACEOF
   11787 /* end confdefs.h.  */
   11788 
   11789 int
   11790 main ()
   11791 {
   11792 
   11793   ;
   11794   return 0;
   11795 }
   11796 _ACEOF
   11797 rm -f conftest.$ac_objext conftest$ac_exeext
   11798 if { (ac_try="$ac_link"
   11799 case "(($ac_try" in
   11800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11801   *) ac_try_echo=$ac_try;;
   11802 esac
   11803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11804   (eval "$ac_link") 2>conftest.er1
   11805   ac_status=$?
   11806   grep -v '^ *+' conftest.er1 >conftest.err
   11807   rm -f conftest.er1
   11808   cat conftest.err >&5
   11809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11810   (exit $ac_status); } &&
   11811 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   11812   { (case "(($ac_try" in
   11813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11814   *) ac_try_echo=$ac_try;;
   11815 esac
   11816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11817   (eval "$ac_try") 2>&5
   11818   ac_status=$?
   11819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11820   (exit $ac_status); }; } &&
   11821 	 { ac_try='test -s conftest$ac_exeext'
   11822   { (case "(($ac_try" in
   11823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11824   *) ac_try_echo=$ac_try;;
   11825 esac
   11826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11827   (eval "$ac_try") 2>&5
   11828   ac_status=$?
   11829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11830   (exit $ac_status); }; }; then
   11831 
   11832 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11833 }'`
   11834 # Check for a 64-bit object if we didn't find anything.
   11835 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; }
   11836 }'`; fi
   11837 else
   11838   echo "$as_me: failed program was:" >&5
   11839 sed 's/^/| /' conftest.$ac_ext >&5
   11840 
   11841 
   11842 fi
   11843 
   11844 rm -f core conftest.err conftest.$ac_objext \
   11845       conftest$ac_exeext conftest.$ac_ext
   11846 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11847 
   11848       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11849 
   11850       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"
   11851      else
   11852       if test "$host_cpu" = ia64; then
   11853 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11854 	allow_undefined_flag_CXX="-z nodefs"
   11855 	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"
   11856       else
   11857 	# Determine the default libpath from the value encoded in an empty executable.
   11858 	cat >conftest.$ac_ext <<_ACEOF
   11859 /* confdefs.h.  */
   11860 _ACEOF
   11861 cat confdefs.h >>conftest.$ac_ext
   11862 cat >>conftest.$ac_ext <<_ACEOF
   11863 /* end confdefs.h.  */
   11864 
   11865 int
   11866 main ()
   11867 {
   11868 
   11869   ;
   11870   return 0;
   11871 }
   11872 _ACEOF
   11873 rm -f conftest.$ac_objext conftest$ac_exeext
   11874 if { (ac_try="$ac_link"
   11875 case "(($ac_try" in
   11876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11877   *) ac_try_echo=$ac_try;;
   11878 esac
   11879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11880   (eval "$ac_link") 2>conftest.er1
   11881   ac_status=$?
   11882   grep -v '^ *+' conftest.er1 >conftest.err
   11883   rm -f conftest.er1
   11884   cat conftest.err >&5
   11885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11886   (exit $ac_status); } &&
   11887 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   11888   { (case "(($ac_try" in
   11889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11890   *) ac_try_echo=$ac_try;;
   11891 esac
   11892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11893   (eval "$ac_try") 2>&5
   11894   ac_status=$?
   11895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11896   (exit $ac_status); }; } &&
   11897 	 { ac_try='test -s conftest$ac_exeext'
   11898   { (case "(($ac_try" in
   11899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11900   *) ac_try_echo=$ac_try;;
   11901 esac
   11902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11903   (eval "$ac_try") 2>&5
   11904   ac_status=$?
   11905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11906   (exit $ac_status); }; }; then
   11907 
   11908 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11909 }'`
   11910 # Check for a 64-bit object if we didn't find anything.
   11911 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; }
   11912 }'`; fi
   11913 else
   11914   echo "$as_me: failed program was:" >&5
   11915 sed 's/^/| /' conftest.$ac_ext >&5
   11916 
   11917 
   11918 fi
   11919 
   11920 rm -f core conftest.err conftest.$ac_objext \
   11921       conftest$ac_exeext conftest.$ac_ext
   11922 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11923 
   11924 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11925 	# Warning - without using the other run time loading flags,
   11926 	# -berok will link without error, but may produce a broken library.
   11927 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11928 	allow_undefined_flag_CXX=' ${wl}-berok'
   11929 	# Exported symbols can be pulled into shared objects from archives
   11930 	whole_archive_flag_spec_CXX='$convenience'
   11931 	archive_cmds_need_lc_CXX=yes
   11932 	# This is similar to how AIX traditionally builds its shared libraries.
   11933 	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'
   11934       fi
   11935     fi
   11936     ;;
   11937 
   11938   beos*)
   11939     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11940       allow_undefined_flag_CXX=unsupported
   11941       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11942       # support --undefined.  This deserves some investigation.  FIXME
   11943       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11944     else
   11945       ld_shlibs_CXX=no
   11946     fi
   11947     ;;
   11948 
   11949   chorus*)
   11950     case $cc_basename in
   11951       *)
   11952 	# FIXME: insert proper C++ library support
   11953 	ld_shlibs_CXX=no
   11954 	;;
   11955     esac
   11956     ;;
   11957 
   11958   cygwin* | mingw* | pw32*)
   11959     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11960     # as there is no search path for DLLs.
   11961     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11962     allow_undefined_flag_CXX=unsupported
   11963     always_export_symbols_CXX=no
   11964     enable_shared_with_static_runtimes_CXX=yes
   11965 
   11966     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11967       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'
   11968       # If the export-symbols file already is a .def file (1st line
   11969       # is EXPORTS), use it as is; otherwise, prepend...
   11970       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11971 	cp $export_symbols $output_objdir/$soname.def;
   11972       else
   11973 	echo EXPORTS > $output_objdir/$soname.def;
   11974 	cat $export_symbols >> $output_objdir/$soname.def;
   11975       fi~
   11976       $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'
   11977     else
   11978       ld_shlibs_CXX=no
   11979     fi
   11980   ;;
   11981       darwin* | rhapsody*)
   11982         case $host_os in
   11983         rhapsody* | darwin1.[012])
   11984          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11985          ;;
   11986        *) # Darwin 1.3 on
   11987          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11988            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11989          else
   11990            case ${MACOSX_DEPLOYMENT_TARGET} in
   11991              10.[012])
   11992                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11993                ;;
   11994              10.*)
   11995                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11996                ;;
   11997            esac
   11998          fi
   11999          ;;
   12000         esac
   12001       archive_cmds_need_lc_CXX=no
   12002       hardcode_direct_CXX=no
   12003       hardcode_automatic_CXX=yes
   12004       hardcode_shlibpath_var_CXX=unsupported
   12005       whole_archive_flag_spec_CXX=''
   12006       link_all_deplibs_CXX=yes
   12007 
   12008     if test "$GXX" = yes ; then
   12009       lt_int_apple_cc_single_mod=no
   12010       output_verbose_link_cmd='echo'
   12011       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   12012        lt_int_apple_cc_single_mod=yes
   12013       fi
   12014       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   12015        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   12016       else
   12017           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'
   12018         fi
   12019         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   12020         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   12021           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   12022             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}'
   12023           else
   12024             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}'
   12025           fi
   12026             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}'
   12027       else
   12028       case $cc_basename in
   12029         xlc*)
   12030          output_verbose_link_cmd='echo'
   12031           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'
   12032           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   12033           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   12034           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}'
   12035           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}'
   12036           ;;
   12037        *)
   12038          ld_shlibs_CXX=no
   12039           ;;
   12040       esac
   12041       fi
   12042         ;;
   12043 
   12044   dgux*)
   12045     case $cc_basename in
   12046       ec++*)
   12047 	# FIXME: insert proper C++ library support
   12048 	ld_shlibs_CXX=no
   12049 	;;
   12050       ghcx*)
   12051 	# Green Hills C++ Compiler
   12052 	# FIXME: insert proper C++ library support
   12053 	ld_shlibs_CXX=no
   12054 	;;
   12055       *)
   12056 	# FIXME: insert proper C++ library support
   12057 	ld_shlibs_CXX=no
   12058 	;;
   12059     esac
   12060     ;;
   12061   freebsd[12]*)
   12062     # C++ shared libraries reported to be fairly broken before switch to ELF
   12063     ld_shlibs_CXX=no
   12064     ;;
   12065   freebsd-elf*)
   12066     archive_cmds_need_lc_CXX=no
   12067     ;;
   12068   freebsd* | dragonfly*)
   12069     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   12070     # conventions
   12071     ld_shlibs_CXX=yes
   12072     ;;
   12073   gnu*)
   12074     ;;
   12075   hpux9*)
   12076     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12077     hardcode_libdir_separator_CXX=:
   12078     export_dynamic_flag_spec_CXX='${wl}-E'
   12079     hardcode_direct_CXX=yes
   12080     hardcode_minus_L_CXX=yes # Not in the search PATH,
   12081 				# but as the default
   12082 				# location of the library.
   12083 
   12084     case $cc_basename in
   12085     CC*)
   12086       # FIXME: insert proper C++ library support
   12087       ld_shlibs_CXX=no
   12088       ;;
   12089     aCC*)
   12090       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'
   12091       # Commands to make compiler produce verbose output that lists
   12092       # what "hidden" libraries, object files and flags are used when
   12093       # linking a shared library.
   12094       #
   12095       # There doesn't appear to be a way to prevent this compiler from
   12096       # explicitly linking system object files so we need to strip them
   12097       # from the output so that they don't get included in the library
   12098       # dependencies.
   12099       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'
   12100       ;;
   12101     *)
   12102       if test "$GXX" = yes; then
   12103         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'
   12104       else
   12105         # FIXME: insert proper C++ library support
   12106         ld_shlibs_CXX=no
   12107       fi
   12108       ;;
   12109     esac
   12110     ;;
   12111   hpux10*|hpux11*)
   12112     if test $with_gnu_ld = no; then
   12113       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12114       hardcode_libdir_separator_CXX=:
   12115 
   12116       case $host_cpu in
   12117       hppa*64*|ia64*)
   12118 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   12119         ;;
   12120       *)
   12121 	export_dynamic_flag_spec_CXX='${wl}-E'
   12122         ;;
   12123       esac
   12124     fi
   12125     case $host_cpu in
   12126     hppa*64*|ia64*)
   12127       hardcode_direct_CXX=no
   12128       hardcode_shlibpath_var_CXX=no
   12129       ;;
   12130     *)
   12131       hardcode_direct_CXX=yes
   12132       hardcode_minus_L_CXX=yes # Not in the search PATH,
   12133 					      # but as the default
   12134 					      # location of the library.
   12135       ;;
   12136     esac
   12137 
   12138     case $cc_basename in
   12139       CC*)
   12140 	# FIXME: insert proper C++ library support
   12141 	ld_shlibs_CXX=no
   12142 	;;
   12143       aCC*)
   12144 	case $host_cpu in
   12145 	hppa*64*)
   12146 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12147 	  ;;
   12148 	ia64*)
   12149 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12150 	  ;;
   12151 	*)
   12152 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12153 	  ;;
   12154 	esac
   12155 	# Commands to make compiler produce verbose output that lists
   12156 	# what "hidden" libraries, object files and flags are used when
   12157 	# linking a shared library.
   12158 	#
   12159 	# There doesn't appear to be a way to prevent this compiler from
   12160 	# explicitly linking system object files so we need to strip them
   12161 	# from the output so that they don't get included in the library
   12162 	# dependencies.
   12163 	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'
   12164 	;;
   12165       *)
   12166 	if test "$GXX" = yes; then
   12167 	  if test $with_gnu_ld = no; then
   12168 	    case $host_cpu in
   12169 	    hppa*64*)
   12170 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12171 	      ;;
   12172 	    ia64*)
   12173 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12174 	      ;;
   12175 	    *)
   12176 	      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'
   12177 	      ;;
   12178 	    esac
   12179 	  fi
   12180 	else
   12181 	  # FIXME: insert proper C++ library support
   12182 	  ld_shlibs_CXX=no
   12183 	fi
   12184 	;;
   12185     esac
   12186     ;;
   12187   interix3*)
   12188     hardcode_direct_CXX=no
   12189     hardcode_shlibpath_var_CXX=no
   12190     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12191     export_dynamic_flag_spec_CXX='${wl}-E'
   12192     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12193     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12194     # default) and relocated if they conflict, which is a slow very memory
   12195     # consuming and fragmenting process.  To avoid this, we pick a random,
   12196     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12197     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12198     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'
   12199     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'
   12200     ;;
   12201   irix5* | irix6*)
   12202     case $cc_basename in
   12203       CC*)
   12204 	# SGI C++
   12205 	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'
   12206 
   12207 	# Archives containing C++ object files must be created using
   12208 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12209 	# necessary to make sure instantiated templates are included
   12210 	# in the archive.
   12211 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12212 	;;
   12213       *)
   12214 	if test "$GXX" = yes; then
   12215 	  if test "$with_gnu_ld" = no; then
   12216 	    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'
   12217 	  else
   12218 	    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'
   12219 	  fi
   12220 	fi
   12221 	link_all_deplibs_CXX=yes
   12222 	;;
   12223     esac
   12224     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12225     hardcode_libdir_separator_CXX=:
   12226     ;;
   12227   linux* | k*bsd*-gnu)
   12228     case $cc_basename in
   12229       KCC*)
   12230 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12231 
   12232 	# KCC will only create a shared library if the output file
   12233 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12234 	# to its proper name (with version) after linking.
   12235 	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'
   12236 	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'
   12237 	# Commands to make compiler produce verbose output that lists
   12238 	# what "hidden" libraries, object files and flags are used when
   12239 	# linking a shared library.
   12240 	#
   12241 	# There doesn't appear to be a way to prevent this compiler from
   12242 	# explicitly linking system object files so we need to strip them
   12243 	# from the output so that they don't get included in the library
   12244 	# dependencies.
   12245 	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'
   12246 
   12247 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12248 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12249 
   12250 	# Archives containing C++ object files must be created using
   12251 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12252 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12253 	;;
   12254       icpc*)
   12255 	# Intel C++
   12256 	with_gnu_ld=yes
   12257 	# version 8.0 and above of icpc choke on multiply defined symbols
   12258 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12259 	# earlier do not add the objects themselves.
   12260 	case `$CC -V 2>&1` in
   12261 	*"Version 7."*)
   12262   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12263   	  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'
   12264 	  ;;
   12265 	*)  # Version 8.0 or newer
   12266 	  tmp_idyn=
   12267 	  case $host_cpu in
   12268 	    ia64*) tmp_idyn=' -i_dynamic';;
   12269 	  esac
   12270   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12271 	  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'
   12272 	  ;;
   12273 	esac
   12274 	archive_cmds_need_lc_CXX=no
   12275 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12276 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12277 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12278 	;;
   12279       pgCC*)
   12280         # Portland Group C++ compiler
   12281 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12282   	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'
   12283 
   12284 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12285 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12286 	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'
   12287         ;;
   12288       cxx*)
   12289 	# Compaq C++
   12290 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12291 	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'
   12292 
   12293 	runpath_var=LD_RUN_PATH
   12294 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12295 	hardcode_libdir_separator_CXX=:
   12296 
   12297 	# Commands to make compiler produce verbose output that lists
   12298 	# what "hidden" libraries, object files and flags are used when
   12299 	# linking a shared library.
   12300 	#
   12301 	# There doesn't appear to be a way to prevent this compiler from
   12302 	# explicitly linking system object files so we need to strip them
   12303 	# from the output so that they don't get included in the library
   12304 	# dependencies.
   12305 	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'
   12306 	;;
   12307     esac
   12308     ;;
   12309   lynxos*)
   12310     # FIXME: insert proper C++ library support
   12311     ld_shlibs_CXX=no
   12312     ;;
   12313   m88k*)
   12314     # FIXME: insert proper C++ library support
   12315     ld_shlibs_CXX=no
   12316     ;;
   12317   mvs*)
   12318     case $cc_basename in
   12319       cxx*)
   12320 	# FIXME: insert proper C++ library support
   12321 	ld_shlibs_CXX=no
   12322 	;;
   12323       *)
   12324 	# FIXME: insert proper C++ library support
   12325 	ld_shlibs_CXX=no
   12326 	;;
   12327     esac
   12328     ;;
   12329   netbsd* | netbsdelf*-gnu)
   12330     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12331       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12332       wlarc=
   12333       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12334       hardcode_direct_CXX=yes
   12335       hardcode_shlibpath_var_CXX=no
   12336     fi
   12337     # Workaround some broken pre-1.5 toolchains
   12338     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12339     ;;
   12340   openbsd2*)
   12341     # C++ shared libraries are fairly broken
   12342     ld_shlibs_CXX=no
   12343     ;;
   12344   openbsd*)
   12345     hardcode_direct_CXX=yes
   12346     hardcode_shlibpath_var_CXX=no
   12347     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12348     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12349     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12350       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12351       export_dynamic_flag_spec_CXX='${wl}-E'
   12352       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12353     fi
   12354     output_verbose_link_cmd='echo'
   12355     ;;
   12356   osf3*)
   12357     case $cc_basename in
   12358       KCC*)
   12359 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12360 
   12361 	# KCC will only create a shared library if the output file
   12362 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12363 	# to its proper name (with version) after linking.
   12364 	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'
   12365 
   12366 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12367 	hardcode_libdir_separator_CXX=:
   12368 
   12369 	# Archives containing C++ object files must be created using
   12370 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12371 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12372 
   12373 	;;
   12374       RCC*)
   12375 	# Rational C++ 2.4.1
   12376 	# FIXME: insert proper C++ library support
   12377 	ld_shlibs_CXX=no
   12378 	;;
   12379       cxx*)
   12380 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12381 	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'
   12382 
   12383 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12384 	hardcode_libdir_separator_CXX=:
   12385 
   12386 	# Commands to make compiler produce verbose output that lists
   12387 	# what "hidden" libraries, object files and flags are used when
   12388 	# linking a shared library.
   12389 	#
   12390 	# There doesn't appear to be a way to prevent this compiler from
   12391 	# explicitly linking system object files so we need to strip them
   12392 	# from the output so that they don't get included in the library
   12393 	# dependencies.
   12394 	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'
   12395 	;;
   12396       *)
   12397 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12398 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12399 	  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'
   12400 
   12401 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12402 	  hardcode_libdir_separator_CXX=:
   12403 
   12404 	  # Commands to make compiler produce verbose output that lists
   12405 	  # what "hidden" libraries, object files and flags are used when
   12406 	  # linking a shared library.
   12407 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12408 
   12409 	else
   12410 	  # FIXME: insert proper C++ library support
   12411 	  ld_shlibs_CXX=no
   12412 	fi
   12413 	;;
   12414     esac
   12415     ;;
   12416   osf4* | osf5*)
   12417     case $cc_basename in
   12418       KCC*)
   12419 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12420 
   12421 	# KCC will only create a shared library if the output file
   12422 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12423 	# to its proper name (with version) after linking.
   12424 	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'
   12425 
   12426 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12427 	hardcode_libdir_separator_CXX=:
   12428 
   12429 	# Archives containing C++ object files must be created using
   12430 	# the KAI C++ compiler.
   12431 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12432 	;;
   12433       RCC*)
   12434 	# Rational C++ 2.4.1
   12435 	# FIXME: insert proper C++ library support
   12436 	ld_shlibs_CXX=no
   12437 	;;
   12438       cxx*)
   12439 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12440 	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'
   12441 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12442 	  echo "-hidden">> $lib.exp~
   12443 	  $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~
   12444 	  $rm $lib.exp'
   12445 
   12446 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12447 	hardcode_libdir_separator_CXX=:
   12448 
   12449 	# Commands to make compiler produce verbose output that lists
   12450 	# what "hidden" libraries, object files and flags are used when
   12451 	# linking a shared library.
   12452 	#
   12453 	# There doesn't appear to be a way to prevent this compiler from
   12454 	# explicitly linking system object files so we need to strip them
   12455 	# from the output so that they don't get included in the library
   12456 	# dependencies.
   12457 	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'
   12458 	;;
   12459       *)
   12460 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12461 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12462 	 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'
   12463 
   12464 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12465 	  hardcode_libdir_separator_CXX=:
   12466 
   12467 	  # Commands to make compiler produce verbose output that lists
   12468 	  # what "hidden" libraries, object files and flags are used when
   12469 	  # linking a shared library.
   12470 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12471 
   12472 	else
   12473 	  # FIXME: insert proper C++ library support
   12474 	  ld_shlibs_CXX=no
   12475 	fi
   12476 	;;
   12477     esac
   12478     ;;
   12479   psos*)
   12480     # FIXME: insert proper C++ library support
   12481     ld_shlibs_CXX=no
   12482     ;;
   12483   sunos4*)
   12484     case $cc_basename in
   12485       CC*)
   12486 	# Sun C++ 4.x
   12487 	# FIXME: insert proper C++ library support
   12488 	ld_shlibs_CXX=no
   12489 	;;
   12490       lcc*)
   12491 	# Lucid
   12492 	# FIXME: insert proper C++ library support
   12493 	ld_shlibs_CXX=no
   12494 	;;
   12495       *)
   12496 	# FIXME: insert proper C++ library support
   12497 	ld_shlibs_CXX=no
   12498 	;;
   12499     esac
   12500     ;;
   12501   solaris*)
   12502     case $cc_basename in
   12503       CC*)
   12504 	# Sun C++ 4.2, 5.x and Centerline C++
   12505         archive_cmds_need_lc_CXX=yes
   12506 	no_undefined_flag_CXX=' -zdefs'
   12507 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12508 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12509 	$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'
   12510 
   12511 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12512 	hardcode_shlibpath_var_CXX=no
   12513 	case $host_os in
   12514 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12515 	  *)
   12516 	    # The C++ compiler is used as linker so we must use $wl
   12517 	    # flag to pass the commands to the underlying system
   12518 	    # linker. We must also pass each convience library through
   12519 	    # to the system linker between allextract/defaultextract.
   12520 	    # The C++ compiler will combine linker options so we
   12521 	    # cannot just pass the convience library names through
   12522 	    # without $wl.
   12523 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12524 	    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'
   12525 	    ;;
   12526 	esac
   12527 	link_all_deplibs_CXX=yes
   12528 
   12529 	output_verbose_link_cmd='echo'
   12530 
   12531 	# Archives containing C++ object files must be created using
   12532 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12533 	# necessary to make sure instantiated templates are included
   12534 	# in the archive.
   12535 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12536 	;;
   12537       gcx*)
   12538 	# Green Hills C++ Compiler
   12539 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12540 
   12541 	# The C++ compiler must be used to create the archive.
   12542 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12543 	;;
   12544       *)
   12545 	# GNU C++ compiler with Solaris linker
   12546 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12547 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12548 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12549 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12550 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12551 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12552 
   12553 	    # Commands to make compiler produce verbose output that lists
   12554 	    # what "hidden" libraries, object files and flags are used when
   12555 	    # linking a shared library.
   12556 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12557 	  else
   12558 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12559 	    # platform.
   12560 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12561 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12562 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12563 
   12564 	    # Commands to make compiler produce verbose output that lists
   12565 	    # what "hidden" libraries, object files and flags are used when
   12566 	    # linking a shared library.
   12567 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12568 	  fi
   12569 
   12570 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12571 	fi
   12572 	;;
   12573     esac
   12574     ;;
   12575   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12576     no_undefined_flag_CXX='${wl}-z,text'
   12577     archive_cmds_need_lc_CXX=no
   12578     hardcode_shlibpath_var_CXX=no
   12579     runpath_var='LD_RUN_PATH'
   12580 
   12581     case $cc_basename in
   12582       CC*)
   12583 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12584 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12585 	;;
   12586       *)
   12587 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12588 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12589 	;;
   12590     esac
   12591     ;;
   12592   sysv5* | sco3.2v5* | sco5v6*)
   12593     # Note: We can NOT use -z defs as we might desire, because we do not
   12594     # link with -lc, and that would cause any symbols used from libc to
   12595     # always be unresolved, which means just about no library would
   12596     # ever link correctly.  If we're not using GNU ld we use -z text
   12597     # though, which does catch some bad symbols but isn't as heavy-handed
   12598     # as -z defs.
   12599     # For security reasons, it is highly recommended that you always
   12600     # use absolute paths for naming shared libraries, and exclude the
   12601     # DT_RUNPATH tag from executables and libraries.  But doing so
   12602     # requires that you compile everything twice, which is a pain.
   12603     # So that behaviour is only enabled if SCOABSPATH is set to a
   12604     # non-empty value in the environment.  Most likely only useful for
   12605     # creating official distributions of packages.
   12606     # This is a hack until libtool officially supports absolute path
   12607     # names for shared libraries.
   12608     no_undefined_flag_CXX='${wl}-z,text'
   12609     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12610     archive_cmds_need_lc_CXX=no
   12611     hardcode_shlibpath_var_CXX=no
   12612     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12613     hardcode_libdir_separator_CXX=':'
   12614     link_all_deplibs_CXX=yes
   12615     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12616     runpath_var='LD_RUN_PATH'
   12617 
   12618     case $cc_basename in
   12619       CC*)
   12620 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12621 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12622 	;;
   12623       *)
   12624 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12625 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12626 	;;
   12627     esac
   12628     ;;
   12629   tandem*)
   12630     case $cc_basename in
   12631       NCC*)
   12632 	# NonStop-UX NCC 3.20
   12633 	# FIXME: insert proper C++ library support
   12634 	ld_shlibs_CXX=no
   12635 	;;
   12636       *)
   12637 	# FIXME: insert proper C++ library support
   12638 	ld_shlibs_CXX=no
   12639 	;;
   12640     esac
   12641     ;;
   12642   vxworks*)
   12643     # FIXME: insert proper C++ library support
   12644     ld_shlibs_CXX=no
   12645     ;;
   12646   *)
   12647     # FIXME: insert proper C++ library support
   12648     ld_shlibs_CXX=no
   12649     ;;
   12650 esac
   12651 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12652 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12653 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12654 
   12655 GCC_CXX="$GXX"
   12656 LD_CXX="$LD"
   12657 
   12658 
   12659 cat > conftest.$ac_ext <<EOF
   12660 class Foo
   12661 {
   12662 public:
   12663   Foo (void) { a = 0; }
   12664 private:
   12665   int a;
   12666 };
   12667 EOF
   12668 
   12669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12670   (eval $ac_compile) 2>&5
   12671   ac_status=$?
   12672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12673   (exit $ac_status); }; then
   12674   # Parse the compiler output and extract the necessary
   12675   # objects, libraries and library flags.
   12676 
   12677   # Sentinel used to keep track of whether or not we are before
   12678   # the conftest object file.
   12679   pre_test_object_deps_done=no
   12680 
   12681   # The `*' in the case matches for architectures that use `case' in
   12682   # $output_verbose_cmd can trigger glob expansion during the loop
   12683   # eval without this substitution.
   12684   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12685 
   12686   for p in `eval $output_verbose_link_cmd`; do
   12687     case $p in
   12688 
   12689     -L* | -R* | -l*)
   12690        # Some compilers place space between "-{L,R}" and the path.
   12691        # Remove the space.
   12692        if test $p = "-L" \
   12693 	  || test $p = "-R"; then
   12694 	 prev=$p
   12695 	 continue
   12696        else
   12697 	 prev=
   12698        fi
   12699 
   12700        if test "$pre_test_object_deps_done" = no; then
   12701 	 case $p in
   12702 	 -L* | -R*)
   12703 	   # Internal compiler library paths should come after those
   12704 	   # provided the user.  The postdeps already come after the
   12705 	   # user supplied libs so there is no need to process them.
   12706 	   if test -z "$compiler_lib_search_path_CXX"; then
   12707 	     compiler_lib_search_path_CXX="${prev}${p}"
   12708 	   else
   12709 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12710 	   fi
   12711 	   ;;
   12712 	 # The "-l" case would never come before the object being
   12713 	 # linked, so don't bother handling this case.
   12714 	 esac
   12715        else
   12716 	 if test -z "$postdeps_CXX"; then
   12717 	   postdeps_CXX="${prev}${p}"
   12718 	 else
   12719 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12720 	 fi
   12721        fi
   12722        ;;
   12723 
   12724     *.$objext)
   12725        # This assumes that the test object file only shows up
   12726        # once in the compiler output.
   12727        if test "$p" = "conftest.$objext"; then
   12728 	 pre_test_object_deps_done=yes
   12729 	 continue
   12730        fi
   12731 
   12732        if test "$pre_test_object_deps_done" = no; then
   12733 	 if test -z "$predep_objects_CXX"; then
   12734 	   predep_objects_CXX="$p"
   12735 	 else
   12736 	   predep_objects_CXX="$predep_objects_CXX $p"
   12737 	 fi
   12738        else
   12739 	 if test -z "$postdep_objects_CXX"; then
   12740 	   postdep_objects_CXX="$p"
   12741 	 else
   12742 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12743 	 fi
   12744        fi
   12745        ;;
   12746 
   12747     *) ;; # Ignore the rest.
   12748 
   12749     esac
   12750   done
   12751 
   12752   # Clean up.
   12753   rm -f a.out a.exe
   12754 else
   12755   echo "libtool.m4: error: problem compiling CXX test program"
   12756 fi
   12757 
   12758 $rm -f confest.$objext
   12759 
   12760 # PORTME: override above test on systems where it is broken
   12761 case $host_os in
   12762 interix3*)
   12763   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12764   # hack all around it, let's just trust "g++" to DTRT.
   12765   predep_objects_CXX=
   12766   postdep_objects_CXX=
   12767   postdeps_CXX=
   12768   ;;
   12769 
   12770 solaris*)
   12771   case $cc_basename in
   12772   CC*)
   12773     # Adding this requires a known-good setup of shared libraries for
   12774     # Sun compiler versions before 5.6, else PIC objects from an old
   12775     # archive will be linked into the output, leading to subtle bugs.
   12776     postdeps_CXX='-lCstd -lCrun'
   12777     ;;
   12778   esac
   12779   ;;
   12780 esac
   12781 
   12782 
   12783 case " $postdeps_CXX " in
   12784 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12785 esac
   12786 
   12787 lt_prog_compiler_wl_CXX=
   12788 lt_prog_compiler_pic_CXX=
   12789 lt_prog_compiler_static_CXX=
   12790 
   12791 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12792 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12793 
   12794   # C++ specific cases for pic, static, wl, etc.
   12795   if test "$GXX" = yes; then
   12796     lt_prog_compiler_wl_CXX='-Wl,'
   12797     lt_prog_compiler_static_CXX='-static'
   12798 
   12799     case $host_os in
   12800     aix*)
   12801       # All AIX code is PIC.
   12802       if test "$host_cpu" = ia64; then
   12803 	# AIX 5 now supports IA64 processor
   12804 	lt_prog_compiler_static_CXX='-Bstatic'
   12805       fi
   12806       ;;
   12807     amigaos*)
   12808       # FIXME: we need at least 68020 code to build shared libraries, but
   12809       # adding the `-m68020' flag to GCC prevents building anything better,
   12810       # like `-m68040'.
   12811       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12812       ;;
   12813     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12814       # PIC is the default for these OSes.
   12815       ;;
   12816     mingw* | os2* | pw32*)
   12817       # This hack is so that the source file can tell whether it is being
   12818       # built for inclusion in a dll (and should export symbols for example).
   12819       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12820       ;;
   12821     darwin* | rhapsody*)
   12822       # PIC is the default on this platform
   12823       # Common symbols not allowed in MH_DYLIB files
   12824       lt_prog_compiler_pic_CXX='-fno-common'
   12825       ;;
   12826     *djgpp*)
   12827       # DJGPP does not support shared libraries at all
   12828       lt_prog_compiler_pic_CXX=
   12829       ;;
   12830     interix3*)
   12831       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12832       # Instead, we relocate shared libraries at runtime.
   12833       ;;
   12834     sysv4*MP*)
   12835       if test -d /usr/nec; then
   12836 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12837       fi
   12838       ;;
   12839     hpux*)
   12840       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12841       # not for PA HP-UX.
   12842       case $host_cpu in
   12843       hppa*64*|ia64*)
   12844 	;;
   12845       *)
   12846 	lt_prog_compiler_pic_CXX='-fPIC'
   12847 	;;
   12848       esac
   12849       ;;
   12850     *)
   12851       lt_prog_compiler_pic_CXX='-fPIC'
   12852       ;;
   12853     esac
   12854   else
   12855     case $host_os in
   12856       aix4* | aix5*)
   12857 	# All AIX code is PIC.
   12858 	if test "$host_cpu" = ia64; then
   12859 	  # AIX 5 now supports IA64 processor
   12860 	  lt_prog_compiler_static_CXX='-Bstatic'
   12861 	else
   12862 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12863 	fi
   12864 	;;
   12865       chorus*)
   12866 	case $cc_basename in
   12867 	cxch68*)
   12868 	  # Green Hills C++ Compiler
   12869 	  # _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"
   12870 	  ;;
   12871 	esac
   12872 	;;
   12873        darwin*)
   12874          # PIC is the default on this platform
   12875          # Common symbols not allowed in MH_DYLIB files
   12876          case $cc_basename in
   12877            xlc*)
   12878            lt_prog_compiler_pic_CXX='-qnocommon'
   12879            lt_prog_compiler_wl_CXX='-Wl,'
   12880            ;;
   12881          esac
   12882        ;;
   12883       dgux*)
   12884 	case $cc_basename in
   12885 	  ec++*)
   12886 	    lt_prog_compiler_pic_CXX='-KPIC'
   12887 	    ;;
   12888 	  ghcx*)
   12889 	    # Green Hills C++ Compiler
   12890 	    lt_prog_compiler_pic_CXX='-pic'
   12891 	    ;;
   12892 	  *)
   12893 	    ;;
   12894 	esac
   12895 	;;
   12896       freebsd* | dragonfly*)
   12897 	# FreeBSD uses GNU C++
   12898 	;;
   12899       hpux9* | hpux10* | hpux11*)
   12900 	case $cc_basename in
   12901 	  CC*)
   12902 	    lt_prog_compiler_wl_CXX='-Wl,'
   12903 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12904 	    if test "$host_cpu" != ia64; then
   12905 	      lt_prog_compiler_pic_CXX='+Z'
   12906 	    fi
   12907 	    ;;
   12908 	  aCC*)
   12909 	    lt_prog_compiler_wl_CXX='-Wl,'
   12910 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12911 	    case $host_cpu in
   12912 	    hppa*64*|ia64*)
   12913 	      # +Z the default
   12914 	      ;;
   12915 	    *)
   12916 	      lt_prog_compiler_pic_CXX='+Z'
   12917 	      ;;
   12918 	    esac
   12919 	    ;;
   12920 	  *)
   12921 	    ;;
   12922 	esac
   12923 	;;
   12924       interix*)
   12925 	# This is c89, which is MS Visual C++ (no shared libs)
   12926 	# Anyone wants to do a port?
   12927 	;;
   12928       irix5* | irix6* | nonstopux*)
   12929 	case $cc_basename in
   12930 	  CC*)
   12931 	    lt_prog_compiler_wl_CXX='-Wl,'
   12932 	    lt_prog_compiler_static_CXX='-non_shared'
   12933 	    # CC pic flag -KPIC is the default.
   12934 	    ;;
   12935 	  *)
   12936 	    ;;
   12937 	esac
   12938 	;;
   12939       linux* | k*bsd*-gnu)
   12940 	case $cc_basename in
   12941 	  KCC*)
   12942 	    # KAI C++ Compiler
   12943 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12944 	    lt_prog_compiler_pic_CXX='-fPIC'
   12945 	    ;;
   12946 	  icpc* | ecpc*)
   12947 	    # Intel C++
   12948 	    lt_prog_compiler_wl_CXX='-Wl,'
   12949 	    lt_prog_compiler_pic_CXX='-KPIC'
   12950 	    lt_prog_compiler_static_CXX='-static'
   12951 	    ;;
   12952 	  pgCC*)
   12953 	    # Portland Group C++ compiler.
   12954 	    lt_prog_compiler_wl_CXX='-Wl,'
   12955 	    lt_prog_compiler_pic_CXX='-fpic'
   12956 	    lt_prog_compiler_static_CXX='-Bstatic'
   12957 	    ;;
   12958 	  cxx*)
   12959 	    # Compaq C++
   12960 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12961 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12962 	    lt_prog_compiler_pic_CXX=
   12963 	    lt_prog_compiler_static_CXX='-non_shared'
   12964 	    ;;
   12965 	  *)
   12966 	    ;;
   12967 	esac
   12968 	;;
   12969       lynxos*)
   12970 	;;
   12971       m88k*)
   12972 	;;
   12973       mvs*)
   12974 	case $cc_basename in
   12975 	  cxx*)
   12976 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12977 	    ;;
   12978 	  *)
   12979 	    ;;
   12980 	esac
   12981 	;;
   12982       netbsd* | netbsdelf*-gnu)
   12983 	;;
   12984       osf3* | osf4* | osf5*)
   12985 	case $cc_basename in
   12986 	  KCC*)
   12987 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12988 	    ;;
   12989 	  RCC*)
   12990 	    # Rational C++ 2.4.1
   12991 	    lt_prog_compiler_pic_CXX='-pic'
   12992 	    ;;
   12993 	  cxx*)
   12994 	    # Digital/Compaq C++
   12995 	    lt_prog_compiler_wl_CXX='-Wl,'
   12996 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12997 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12998 	    lt_prog_compiler_pic_CXX=
   12999 	    lt_prog_compiler_static_CXX='-non_shared'
   13000 	    ;;
   13001 	  *)
   13002 	    ;;
   13003 	esac
   13004 	;;
   13005       psos*)
   13006 	;;
   13007       solaris*)
   13008 	case $cc_basename in
   13009 	  CC*)
   13010 	    # Sun C++ 4.2, 5.x and Centerline C++
   13011 	    lt_prog_compiler_pic_CXX='-KPIC'
   13012 	    lt_prog_compiler_static_CXX='-Bstatic'
   13013 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   13014 	    ;;
   13015 	  gcx*)
   13016 	    # Green Hills C++ Compiler
   13017 	    lt_prog_compiler_pic_CXX='-PIC'
   13018 	    ;;
   13019 	  *)
   13020 	    ;;
   13021 	esac
   13022 	;;
   13023       sunos4*)
   13024 	case $cc_basename in
   13025 	  CC*)
   13026 	    # Sun C++ 4.x
   13027 	    lt_prog_compiler_pic_CXX='-pic'
   13028 	    lt_prog_compiler_static_CXX='-Bstatic'
   13029 	    ;;
   13030 	  lcc*)
   13031 	    # Lucid
   13032 	    lt_prog_compiler_pic_CXX='-pic'
   13033 	    ;;
   13034 	  *)
   13035 	    ;;
   13036 	esac
   13037 	;;
   13038       tandem*)
   13039 	case $cc_basename in
   13040 	  NCC*)
   13041 	    # NonStop-UX NCC 3.20
   13042 	    lt_prog_compiler_pic_CXX='-KPIC'
   13043 	    ;;
   13044 	  *)
   13045 	    ;;
   13046 	esac
   13047 	;;
   13048       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13049 	case $cc_basename in
   13050 	  CC*)
   13051 	    lt_prog_compiler_wl_CXX='-Wl,'
   13052 	    lt_prog_compiler_pic_CXX='-KPIC'
   13053 	    lt_prog_compiler_static_CXX='-Bstatic'
   13054 	    ;;
   13055 	esac
   13056 	;;
   13057       vxworks*)
   13058 	;;
   13059       *)
   13060 	lt_prog_compiler_can_build_shared_CXX=no
   13061 	;;
   13062     esac
   13063   fi
   13064 
   13065 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   13066 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   13067 
   13068 #
   13069 # Check to make sure the PIC flag actually works.
   13070 #
   13071 if test -n "$lt_prog_compiler_pic_CXX"; then
   13072 
   13073 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   13074 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   13075 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   13076   echo $ECHO_N "(cached) $ECHO_C" >&6
   13077 else
   13078   lt_prog_compiler_pic_works_CXX=no
   13079   ac_outfile=conftest.$ac_objext
   13080    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13081    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   13082    # Insert the option either (1) after the last *FLAGS variable, or
   13083    # (2) before a word containing "conftest.", or (3) at the end.
   13084    # Note that $ac_compile itself does not contain backslashes and begins
   13085    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13086    # The option is referenced via a variable to avoid confusing sed.
   13087    lt_compile=`echo "$ac_compile" | $SED \
   13088    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13089    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13090    -e 's:$: $lt_compiler_flag:'`
   13091    (eval echo "\"\$as_me:13091: $lt_compile\"" >&5)
   13092    (eval "$lt_compile" 2>conftest.err)
   13093    ac_status=$?
   13094    cat conftest.err >&5
   13095    echo "$as_me:13095: \$? = $ac_status" >&5
   13096    if (exit $ac_status) && test -s "$ac_outfile"; then
   13097      # The compiler can only warn and ignore the option if not recognized
   13098      # So say no if there are warnings other than the usual output.
   13099      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13100      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13101      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13102        lt_prog_compiler_pic_works_CXX=yes
   13103      fi
   13104    fi
   13105    $rm conftest*
   13106 
   13107 fi
   13108 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   13109 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   13110 
   13111 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   13112     case $lt_prog_compiler_pic_CXX in
   13113      "" | " "*) ;;
   13114      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13115      esac
   13116 else
   13117     lt_prog_compiler_pic_CXX=
   13118      lt_prog_compiler_can_build_shared_CXX=no
   13119 fi
   13120 
   13121 fi
   13122 case $host_os in
   13123   # For platforms which do not support PIC, -DPIC is meaningless:
   13124   *djgpp*)
   13125     lt_prog_compiler_pic_CXX=
   13126     ;;
   13127   *)
   13128     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13129     ;;
   13130 esac
   13131 
   13132 #
   13133 # Check to make sure the static flag actually works.
   13134 #
   13135 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13136 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13137 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13138 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   13139   echo $ECHO_N "(cached) $ECHO_C" >&6
   13140 else
   13141   lt_prog_compiler_static_works_CXX=no
   13142    save_LDFLAGS="$LDFLAGS"
   13143    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13144    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13145    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13146      # The linker can only warn and ignore the option if not recognized
   13147      # So say no if there are warnings
   13148      if test -s conftest.err; then
   13149        # Append any errors to the config.log.
   13150        cat conftest.err 1>&5
   13151        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13152        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13153        if diff conftest.exp conftest.er2 >/dev/null; then
   13154          lt_prog_compiler_static_works_CXX=yes
   13155        fi
   13156      else
   13157        lt_prog_compiler_static_works_CXX=yes
   13158      fi
   13159    fi
   13160    $rm conftest*
   13161    LDFLAGS="$save_LDFLAGS"
   13162 
   13163 fi
   13164 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   13165 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   13166 
   13167 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   13168     :
   13169 else
   13170     lt_prog_compiler_static_CXX=
   13171 fi
   13172 
   13173 
   13174 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13175 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   13176 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13177   echo $ECHO_N "(cached) $ECHO_C" >&6
   13178 else
   13179   lt_cv_prog_compiler_c_o_CXX=no
   13180    $rm -r conftest 2>/dev/null
   13181    mkdir conftest
   13182    cd conftest
   13183    mkdir out
   13184    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13185 
   13186    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13187    # Insert the option either (1) after the last *FLAGS variable, or
   13188    # (2) before a word containing "conftest.", or (3) at the end.
   13189    # Note that $ac_compile itself does not contain backslashes and begins
   13190    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13191    lt_compile=`echo "$ac_compile" | $SED \
   13192    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13193    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13194    -e 's:$: $lt_compiler_flag:'`
   13195    (eval echo "\"\$as_me:13195: $lt_compile\"" >&5)
   13196    (eval "$lt_compile" 2>out/conftest.err)
   13197    ac_status=$?
   13198    cat out/conftest.err >&5
   13199    echo "$as_me:13199: \$? = $ac_status" >&5
   13200    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13201    then
   13202      # The compiler can only warn and ignore the option if not recognized
   13203      # So say no if there are warnings
   13204      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13205      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13206      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13207        lt_cv_prog_compiler_c_o_CXX=yes
   13208      fi
   13209    fi
   13210    chmod u+w . 2>&5
   13211    $rm conftest*
   13212    # SGI C++ compiler will create directory out/ii_files/ for
   13213    # template instantiation
   13214    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13215    $rm out/* && rmdir out
   13216    cd ..
   13217    rmdir conftest
   13218    $rm conftest*
   13219 
   13220 fi
   13221 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13222 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13223 
   13224 
   13225 hard_links="nottested"
   13226 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13227   # do not overwrite the value of need_locks provided by the user
   13228   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13229 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   13230   hard_links=yes
   13231   $rm conftest*
   13232   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13233   touch conftest.a
   13234   ln conftest.a conftest.b 2>&5 || hard_links=no
   13235   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13236   { echo "$as_me:$LINENO: result: $hard_links" >&5
   13237 echo "${ECHO_T}$hard_links" >&6; }
   13238   if test "$hard_links" = no; then
   13239     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13240 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13241     need_locks=warn
   13242   fi
   13243 else
   13244   need_locks=no
   13245 fi
   13246 
   13247 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13248 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   13249 
   13250   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13251   case $host_os in
   13252   aix4* | aix5*)
   13253     # If we're using GNU nm, then we don't want the "-C" option.
   13254     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13255     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13256       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'
   13257     else
   13258       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'
   13259     fi
   13260     ;;
   13261   pw32*)
   13262     export_symbols_cmds_CXX="$ltdll_cmds"
   13263   ;;
   13264   cygwin* | mingw*)
   13265     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'
   13266   ;;
   13267   linux* | k*bsd*-gnu)
   13268     link_all_deplibs_CXX=no
   13269   ;;
   13270   *)
   13271     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13272   ;;
   13273   esac
   13274 
   13275 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13276 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   13277 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13278 
   13279 #
   13280 # Do we need to explicitly link libc?
   13281 #
   13282 case "x$archive_cmds_need_lc_CXX" in
   13283 x|xyes)
   13284   # Assume -lc should be added
   13285   archive_cmds_need_lc_CXX=yes
   13286 
   13287   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13288     case $archive_cmds_CXX in
   13289     *'~'*)
   13290       # FIXME: we may have to deal with multi-command sequences.
   13291       ;;
   13292     '$CC '*)
   13293       # Test whether the compiler implicitly links with -lc since on some
   13294       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13295       # to ld, don't add -lc before -lgcc.
   13296       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13297 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   13298       $rm conftest*
   13299       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13300 
   13301       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13302   (eval $ac_compile) 2>&5
   13303   ac_status=$?
   13304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13305   (exit $ac_status); } 2>conftest.err; then
   13306         soname=conftest
   13307         lib=conftest
   13308         libobjs=conftest.$ac_objext
   13309         deplibs=
   13310         wl=$lt_prog_compiler_wl_CXX
   13311 	pic_flag=$lt_prog_compiler_pic_CXX
   13312         compiler_flags=-v
   13313         linker_flags=-v
   13314         verstring=
   13315         output_objdir=.
   13316         libname=conftest
   13317         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13318         allow_undefined_flag_CXX=
   13319         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13320   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13321   ac_status=$?
   13322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13323   (exit $ac_status); }
   13324         then
   13325 	  archive_cmds_need_lc_CXX=no
   13326         else
   13327 	  archive_cmds_need_lc_CXX=yes
   13328         fi
   13329         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13330       else
   13331         cat conftest.err 1>&5
   13332       fi
   13333       $rm conftest*
   13334       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13335 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   13336       ;;
   13337     esac
   13338   fi
   13339   ;;
   13340 esac
   13341 
   13342 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13343 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   13344 library_names_spec=
   13345 libname_spec='lib$name'
   13346 soname_spec=
   13347 shrext_cmds=".so"
   13348 postinstall_cmds=
   13349 postuninstall_cmds=
   13350 finish_cmds=
   13351 finish_eval=
   13352 shlibpath_var=
   13353 shlibpath_overrides_runpath=unknown
   13354 version_type=none
   13355 dynamic_linker="$host_os ld.so"
   13356 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13357 if test "$GCC" = yes; then
   13358   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13359   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   13360     # if the path contains ";" then we assume it to be the separator
   13361     # otherwise default to the standard path separator (i.e. ":") - it is
   13362     # assumed that no part of a normal pathname contains ";" but that should
   13363     # okay in the real world where ";" in dirpaths is itself problematic.
   13364     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13365   else
   13366     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13367   fi
   13368 else
   13369   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13370 fi
   13371 need_lib_prefix=unknown
   13372 hardcode_into_libs=no
   13373 
   13374 # when you set need_version to no, make sure it does not cause -set_version
   13375 # flags to be left without arguments
   13376 need_version=unknown
   13377 
   13378 case $host_os in
   13379 aix3*)
   13380   version_type=linux
   13381   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13382   shlibpath_var=LIBPATH
   13383 
   13384   # AIX 3 has no versioning support, so we append a major version to the name.
   13385   soname_spec='${libname}${release}${shared_ext}$major'
   13386   ;;
   13387 
   13388 aix4* | aix5*)
   13389   version_type=linux
   13390   need_lib_prefix=no
   13391   need_version=no
   13392   hardcode_into_libs=yes
   13393   if test "$host_cpu" = ia64; then
   13394     # AIX 5 supports IA64
   13395     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13396     shlibpath_var=LD_LIBRARY_PATH
   13397   else
   13398     # With GCC up to 2.95.x, collect2 would create an import file
   13399     # for dependence libraries.  The import file would start with
   13400     # the line `#! .'.  This would cause the generated library to
   13401     # depend on `.', always an invalid library.  This was fixed in
   13402     # development snapshots of GCC prior to 3.0.
   13403     case $host_os in
   13404       aix4 | aix4.[01] | aix4.[01].*)
   13405       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13406 	   echo ' yes '
   13407 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13408 	:
   13409       else
   13410 	can_build_shared=no
   13411       fi
   13412       ;;
   13413     esac
   13414     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13415     # soname into executable. Probably we can add versioning support to
   13416     # collect2, so additional links can be useful in future.
   13417     if test "$aix_use_runtimelinking" = yes; then
   13418       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13419       # instead of lib<name>.a to let people know that these are not
   13420       # typical AIX shared libraries.
   13421       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13422     else
   13423       # We preserve .a as extension for shared libraries through AIX4.2
   13424       # and later when we are not doing run time linking.
   13425       library_names_spec='${libname}${release}.a $libname.a'
   13426       soname_spec='${libname}${release}${shared_ext}$major'
   13427     fi
   13428     shlibpath_var=LIBPATH
   13429   fi
   13430   ;;
   13431 
   13432 amigaos*)
   13433   library_names_spec='$libname.ixlibrary $libname.a'
   13434   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13435   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'
   13436   ;;
   13437 
   13438 beos*)
   13439   library_names_spec='${libname}${shared_ext}'
   13440   dynamic_linker="$host_os ld.so"
   13441   shlibpath_var=LIBRARY_PATH
   13442   ;;
   13443 
   13444 bsdi[45]*)
   13445   version_type=linux
   13446   need_version=no
   13447   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13448   soname_spec='${libname}${release}${shared_ext}$major'
   13449   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13450   shlibpath_var=LD_LIBRARY_PATH
   13451   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13452   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13453   # the default ld.so.conf also contains /usr/contrib/lib and
   13454   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13455   # libtool to hard-code these into programs
   13456   ;;
   13457 
   13458 cygwin* | mingw* | pw32*)
   13459   version_type=windows
   13460   shrext_cmds=".dll"
   13461   need_version=no
   13462   need_lib_prefix=no
   13463 
   13464   case $GCC,$host_os in
   13465   yes,cygwin* | yes,mingw* | yes,pw32*)
   13466     library_names_spec='$libname.dll.a'
   13467     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13468     postinstall_cmds='base_file=`basename \${file}`~
   13469       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13470       dldir=$destdir/`dirname \$dlpath`~
   13471       test -d \$dldir || mkdir -p \$dldir~
   13472       $install_prog $dir/$dlname \$dldir/$dlname~
   13473       chmod a+x \$dldir/$dlname'
   13474     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13475       dlpath=$dir/\$dldll~
   13476        $rm \$dlpath'
   13477     shlibpath_overrides_runpath=yes
   13478 
   13479     case $host_os in
   13480     cygwin*)
   13481       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13482       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13483       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13484       ;;
   13485     mingw*)
   13486       # MinGW DLLs use traditional 'lib' prefix
   13487       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13488       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13489       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13490         # It is most probably a Windows format PATH printed by
   13491         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13492         # path with ; separators, and with drive letters. We can handle the
   13493         # drive letters (cygwin fileutils understands them), so leave them,
   13494         # especially as we might pass files found there to a mingw objdump,
   13495         # which wouldn't understand a cygwinified path. Ahh.
   13496         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13497       else
   13498         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13499       fi
   13500       ;;
   13501     pw32*)
   13502       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13503       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13504       ;;
   13505     esac
   13506     ;;
   13507 
   13508   *)
   13509     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13510     ;;
   13511   esac
   13512   dynamic_linker='Win32 ld.exe'
   13513   # FIXME: first we should search . and the directory the executable is in
   13514   shlibpath_var=PATH
   13515   ;;
   13516 
   13517 darwin* | rhapsody*)
   13518   dynamic_linker="$host_os dyld"
   13519   version_type=darwin
   13520   need_lib_prefix=no
   13521   need_version=no
   13522   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13523   soname_spec='${libname}${release}${major}$shared_ext'
   13524   shlibpath_overrides_runpath=yes
   13525   shlibpath_var=DYLD_LIBRARY_PATH
   13526   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13527   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   13528   if test "$GCC" = yes; then
   13529     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"`
   13530   else
   13531     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   13532   fi
   13533   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13534   ;;
   13535 
   13536 dgux*)
   13537   version_type=linux
   13538   need_lib_prefix=no
   13539   need_version=no
   13540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13541   soname_spec='${libname}${release}${shared_ext}$major'
   13542   shlibpath_var=LD_LIBRARY_PATH
   13543   ;;
   13544 
   13545 freebsd1*)
   13546   dynamic_linker=no
   13547   ;;
   13548 
   13549 freebsd* | dragonfly*)
   13550   # DragonFly does not have aout.  When/if they implement a new
   13551   # versioning mechanism, adjust this.
   13552   if test -x /usr/bin/objformat; then
   13553     objformat=`/usr/bin/objformat`
   13554   else
   13555     case $host_os in
   13556     freebsd[123]*) objformat=aout ;;
   13557     *) objformat=elf ;;
   13558     esac
   13559   fi
   13560   version_type=freebsd-$objformat
   13561   case $version_type in
   13562     freebsd-elf*)
   13563       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13564       need_version=no
   13565       need_lib_prefix=no
   13566       ;;
   13567     freebsd-*)
   13568       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13569       need_version=yes
   13570       ;;
   13571   esac
   13572   shlibpath_var=LD_LIBRARY_PATH
   13573   case $host_os in
   13574   freebsd2*)
   13575     shlibpath_overrides_runpath=yes
   13576     ;;
   13577   freebsd3.[01]* | freebsdelf3.[01]*)
   13578     shlibpath_overrides_runpath=yes
   13579     hardcode_into_libs=yes
   13580     ;;
   13581   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13582   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13583     shlibpath_overrides_runpath=no
   13584     hardcode_into_libs=yes
   13585     ;;
   13586   freebsd*) # from 4.6 on
   13587     shlibpath_overrides_runpath=yes
   13588     hardcode_into_libs=yes
   13589     ;;
   13590   esac
   13591   ;;
   13592 
   13593 gnu*)
   13594   version_type=linux
   13595   need_lib_prefix=no
   13596   need_version=no
   13597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13598   soname_spec='${libname}${release}${shared_ext}$major'
   13599   shlibpath_var=LD_LIBRARY_PATH
   13600   hardcode_into_libs=yes
   13601   ;;
   13602 
   13603 hpux9* | hpux10* | hpux11*)
   13604   # Give a soname corresponding to the major version so that dld.sl refuses to
   13605   # link against other versions.
   13606   version_type=sunos
   13607   need_lib_prefix=no
   13608   need_version=no
   13609   case $host_cpu in
   13610   ia64*)
   13611     shrext_cmds='.so'
   13612     hardcode_into_libs=yes
   13613     dynamic_linker="$host_os dld.so"
   13614     shlibpath_var=LD_LIBRARY_PATH
   13615     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13616     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13617     soname_spec='${libname}${release}${shared_ext}$major'
   13618     if test "X$HPUX_IA64_MODE" = X32; then
   13619       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13620     else
   13621       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13622     fi
   13623     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13624     ;;
   13625    hppa*64*)
   13626      shrext_cmds='.sl'
   13627      hardcode_into_libs=yes
   13628      dynamic_linker="$host_os dld.sl"
   13629      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13630      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13631      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13632      soname_spec='${libname}${release}${shared_ext}$major'
   13633      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13634      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13635      ;;
   13636    *)
   13637     shrext_cmds='.sl'
   13638     dynamic_linker="$host_os dld.sl"
   13639     shlibpath_var=SHLIB_PATH
   13640     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13641     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13642     soname_spec='${libname}${release}${shared_ext}$major'
   13643     ;;
   13644   esac
   13645   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13646   postinstall_cmds='chmod 555 $lib'
   13647   ;;
   13648 
   13649 interix3*)
   13650   version_type=linux
   13651   need_lib_prefix=no
   13652   need_version=no
   13653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13654   soname_spec='${libname}${release}${shared_ext}$major'
   13655   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13656   shlibpath_var=LD_LIBRARY_PATH
   13657   shlibpath_overrides_runpath=no
   13658   hardcode_into_libs=yes
   13659   ;;
   13660 
   13661 irix5* | irix6* | nonstopux*)
   13662   case $host_os in
   13663     nonstopux*) version_type=nonstopux ;;
   13664     *)
   13665 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13666 		version_type=linux
   13667 	else
   13668 		version_type=irix
   13669 	fi ;;
   13670   esac
   13671   need_lib_prefix=no
   13672   need_version=no
   13673   soname_spec='${libname}${release}${shared_ext}$major'
   13674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13675   case $host_os in
   13676   irix5* | nonstopux*)
   13677     libsuff= shlibsuff=
   13678     ;;
   13679   *)
   13680     case $LD in # libtool.m4 will add one of these switches to LD
   13681     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13682       libsuff= shlibsuff= libmagic=32-bit;;
   13683     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13684       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13685     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13686       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13687     *) libsuff= shlibsuff= libmagic=never-match;;
   13688     esac
   13689     ;;
   13690   esac
   13691   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13692   shlibpath_overrides_runpath=no
   13693   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13694   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13695   hardcode_into_libs=yes
   13696   ;;
   13697 
   13698 # No shared lib support for Linux oldld, aout, or coff.
   13699 linux*oldld* | linux*aout* | linux*coff*)
   13700   dynamic_linker=no
   13701   ;;
   13702 
   13703 # This must be Linux ELF.
   13704 linux* | k*bsd*-gnu)
   13705   version_type=linux
   13706   need_lib_prefix=no
   13707   need_version=no
   13708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13709   soname_spec='${libname}${release}${shared_ext}$major'
   13710   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13711   shlibpath_var=LD_LIBRARY_PATH
   13712   shlibpath_overrides_runpath=no
   13713   # This implies no fast_install, which is unacceptable.
   13714   # Some rework will be needed to allow for fast_install
   13715   # before this can be enabled.
   13716   hardcode_into_libs=yes
   13717 
   13718   # Append ld.so.conf contents to the search path
   13719   if test -f /etc/ld.so.conf; then
   13720     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' ' '`
   13721     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13722   fi
   13723 
   13724   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13725   # powerpc, because MkLinux only supported shared libraries with the
   13726   # GNU dynamic linker.  Since this was broken with cross compilers,
   13727   # most powerpc-linux boxes support dynamic linking these days and
   13728   # people can always --disable-shared, the test was removed, and we
   13729   # assume the GNU/Linux dynamic linker is in use.
   13730   dynamic_linker='GNU/Linux ld.so'
   13731   ;;
   13732 
   13733 netbsdelf*-gnu)
   13734   version_type=linux
   13735   need_lib_prefix=no
   13736   need_version=no
   13737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13738   soname_spec='${libname}${release}${shared_ext}$major'
   13739   shlibpath_var=LD_LIBRARY_PATH
   13740   shlibpath_overrides_runpath=no
   13741   hardcode_into_libs=yes
   13742   dynamic_linker='NetBSD ld.elf_so'
   13743   ;;
   13744 
   13745 netbsd*)
   13746   version_type=sunos
   13747   need_lib_prefix=no
   13748   need_version=no
   13749   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13750     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13751     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13752     dynamic_linker='NetBSD (a.out) ld.so'
   13753   else
   13754     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13755     soname_spec='${libname}${release}${shared_ext}$major'
   13756     dynamic_linker='NetBSD ld.elf_so'
   13757   fi
   13758   shlibpath_var=LD_LIBRARY_PATH
   13759   shlibpath_overrides_runpath=yes
   13760   hardcode_into_libs=yes
   13761   ;;
   13762 
   13763 newsos6)
   13764   version_type=linux
   13765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13766   shlibpath_var=LD_LIBRARY_PATH
   13767   shlibpath_overrides_runpath=yes
   13768   ;;
   13769 
   13770 nto-qnx*)
   13771   version_type=linux
   13772   need_lib_prefix=no
   13773   need_version=no
   13774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13775   soname_spec='${libname}${release}${shared_ext}$major'
   13776   shlibpath_var=LD_LIBRARY_PATH
   13777   shlibpath_overrides_runpath=yes
   13778   ;;
   13779 
   13780 openbsd*)
   13781   version_type=sunos
   13782   sys_lib_dlsearch_path_spec="/usr/lib"
   13783   need_lib_prefix=no
   13784   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13785   case $host_os in
   13786     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13787     *)                         need_version=no  ;;
   13788   esac
   13789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13790   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13791   shlibpath_var=LD_LIBRARY_PATH
   13792   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13793     case $host_os in
   13794       openbsd2.[89] | openbsd2.[89].*)
   13795 	shlibpath_overrides_runpath=no
   13796 	;;
   13797       *)
   13798 	shlibpath_overrides_runpath=yes
   13799 	;;
   13800       esac
   13801   else
   13802     shlibpath_overrides_runpath=yes
   13803   fi
   13804   ;;
   13805 
   13806 os2*)
   13807   libname_spec='$name'
   13808   shrext_cmds=".dll"
   13809   need_lib_prefix=no
   13810   library_names_spec='$libname${shared_ext} $libname.a'
   13811   dynamic_linker='OS/2 ld.exe'
   13812   shlibpath_var=LIBPATH
   13813   ;;
   13814 
   13815 osf3* | osf4* | osf5*)
   13816   version_type=osf
   13817   need_lib_prefix=no
   13818   need_version=no
   13819   soname_spec='${libname}${release}${shared_ext}$major'
   13820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13821   shlibpath_var=LD_LIBRARY_PATH
   13822   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13823   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13824   ;;
   13825 
   13826 solaris*)
   13827   version_type=linux
   13828   need_lib_prefix=no
   13829   need_version=no
   13830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13831   soname_spec='${libname}${release}${shared_ext}$major'
   13832   shlibpath_var=LD_LIBRARY_PATH
   13833   shlibpath_overrides_runpath=yes
   13834   hardcode_into_libs=yes
   13835   # ldd complains unless libraries are executable
   13836   postinstall_cmds='chmod +x $lib'
   13837   ;;
   13838 
   13839 sunos4*)
   13840   version_type=sunos
   13841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13842   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13843   shlibpath_var=LD_LIBRARY_PATH
   13844   shlibpath_overrides_runpath=yes
   13845   if test "$with_gnu_ld" = yes; then
   13846     need_lib_prefix=no
   13847   fi
   13848   need_version=yes
   13849   ;;
   13850 
   13851 sysv4 | sysv4.3*)
   13852   version_type=linux
   13853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13854   soname_spec='${libname}${release}${shared_ext}$major'
   13855   shlibpath_var=LD_LIBRARY_PATH
   13856   case $host_vendor in
   13857     sni)
   13858       shlibpath_overrides_runpath=no
   13859       need_lib_prefix=no
   13860       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13861       runpath_var=LD_RUN_PATH
   13862       ;;
   13863     siemens)
   13864       need_lib_prefix=no
   13865       ;;
   13866     motorola)
   13867       need_lib_prefix=no
   13868       need_version=no
   13869       shlibpath_overrides_runpath=no
   13870       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13871       ;;
   13872   esac
   13873   ;;
   13874 
   13875 sysv4*MP*)
   13876   if test -d /usr/nec ;then
   13877     version_type=linux
   13878     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13879     soname_spec='$libname${shared_ext}.$major'
   13880     shlibpath_var=LD_LIBRARY_PATH
   13881   fi
   13882   ;;
   13883 
   13884 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13885   version_type=freebsd-elf
   13886   need_lib_prefix=no
   13887   need_version=no
   13888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13889   soname_spec='${libname}${release}${shared_ext}$major'
   13890   shlibpath_var=LD_LIBRARY_PATH
   13891   hardcode_into_libs=yes
   13892   if test "$with_gnu_ld" = yes; then
   13893     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13894     shlibpath_overrides_runpath=no
   13895   else
   13896     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13897     shlibpath_overrides_runpath=yes
   13898     case $host_os in
   13899       sco3.2v5*)
   13900         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13901 	;;
   13902     esac
   13903   fi
   13904   sys_lib_dlsearch_path_spec='/usr/lib'
   13905   ;;
   13906 
   13907 uts4*)
   13908   version_type=linux
   13909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13910   soname_spec='${libname}${release}${shared_ext}$major'
   13911   shlibpath_var=LD_LIBRARY_PATH
   13912   ;;
   13913 
   13914 *)
   13915   dynamic_linker=no
   13916   ;;
   13917 esac
   13918 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13919 echo "${ECHO_T}$dynamic_linker" >&6; }
   13920 test "$dynamic_linker" = no && can_build_shared=no
   13921 
   13922 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13923 if test "$GCC" = yes; then
   13924   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13925 fi
   13926 
   13927 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13928 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13929 hardcode_action_CXX=
   13930 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13931    test -n "$runpath_var_CXX" || \
   13932    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13933 
   13934   # We can hardcode non-existant directories.
   13935   if test "$hardcode_direct_CXX" != no &&
   13936      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13937      # have to relink, otherwise we might link with an installed library
   13938      # when we should be linking with a yet-to-be-installed one
   13939      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13940      test "$hardcode_minus_L_CXX" != no; then
   13941     # Linking always hardcodes the temporary library directory.
   13942     hardcode_action_CXX=relink
   13943   else
   13944     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13945     hardcode_action_CXX=immediate
   13946   fi
   13947 else
   13948   # We cannot hardcode anything, or else we can only hardcode existing
   13949   # directories.
   13950   hardcode_action_CXX=unsupported
   13951 fi
   13952 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13953 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13954 
   13955 if test "$hardcode_action_CXX" = relink; then
   13956   # Fast installation is not supported
   13957   enable_fast_install=no
   13958 elif test "$shlibpath_overrides_runpath" = yes ||
   13959      test "$enable_shared" = no; then
   13960   # Fast installation is not necessary
   13961   enable_fast_install=needless
   13962 fi
   13963 
   13964 
   13965 # The else clause should only fire when bootstrapping the
   13966 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13967 # with your package, and you will get complaints that there are
   13968 # no rules to generate ltmain.sh.
   13969 if test -f "$ltmain"; then
   13970   # See if we are running on zsh, and set the options which allow our commands through
   13971   # without removal of \ escapes.
   13972   if test -n "${ZSH_VERSION+set}" ; then
   13973     setopt NO_GLOB_SUBST
   13974   fi
   13975   # Now quote all the things that may contain metacharacters while being
   13976   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13977   # variables and quote the copies for generation of the libtool script.
   13978   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13979     SED SHELL STRIP \
   13980     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13981     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13982     deplibs_check_method reload_flag reload_cmds need_locks \
   13983     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13984     lt_cv_sys_global_symbol_to_c_name_address \
   13985     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13986     old_postinstall_cmds old_postuninstall_cmds \
   13987     compiler_CXX \
   13988     CC_CXX \
   13989     LD_CXX \
   13990     lt_prog_compiler_wl_CXX \
   13991     lt_prog_compiler_pic_CXX \
   13992     lt_prog_compiler_static_CXX \
   13993     lt_prog_compiler_no_builtin_flag_CXX \
   13994     export_dynamic_flag_spec_CXX \
   13995     thread_safe_flag_spec_CXX \
   13996     whole_archive_flag_spec_CXX \
   13997     enable_shared_with_static_runtimes_CXX \
   13998     old_archive_cmds_CXX \
   13999     old_archive_from_new_cmds_CXX \
   14000     predep_objects_CXX \
   14001     postdep_objects_CXX \
   14002     predeps_CXX \
   14003     postdeps_CXX \
   14004     compiler_lib_search_path_CXX \
   14005     archive_cmds_CXX \
   14006     archive_expsym_cmds_CXX \
   14007     postinstall_cmds_CXX \
   14008     postuninstall_cmds_CXX \
   14009     old_archive_from_expsyms_cmds_CXX \
   14010     allow_undefined_flag_CXX \
   14011     no_undefined_flag_CXX \
   14012     export_symbols_cmds_CXX \
   14013     hardcode_libdir_flag_spec_CXX \
   14014     hardcode_libdir_flag_spec_ld_CXX \
   14015     hardcode_libdir_separator_CXX \
   14016     hardcode_automatic_CXX \
   14017     module_cmds_CXX \
   14018     module_expsym_cmds_CXX \
   14019     lt_cv_prog_compiler_c_o_CXX \
   14020     exclude_expsyms_CXX \
   14021     include_expsyms_CXX; do
   14022 
   14023     case $var in
   14024     old_archive_cmds_CXX | \
   14025     old_archive_from_new_cmds_CXX | \
   14026     archive_cmds_CXX | \
   14027     archive_expsym_cmds_CXX | \
   14028     module_cmds_CXX | \
   14029     module_expsym_cmds_CXX | \
   14030     old_archive_from_expsyms_cmds_CXX | \
   14031     export_symbols_cmds_CXX | \
   14032     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   14033     postinstall_cmds | postuninstall_cmds | \
   14034     old_postinstall_cmds | old_postuninstall_cmds | \
   14035     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   14036       # Double-quote double-evaled strings.
   14037       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   14038       ;;
   14039     *)
   14040       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   14041       ;;
   14042     esac
   14043   done
   14044 
   14045   case $lt_echo in
   14046   *'\$0 --fallback-echo"')
   14047     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   14048     ;;
   14049   esac
   14050 
   14051 cfgfile="$ofile"
   14052 
   14053   cat <<__EOF__ >> "$cfgfile"
   14054 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   14055 
   14056 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14057 
   14058 # Shell to use when invoking shell scripts.
   14059 SHELL=$lt_SHELL
   14060 
   14061 # Whether or not to build shared libraries.
   14062 build_libtool_libs=$enable_shared
   14063 
   14064 # Whether or not to build static libraries.
   14065 build_old_libs=$enable_static
   14066 
   14067 # Whether or not to add -lc for building shared libraries.
   14068 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   14069 
   14070 # Whether or not to disallow shared libs when runtime libs are static
   14071 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   14072 
   14073 # Whether or not to optimize for fast installation.
   14074 fast_install=$enable_fast_install
   14075 
   14076 # The host system.
   14077 host_alias=$host_alias
   14078 host=$host
   14079 host_os=$host_os
   14080 
   14081 # The build system.
   14082 build_alias=$build_alias
   14083 build=$build
   14084 build_os=$build_os
   14085 
   14086 # An echo program that does not interpret backslashes.
   14087 echo=$lt_echo
   14088 
   14089 # The archiver.
   14090 AR=$lt_AR
   14091 AR_FLAGS=$lt_AR_FLAGS
   14092 
   14093 # A C compiler.
   14094 LTCC=$lt_LTCC
   14095 
   14096 # LTCC compiler flags.
   14097 LTCFLAGS=$lt_LTCFLAGS
   14098 
   14099 # A language-specific compiler.
   14100 CC=$lt_compiler_CXX
   14101 
   14102 # Is the compiler the GNU C compiler?
   14103 with_gcc=$GCC_CXX
   14104 
   14105 # An ERE matcher.
   14106 EGREP=$lt_EGREP
   14107 
   14108 # The linker used to build libraries.
   14109 LD=$lt_LD_CXX
   14110 
   14111 # Whether we need hard or soft links.
   14112 LN_S=$lt_LN_S
   14113 
   14114 # A BSD-compatible nm program.
   14115 NM=$lt_NM
   14116 
   14117 # A symbol stripping program
   14118 STRIP=$lt_STRIP
   14119 
   14120 # Used to examine libraries when file_magic_cmd begins "file"
   14121 MAGIC_CMD=$MAGIC_CMD
   14122 
   14123 # Used on cygwin: DLL creation program.
   14124 DLLTOOL="$DLLTOOL"
   14125 
   14126 # Used on cygwin: object dumper.
   14127 OBJDUMP="$OBJDUMP"
   14128 
   14129 # Used on cygwin: assembler.
   14130 AS="$AS"
   14131 
   14132 # The name of the directory that contains temporary libtool files.
   14133 objdir=$objdir
   14134 
   14135 # How to create reloadable object files.
   14136 reload_flag=$lt_reload_flag
   14137 reload_cmds=$lt_reload_cmds
   14138 
   14139 # How to pass a linker flag through the compiler.
   14140 wl=$lt_lt_prog_compiler_wl_CXX
   14141 
   14142 # Object file suffix (normally "o").
   14143 objext="$ac_objext"
   14144 
   14145 # Old archive suffix (normally "a").
   14146 libext="$libext"
   14147 
   14148 # Shared library suffix (normally ".so").
   14149 shrext_cmds='$shrext_cmds'
   14150 
   14151 # Executable file suffix (normally "").
   14152 exeext="$exeext"
   14153 
   14154 # Additional compiler flags for building library objects.
   14155 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14156 pic_mode=$pic_mode
   14157 
   14158 # What is the maximum length of a command?
   14159 max_cmd_len=$lt_cv_sys_max_cmd_len
   14160 
   14161 # Does compiler simultaneously support -c and -o options?
   14162 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14163 
   14164 # Must we lock files when doing compilation?
   14165 need_locks=$lt_need_locks
   14166 
   14167 # Do we need the lib prefix for modules?
   14168 need_lib_prefix=$need_lib_prefix
   14169 
   14170 # Do we need a version for libraries?
   14171 need_version=$need_version
   14172 
   14173 # Whether dlopen is supported.
   14174 dlopen_support=$enable_dlopen
   14175 
   14176 # Whether dlopen of programs is supported.
   14177 dlopen_self=$enable_dlopen_self
   14178 
   14179 # Whether dlopen of statically linked programs is supported.
   14180 dlopen_self_static=$enable_dlopen_self_static
   14181 
   14182 # Compiler flag to prevent dynamic linking.
   14183 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14184 
   14185 # Compiler flag to turn off builtin functions.
   14186 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14187 
   14188 # Compiler flag to allow reflexive dlopens.
   14189 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14190 
   14191 # Compiler flag to generate shared objects directly from archives.
   14192 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14193 
   14194 # Compiler flag to generate thread-safe objects.
   14195 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14196 
   14197 # Library versioning type.
   14198 version_type=$version_type
   14199 
   14200 # Format of library name prefix.
   14201 libname_spec=$lt_libname_spec
   14202 
   14203 # List of archive names.  First name is the real one, the rest are links.
   14204 # The last name is the one that the linker finds with -lNAME.
   14205 library_names_spec=$lt_library_names_spec
   14206 
   14207 # The coded name of the library, if different from the real name.
   14208 soname_spec=$lt_soname_spec
   14209 
   14210 # Commands used to build and install an old-style archive.
   14211 RANLIB=$lt_RANLIB
   14212 old_archive_cmds=$lt_old_archive_cmds_CXX
   14213 old_postinstall_cmds=$lt_old_postinstall_cmds
   14214 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14215 
   14216 # Create an old-style archive from a shared archive.
   14217 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14218 
   14219 # Create a temporary old-style archive to link instead of a shared archive.
   14220 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14221 
   14222 # Commands used to build and install a shared archive.
   14223 archive_cmds=$lt_archive_cmds_CXX
   14224 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14225 postinstall_cmds=$lt_postinstall_cmds
   14226 postuninstall_cmds=$lt_postuninstall_cmds
   14227 
   14228 # Commands used to build a loadable module (assumed same as above if empty)
   14229 module_cmds=$lt_module_cmds_CXX
   14230 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14231 
   14232 # Commands to strip libraries.
   14233 old_striplib=$lt_old_striplib
   14234 striplib=$lt_striplib
   14235 
   14236 # Dependencies to place before the objects being linked to create a
   14237 # shared library.
   14238 predep_objects=$lt_predep_objects_CXX
   14239 
   14240 # Dependencies to place after the objects being linked to create a
   14241 # shared library.
   14242 postdep_objects=$lt_postdep_objects_CXX
   14243 
   14244 # Dependencies to place before the objects being linked to create a
   14245 # shared library.
   14246 predeps=$lt_predeps_CXX
   14247 
   14248 # Dependencies to place after the objects being linked to create a
   14249 # shared library.
   14250 postdeps=$lt_postdeps_CXX
   14251 
   14252 # The library search path used internally by the compiler when linking
   14253 # a shared library.
   14254 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14255 
   14256 # Method to check whether dependent libraries are shared objects.
   14257 deplibs_check_method=$lt_deplibs_check_method
   14258 
   14259 # Command to use when deplibs_check_method == file_magic.
   14260 file_magic_cmd=$lt_file_magic_cmd
   14261 
   14262 # Flag that allows shared libraries with undefined symbols to be built.
   14263 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14264 
   14265 # Flag that forces no undefined symbols.
   14266 no_undefined_flag=$lt_no_undefined_flag_CXX
   14267 
   14268 # Commands used to finish a libtool library installation in a directory.
   14269 finish_cmds=$lt_finish_cmds
   14270 
   14271 # Same as above, but a single script fragment to be evaled but not shown.
   14272 finish_eval=$lt_finish_eval
   14273 
   14274 # Take the output of nm and produce a listing of raw symbols and C names.
   14275 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14276 
   14277 # Transform the output of nm in a proper C declaration
   14278 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14279 
   14280 # Transform the output of nm in a C name address pair
   14281 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14282 
   14283 # This is the shared library runtime path variable.
   14284 runpath_var=$runpath_var
   14285 
   14286 # This is the shared library path variable.
   14287 shlibpath_var=$shlibpath_var
   14288 
   14289 # Is shlibpath searched before the hard-coded library search path?
   14290 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14291 
   14292 # How to hardcode a shared library path into an executable.
   14293 hardcode_action=$hardcode_action_CXX
   14294 
   14295 # Whether we should hardcode library paths into libraries.
   14296 hardcode_into_libs=$hardcode_into_libs
   14297 
   14298 # Flag to hardcode \$libdir into a binary during linking.
   14299 # This must work even if \$libdir does not exist.
   14300 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14301 
   14302 # If ld is used when linking, flag to hardcode \$libdir into
   14303 # a binary during linking. This must work even if \$libdir does
   14304 # not exist.
   14305 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14306 
   14307 # Whether we need a single -rpath flag with a separated argument.
   14308 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14309 
   14310 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14311 # resulting binary.
   14312 hardcode_direct=$hardcode_direct_CXX
   14313 
   14314 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14315 # resulting binary.
   14316 hardcode_minus_L=$hardcode_minus_L_CXX
   14317 
   14318 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14319 # the resulting binary.
   14320 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14321 
   14322 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14323 # and all subsequent libraries and executables linked against it.
   14324 hardcode_automatic=$hardcode_automatic_CXX
   14325 
   14326 # Variables whose values should be saved in libtool wrapper scripts and
   14327 # restored at relink time.
   14328 variables_saved_for_relink="$variables_saved_for_relink"
   14329 
   14330 # Whether libtool must link a program against all its dependency libraries.
   14331 link_all_deplibs=$link_all_deplibs_CXX
   14332 
   14333 # Compile-time system search path for libraries
   14334 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14335 
   14336 # Run-time system search path for libraries
   14337 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14338 
   14339 # Fix the shell variable \$srcfile for the compiler.
   14340 fix_srcfile_path="$fix_srcfile_path_CXX"
   14341 
   14342 # Set to yes if exported symbols are required.
   14343 always_export_symbols=$always_export_symbols_CXX
   14344 
   14345 # The commands to list exported symbols.
   14346 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14347 
   14348 # The commands to extract the exported symbol list from a shared archive.
   14349 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14350 
   14351 # Symbols that should not be listed in the preloaded symbols.
   14352 exclude_expsyms=$lt_exclude_expsyms_CXX
   14353 
   14354 # Symbols that must always be exported.
   14355 include_expsyms=$lt_include_expsyms_CXX
   14356 
   14357 # ### END LIBTOOL TAG CONFIG: $tagname
   14358 
   14359 __EOF__
   14360 
   14361 
   14362 else
   14363   # If there is no Makefile yet, we rely on a make rule to execute
   14364   # `config.status --recheck' to rerun these tests and create the
   14365   # libtool script then.
   14366   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14367   if test -f "$ltmain_in"; then
   14368     test -f Makefile && make "$ltmain"
   14369   fi
   14370 fi
   14371 
   14372 
   14373 ac_ext=c
   14374 ac_cpp='$CPP $CPPFLAGS'
   14375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14378 
   14379 CC=$lt_save_CC
   14380 LDCXX=$LD
   14381 LD=$lt_save_LD
   14382 GCC=$lt_save_GCC
   14383 with_gnu_ldcxx=$with_gnu_ld
   14384 with_gnu_ld=$lt_save_with_gnu_ld
   14385 lt_cv_path_LDCXX=$lt_cv_path_LD
   14386 lt_cv_path_LD=$lt_save_path_LD
   14387 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14388 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14389 
   14390 	else
   14391 	  tagname=""
   14392 	fi
   14393 	;;
   14394 
   14395       F77)
   14396 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14397 
   14398 ac_ext=f
   14399 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14400 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14401 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14402 
   14403 
   14404 archive_cmds_need_lc_F77=no
   14405 allow_undefined_flag_F77=
   14406 always_export_symbols_F77=no
   14407 archive_expsym_cmds_F77=
   14408 export_dynamic_flag_spec_F77=
   14409 hardcode_direct_F77=no
   14410 hardcode_libdir_flag_spec_F77=
   14411 hardcode_libdir_flag_spec_ld_F77=
   14412 hardcode_libdir_separator_F77=
   14413 hardcode_minus_L_F77=no
   14414 hardcode_automatic_F77=no
   14415 module_cmds_F77=
   14416 module_expsym_cmds_F77=
   14417 link_all_deplibs_F77=unknown
   14418 old_archive_cmds_F77=$old_archive_cmds
   14419 no_undefined_flag_F77=
   14420 whole_archive_flag_spec_F77=
   14421 enable_shared_with_static_runtimes_F77=no
   14422 
   14423 # Source file extension for f77 test sources.
   14424 ac_ext=f
   14425 
   14426 # Object file extension for compiled f77 test sources.
   14427 objext=o
   14428 objext_F77=$objext
   14429 
   14430 # Code to be used in simple compile tests
   14431 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   14432 
   14433 # Code to be used in simple link tests
   14434 lt_simple_link_test_code="      program t\n      end\n"
   14435 
   14436 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14437 
   14438 # If no C compiler was specified, use CC.
   14439 LTCC=${LTCC-"$CC"}
   14440 
   14441 # If no C compiler flags were specified, use CFLAGS.
   14442 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14443 
   14444 # Allow CC to be a program name with arguments.
   14445 compiler=$CC
   14446 
   14447 
   14448 # save warnings/boilerplate of simple test code
   14449 ac_outfile=conftest.$ac_objext
   14450 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   14451 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14452 _lt_compiler_boilerplate=`cat conftest.err`
   14453 $rm conftest*
   14454 
   14455 ac_outfile=conftest.$ac_objext
   14456 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   14457 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14458 _lt_linker_boilerplate=`cat conftest.err`
   14459 $rm conftest*
   14460 
   14461 
   14462 # Allow CC to be a program name with arguments.
   14463 lt_save_CC="$CC"
   14464 CC=${F77-"f77"}
   14465 compiler=$CC
   14466 compiler_F77=$CC
   14467 for cc_temp in $compiler""; do
   14468   case $cc_temp in
   14469     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14470     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14471     \-*) ;;
   14472     *) break;;
   14473   esac
   14474 done
   14475 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14476 
   14477 
   14478 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14479 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14480 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14481 echo "${ECHO_T}$can_build_shared" >&6; }
   14482 
   14483 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14484 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14485 test "$can_build_shared" = "no" && enable_shared=no
   14486 
   14487 # On AIX, shared libraries and static libraries use the same namespace, and
   14488 # are all built from PIC.
   14489 case $host_os in
   14490 aix3*)
   14491   test "$enable_shared" = yes && enable_static=no
   14492   if test -n "$RANLIB"; then
   14493     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14494     postinstall_cmds='$RANLIB $lib'
   14495   fi
   14496   ;;
   14497 aix4* | aix5*)
   14498   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14499     test "$enable_shared" = yes && enable_static=no
   14500   fi
   14501   ;;
   14502 esac
   14503 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14504 echo "${ECHO_T}$enable_shared" >&6; }
   14505 
   14506 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14507 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14508 # Make sure either enable_shared or enable_static is yes.
   14509 test "$enable_shared" = yes || enable_static=yes
   14510 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14511 echo "${ECHO_T}$enable_static" >&6; }
   14512 
   14513 GCC_F77="$G77"
   14514 LD_F77="$LD"
   14515 
   14516 lt_prog_compiler_wl_F77=
   14517 lt_prog_compiler_pic_F77=
   14518 lt_prog_compiler_static_F77=
   14519 
   14520 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14521 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14522 
   14523   if test "$GCC" = yes; then
   14524     lt_prog_compiler_wl_F77='-Wl,'
   14525     lt_prog_compiler_static_F77='-static'
   14526 
   14527     case $host_os in
   14528       aix*)
   14529       # All AIX code is PIC.
   14530       if test "$host_cpu" = ia64; then
   14531 	# AIX 5 now supports IA64 processor
   14532 	lt_prog_compiler_static_F77='-Bstatic'
   14533       fi
   14534       ;;
   14535 
   14536     amigaos*)
   14537       # FIXME: we need at least 68020 code to build shared libraries, but
   14538       # adding the `-m68020' flag to GCC prevents building anything better,
   14539       # like `-m68040'.
   14540       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14541       ;;
   14542 
   14543     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14544       # PIC is the default for these OSes.
   14545       ;;
   14546 
   14547     mingw* | pw32* | os2*)
   14548       # This hack is so that the source file can tell whether it is being
   14549       # built for inclusion in a dll (and should export symbols for example).
   14550       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14551       ;;
   14552 
   14553     darwin* | rhapsody*)
   14554       # PIC is the default on this platform
   14555       # Common symbols not allowed in MH_DYLIB files
   14556       lt_prog_compiler_pic_F77='-fno-common'
   14557       ;;
   14558 
   14559     interix3*)
   14560       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14561       # Instead, we relocate shared libraries at runtime.
   14562       ;;
   14563 
   14564     msdosdjgpp*)
   14565       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14566       # on systems that don't support them.
   14567       lt_prog_compiler_can_build_shared_F77=no
   14568       enable_shared=no
   14569       ;;
   14570 
   14571     sysv4*MP*)
   14572       if test -d /usr/nec; then
   14573 	lt_prog_compiler_pic_F77=-Kconform_pic
   14574       fi
   14575       ;;
   14576 
   14577     hpux*)
   14578       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14579       # not for PA HP-UX.
   14580       case $host_cpu in
   14581       hppa*64*|ia64*)
   14582 	# +Z the default
   14583 	;;
   14584       *)
   14585 	lt_prog_compiler_pic_F77='-fPIC'
   14586 	;;
   14587       esac
   14588       ;;
   14589 
   14590     *)
   14591       lt_prog_compiler_pic_F77='-fPIC'
   14592       ;;
   14593     esac
   14594   else
   14595     # PORTME Check for flag to pass linker flags through the system compiler.
   14596     case $host_os in
   14597     aix*)
   14598       lt_prog_compiler_wl_F77='-Wl,'
   14599       if test "$host_cpu" = ia64; then
   14600 	# AIX 5 now supports IA64 processor
   14601 	lt_prog_compiler_static_F77='-Bstatic'
   14602       else
   14603 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14604       fi
   14605       ;;
   14606       darwin*)
   14607         # PIC is the default on this platform
   14608         # Common symbols not allowed in MH_DYLIB files
   14609        case $cc_basename in
   14610          xlc*)
   14611          lt_prog_compiler_pic_F77='-qnocommon'
   14612          lt_prog_compiler_wl_F77='-Wl,'
   14613          ;;
   14614        esac
   14615        ;;
   14616 
   14617     mingw* | pw32* | os2*)
   14618       # This hack is so that the source file can tell whether it is being
   14619       # built for inclusion in a dll (and should export symbols for example).
   14620       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14621       ;;
   14622 
   14623     hpux9* | hpux10* | hpux11*)
   14624       lt_prog_compiler_wl_F77='-Wl,'
   14625       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14626       # not for PA HP-UX.
   14627       case $host_cpu in
   14628       hppa*64*|ia64*)
   14629 	# +Z the default
   14630 	;;
   14631       *)
   14632 	lt_prog_compiler_pic_F77='+Z'
   14633 	;;
   14634       esac
   14635       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14636       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14637       ;;
   14638 
   14639     irix5* | irix6* | nonstopux*)
   14640       lt_prog_compiler_wl_F77='-Wl,'
   14641       # PIC (with -KPIC) is the default.
   14642       lt_prog_compiler_static_F77='-non_shared'
   14643       ;;
   14644 
   14645     newsos6)
   14646       lt_prog_compiler_pic_F77='-KPIC'
   14647       lt_prog_compiler_static_F77='-Bstatic'
   14648       ;;
   14649 
   14650     linux* | k*bsd*-gnu)
   14651       case $cc_basename in
   14652       icc* | ecc*)
   14653 	lt_prog_compiler_wl_F77='-Wl,'
   14654 	lt_prog_compiler_pic_F77='-KPIC'
   14655 	lt_prog_compiler_static_F77='-static'
   14656         ;;
   14657       pgcc* | pgf77* | pgf90* | pgf95*)
   14658         # Portland Group compilers (*not* the Pentium gcc compiler,
   14659 	# which looks to be a dead project)
   14660 	lt_prog_compiler_wl_F77='-Wl,'
   14661 	lt_prog_compiler_pic_F77='-fpic'
   14662 	lt_prog_compiler_static_F77='-Bstatic'
   14663         ;;
   14664       ccc*)
   14665         lt_prog_compiler_wl_F77='-Wl,'
   14666         # All Alpha code is PIC.
   14667         lt_prog_compiler_static_F77='-non_shared'
   14668         ;;
   14669       esac
   14670       ;;
   14671 
   14672     osf3* | osf4* | osf5*)
   14673       lt_prog_compiler_wl_F77='-Wl,'
   14674       # All OSF/1 code is PIC.
   14675       lt_prog_compiler_static_F77='-non_shared'
   14676       ;;
   14677 
   14678     solaris*)
   14679       lt_prog_compiler_pic_F77='-KPIC'
   14680       lt_prog_compiler_static_F77='-Bstatic'
   14681       case $cc_basename in
   14682       f77* | f90* | f95*)
   14683 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14684       *)
   14685 	lt_prog_compiler_wl_F77='-Wl,';;
   14686       esac
   14687       ;;
   14688 
   14689     sunos4*)
   14690       lt_prog_compiler_wl_F77='-Qoption ld '
   14691       lt_prog_compiler_pic_F77='-PIC'
   14692       lt_prog_compiler_static_F77='-Bstatic'
   14693       ;;
   14694 
   14695     sysv4 | sysv4.2uw2* | sysv4.3*)
   14696       lt_prog_compiler_wl_F77='-Wl,'
   14697       lt_prog_compiler_pic_F77='-KPIC'
   14698       lt_prog_compiler_static_F77='-Bstatic'
   14699       ;;
   14700 
   14701     sysv4*MP*)
   14702       if test -d /usr/nec ;then
   14703 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14704 	lt_prog_compiler_static_F77='-Bstatic'
   14705       fi
   14706       ;;
   14707 
   14708     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14709       lt_prog_compiler_wl_F77='-Wl,'
   14710       lt_prog_compiler_pic_F77='-KPIC'
   14711       lt_prog_compiler_static_F77='-Bstatic'
   14712       ;;
   14713 
   14714     unicos*)
   14715       lt_prog_compiler_wl_F77='-Wl,'
   14716       lt_prog_compiler_can_build_shared_F77=no
   14717       ;;
   14718 
   14719     uts4*)
   14720       lt_prog_compiler_pic_F77='-pic'
   14721       lt_prog_compiler_static_F77='-Bstatic'
   14722       ;;
   14723 
   14724     *)
   14725       lt_prog_compiler_can_build_shared_F77=no
   14726       ;;
   14727     esac
   14728   fi
   14729 
   14730 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14731 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14732 
   14733 #
   14734 # Check to make sure the PIC flag actually works.
   14735 #
   14736 if test -n "$lt_prog_compiler_pic_F77"; then
   14737 
   14738 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14739 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14740 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14741   echo $ECHO_N "(cached) $ECHO_C" >&6
   14742 else
   14743   lt_prog_compiler_pic_works_F77=no
   14744   ac_outfile=conftest.$ac_objext
   14745    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14746    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14747    # Insert the option either (1) after the last *FLAGS variable, or
   14748    # (2) before a word containing "conftest.", or (3) at the end.
   14749    # Note that $ac_compile itself does not contain backslashes and begins
   14750    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14751    # The option is referenced via a variable to avoid confusing sed.
   14752    lt_compile=`echo "$ac_compile" | $SED \
   14753    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14754    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14755    -e 's:$: $lt_compiler_flag:'`
   14756    (eval echo "\"\$as_me:14756: $lt_compile\"" >&5)
   14757    (eval "$lt_compile" 2>conftest.err)
   14758    ac_status=$?
   14759    cat conftest.err >&5
   14760    echo "$as_me:14760: \$? = $ac_status" >&5
   14761    if (exit $ac_status) && test -s "$ac_outfile"; then
   14762      # The compiler can only warn and ignore the option if not recognized
   14763      # So say no if there are warnings other than the usual output.
   14764      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14765      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14766      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14767        lt_prog_compiler_pic_works_F77=yes
   14768      fi
   14769    fi
   14770    $rm conftest*
   14771 
   14772 fi
   14773 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14774 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14775 
   14776 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14777     case $lt_prog_compiler_pic_F77 in
   14778      "" | " "*) ;;
   14779      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14780      esac
   14781 else
   14782     lt_prog_compiler_pic_F77=
   14783      lt_prog_compiler_can_build_shared_F77=no
   14784 fi
   14785 
   14786 fi
   14787 case $host_os in
   14788   # For platforms which do not support PIC, -DPIC is meaningless:
   14789   *djgpp*)
   14790     lt_prog_compiler_pic_F77=
   14791     ;;
   14792   *)
   14793     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14794     ;;
   14795 esac
   14796 
   14797 #
   14798 # Check to make sure the static flag actually works.
   14799 #
   14800 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14801 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14802 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14803 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14804   echo $ECHO_N "(cached) $ECHO_C" >&6
   14805 else
   14806   lt_prog_compiler_static_works_F77=no
   14807    save_LDFLAGS="$LDFLAGS"
   14808    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14809    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   14810    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14811      # The linker can only warn and ignore the option if not recognized
   14812      # So say no if there are warnings
   14813      if test -s conftest.err; then
   14814        # Append any errors to the config.log.
   14815        cat conftest.err 1>&5
   14816        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14817        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14818        if diff conftest.exp conftest.er2 >/dev/null; then
   14819          lt_prog_compiler_static_works_F77=yes
   14820        fi
   14821      else
   14822        lt_prog_compiler_static_works_F77=yes
   14823      fi
   14824    fi
   14825    $rm conftest*
   14826    LDFLAGS="$save_LDFLAGS"
   14827 
   14828 fi
   14829 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14830 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14831 
   14832 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14833     :
   14834 else
   14835     lt_prog_compiler_static_F77=
   14836 fi
   14837 
   14838 
   14839 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14840 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14841 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14842   echo $ECHO_N "(cached) $ECHO_C" >&6
   14843 else
   14844   lt_cv_prog_compiler_c_o_F77=no
   14845    $rm -r conftest 2>/dev/null
   14846    mkdir conftest
   14847    cd conftest
   14848    mkdir out
   14849    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14850 
   14851    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14852    # Insert the option either (1) after the last *FLAGS variable, or
   14853    # (2) before a word containing "conftest.", or (3) at the end.
   14854    # Note that $ac_compile itself does not contain backslashes and begins
   14855    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14856    lt_compile=`echo "$ac_compile" | $SED \
   14857    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14858    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14859    -e 's:$: $lt_compiler_flag:'`
   14860    (eval echo "\"\$as_me:14860: $lt_compile\"" >&5)
   14861    (eval "$lt_compile" 2>out/conftest.err)
   14862    ac_status=$?
   14863    cat out/conftest.err >&5
   14864    echo "$as_me:14864: \$? = $ac_status" >&5
   14865    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14866    then
   14867      # The compiler can only warn and ignore the option if not recognized
   14868      # So say no if there are warnings
   14869      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14870      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14871      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14872        lt_cv_prog_compiler_c_o_F77=yes
   14873      fi
   14874    fi
   14875    chmod u+w . 2>&5
   14876    $rm conftest*
   14877    # SGI C++ compiler will create directory out/ii_files/ for
   14878    # template instantiation
   14879    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14880    $rm out/* && rmdir out
   14881    cd ..
   14882    rmdir conftest
   14883    $rm conftest*
   14884 
   14885 fi
   14886 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14887 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14888 
   14889 
   14890 hard_links="nottested"
   14891 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14892   # do not overwrite the value of need_locks provided by the user
   14893   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14894 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14895   hard_links=yes
   14896   $rm conftest*
   14897   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14898   touch conftest.a
   14899   ln conftest.a conftest.b 2>&5 || hard_links=no
   14900   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14901   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14902 echo "${ECHO_T}$hard_links" >&6; }
   14903   if test "$hard_links" = no; then
   14904     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14905 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14906     need_locks=warn
   14907   fi
   14908 else
   14909   need_locks=no
   14910 fi
   14911 
   14912 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14913 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14914 
   14915   runpath_var=
   14916   allow_undefined_flag_F77=
   14917   enable_shared_with_static_runtimes_F77=no
   14918   archive_cmds_F77=
   14919   archive_expsym_cmds_F77=
   14920   old_archive_From_new_cmds_F77=
   14921   old_archive_from_expsyms_cmds_F77=
   14922   export_dynamic_flag_spec_F77=
   14923   whole_archive_flag_spec_F77=
   14924   thread_safe_flag_spec_F77=
   14925   hardcode_libdir_flag_spec_F77=
   14926   hardcode_libdir_flag_spec_ld_F77=
   14927   hardcode_libdir_separator_F77=
   14928   hardcode_direct_F77=no
   14929   hardcode_minus_L_F77=no
   14930   hardcode_shlibpath_var_F77=unsupported
   14931   link_all_deplibs_F77=unknown
   14932   hardcode_automatic_F77=no
   14933   module_cmds_F77=
   14934   module_expsym_cmds_F77=
   14935   always_export_symbols_F77=no
   14936   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14937   # include_expsyms should be a list of space-separated symbols to be *always*
   14938   # included in the symbol list
   14939   include_expsyms_F77=
   14940   # exclude_expsyms can be an extended regexp of symbols to exclude
   14941   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14942   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14943   # as well as any symbol that contains `d'.
   14944   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14945   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14946   # platforms (ab)use it in PIC code, but their linkers get confused if
   14947   # the symbol is explicitly referenced.  Since portable code cannot
   14948   # rely on this symbol name, it's probably fine to never include it in
   14949   # preloaded symbol tables.
   14950   extract_expsyms_cmds=
   14951   # Just being paranoid about ensuring that cc_basename is set.
   14952   for cc_temp in $compiler""; do
   14953   case $cc_temp in
   14954     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14955     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14956     \-*) ;;
   14957     *) break;;
   14958   esac
   14959 done
   14960 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14961 
   14962   case $host_os in
   14963   cygwin* | mingw* | pw32*)
   14964     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14965     # When not using gcc, we currently assume that we are using
   14966     # Microsoft Visual C++.
   14967     if test "$GCC" != yes; then
   14968       with_gnu_ld=no
   14969     fi
   14970     ;;
   14971   interix*)
   14972     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14973     with_gnu_ld=yes
   14974     ;;
   14975   openbsd*)
   14976     with_gnu_ld=no
   14977     ;;
   14978   esac
   14979 
   14980   ld_shlibs_F77=yes
   14981   if test "$with_gnu_ld" = yes; then
   14982     # If archive_cmds runs LD, not CC, wlarc should be empty
   14983     wlarc='${wl}'
   14984 
   14985     # Set some defaults for GNU ld with shared library support. These
   14986     # are reset later if shared libraries are not supported. Putting them
   14987     # here allows them to be overridden if necessary.
   14988     runpath_var=LD_RUN_PATH
   14989     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14990     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14991     # ancient GNU ld didn't support --whole-archive et. al.
   14992     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14993 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14994       else
   14995   	whole_archive_flag_spec_F77=
   14996     fi
   14997     supports_anon_versioning=no
   14998     case `$LD -v 2>/dev/null` in
   14999       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15000       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15001       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15002       *\ 2.11.*) ;; # other 2.11 versions
   15003       *) supports_anon_versioning=yes ;;
   15004     esac
   15005 
   15006     # See if GNU ld supports shared libraries.
   15007     case $host_os in
   15008     aix3* | aix4* | aix5*)
   15009       # On AIX/PPC, the GNU linker is very broken
   15010       if test "$host_cpu" != ia64; then
   15011 	ld_shlibs_F77=no
   15012 	cat <<EOF 1>&2
   15013 
   15014 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   15015 *** to be unable to reliably create shared libraries on AIX.
   15016 *** Therefore, libtool is disabling shared libraries support.  If you
   15017 *** really care for shared libraries, you may want to modify your PATH
   15018 *** so that a non-GNU linker is found, and then restart.
   15019 
   15020 EOF
   15021       fi
   15022       ;;
   15023 
   15024     amigaos*)
   15025       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)'
   15026       hardcode_libdir_flag_spec_F77='-L$libdir'
   15027       hardcode_minus_L_F77=yes
   15028 
   15029       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   15030       # that the semantics of dynamic libraries on AmigaOS, at least up
   15031       # to version 4, is to share data among multiple programs linked
   15032       # with the same dynamic library.  Since this doesn't match the
   15033       # behavior of shared libraries on other platforms, we can't use
   15034       # them.
   15035       ld_shlibs_F77=no
   15036       ;;
   15037 
   15038     beos*)
   15039       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15040 	allow_undefined_flag_F77=unsupported
   15041 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15042 	# support --undefined.  This deserves some investigation.  FIXME
   15043 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15044       else
   15045 	ld_shlibs_F77=no
   15046       fi
   15047       ;;
   15048 
   15049     cygwin* | mingw* | pw32*)
   15050       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   15051       # as there is no search path for DLLs.
   15052       hardcode_libdir_flag_spec_F77='-L$libdir'
   15053       allow_undefined_flag_F77=unsupported
   15054       always_export_symbols_F77=no
   15055       enable_shared_with_static_runtimes_F77=yes
   15056       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   15057 
   15058       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   15059         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15060 	# If the export-symbols file already is a .def file (1st line
   15061 	# is EXPORTS), use it as is; otherwise, prepend...
   15062 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15063 	  cp $export_symbols $output_objdir/$soname.def;
   15064 	else
   15065 	  echo EXPORTS > $output_objdir/$soname.def;
   15066 	  cat $export_symbols >> $output_objdir/$soname.def;
   15067 	fi~
   15068 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15069       else
   15070 	ld_shlibs_F77=no
   15071       fi
   15072       ;;
   15073 
   15074     interix3*)
   15075       hardcode_direct_F77=no
   15076       hardcode_shlibpath_var_F77=no
   15077       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15078       export_dynamic_flag_spec_F77='${wl}-E'
   15079       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15080       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15081       # default) and relocated if they conflict, which is a slow very memory
   15082       # consuming and fragmenting process.  To avoid this, we pick a random,
   15083       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15084       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15085       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'
   15086       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'
   15087       ;;
   15088 
   15089     linux* | k*bsd*-gnu)
   15090       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15091 	tmp_addflag=
   15092 	case $cc_basename,$host_cpu in
   15093 	pgcc*)				# Portland Group C compiler
   15094 	  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'
   15095 	  tmp_addflag=' $pic_flag'
   15096 	  ;;
   15097 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15098 	  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'
   15099 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15100 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15101 	  tmp_addflag=' -i_dynamic' ;;
   15102 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15103 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15104 	ifc* | ifort*)			# Intel Fortran compiler
   15105 	  tmp_addflag=' -nofor_main' ;;
   15106 	esac
   15107 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15108 
   15109 	if test $supports_anon_versioning = yes; then
   15110 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15111   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15112   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15113 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15114 	fi
   15115 	link_all_deplibs_F77=no
   15116       else
   15117 	ld_shlibs_F77=no
   15118       fi
   15119       ;;
   15120 
   15121     netbsd* | netbsdelf*-gnu)
   15122       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15123 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15124 	wlarc=
   15125       else
   15126 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15127 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15128       fi
   15129       ;;
   15130 
   15131     solaris*)
   15132       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15133 	ld_shlibs_F77=no
   15134 	cat <<EOF 1>&2
   15135 
   15136 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15137 *** create shared libraries on Solaris systems.  Therefore, libtool
   15138 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15139 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15140 *** your PATH or compiler configuration so that the native linker is
   15141 *** used, and then restart.
   15142 
   15143 EOF
   15144       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15145 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15146 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15147       else
   15148 	ld_shlibs_F77=no
   15149       fi
   15150       ;;
   15151 
   15152     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15153       case `$LD -v 2>&1` in
   15154         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15155 	ld_shlibs_F77=no
   15156 	cat <<_LT_EOF 1>&2
   15157 
   15158 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15159 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15160 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15161 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15162 *** your PATH or compiler configuration so that the native linker is
   15163 *** used, and then restart.
   15164 
   15165 _LT_EOF
   15166 	;;
   15167 	*)
   15168 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15169 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15170 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15171 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15172 	  else
   15173 	    ld_shlibs_F77=no
   15174 	  fi
   15175 	;;
   15176       esac
   15177       ;;
   15178 
   15179     sunos4*)
   15180       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15181       wlarc=
   15182       hardcode_direct_F77=yes
   15183       hardcode_shlibpath_var_F77=no
   15184       ;;
   15185 
   15186     *)
   15187       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15188 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15189 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15190       else
   15191 	ld_shlibs_F77=no
   15192       fi
   15193       ;;
   15194     esac
   15195 
   15196     if test "$ld_shlibs_F77" = no; then
   15197       runpath_var=
   15198       hardcode_libdir_flag_spec_F77=
   15199       export_dynamic_flag_spec_F77=
   15200       whole_archive_flag_spec_F77=
   15201     fi
   15202   else
   15203     # PORTME fill in a description of your system's linker (not GNU ld)
   15204     case $host_os in
   15205     aix3*)
   15206       allow_undefined_flag_F77=unsupported
   15207       always_export_symbols_F77=yes
   15208       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'
   15209       # Note: this linker hardcodes the directories in LIBPATH if there
   15210       # are no directories specified by -L.
   15211       hardcode_minus_L_F77=yes
   15212       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15213 	# Neither direct hardcoding nor static linking is supported with a
   15214 	# broken collect2.
   15215 	hardcode_direct_F77=unsupported
   15216       fi
   15217       ;;
   15218 
   15219     aix4* | aix5*)
   15220       if test "$host_cpu" = ia64; then
   15221 	# On IA64, the linker does run time linking by default, so we don't
   15222 	# have to do anything special.
   15223 	aix_use_runtimelinking=no
   15224 	exp_sym_flag='-Bexport'
   15225 	no_entry_flag=""
   15226       else
   15227 	# If we're using GNU nm, then we don't want the "-C" option.
   15228 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15229 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15230 	  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'
   15231 	else
   15232 	  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'
   15233 	fi
   15234 	aix_use_runtimelinking=no
   15235 
   15236 	# Test if we are trying to use run time linking or normal
   15237 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15238 	# need to do runtime linking.
   15239 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   15240 	  for ld_flag in $LDFLAGS; do
   15241   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15242   	    aix_use_runtimelinking=yes
   15243   	    break
   15244   	  fi
   15245 	  done
   15246 	  ;;
   15247 	esac
   15248 
   15249 	exp_sym_flag='-bexport'
   15250 	no_entry_flag='-bnoentry'
   15251       fi
   15252 
   15253       # When large executables or shared objects are built, AIX ld can
   15254       # have problems creating the table of contents.  If linking a library
   15255       # or program results in "error TOC overflow" add -mminimal-toc to
   15256       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15257       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15258 
   15259       archive_cmds_F77=''
   15260       hardcode_direct_F77=yes
   15261       hardcode_libdir_separator_F77=':'
   15262       link_all_deplibs_F77=yes
   15263 
   15264       if test "$GCC" = yes; then
   15265 	case $host_os in aix4.[012]|aix4.[012].*)
   15266 	# We only want to do this on AIX 4.2 and lower, the check
   15267 	# below for broken collect2 doesn't work under 4.3+
   15268 	  collect2name=`${CC} -print-prog-name=collect2`
   15269 	  if test -f "$collect2name" && \
   15270   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15271 	  then
   15272   	  # We have reworked collect2
   15273   	  hardcode_direct_F77=yes
   15274 	  else
   15275   	  # We have old collect2
   15276   	  hardcode_direct_F77=unsupported
   15277   	  # It fails to find uninstalled libraries when the uninstalled
   15278   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15279   	  # to unsupported forces relinking
   15280   	  hardcode_minus_L_F77=yes
   15281   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15282   	  hardcode_libdir_separator_F77=
   15283 	  fi
   15284 	  ;;
   15285 	esac
   15286 	shared_flag='-shared'
   15287 	if test "$aix_use_runtimelinking" = yes; then
   15288 	  shared_flag="$shared_flag "'${wl}-G'
   15289 	fi
   15290       else
   15291 	# not using gcc
   15292 	if test "$host_cpu" = ia64; then
   15293   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15294   	# chokes on -Wl,-G. The following line is correct:
   15295 	  shared_flag='-G'
   15296 	else
   15297 	  if test "$aix_use_runtimelinking" = yes; then
   15298 	    shared_flag='${wl}-G'
   15299 	  else
   15300 	    shared_flag='${wl}-bM:SRE'
   15301 	  fi
   15302 	fi
   15303       fi
   15304 
   15305       # It seems that -bexpall does not export symbols beginning with
   15306       # underscore (_), so it is better to generate a list of symbols to export.
   15307       always_export_symbols_F77=yes
   15308       if test "$aix_use_runtimelinking" = yes; then
   15309 	# Warning - without using the other runtime loading flags (-brtl),
   15310 	# -berok will link without error, but may produce a broken library.
   15311 	allow_undefined_flag_F77='-berok'
   15312        # Determine the default libpath from the value encoded in an empty executable.
   15313        cat >conftest.$ac_ext <<_ACEOF
   15314       program main
   15315 
   15316       end
   15317 _ACEOF
   15318 rm -f conftest.$ac_objext conftest$ac_exeext
   15319 if { (ac_try="$ac_link"
   15320 case "(($ac_try" in
   15321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15322   *) ac_try_echo=$ac_try;;
   15323 esac
   15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15325   (eval "$ac_link") 2>conftest.er1
   15326   ac_status=$?
   15327   grep -v '^ *+' conftest.er1 >conftest.err
   15328   rm -f conftest.er1
   15329   cat conftest.err >&5
   15330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15331   (exit $ac_status); } &&
   15332 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   15333   { (case "(($ac_try" in
   15334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15335   *) ac_try_echo=$ac_try;;
   15336 esac
   15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15338   (eval "$ac_try") 2>&5
   15339   ac_status=$?
   15340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15341   (exit $ac_status); }; } &&
   15342 	 { ac_try='test -s conftest$ac_exeext'
   15343   { (case "(($ac_try" in
   15344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15345   *) ac_try_echo=$ac_try;;
   15346 esac
   15347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15348   (eval "$ac_try") 2>&5
   15349   ac_status=$?
   15350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15351   (exit $ac_status); }; }; then
   15352 
   15353 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15354 }'`
   15355 # Check for a 64-bit object if we didn't find anything.
   15356 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; }
   15357 }'`; fi
   15358 else
   15359   echo "$as_me: failed program was:" >&5
   15360 sed 's/^/| /' conftest.$ac_ext >&5
   15361 
   15362 
   15363 fi
   15364 
   15365 rm -f core conftest.err conftest.$ac_objext \
   15366       conftest$ac_exeext conftest.$ac_ext
   15367 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15368 
   15369        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15370 	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"
   15371        else
   15372 	if test "$host_cpu" = ia64; then
   15373 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15374 	  allow_undefined_flag_F77="-z nodefs"
   15375 	  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"
   15376 	else
   15377 	 # Determine the default libpath from the value encoded in an empty executable.
   15378 	 cat >conftest.$ac_ext <<_ACEOF
   15379       program main
   15380 
   15381       end
   15382 _ACEOF
   15383 rm -f conftest.$ac_objext conftest$ac_exeext
   15384 if { (ac_try="$ac_link"
   15385 case "(($ac_try" in
   15386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15387   *) ac_try_echo=$ac_try;;
   15388 esac
   15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15390   (eval "$ac_link") 2>conftest.er1
   15391   ac_status=$?
   15392   grep -v '^ *+' conftest.er1 >conftest.err
   15393   rm -f conftest.er1
   15394   cat conftest.err >&5
   15395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15396   (exit $ac_status); } &&
   15397 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   15398   { (case "(($ac_try" in
   15399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15400   *) ac_try_echo=$ac_try;;
   15401 esac
   15402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15403   (eval "$ac_try") 2>&5
   15404   ac_status=$?
   15405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15406   (exit $ac_status); }; } &&
   15407 	 { ac_try='test -s conftest$ac_exeext'
   15408   { (case "(($ac_try" in
   15409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15410   *) ac_try_echo=$ac_try;;
   15411 esac
   15412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15413   (eval "$ac_try") 2>&5
   15414   ac_status=$?
   15415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15416   (exit $ac_status); }; }; then
   15417 
   15418 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15419 }'`
   15420 # Check for a 64-bit object if we didn't find anything.
   15421 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; }
   15422 }'`; fi
   15423 else
   15424   echo "$as_me: failed program was:" >&5
   15425 sed 's/^/| /' conftest.$ac_ext >&5
   15426 
   15427 
   15428 fi
   15429 
   15430 rm -f core conftest.err conftest.$ac_objext \
   15431       conftest$ac_exeext conftest.$ac_ext
   15432 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15433 
   15434 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15435 	  # Warning - without using the other run time loading flags,
   15436 	  # -berok will link without error, but may produce a broken library.
   15437 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15438 	  allow_undefined_flag_F77=' ${wl}-berok'
   15439 	  # Exported symbols can be pulled into shared objects from archives
   15440 	  whole_archive_flag_spec_F77='$convenience'
   15441 	  archive_cmds_need_lc_F77=yes
   15442 	  # This is similar to how AIX traditionally builds its shared libraries.
   15443 	  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'
   15444 	fi
   15445       fi
   15446       ;;
   15447 
   15448     amigaos*)
   15449       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)'
   15450       hardcode_libdir_flag_spec_F77='-L$libdir'
   15451       hardcode_minus_L_F77=yes
   15452       # see comment about different semantics on the GNU ld section
   15453       ld_shlibs_F77=no
   15454       ;;
   15455 
   15456     bsdi[45]*)
   15457       export_dynamic_flag_spec_F77=-rdynamic
   15458       ;;
   15459 
   15460     cygwin* | mingw* | pw32*)
   15461       # When not using gcc, we currently assume that we are using
   15462       # Microsoft Visual C++.
   15463       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15464       # no search path for DLLs.
   15465       hardcode_libdir_flag_spec_F77=' '
   15466       allow_undefined_flag_F77=unsupported
   15467       # Tell ltmain to make .lib files, not .a files.
   15468       libext=lib
   15469       # Tell ltmain to make .dll files, not .so files.
   15470       shrext_cmds=".dll"
   15471       # FIXME: Setting linknames here is a bad hack.
   15472       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15473       # The linker will automatically build a .lib file if we build a DLL.
   15474       old_archive_From_new_cmds_F77='true'
   15475       # FIXME: Should let the user specify the lib program.
   15476       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   15477       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15478       enable_shared_with_static_runtimes_F77=yes
   15479       ;;
   15480 
   15481     darwin* | rhapsody*)
   15482       case $host_os in
   15483         rhapsody* | darwin1.[012])
   15484          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15485          ;;
   15486        *) # Darwin 1.3 on
   15487          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15488            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15489          else
   15490            case ${MACOSX_DEPLOYMENT_TARGET} in
   15491              10.[012])
   15492                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15493                ;;
   15494              10.*)
   15495                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15496                ;;
   15497            esac
   15498          fi
   15499          ;;
   15500       esac
   15501       archive_cmds_need_lc_F77=no
   15502       hardcode_direct_F77=no
   15503       hardcode_automatic_F77=yes
   15504       hardcode_shlibpath_var_F77=unsupported
   15505       whole_archive_flag_spec_F77=''
   15506       link_all_deplibs_F77=yes
   15507     if test "$GCC" = yes ; then
   15508     	output_verbose_link_cmd='echo'
   15509         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   15510       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15511       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15512       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}'
   15513       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}'
   15514     else
   15515       case $cc_basename in
   15516         xlc*)
   15517          output_verbose_link_cmd='echo'
   15518          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   15519          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15520           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15521          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}'
   15522           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}'
   15523           ;;
   15524        *)
   15525          ld_shlibs_F77=no
   15526           ;;
   15527       esac
   15528     fi
   15529       ;;
   15530 
   15531     dgux*)
   15532       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15533       hardcode_libdir_flag_spec_F77='-L$libdir'
   15534       hardcode_shlibpath_var_F77=no
   15535       ;;
   15536 
   15537     freebsd1*)
   15538       ld_shlibs_F77=no
   15539       ;;
   15540 
   15541     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15542     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15543     # does not break anything, and helps significantly (at the cost of a little
   15544     # extra space).
   15545     freebsd2.2*)
   15546       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15547       hardcode_libdir_flag_spec_F77='-R$libdir'
   15548       hardcode_direct_F77=yes
   15549       hardcode_shlibpath_var_F77=no
   15550       ;;
   15551 
   15552     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15553     freebsd2*)
   15554       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15555       hardcode_direct_F77=yes
   15556       hardcode_minus_L_F77=yes
   15557       hardcode_shlibpath_var_F77=no
   15558       ;;
   15559 
   15560     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15561     freebsd* | dragonfly*)
   15562       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15563       hardcode_libdir_flag_spec_F77='-R$libdir'
   15564       hardcode_direct_F77=yes
   15565       hardcode_shlibpath_var_F77=no
   15566       ;;
   15567 
   15568     hpux9*)
   15569       if test "$GCC" = yes; then
   15570 	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'
   15571       else
   15572 	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'
   15573       fi
   15574       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15575       hardcode_libdir_separator_F77=:
   15576       hardcode_direct_F77=yes
   15577 
   15578       # hardcode_minus_L: Not really in the search PATH,
   15579       # but as the default location of the library.
   15580       hardcode_minus_L_F77=yes
   15581       export_dynamic_flag_spec_F77='${wl}-E'
   15582       ;;
   15583 
   15584     hpux10*)
   15585       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15586 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15587       else
   15588 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15589       fi
   15590       if test "$with_gnu_ld" = no; then
   15591 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15592 	hardcode_libdir_separator_F77=:
   15593 
   15594 	hardcode_direct_F77=yes
   15595 	export_dynamic_flag_spec_F77='${wl}-E'
   15596 
   15597 	# hardcode_minus_L: Not really in the search PATH,
   15598 	# but as the default location of the library.
   15599 	hardcode_minus_L_F77=yes
   15600       fi
   15601       ;;
   15602 
   15603     hpux11*)
   15604       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15605 	case $host_cpu in
   15606 	hppa*64*)
   15607 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15608 	  ;;
   15609 	ia64*)
   15610 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15611 	  ;;
   15612 	*)
   15613 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15614 	  ;;
   15615 	esac
   15616       else
   15617 	case $host_cpu in
   15618 	hppa*64*)
   15619 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15620 	  ;;
   15621 	ia64*)
   15622 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15623 	  ;;
   15624 	*)
   15625 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15626 	  ;;
   15627 	esac
   15628       fi
   15629       if test "$with_gnu_ld" = no; then
   15630 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15631 	hardcode_libdir_separator_F77=:
   15632 
   15633 	case $host_cpu in
   15634 	hppa*64*|ia64*)
   15635 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15636 	  hardcode_direct_F77=no
   15637 	  hardcode_shlibpath_var_F77=no
   15638 	  ;;
   15639 	*)
   15640 	  hardcode_direct_F77=yes
   15641 	  export_dynamic_flag_spec_F77='${wl}-E'
   15642 
   15643 	  # hardcode_minus_L: Not really in the search PATH,
   15644 	  # but as the default location of the library.
   15645 	  hardcode_minus_L_F77=yes
   15646 	  ;;
   15647 	esac
   15648       fi
   15649       ;;
   15650 
   15651     irix5* | irix6* | nonstopux*)
   15652       if test "$GCC" = yes; then
   15653 	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'
   15654       else
   15655 	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'
   15656 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15657       fi
   15658       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15659       hardcode_libdir_separator_F77=:
   15660       link_all_deplibs_F77=yes
   15661       ;;
   15662 
   15663     netbsd* | netbsdelf*-gnu)
   15664       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15665 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15666       else
   15667 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15668       fi
   15669       hardcode_libdir_flag_spec_F77='-R$libdir'
   15670       hardcode_direct_F77=yes
   15671       hardcode_shlibpath_var_F77=no
   15672       ;;
   15673 
   15674     newsos6)
   15675       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15676       hardcode_direct_F77=yes
   15677       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15678       hardcode_libdir_separator_F77=:
   15679       hardcode_shlibpath_var_F77=no
   15680       ;;
   15681 
   15682     openbsd*)
   15683       hardcode_direct_F77=yes
   15684       hardcode_shlibpath_var_F77=no
   15685       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15686 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15687 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15688 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15689 	export_dynamic_flag_spec_F77='${wl}-E'
   15690       else
   15691        case $host_os in
   15692 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15693 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15694 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   15695 	   ;;
   15696 	 *)
   15697 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15698 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15699 	   ;;
   15700        esac
   15701       fi
   15702       ;;
   15703 
   15704     os2*)
   15705       hardcode_libdir_flag_spec_F77='-L$libdir'
   15706       hardcode_minus_L_F77=yes
   15707       allow_undefined_flag_F77=unsupported
   15708       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'
   15709       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15710       ;;
   15711 
   15712     osf3*)
   15713       if test "$GCC" = yes; then
   15714 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15715 	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'
   15716       else
   15717 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15718 	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'
   15719       fi
   15720       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15721       hardcode_libdir_separator_F77=:
   15722       ;;
   15723 
   15724     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15725       if test "$GCC" = yes; then
   15726 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15727 	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'
   15728 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15729       else
   15730 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15731 	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'
   15732 	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~
   15733 	$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'
   15734 
   15735 	# Both c and cxx compiler support -rpath directly
   15736 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15737       fi
   15738       hardcode_libdir_separator_F77=:
   15739       ;;
   15740 
   15741     solaris*)
   15742       no_undefined_flag_F77=' -z text'
   15743       if test "$GCC" = yes; then
   15744 	wlarc='${wl}'
   15745 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15746 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15747 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15748       else
   15749 	wlarc=''
   15750 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15751 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15752   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15753       fi
   15754       hardcode_libdir_flag_spec_F77='-R$libdir'
   15755       hardcode_shlibpath_var_F77=no
   15756       case $host_os in
   15757       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15758       *)
   15759  	# The compiler driver will combine linker options so we
   15760  	# cannot just pass the convience library names through
   15761  	# without $wl, iff we do not link with $LD.
   15762  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   15763  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15764  	case $wlarc in
   15765  	'')
   15766  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   15767  	*)
   15768  	  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' ;;
   15769  	esac ;;
   15770       esac
   15771       link_all_deplibs_F77=yes
   15772       ;;
   15773 
   15774     sunos4*)
   15775       if test "x$host_vendor" = xsequent; then
   15776 	# Use $CC to link under sequent, because it throws in some extra .o
   15777 	# files that make .init and .fini sections work.
   15778 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15779       else
   15780 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15781       fi
   15782       hardcode_libdir_flag_spec_F77='-L$libdir'
   15783       hardcode_direct_F77=yes
   15784       hardcode_minus_L_F77=yes
   15785       hardcode_shlibpath_var_F77=no
   15786       ;;
   15787 
   15788     sysv4)
   15789       case $host_vendor in
   15790 	sni)
   15791 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15792 	  hardcode_direct_F77=yes # is this really true???
   15793 	;;
   15794 	siemens)
   15795 	  ## LD is ld it makes a PLAMLIB
   15796 	  ## CC just makes a GrossModule.
   15797 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15798 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15799 	  hardcode_direct_F77=no
   15800         ;;
   15801 	motorola)
   15802 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15803 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15804 	;;
   15805       esac
   15806       runpath_var='LD_RUN_PATH'
   15807       hardcode_shlibpath_var_F77=no
   15808       ;;
   15809 
   15810     sysv4.3*)
   15811       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15812       hardcode_shlibpath_var_F77=no
   15813       export_dynamic_flag_spec_F77='-Bexport'
   15814       ;;
   15815 
   15816     sysv4*MP*)
   15817       if test -d /usr/nec; then
   15818 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15819 	hardcode_shlibpath_var_F77=no
   15820 	runpath_var=LD_RUN_PATH
   15821 	hardcode_runpath_var=yes
   15822 	ld_shlibs_F77=yes
   15823       fi
   15824       ;;
   15825 
   15826     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   15827       no_undefined_flag_F77='${wl}-z,text'
   15828       archive_cmds_need_lc_F77=no
   15829       hardcode_shlibpath_var_F77=no
   15830       runpath_var='LD_RUN_PATH'
   15831 
   15832       if test "$GCC" = yes; then
   15833 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15834 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15835       else
   15836 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15837 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15838       fi
   15839       ;;
   15840 
   15841     sysv5* | sco3.2v5* | sco5v6*)
   15842       # Note: We can NOT use -z defs as we might desire, because we do not
   15843       # link with -lc, and that would cause any symbols used from libc to
   15844       # always be unresolved, which means just about no library would
   15845       # ever link correctly.  If we're not using GNU ld we use -z text
   15846       # though, which does catch some bad symbols but isn't as heavy-handed
   15847       # as -z defs.
   15848       no_undefined_flag_F77='${wl}-z,text'
   15849       allow_undefined_flag_F77='${wl}-z,nodefs'
   15850       archive_cmds_need_lc_F77=no
   15851       hardcode_shlibpath_var_F77=no
   15852       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15853       hardcode_libdir_separator_F77=':'
   15854       link_all_deplibs_F77=yes
   15855       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15856       runpath_var='LD_RUN_PATH'
   15857 
   15858       if test "$GCC" = yes; then
   15859 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15860 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15861       else
   15862 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15863 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15864       fi
   15865       ;;
   15866 
   15867     uts4*)
   15868       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15869       hardcode_libdir_flag_spec_F77='-L$libdir'
   15870       hardcode_shlibpath_var_F77=no
   15871       ;;
   15872 
   15873     *)
   15874       ld_shlibs_F77=no
   15875       ;;
   15876     esac
   15877   fi
   15878 
   15879 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15880 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15881 test "$ld_shlibs_F77" = no && can_build_shared=no
   15882 
   15883 #
   15884 # Do we need to explicitly link libc?
   15885 #
   15886 case "x$archive_cmds_need_lc_F77" in
   15887 x|xyes)
   15888   # Assume -lc should be added
   15889   archive_cmds_need_lc_F77=yes
   15890 
   15891   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15892     case $archive_cmds_F77 in
   15893     *'~'*)
   15894       # FIXME: we may have to deal with multi-command sequences.
   15895       ;;
   15896     '$CC '*)
   15897       # Test whether the compiler implicitly links with -lc since on some
   15898       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15899       # to ld, don't add -lc before -lgcc.
   15900       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15901 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15902       $rm conftest*
   15903       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15904 
   15905       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15906   (eval $ac_compile) 2>&5
   15907   ac_status=$?
   15908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15909   (exit $ac_status); } 2>conftest.err; then
   15910         soname=conftest
   15911         lib=conftest
   15912         libobjs=conftest.$ac_objext
   15913         deplibs=
   15914         wl=$lt_prog_compiler_wl_F77
   15915 	pic_flag=$lt_prog_compiler_pic_F77
   15916         compiler_flags=-v
   15917         linker_flags=-v
   15918         verstring=
   15919         output_objdir=.
   15920         libname=conftest
   15921         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15922         allow_undefined_flag_F77=
   15923         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15924   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15925   ac_status=$?
   15926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15927   (exit $ac_status); }
   15928         then
   15929 	  archive_cmds_need_lc_F77=no
   15930         else
   15931 	  archive_cmds_need_lc_F77=yes
   15932         fi
   15933         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15934       else
   15935         cat conftest.err 1>&5
   15936       fi
   15937       $rm conftest*
   15938       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15939 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15940       ;;
   15941     esac
   15942   fi
   15943   ;;
   15944 esac
   15945 
   15946 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15947 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15948 library_names_spec=
   15949 libname_spec='lib$name'
   15950 soname_spec=
   15951 shrext_cmds=".so"
   15952 postinstall_cmds=
   15953 postuninstall_cmds=
   15954 finish_cmds=
   15955 finish_eval=
   15956 shlibpath_var=
   15957 shlibpath_overrides_runpath=unknown
   15958 version_type=none
   15959 dynamic_linker="$host_os ld.so"
   15960 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15961 if test "$GCC" = yes; then
   15962   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15963   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15964     # if the path contains ";" then we assume it to be the separator
   15965     # otherwise default to the standard path separator (i.e. ":") - it is
   15966     # assumed that no part of a normal pathname contains ";" but that should
   15967     # okay in the real world where ";" in dirpaths is itself problematic.
   15968     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15969   else
   15970     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15971   fi
   15972 else
   15973   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15974 fi
   15975 need_lib_prefix=unknown
   15976 hardcode_into_libs=no
   15977 
   15978 # when you set need_version to no, make sure it does not cause -set_version
   15979 # flags to be left without arguments
   15980 need_version=unknown
   15981 
   15982 case $host_os in
   15983 aix3*)
   15984   version_type=linux
   15985   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15986   shlibpath_var=LIBPATH
   15987 
   15988   # AIX 3 has no versioning support, so we append a major version to the name.
   15989   soname_spec='${libname}${release}${shared_ext}$major'
   15990   ;;
   15991 
   15992 aix4* | aix5*)
   15993   version_type=linux
   15994   need_lib_prefix=no
   15995   need_version=no
   15996   hardcode_into_libs=yes
   15997   if test "$host_cpu" = ia64; then
   15998     # AIX 5 supports IA64
   15999     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16000     shlibpath_var=LD_LIBRARY_PATH
   16001   else
   16002     # With GCC up to 2.95.x, collect2 would create an import file
   16003     # for dependence libraries.  The import file would start with
   16004     # the line `#! .'.  This would cause the generated library to
   16005     # depend on `.', always an invalid library.  This was fixed in
   16006     # development snapshots of GCC prior to 3.0.
   16007     case $host_os in
   16008       aix4 | aix4.[01] | aix4.[01].*)
   16009       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16010 	   echo ' yes '
   16011 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   16012 	:
   16013       else
   16014 	can_build_shared=no
   16015       fi
   16016       ;;
   16017     esac
   16018     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16019     # soname into executable. Probably we can add versioning support to
   16020     # collect2, so additional links can be useful in future.
   16021     if test "$aix_use_runtimelinking" = yes; then
   16022       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16023       # instead of lib<name>.a to let people know that these are not
   16024       # typical AIX shared libraries.
   16025       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16026     else
   16027       # We preserve .a as extension for shared libraries through AIX4.2
   16028       # and later when we are not doing run time linking.
   16029       library_names_spec='${libname}${release}.a $libname.a'
   16030       soname_spec='${libname}${release}${shared_ext}$major'
   16031     fi
   16032     shlibpath_var=LIBPATH
   16033   fi
   16034   ;;
   16035 
   16036 amigaos*)
   16037   library_names_spec='$libname.ixlibrary $libname.a'
   16038   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16039   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'
   16040   ;;
   16041 
   16042 beos*)
   16043   library_names_spec='${libname}${shared_ext}'
   16044   dynamic_linker="$host_os ld.so"
   16045   shlibpath_var=LIBRARY_PATH
   16046   ;;
   16047 
   16048 bsdi[45]*)
   16049   version_type=linux
   16050   need_version=no
   16051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16052   soname_spec='${libname}${release}${shared_ext}$major'
   16053   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16054   shlibpath_var=LD_LIBRARY_PATH
   16055   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16056   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16057   # the default ld.so.conf also contains /usr/contrib/lib and
   16058   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16059   # libtool to hard-code these into programs
   16060   ;;
   16061 
   16062 cygwin* | mingw* | pw32*)
   16063   version_type=windows
   16064   shrext_cmds=".dll"
   16065   need_version=no
   16066   need_lib_prefix=no
   16067 
   16068   case $GCC,$host_os in
   16069   yes,cygwin* | yes,mingw* | yes,pw32*)
   16070     library_names_spec='$libname.dll.a'
   16071     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16072     postinstall_cmds='base_file=`basename \${file}`~
   16073       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   16074       dldir=$destdir/`dirname \$dlpath`~
   16075       test -d \$dldir || mkdir -p \$dldir~
   16076       $install_prog $dir/$dlname \$dldir/$dlname~
   16077       chmod a+x \$dldir/$dlname'
   16078     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16079       dlpath=$dir/\$dldll~
   16080        $rm \$dlpath'
   16081     shlibpath_overrides_runpath=yes
   16082 
   16083     case $host_os in
   16084     cygwin*)
   16085       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16086       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16087       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   16088       ;;
   16089     mingw*)
   16090       # MinGW DLLs use traditional 'lib' prefix
   16091       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16092       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   16093       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   16094         # It is most probably a Windows format PATH printed by
   16095         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   16096         # path with ; separators, and with drive letters. We can handle the
   16097         # drive letters (cygwin fileutils understands them), so leave them,
   16098         # especially as we might pass files found there to a mingw objdump,
   16099         # which wouldn't understand a cygwinified path. Ahh.
   16100         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16101       else
   16102         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   16103       fi
   16104       ;;
   16105     pw32*)
   16106       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16107       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16108       ;;
   16109     esac
   16110     ;;
   16111 
   16112   *)
   16113     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16114     ;;
   16115   esac
   16116   dynamic_linker='Win32 ld.exe'
   16117   # FIXME: first we should search . and the directory the executable is in
   16118   shlibpath_var=PATH
   16119   ;;
   16120 
   16121 darwin* | rhapsody*)
   16122   dynamic_linker="$host_os dyld"
   16123   version_type=darwin
   16124   need_lib_prefix=no
   16125   need_version=no
   16126   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16127   soname_spec='${libname}${release}${major}$shared_ext'
   16128   shlibpath_overrides_runpath=yes
   16129   shlibpath_var=DYLD_LIBRARY_PATH
   16130   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16131   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   16132   if test "$GCC" = yes; then
   16133     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"`
   16134   else
   16135     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   16136   fi
   16137   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16138   ;;
   16139 
   16140 dgux*)
   16141   version_type=linux
   16142   need_lib_prefix=no
   16143   need_version=no
   16144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16145   soname_spec='${libname}${release}${shared_ext}$major'
   16146   shlibpath_var=LD_LIBRARY_PATH
   16147   ;;
   16148 
   16149 freebsd1*)
   16150   dynamic_linker=no
   16151   ;;
   16152 
   16153 freebsd* | dragonfly*)
   16154   # DragonFly does not have aout.  When/if they implement a new
   16155   # versioning mechanism, adjust this.
   16156   if test -x /usr/bin/objformat; then
   16157     objformat=`/usr/bin/objformat`
   16158   else
   16159     case $host_os in
   16160     freebsd[123]*) objformat=aout ;;
   16161     *) objformat=elf ;;
   16162     esac
   16163   fi
   16164   version_type=freebsd-$objformat
   16165   case $version_type in
   16166     freebsd-elf*)
   16167       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16168       need_version=no
   16169       need_lib_prefix=no
   16170       ;;
   16171     freebsd-*)
   16172       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16173       need_version=yes
   16174       ;;
   16175   esac
   16176   shlibpath_var=LD_LIBRARY_PATH
   16177   case $host_os in
   16178   freebsd2*)
   16179     shlibpath_overrides_runpath=yes
   16180     ;;
   16181   freebsd3.[01]* | freebsdelf3.[01]*)
   16182     shlibpath_overrides_runpath=yes
   16183     hardcode_into_libs=yes
   16184     ;;
   16185   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16186   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16187     shlibpath_overrides_runpath=no
   16188     hardcode_into_libs=yes
   16189     ;;
   16190   freebsd*) # from 4.6 on
   16191     shlibpath_overrides_runpath=yes
   16192     hardcode_into_libs=yes
   16193     ;;
   16194   esac
   16195   ;;
   16196 
   16197 gnu*)
   16198   version_type=linux
   16199   need_lib_prefix=no
   16200   need_version=no
   16201   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16202   soname_spec='${libname}${release}${shared_ext}$major'
   16203   shlibpath_var=LD_LIBRARY_PATH
   16204   hardcode_into_libs=yes
   16205   ;;
   16206 
   16207 hpux9* | hpux10* | hpux11*)
   16208   # Give a soname corresponding to the major version so that dld.sl refuses to
   16209   # link against other versions.
   16210   version_type=sunos
   16211   need_lib_prefix=no
   16212   need_version=no
   16213   case $host_cpu in
   16214   ia64*)
   16215     shrext_cmds='.so'
   16216     hardcode_into_libs=yes
   16217     dynamic_linker="$host_os dld.so"
   16218     shlibpath_var=LD_LIBRARY_PATH
   16219     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16220     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16221     soname_spec='${libname}${release}${shared_ext}$major'
   16222     if test "X$HPUX_IA64_MODE" = X32; then
   16223       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16224     else
   16225       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16226     fi
   16227     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16228     ;;
   16229    hppa*64*)
   16230      shrext_cmds='.sl'
   16231      hardcode_into_libs=yes
   16232      dynamic_linker="$host_os dld.sl"
   16233      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16234      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16235      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16236      soname_spec='${libname}${release}${shared_ext}$major'
   16237      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16238      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16239      ;;
   16240    *)
   16241     shrext_cmds='.sl'
   16242     dynamic_linker="$host_os dld.sl"
   16243     shlibpath_var=SHLIB_PATH
   16244     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16245     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16246     soname_spec='${libname}${release}${shared_ext}$major'
   16247     ;;
   16248   esac
   16249   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16250   postinstall_cmds='chmod 555 $lib'
   16251   ;;
   16252 
   16253 interix3*)
   16254   version_type=linux
   16255   need_lib_prefix=no
   16256   need_version=no
   16257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16258   soname_spec='${libname}${release}${shared_ext}$major'
   16259   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16260   shlibpath_var=LD_LIBRARY_PATH
   16261   shlibpath_overrides_runpath=no
   16262   hardcode_into_libs=yes
   16263   ;;
   16264 
   16265 irix5* | irix6* | nonstopux*)
   16266   case $host_os in
   16267     nonstopux*) version_type=nonstopux ;;
   16268     *)
   16269 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16270 		version_type=linux
   16271 	else
   16272 		version_type=irix
   16273 	fi ;;
   16274   esac
   16275   need_lib_prefix=no
   16276   need_version=no
   16277   soname_spec='${libname}${release}${shared_ext}$major'
   16278   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16279   case $host_os in
   16280   irix5* | nonstopux*)
   16281     libsuff= shlibsuff=
   16282     ;;
   16283   *)
   16284     case $LD in # libtool.m4 will add one of these switches to LD
   16285     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16286       libsuff= shlibsuff= libmagic=32-bit;;
   16287     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16288       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16289     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16290       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16291     *) libsuff= shlibsuff= libmagic=never-match;;
   16292     esac
   16293     ;;
   16294   esac
   16295   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16296   shlibpath_overrides_runpath=no
   16297   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16298   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16299   hardcode_into_libs=yes
   16300   ;;
   16301 
   16302 # No shared lib support for Linux oldld, aout, or coff.
   16303 linux*oldld* | linux*aout* | linux*coff*)
   16304   dynamic_linker=no
   16305   ;;
   16306 
   16307 # This must be Linux ELF.
   16308 linux* | k*bsd*-gnu)
   16309   version_type=linux
   16310   need_lib_prefix=no
   16311   need_version=no
   16312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16313   soname_spec='${libname}${release}${shared_ext}$major'
   16314   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16315   shlibpath_var=LD_LIBRARY_PATH
   16316   shlibpath_overrides_runpath=no
   16317   # This implies no fast_install, which is unacceptable.
   16318   # Some rework will be needed to allow for fast_install
   16319   # before this can be enabled.
   16320   hardcode_into_libs=yes
   16321 
   16322   # Append ld.so.conf contents to the search path
   16323   if test -f /etc/ld.so.conf; then
   16324     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' ' '`
   16325     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16326   fi
   16327 
   16328   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16329   # powerpc, because MkLinux only supported shared libraries with the
   16330   # GNU dynamic linker.  Since this was broken with cross compilers,
   16331   # most powerpc-linux boxes support dynamic linking these days and
   16332   # people can always --disable-shared, the test was removed, and we
   16333   # assume the GNU/Linux dynamic linker is in use.
   16334   dynamic_linker='GNU/Linux ld.so'
   16335   ;;
   16336 
   16337 netbsdelf*-gnu)
   16338   version_type=linux
   16339   need_lib_prefix=no
   16340   need_version=no
   16341   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16342   soname_spec='${libname}${release}${shared_ext}$major'
   16343   shlibpath_var=LD_LIBRARY_PATH
   16344   shlibpath_overrides_runpath=no
   16345   hardcode_into_libs=yes
   16346   dynamic_linker='NetBSD ld.elf_so'
   16347   ;;
   16348 
   16349 netbsd*)
   16350   version_type=sunos
   16351   need_lib_prefix=no
   16352   need_version=no
   16353   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16354     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16355     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16356     dynamic_linker='NetBSD (a.out) ld.so'
   16357   else
   16358     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16359     soname_spec='${libname}${release}${shared_ext}$major'
   16360     dynamic_linker='NetBSD ld.elf_so'
   16361   fi
   16362   shlibpath_var=LD_LIBRARY_PATH
   16363   shlibpath_overrides_runpath=yes
   16364   hardcode_into_libs=yes
   16365   ;;
   16366 
   16367 newsos6)
   16368   version_type=linux
   16369   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16370   shlibpath_var=LD_LIBRARY_PATH
   16371   shlibpath_overrides_runpath=yes
   16372   ;;
   16373 
   16374 nto-qnx*)
   16375   version_type=linux
   16376   need_lib_prefix=no
   16377   need_version=no
   16378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16379   soname_spec='${libname}${release}${shared_ext}$major'
   16380   shlibpath_var=LD_LIBRARY_PATH
   16381   shlibpath_overrides_runpath=yes
   16382   ;;
   16383 
   16384 openbsd*)
   16385   version_type=sunos
   16386   sys_lib_dlsearch_path_spec="/usr/lib"
   16387   need_lib_prefix=no
   16388   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16389   case $host_os in
   16390     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16391     *)                         need_version=no  ;;
   16392   esac
   16393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16394   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16395   shlibpath_var=LD_LIBRARY_PATH
   16396   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16397     case $host_os in
   16398       openbsd2.[89] | openbsd2.[89].*)
   16399 	shlibpath_overrides_runpath=no
   16400 	;;
   16401       *)
   16402 	shlibpath_overrides_runpath=yes
   16403 	;;
   16404       esac
   16405   else
   16406     shlibpath_overrides_runpath=yes
   16407   fi
   16408   ;;
   16409 
   16410 os2*)
   16411   libname_spec='$name'
   16412   shrext_cmds=".dll"
   16413   need_lib_prefix=no
   16414   library_names_spec='$libname${shared_ext} $libname.a'
   16415   dynamic_linker='OS/2 ld.exe'
   16416   shlibpath_var=LIBPATH
   16417   ;;
   16418 
   16419 osf3* | osf4* | osf5*)
   16420   version_type=osf
   16421   need_lib_prefix=no
   16422   need_version=no
   16423   soname_spec='${libname}${release}${shared_ext}$major'
   16424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16425   shlibpath_var=LD_LIBRARY_PATH
   16426   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16427   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16428   ;;
   16429 
   16430 solaris*)
   16431   version_type=linux
   16432   need_lib_prefix=no
   16433   need_version=no
   16434   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16435   soname_spec='${libname}${release}${shared_ext}$major'
   16436   shlibpath_var=LD_LIBRARY_PATH
   16437   shlibpath_overrides_runpath=yes
   16438   hardcode_into_libs=yes
   16439   # ldd complains unless libraries are executable
   16440   postinstall_cmds='chmod +x $lib'
   16441   ;;
   16442 
   16443 sunos4*)
   16444   version_type=sunos
   16445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16446   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16447   shlibpath_var=LD_LIBRARY_PATH
   16448   shlibpath_overrides_runpath=yes
   16449   if test "$with_gnu_ld" = yes; then
   16450     need_lib_prefix=no
   16451   fi
   16452   need_version=yes
   16453   ;;
   16454 
   16455 sysv4 | sysv4.3*)
   16456   version_type=linux
   16457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16458   soname_spec='${libname}${release}${shared_ext}$major'
   16459   shlibpath_var=LD_LIBRARY_PATH
   16460   case $host_vendor in
   16461     sni)
   16462       shlibpath_overrides_runpath=no
   16463       need_lib_prefix=no
   16464       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16465       runpath_var=LD_RUN_PATH
   16466       ;;
   16467     siemens)
   16468       need_lib_prefix=no
   16469       ;;
   16470     motorola)
   16471       need_lib_prefix=no
   16472       need_version=no
   16473       shlibpath_overrides_runpath=no
   16474       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16475       ;;
   16476   esac
   16477   ;;
   16478 
   16479 sysv4*MP*)
   16480   if test -d /usr/nec ;then
   16481     version_type=linux
   16482     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16483     soname_spec='$libname${shared_ext}.$major'
   16484     shlibpath_var=LD_LIBRARY_PATH
   16485   fi
   16486   ;;
   16487 
   16488 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16489   version_type=freebsd-elf
   16490   need_lib_prefix=no
   16491   need_version=no
   16492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16493   soname_spec='${libname}${release}${shared_ext}$major'
   16494   shlibpath_var=LD_LIBRARY_PATH
   16495   hardcode_into_libs=yes
   16496   if test "$with_gnu_ld" = yes; then
   16497     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16498     shlibpath_overrides_runpath=no
   16499   else
   16500     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16501     shlibpath_overrides_runpath=yes
   16502     case $host_os in
   16503       sco3.2v5*)
   16504         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16505 	;;
   16506     esac
   16507   fi
   16508   sys_lib_dlsearch_path_spec='/usr/lib'
   16509   ;;
   16510 
   16511 uts4*)
   16512   version_type=linux
   16513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16514   soname_spec='${libname}${release}${shared_ext}$major'
   16515   shlibpath_var=LD_LIBRARY_PATH
   16516   ;;
   16517 
   16518 *)
   16519   dynamic_linker=no
   16520   ;;
   16521 esac
   16522 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16523 echo "${ECHO_T}$dynamic_linker" >&6; }
   16524 test "$dynamic_linker" = no && can_build_shared=no
   16525 
   16526 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16527 if test "$GCC" = yes; then
   16528   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16529 fi
   16530 
   16531 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16532 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16533 hardcode_action_F77=
   16534 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16535    test -n "$runpath_var_F77" || \
   16536    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16537 
   16538   # We can hardcode non-existant directories.
   16539   if test "$hardcode_direct_F77" != no &&
   16540      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16541      # have to relink, otherwise we might link with an installed library
   16542      # when we should be linking with a yet-to-be-installed one
   16543      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16544      test "$hardcode_minus_L_F77" != no; then
   16545     # Linking always hardcodes the temporary library directory.
   16546     hardcode_action_F77=relink
   16547   else
   16548     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16549     hardcode_action_F77=immediate
   16550   fi
   16551 else
   16552   # We cannot hardcode anything, or else we can only hardcode existing
   16553   # directories.
   16554   hardcode_action_F77=unsupported
   16555 fi
   16556 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16557 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16558 
   16559 if test "$hardcode_action_F77" = relink; then
   16560   # Fast installation is not supported
   16561   enable_fast_install=no
   16562 elif test "$shlibpath_overrides_runpath" = yes ||
   16563      test "$enable_shared" = no; then
   16564   # Fast installation is not necessary
   16565   enable_fast_install=needless
   16566 fi
   16567 
   16568 
   16569 # The else clause should only fire when bootstrapping the
   16570 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16571 # with your package, and you will get complaints that there are
   16572 # no rules to generate ltmain.sh.
   16573 if test -f "$ltmain"; then
   16574   # See if we are running on zsh, and set the options which allow our commands through
   16575   # without removal of \ escapes.
   16576   if test -n "${ZSH_VERSION+set}" ; then
   16577     setopt NO_GLOB_SUBST
   16578   fi
   16579   # Now quote all the things that may contain metacharacters while being
   16580   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16581   # variables and quote the copies for generation of the libtool script.
   16582   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16583     SED SHELL STRIP \
   16584     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16585     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16586     deplibs_check_method reload_flag reload_cmds need_locks \
   16587     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16588     lt_cv_sys_global_symbol_to_c_name_address \
   16589     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16590     old_postinstall_cmds old_postuninstall_cmds \
   16591     compiler_F77 \
   16592     CC_F77 \
   16593     LD_F77 \
   16594     lt_prog_compiler_wl_F77 \
   16595     lt_prog_compiler_pic_F77 \
   16596     lt_prog_compiler_static_F77 \
   16597     lt_prog_compiler_no_builtin_flag_F77 \
   16598     export_dynamic_flag_spec_F77 \
   16599     thread_safe_flag_spec_F77 \
   16600     whole_archive_flag_spec_F77 \
   16601     enable_shared_with_static_runtimes_F77 \
   16602     old_archive_cmds_F77 \
   16603     old_archive_from_new_cmds_F77 \
   16604     predep_objects_F77 \
   16605     postdep_objects_F77 \
   16606     predeps_F77 \
   16607     postdeps_F77 \
   16608     compiler_lib_search_path_F77 \
   16609     archive_cmds_F77 \
   16610     archive_expsym_cmds_F77 \
   16611     postinstall_cmds_F77 \
   16612     postuninstall_cmds_F77 \
   16613     old_archive_from_expsyms_cmds_F77 \
   16614     allow_undefined_flag_F77 \
   16615     no_undefined_flag_F77 \
   16616     export_symbols_cmds_F77 \
   16617     hardcode_libdir_flag_spec_F77 \
   16618     hardcode_libdir_flag_spec_ld_F77 \
   16619     hardcode_libdir_separator_F77 \
   16620     hardcode_automatic_F77 \
   16621     module_cmds_F77 \
   16622     module_expsym_cmds_F77 \
   16623     lt_cv_prog_compiler_c_o_F77 \
   16624     exclude_expsyms_F77 \
   16625     include_expsyms_F77; do
   16626 
   16627     case $var in
   16628     old_archive_cmds_F77 | \
   16629     old_archive_from_new_cmds_F77 | \
   16630     archive_cmds_F77 | \
   16631     archive_expsym_cmds_F77 | \
   16632     module_cmds_F77 | \
   16633     module_expsym_cmds_F77 | \
   16634     old_archive_from_expsyms_cmds_F77 | \
   16635     export_symbols_cmds_F77 | \
   16636     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16637     postinstall_cmds | postuninstall_cmds | \
   16638     old_postinstall_cmds | old_postuninstall_cmds | \
   16639     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16640       # Double-quote double-evaled strings.
   16641       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16642       ;;
   16643     *)
   16644       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16645       ;;
   16646     esac
   16647   done
   16648 
   16649   case $lt_echo in
   16650   *'\$0 --fallback-echo"')
   16651     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16652     ;;
   16653   esac
   16654 
   16655 cfgfile="$ofile"
   16656 
   16657   cat <<__EOF__ >> "$cfgfile"
   16658 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16659 
   16660 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16661 
   16662 # Shell to use when invoking shell scripts.
   16663 SHELL=$lt_SHELL
   16664 
   16665 # Whether or not to build shared libraries.
   16666 build_libtool_libs=$enable_shared
   16667 
   16668 # Whether or not to build static libraries.
   16669 build_old_libs=$enable_static
   16670 
   16671 # Whether or not to add -lc for building shared libraries.
   16672 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16673 
   16674 # Whether or not to disallow shared libs when runtime libs are static
   16675 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16676 
   16677 # Whether or not to optimize for fast installation.
   16678 fast_install=$enable_fast_install
   16679 
   16680 # The host system.
   16681 host_alias=$host_alias
   16682 host=$host
   16683 host_os=$host_os
   16684 
   16685 # The build system.
   16686 build_alias=$build_alias
   16687 build=$build
   16688 build_os=$build_os
   16689 
   16690 # An echo program that does not interpret backslashes.
   16691 echo=$lt_echo
   16692 
   16693 # The archiver.
   16694 AR=$lt_AR
   16695 AR_FLAGS=$lt_AR_FLAGS
   16696 
   16697 # A C compiler.
   16698 LTCC=$lt_LTCC
   16699 
   16700 # LTCC compiler flags.
   16701 LTCFLAGS=$lt_LTCFLAGS
   16702 
   16703 # A language-specific compiler.
   16704 CC=$lt_compiler_F77
   16705 
   16706 # Is the compiler the GNU C compiler?
   16707 with_gcc=$GCC_F77
   16708 
   16709 # An ERE matcher.
   16710 EGREP=$lt_EGREP
   16711 
   16712 # The linker used to build libraries.
   16713 LD=$lt_LD_F77
   16714 
   16715 # Whether we need hard or soft links.
   16716 LN_S=$lt_LN_S
   16717 
   16718 # A BSD-compatible nm program.
   16719 NM=$lt_NM
   16720 
   16721 # A symbol stripping program
   16722 STRIP=$lt_STRIP
   16723 
   16724 # Used to examine libraries when file_magic_cmd begins "file"
   16725 MAGIC_CMD=$MAGIC_CMD
   16726 
   16727 # Used on cygwin: DLL creation program.
   16728 DLLTOOL="$DLLTOOL"
   16729 
   16730 # Used on cygwin: object dumper.
   16731 OBJDUMP="$OBJDUMP"
   16732 
   16733 # Used on cygwin: assembler.
   16734 AS="$AS"
   16735 
   16736 # The name of the directory that contains temporary libtool files.
   16737 objdir=$objdir
   16738 
   16739 # How to create reloadable object files.
   16740 reload_flag=$lt_reload_flag
   16741 reload_cmds=$lt_reload_cmds
   16742 
   16743 # How to pass a linker flag through the compiler.
   16744 wl=$lt_lt_prog_compiler_wl_F77
   16745 
   16746 # Object file suffix (normally "o").
   16747 objext="$ac_objext"
   16748 
   16749 # Old archive suffix (normally "a").
   16750 libext="$libext"
   16751 
   16752 # Shared library suffix (normally ".so").
   16753 shrext_cmds='$shrext_cmds'
   16754 
   16755 # Executable file suffix (normally "").
   16756 exeext="$exeext"
   16757 
   16758 # Additional compiler flags for building library objects.
   16759 pic_flag=$lt_lt_prog_compiler_pic_F77
   16760 pic_mode=$pic_mode
   16761 
   16762 # What is the maximum length of a command?
   16763 max_cmd_len=$lt_cv_sys_max_cmd_len
   16764 
   16765 # Does compiler simultaneously support -c and -o options?
   16766 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16767 
   16768 # Must we lock files when doing compilation?
   16769 need_locks=$lt_need_locks
   16770 
   16771 # Do we need the lib prefix for modules?
   16772 need_lib_prefix=$need_lib_prefix
   16773 
   16774 # Do we need a version for libraries?
   16775 need_version=$need_version
   16776 
   16777 # Whether dlopen is supported.
   16778 dlopen_support=$enable_dlopen
   16779 
   16780 # Whether dlopen of programs is supported.
   16781 dlopen_self=$enable_dlopen_self
   16782 
   16783 # Whether dlopen of statically linked programs is supported.
   16784 dlopen_self_static=$enable_dlopen_self_static
   16785 
   16786 # Compiler flag to prevent dynamic linking.
   16787 link_static_flag=$lt_lt_prog_compiler_static_F77
   16788 
   16789 # Compiler flag to turn off builtin functions.
   16790 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16791 
   16792 # Compiler flag to allow reflexive dlopens.
   16793 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16794 
   16795 # Compiler flag to generate shared objects directly from archives.
   16796 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16797 
   16798 # Compiler flag to generate thread-safe objects.
   16799 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16800 
   16801 # Library versioning type.
   16802 version_type=$version_type
   16803 
   16804 # Format of library name prefix.
   16805 libname_spec=$lt_libname_spec
   16806 
   16807 # List of archive names.  First name is the real one, the rest are links.
   16808 # The last name is the one that the linker finds with -lNAME.
   16809 library_names_spec=$lt_library_names_spec
   16810 
   16811 # The coded name of the library, if different from the real name.
   16812 soname_spec=$lt_soname_spec
   16813 
   16814 # Commands used to build and install an old-style archive.
   16815 RANLIB=$lt_RANLIB
   16816 old_archive_cmds=$lt_old_archive_cmds_F77
   16817 old_postinstall_cmds=$lt_old_postinstall_cmds
   16818 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16819 
   16820 # Create an old-style archive from a shared archive.
   16821 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16822 
   16823 # Create a temporary old-style archive to link instead of a shared archive.
   16824 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16825 
   16826 # Commands used to build and install a shared archive.
   16827 archive_cmds=$lt_archive_cmds_F77
   16828 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16829 postinstall_cmds=$lt_postinstall_cmds
   16830 postuninstall_cmds=$lt_postuninstall_cmds
   16831 
   16832 # Commands used to build a loadable module (assumed same as above if empty)
   16833 module_cmds=$lt_module_cmds_F77
   16834 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16835 
   16836 # Commands to strip libraries.
   16837 old_striplib=$lt_old_striplib
   16838 striplib=$lt_striplib
   16839 
   16840 # Dependencies to place before the objects being linked to create a
   16841 # shared library.
   16842 predep_objects=$lt_predep_objects_F77
   16843 
   16844 # Dependencies to place after the objects being linked to create a
   16845 # shared library.
   16846 postdep_objects=$lt_postdep_objects_F77
   16847 
   16848 # Dependencies to place before the objects being linked to create a
   16849 # shared library.
   16850 predeps=$lt_predeps_F77
   16851 
   16852 # Dependencies to place after the objects being linked to create a
   16853 # shared library.
   16854 postdeps=$lt_postdeps_F77
   16855 
   16856 # The library search path used internally by the compiler when linking
   16857 # a shared library.
   16858 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16859 
   16860 # Method to check whether dependent libraries are shared objects.
   16861 deplibs_check_method=$lt_deplibs_check_method
   16862 
   16863 # Command to use when deplibs_check_method == file_magic.
   16864 file_magic_cmd=$lt_file_magic_cmd
   16865 
   16866 # Flag that allows shared libraries with undefined symbols to be built.
   16867 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16868 
   16869 # Flag that forces no undefined symbols.
   16870 no_undefined_flag=$lt_no_undefined_flag_F77
   16871 
   16872 # Commands used to finish a libtool library installation in a directory.
   16873 finish_cmds=$lt_finish_cmds
   16874 
   16875 # Same as above, but a single script fragment to be evaled but not shown.
   16876 finish_eval=$lt_finish_eval
   16877 
   16878 # Take the output of nm and produce a listing of raw symbols and C names.
   16879 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16880 
   16881 # Transform the output of nm in a proper C declaration
   16882 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16883 
   16884 # Transform the output of nm in a C name address pair
   16885 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16886 
   16887 # This is the shared library runtime path variable.
   16888 runpath_var=$runpath_var
   16889 
   16890 # This is the shared library path variable.
   16891 shlibpath_var=$shlibpath_var
   16892 
   16893 # Is shlibpath searched before the hard-coded library search path?
   16894 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16895 
   16896 # How to hardcode a shared library path into an executable.
   16897 hardcode_action=$hardcode_action_F77
   16898 
   16899 # Whether we should hardcode library paths into libraries.
   16900 hardcode_into_libs=$hardcode_into_libs
   16901 
   16902 # Flag to hardcode \$libdir into a binary during linking.
   16903 # This must work even if \$libdir does not exist.
   16904 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16905 
   16906 # If ld is used when linking, flag to hardcode \$libdir into
   16907 # a binary during linking. This must work even if \$libdir does
   16908 # not exist.
   16909 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16910 
   16911 # Whether we need a single -rpath flag with a separated argument.
   16912 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16913 
   16914 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16915 # resulting binary.
   16916 hardcode_direct=$hardcode_direct_F77
   16917 
   16918 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16919 # resulting binary.
   16920 hardcode_minus_L=$hardcode_minus_L_F77
   16921 
   16922 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16923 # the resulting binary.
   16924 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16925 
   16926 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16927 # and all subsequent libraries and executables linked against it.
   16928 hardcode_automatic=$hardcode_automatic_F77
   16929 
   16930 # Variables whose values should be saved in libtool wrapper scripts and
   16931 # restored at relink time.
   16932 variables_saved_for_relink="$variables_saved_for_relink"
   16933 
   16934 # Whether libtool must link a program against all its dependency libraries.
   16935 link_all_deplibs=$link_all_deplibs_F77
   16936 
   16937 # Compile-time system search path for libraries
   16938 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16939 
   16940 # Run-time system search path for libraries
   16941 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16942 
   16943 # Fix the shell variable \$srcfile for the compiler.
   16944 fix_srcfile_path="$fix_srcfile_path_F77"
   16945 
   16946 # Set to yes if exported symbols are required.
   16947 always_export_symbols=$always_export_symbols_F77
   16948 
   16949 # The commands to list exported symbols.
   16950 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16951 
   16952 # The commands to extract the exported symbol list from a shared archive.
   16953 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16954 
   16955 # Symbols that should not be listed in the preloaded symbols.
   16956 exclude_expsyms=$lt_exclude_expsyms_F77
   16957 
   16958 # Symbols that must always be exported.
   16959 include_expsyms=$lt_include_expsyms_F77
   16960 
   16961 # ### END LIBTOOL TAG CONFIG: $tagname
   16962 
   16963 __EOF__
   16964 
   16965 
   16966 else
   16967   # If there is no Makefile yet, we rely on a make rule to execute
   16968   # `config.status --recheck' to rerun these tests and create the
   16969   # libtool script then.
   16970   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16971   if test -f "$ltmain_in"; then
   16972     test -f Makefile && make "$ltmain"
   16973   fi
   16974 fi
   16975 
   16976 
   16977 ac_ext=c
   16978 ac_cpp='$CPP $CPPFLAGS'
   16979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16982 
   16983 CC="$lt_save_CC"
   16984 
   16985 	else
   16986 	  tagname=""
   16987 	fi
   16988 	;;
   16989 
   16990       GCJ)
   16991 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16992 
   16993 
   16994 # Source file extension for Java test sources.
   16995 ac_ext=java
   16996 
   16997 # Object file extension for compiled Java test sources.
   16998 objext=o
   16999 objext_GCJ=$objext
   17000 
   17001 # Code to be used in simple compile tests
   17002 lt_simple_compile_test_code="class foo {}\n"
   17003 
   17004 # Code to be used in simple link tests
   17005 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   17006 
   17007 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   17008 
   17009 # If no C compiler was specified, use CC.
   17010 LTCC=${LTCC-"$CC"}
   17011 
   17012 # If no C compiler flags were specified, use CFLAGS.
   17013 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   17014 
   17015 # Allow CC to be a program name with arguments.
   17016 compiler=$CC
   17017 
   17018 
   17019 # save warnings/boilerplate of simple test code
   17020 ac_outfile=conftest.$ac_objext
   17021 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   17022 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   17023 _lt_compiler_boilerplate=`cat conftest.err`
   17024 $rm conftest*
   17025 
   17026 ac_outfile=conftest.$ac_objext
   17027 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   17028 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   17029 _lt_linker_boilerplate=`cat conftest.err`
   17030 $rm conftest*
   17031 
   17032 
   17033 # Allow CC to be a program name with arguments.
   17034 lt_save_CC="$CC"
   17035 CC=${GCJ-"gcj"}
   17036 compiler=$CC
   17037 compiler_GCJ=$CC
   17038 for cc_temp in $compiler""; do
   17039   case $cc_temp in
   17040     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17041     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17042     \-*) ;;
   17043     *) break;;
   17044   esac
   17045 done
   17046 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17047 
   17048 
   17049 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   17050 archive_cmds_need_lc_GCJ=no
   17051 
   17052 old_archive_cmds_GCJ=$old_archive_cmds
   17053 
   17054 
   17055 lt_prog_compiler_no_builtin_flag_GCJ=
   17056 
   17057 if test "$GCC" = yes; then
   17058   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   17059 
   17060 
   17061 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   17062 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   17063 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   17064   echo $ECHO_N "(cached) $ECHO_C" >&6
   17065 else
   17066   lt_cv_prog_compiler_rtti_exceptions=no
   17067   ac_outfile=conftest.$ac_objext
   17068    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17069    lt_compiler_flag="-fno-rtti -fno-exceptions"
   17070    # Insert the option either (1) after the last *FLAGS variable, or
   17071    # (2) before a word containing "conftest.", or (3) at the end.
   17072    # Note that $ac_compile itself does not contain backslashes and begins
   17073    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17074    # The option is referenced via a variable to avoid confusing sed.
   17075    lt_compile=`echo "$ac_compile" | $SED \
   17076    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17077    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17078    -e 's:$: $lt_compiler_flag:'`
   17079    (eval echo "\"\$as_me:17079: $lt_compile\"" >&5)
   17080    (eval "$lt_compile" 2>conftest.err)
   17081    ac_status=$?
   17082    cat conftest.err >&5
   17083    echo "$as_me:17083: \$? = $ac_status" >&5
   17084    if (exit $ac_status) && test -s "$ac_outfile"; then
   17085      # The compiler can only warn and ignore the option if not recognized
   17086      # So say no if there are warnings other than the usual output.
   17087      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17088      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17089      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17090        lt_cv_prog_compiler_rtti_exceptions=yes
   17091      fi
   17092    fi
   17093    $rm conftest*
   17094 
   17095 fi
   17096 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17097 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17098 
   17099 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17100     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17101 else
   17102     :
   17103 fi
   17104 
   17105 fi
   17106 
   17107 lt_prog_compiler_wl_GCJ=
   17108 lt_prog_compiler_pic_GCJ=
   17109 lt_prog_compiler_static_GCJ=
   17110 
   17111 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17112 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   17113 
   17114   if test "$GCC" = yes; then
   17115     lt_prog_compiler_wl_GCJ='-Wl,'
   17116     lt_prog_compiler_static_GCJ='-static'
   17117 
   17118     case $host_os in
   17119       aix*)
   17120       # All AIX code is PIC.
   17121       if test "$host_cpu" = ia64; then
   17122 	# AIX 5 now supports IA64 processor
   17123 	lt_prog_compiler_static_GCJ='-Bstatic'
   17124       fi
   17125       ;;
   17126 
   17127     amigaos*)
   17128       # FIXME: we need at least 68020 code to build shared libraries, but
   17129       # adding the `-m68020' flag to GCC prevents building anything better,
   17130       # like `-m68040'.
   17131       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17132       ;;
   17133 
   17134     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17135       # PIC is the default for these OSes.
   17136       ;;
   17137 
   17138     mingw* | pw32* | os2*)
   17139       # This hack is so that the source file can tell whether it is being
   17140       # built for inclusion in a dll (and should export symbols for example).
   17141       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   17142       ;;
   17143 
   17144     darwin* | rhapsody*)
   17145       # PIC is the default on this platform
   17146       # Common symbols not allowed in MH_DYLIB files
   17147       lt_prog_compiler_pic_GCJ='-fno-common'
   17148       ;;
   17149 
   17150     interix3*)
   17151       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17152       # Instead, we relocate shared libraries at runtime.
   17153       ;;
   17154 
   17155     msdosdjgpp*)
   17156       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17157       # on systems that don't support them.
   17158       lt_prog_compiler_can_build_shared_GCJ=no
   17159       enable_shared=no
   17160       ;;
   17161 
   17162     sysv4*MP*)
   17163       if test -d /usr/nec; then
   17164 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17165       fi
   17166       ;;
   17167 
   17168     hpux*)
   17169       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17170       # not for PA HP-UX.
   17171       case $host_cpu in
   17172       hppa*64*|ia64*)
   17173 	# +Z the default
   17174 	;;
   17175       *)
   17176 	lt_prog_compiler_pic_GCJ='-fPIC'
   17177 	;;
   17178       esac
   17179       ;;
   17180 
   17181     *)
   17182       lt_prog_compiler_pic_GCJ='-fPIC'
   17183       ;;
   17184     esac
   17185   else
   17186     # PORTME Check for flag to pass linker flags through the system compiler.
   17187     case $host_os in
   17188     aix*)
   17189       lt_prog_compiler_wl_GCJ='-Wl,'
   17190       if test "$host_cpu" = ia64; then
   17191 	# AIX 5 now supports IA64 processor
   17192 	lt_prog_compiler_static_GCJ='-Bstatic'
   17193       else
   17194 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17195       fi
   17196       ;;
   17197       darwin*)
   17198         # PIC is the default on this platform
   17199         # Common symbols not allowed in MH_DYLIB files
   17200        case $cc_basename in
   17201          xlc*)
   17202          lt_prog_compiler_pic_GCJ='-qnocommon'
   17203          lt_prog_compiler_wl_GCJ='-Wl,'
   17204          ;;
   17205        esac
   17206        ;;
   17207 
   17208     mingw* | pw32* | os2*)
   17209       # This hack is so that the source file can tell whether it is being
   17210       # built for inclusion in a dll (and should export symbols for example).
   17211       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   17212       ;;
   17213 
   17214     hpux9* | hpux10* | hpux11*)
   17215       lt_prog_compiler_wl_GCJ='-Wl,'
   17216       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17217       # not for PA HP-UX.
   17218       case $host_cpu in
   17219       hppa*64*|ia64*)
   17220 	# +Z the default
   17221 	;;
   17222       *)
   17223 	lt_prog_compiler_pic_GCJ='+Z'
   17224 	;;
   17225       esac
   17226       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17227       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17228       ;;
   17229 
   17230     irix5* | irix6* | nonstopux*)
   17231       lt_prog_compiler_wl_GCJ='-Wl,'
   17232       # PIC (with -KPIC) is the default.
   17233       lt_prog_compiler_static_GCJ='-non_shared'
   17234       ;;
   17235 
   17236     newsos6)
   17237       lt_prog_compiler_pic_GCJ='-KPIC'
   17238       lt_prog_compiler_static_GCJ='-Bstatic'
   17239       ;;
   17240 
   17241     linux* | k*bsd*-gnu)
   17242       case $cc_basename in
   17243       icc* | ecc*)
   17244 	lt_prog_compiler_wl_GCJ='-Wl,'
   17245 	lt_prog_compiler_pic_GCJ='-KPIC'
   17246 	lt_prog_compiler_static_GCJ='-static'
   17247         ;;
   17248       pgcc* | pgf77* | pgf90* | pgf95*)
   17249         # Portland Group compilers (*not* the Pentium gcc compiler,
   17250 	# which looks to be a dead project)
   17251 	lt_prog_compiler_wl_GCJ='-Wl,'
   17252 	lt_prog_compiler_pic_GCJ='-fpic'
   17253 	lt_prog_compiler_static_GCJ='-Bstatic'
   17254         ;;
   17255       ccc*)
   17256         lt_prog_compiler_wl_GCJ='-Wl,'
   17257         # All Alpha code is PIC.
   17258         lt_prog_compiler_static_GCJ='-non_shared'
   17259         ;;
   17260       esac
   17261       ;;
   17262 
   17263     osf3* | osf4* | osf5*)
   17264       lt_prog_compiler_wl_GCJ='-Wl,'
   17265       # All OSF/1 code is PIC.
   17266       lt_prog_compiler_static_GCJ='-non_shared'
   17267       ;;
   17268 
   17269     solaris*)
   17270       lt_prog_compiler_pic_GCJ='-KPIC'
   17271       lt_prog_compiler_static_GCJ='-Bstatic'
   17272       case $cc_basename in
   17273       f77* | f90* | f95*)
   17274 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17275       *)
   17276 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17277       esac
   17278       ;;
   17279 
   17280     sunos4*)
   17281       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17282       lt_prog_compiler_pic_GCJ='-PIC'
   17283       lt_prog_compiler_static_GCJ='-Bstatic'
   17284       ;;
   17285 
   17286     sysv4 | sysv4.2uw2* | sysv4.3*)
   17287       lt_prog_compiler_wl_GCJ='-Wl,'
   17288       lt_prog_compiler_pic_GCJ='-KPIC'
   17289       lt_prog_compiler_static_GCJ='-Bstatic'
   17290       ;;
   17291 
   17292     sysv4*MP*)
   17293       if test -d /usr/nec ;then
   17294 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17295 	lt_prog_compiler_static_GCJ='-Bstatic'
   17296       fi
   17297       ;;
   17298 
   17299     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17300       lt_prog_compiler_wl_GCJ='-Wl,'
   17301       lt_prog_compiler_pic_GCJ='-KPIC'
   17302       lt_prog_compiler_static_GCJ='-Bstatic'
   17303       ;;
   17304 
   17305     unicos*)
   17306       lt_prog_compiler_wl_GCJ='-Wl,'
   17307       lt_prog_compiler_can_build_shared_GCJ=no
   17308       ;;
   17309 
   17310     uts4*)
   17311       lt_prog_compiler_pic_GCJ='-pic'
   17312       lt_prog_compiler_static_GCJ='-Bstatic'
   17313       ;;
   17314 
   17315     *)
   17316       lt_prog_compiler_can_build_shared_GCJ=no
   17317       ;;
   17318     esac
   17319   fi
   17320 
   17321 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17322 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   17323 
   17324 #
   17325 # Check to make sure the PIC flag actually works.
   17326 #
   17327 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17328 
   17329 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17330 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   17331 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   17332   echo $ECHO_N "(cached) $ECHO_C" >&6
   17333 else
   17334   lt_prog_compiler_pic_works_GCJ=no
   17335   ac_outfile=conftest.$ac_objext
   17336    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17337    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17338    # Insert the option either (1) after the last *FLAGS variable, or
   17339    # (2) before a word containing "conftest.", or (3) at the end.
   17340    # Note that $ac_compile itself does not contain backslashes and begins
   17341    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17342    # The option is referenced via a variable to avoid confusing sed.
   17343    lt_compile=`echo "$ac_compile" | $SED \
   17344    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17345    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17346    -e 's:$: $lt_compiler_flag:'`
   17347    (eval echo "\"\$as_me:17347: $lt_compile\"" >&5)
   17348    (eval "$lt_compile" 2>conftest.err)
   17349    ac_status=$?
   17350    cat conftest.err >&5
   17351    echo "$as_me:17351: \$? = $ac_status" >&5
   17352    if (exit $ac_status) && test -s "$ac_outfile"; then
   17353      # The compiler can only warn and ignore the option if not recognized
   17354      # So say no if there are warnings other than the usual output.
   17355      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17356      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17357      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17358        lt_prog_compiler_pic_works_GCJ=yes
   17359      fi
   17360    fi
   17361    $rm conftest*
   17362 
   17363 fi
   17364 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   17365 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   17366 
   17367 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   17368     case $lt_prog_compiler_pic_GCJ in
   17369      "" | " "*) ;;
   17370      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17371      esac
   17372 else
   17373     lt_prog_compiler_pic_GCJ=
   17374      lt_prog_compiler_can_build_shared_GCJ=no
   17375 fi
   17376 
   17377 fi
   17378 case $host_os in
   17379   # For platforms which do not support PIC, -DPIC is meaningless:
   17380   *djgpp*)
   17381     lt_prog_compiler_pic_GCJ=
   17382     ;;
   17383   *)
   17384     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17385     ;;
   17386 esac
   17387 
   17388 #
   17389 # Check to make sure the static flag actually works.
   17390 #
   17391 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17392 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17393 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17394 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   17395   echo $ECHO_N "(cached) $ECHO_C" >&6
   17396 else
   17397   lt_prog_compiler_static_works_GCJ=no
   17398    save_LDFLAGS="$LDFLAGS"
   17399    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17400    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   17401    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17402      # The linker can only warn and ignore the option if not recognized
   17403      # So say no if there are warnings
   17404      if test -s conftest.err; then
   17405        # Append any errors to the config.log.
   17406        cat conftest.err 1>&5
   17407        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17408        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17409        if diff conftest.exp conftest.er2 >/dev/null; then
   17410          lt_prog_compiler_static_works_GCJ=yes
   17411        fi
   17412      else
   17413        lt_prog_compiler_static_works_GCJ=yes
   17414      fi
   17415    fi
   17416    $rm conftest*
   17417    LDFLAGS="$save_LDFLAGS"
   17418 
   17419 fi
   17420 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   17421 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   17422 
   17423 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   17424     :
   17425 else
   17426     lt_prog_compiler_static_GCJ=
   17427 fi
   17428 
   17429 
   17430 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17431 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17432 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17433   echo $ECHO_N "(cached) $ECHO_C" >&6
   17434 else
   17435   lt_cv_prog_compiler_c_o_GCJ=no
   17436    $rm -r conftest 2>/dev/null
   17437    mkdir conftest
   17438    cd conftest
   17439    mkdir out
   17440    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17441 
   17442    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17443    # Insert the option either (1) after the last *FLAGS variable, or
   17444    # (2) before a word containing "conftest.", or (3) at the end.
   17445    # Note that $ac_compile itself does not contain backslashes and begins
   17446    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17447    lt_compile=`echo "$ac_compile" | $SED \
   17448    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17449    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17450    -e 's:$: $lt_compiler_flag:'`
   17451    (eval echo "\"\$as_me:17451: $lt_compile\"" >&5)
   17452    (eval "$lt_compile" 2>out/conftest.err)
   17453    ac_status=$?
   17454    cat out/conftest.err >&5
   17455    echo "$as_me:17455: \$? = $ac_status" >&5
   17456    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17457    then
   17458      # The compiler can only warn and ignore the option if not recognized
   17459      # So say no if there are warnings
   17460      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17461      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17462      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17463        lt_cv_prog_compiler_c_o_GCJ=yes
   17464      fi
   17465    fi
   17466    chmod u+w . 2>&5
   17467    $rm conftest*
   17468    # SGI C++ compiler will create directory out/ii_files/ for
   17469    # template instantiation
   17470    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17471    $rm out/* && rmdir out
   17472    cd ..
   17473    rmdir conftest
   17474    $rm conftest*
   17475 
   17476 fi
   17477 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17478 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17479 
   17480 
   17481 hard_links="nottested"
   17482 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17483   # do not overwrite the value of need_locks provided by the user
   17484   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17485 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17486   hard_links=yes
   17487   $rm conftest*
   17488   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17489   touch conftest.a
   17490   ln conftest.a conftest.b 2>&5 || hard_links=no
   17491   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17492   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17493 echo "${ECHO_T}$hard_links" >&6; }
   17494   if test "$hard_links" = no; then
   17495     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17496 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17497     need_locks=warn
   17498   fi
   17499 else
   17500   need_locks=no
   17501 fi
   17502 
   17503 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17504 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17505 
   17506   runpath_var=
   17507   allow_undefined_flag_GCJ=
   17508   enable_shared_with_static_runtimes_GCJ=no
   17509   archive_cmds_GCJ=
   17510   archive_expsym_cmds_GCJ=
   17511   old_archive_From_new_cmds_GCJ=
   17512   old_archive_from_expsyms_cmds_GCJ=
   17513   export_dynamic_flag_spec_GCJ=
   17514   whole_archive_flag_spec_GCJ=
   17515   thread_safe_flag_spec_GCJ=
   17516   hardcode_libdir_flag_spec_GCJ=
   17517   hardcode_libdir_flag_spec_ld_GCJ=
   17518   hardcode_libdir_separator_GCJ=
   17519   hardcode_direct_GCJ=no
   17520   hardcode_minus_L_GCJ=no
   17521   hardcode_shlibpath_var_GCJ=unsupported
   17522   link_all_deplibs_GCJ=unknown
   17523   hardcode_automatic_GCJ=no
   17524   module_cmds_GCJ=
   17525   module_expsym_cmds_GCJ=
   17526   always_export_symbols_GCJ=no
   17527   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17528   # include_expsyms should be a list of space-separated symbols to be *always*
   17529   # included in the symbol list
   17530   include_expsyms_GCJ=
   17531   # exclude_expsyms can be an extended regexp of symbols to exclude
   17532   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17533   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17534   # as well as any symbol that contains `d'.
   17535   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   17536   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17537   # platforms (ab)use it in PIC code, but their linkers get confused if
   17538   # the symbol is explicitly referenced.  Since portable code cannot
   17539   # rely on this symbol name, it's probably fine to never include it in
   17540   # preloaded symbol tables.
   17541   extract_expsyms_cmds=
   17542   # Just being paranoid about ensuring that cc_basename is set.
   17543   for cc_temp in $compiler""; do
   17544   case $cc_temp in
   17545     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17546     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17547     \-*) ;;
   17548     *) break;;
   17549   esac
   17550 done
   17551 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17552 
   17553   case $host_os in
   17554   cygwin* | mingw* | pw32*)
   17555     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17556     # When not using gcc, we currently assume that we are using
   17557     # Microsoft Visual C++.
   17558     if test "$GCC" != yes; then
   17559       with_gnu_ld=no
   17560     fi
   17561     ;;
   17562   interix*)
   17563     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17564     with_gnu_ld=yes
   17565     ;;
   17566   openbsd*)
   17567     with_gnu_ld=no
   17568     ;;
   17569   esac
   17570 
   17571   ld_shlibs_GCJ=yes
   17572   if test "$with_gnu_ld" = yes; then
   17573     # If archive_cmds runs LD, not CC, wlarc should be empty
   17574     wlarc='${wl}'
   17575 
   17576     # Set some defaults for GNU ld with shared library support. These
   17577     # are reset later if shared libraries are not supported. Putting them
   17578     # here allows them to be overridden if necessary.
   17579     runpath_var=LD_RUN_PATH
   17580     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17581     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17582     # ancient GNU ld didn't support --whole-archive et. al.
   17583     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17584 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17585       else
   17586   	whole_archive_flag_spec_GCJ=
   17587     fi
   17588     supports_anon_versioning=no
   17589     case `$LD -v 2>/dev/null` in
   17590       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17591       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17592       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17593       *\ 2.11.*) ;; # other 2.11 versions
   17594       *) supports_anon_versioning=yes ;;
   17595     esac
   17596 
   17597     # See if GNU ld supports shared libraries.
   17598     case $host_os in
   17599     aix3* | aix4* | aix5*)
   17600       # On AIX/PPC, the GNU linker is very broken
   17601       if test "$host_cpu" != ia64; then
   17602 	ld_shlibs_GCJ=no
   17603 	cat <<EOF 1>&2
   17604 
   17605 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17606 *** to be unable to reliably create shared libraries on AIX.
   17607 *** Therefore, libtool is disabling shared libraries support.  If you
   17608 *** really care for shared libraries, you may want to modify your PATH
   17609 *** so that a non-GNU linker is found, and then restart.
   17610 
   17611 EOF
   17612       fi
   17613       ;;
   17614 
   17615     amigaos*)
   17616       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)'
   17617       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17618       hardcode_minus_L_GCJ=yes
   17619 
   17620       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17621       # that the semantics of dynamic libraries on AmigaOS, at least up
   17622       # to version 4, is to share data among multiple programs linked
   17623       # with the same dynamic library.  Since this doesn't match the
   17624       # behavior of shared libraries on other platforms, we can't use
   17625       # them.
   17626       ld_shlibs_GCJ=no
   17627       ;;
   17628 
   17629     beos*)
   17630       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17631 	allow_undefined_flag_GCJ=unsupported
   17632 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17633 	# support --undefined.  This deserves some investigation.  FIXME
   17634 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17635       else
   17636 	ld_shlibs_GCJ=no
   17637       fi
   17638       ;;
   17639 
   17640     cygwin* | mingw* | pw32*)
   17641       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17642       # as there is no search path for DLLs.
   17643       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17644       allow_undefined_flag_GCJ=unsupported
   17645       always_export_symbols_GCJ=no
   17646       enable_shared_with_static_runtimes_GCJ=yes
   17647       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   17648 
   17649       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17650         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17651 	# If the export-symbols file already is a .def file (1st line
   17652 	# is EXPORTS), use it as is; otherwise, prepend...
   17653 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17654 	  cp $export_symbols $output_objdir/$soname.def;
   17655 	else
   17656 	  echo EXPORTS > $output_objdir/$soname.def;
   17657 	  cat $export_symbols >> $output_objdir/$soname.def;
   17658 	fi~
   17659 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17660       else
   17661 	ld_shlibs_GCJ=no
   17662       fi
   17663       ;;
   17664 
   17665     interix3*)
   17666       hardcode_direct_GCJ=no
   17667       hardcode_shlibpath_var_GCJ=no
   17668       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17669       export_dynamic_flag_spec_GCJ='${wl}-E'
   17670       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17671       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17672       # default) and relocated if they conflict, which is a slow very memory
   17673       # consuming and fragmenting process.  To avoid this, we pick a random,
   17674       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17675       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17676       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'
   17677       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'
   17678       ;;
   17679 
   17680     linux* | k*bsd*-gnu)
   17681       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17682 	tmp_addflag=
   17683 	case $cc_basename,$host_cpu in
   17684 	pgcc*)				# Portland Group C compiler
   17685 	  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'
   17686 	  tmp_addflag=' $pic_flag'
   17687 	  ;;
   17688 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17689 	  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'
   17690 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17691 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17692 	  tmp_addflag=' -i_dynamic' ;;
   17693 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17694 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17695 	ifc* | ifort*)			# Intel Fortran compiler
   17696 	  tmp_addflag=' -nofor_main' ;;
   17697 	esac
   17698 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17699 
   17700 	if test $supports_anon_versioning = yes; then
   17701 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17702   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17703   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17704 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17705 	fi
   17706 	link_all_deplibs_GCJ=no
   17707       else
   17708 	ld_shlibs_GCJ=no
   17709       fi
   17710       ;;
   17711 
   17712     netbsd* | netbsdelf*-gnu)
   17713       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17714 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17715 	wlarc=
   17716       else
   17717 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17718 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17719       fi
   17720       ;;
   17721 
   17722     solaris*)
   17723       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17724 	ld_shlibs_GCJ=no
   17725 	cat <<EOF 1>&2
   17726 
   17727 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17728 *** create shared libraries on Solaris systems.  Therefore, libtool
   17729 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17730 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17731 *** your PATH or compiler configuration so that the native linker is
   17732 *** used, and then restart.
   17733 
   17734 EOF
   17735       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17736 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17737 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17738       else
   17739 	ld_shlibs_GCJ=no
   17740       fi
   17741       ;;
   17742 
   17743     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17744       case `$LD -v 2>&1` in
   17745         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17746 	ld_shlibs_GCJ=no
   17747 	cat <<_LT_EOF 1>&2
   17748 
   17749 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17750 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17751 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17752 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17753 *** your PATH or compiler configuration so that the native linker is
   17754 *** used, and then restart.
   17755 
   17756 _LT_EOF
   17757 	;;
   17758 	*)
   17759 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17760 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17761 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17762 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17763 	  else
   17764 	    ld_shlibs_GCJ=no
   17765 	  fi
   17766 	;;
   17767       esac
   17768       ;;
   17769 
   17770     sunos4*)
   17771       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17772       wlarc=
   17773       hardcode_direct_GCJ=yes
   17774       hardcode_shlibpath_var_GCJ=no
   17775       ;;
   17776 
   17777     *)
   17778       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17779 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17780 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17781       else
   17782 	ld_shlibs_GCJ=no
   17783       fi
   17784       ;;
   17785     esac
   17786 
   17787     if test "$ld_shlibs_GCJ" = no; then
   17788       runpath_var=
   17789       hardcode_libdir_flag_spec_GCJ=
   17790       export_dynamic_flag_spec_GCJ=
   17791       whole_archive_flag_spec_GCJ=
   17792     fi
   17793   else
   17794     # PORTME fill in a description of your system's linker (not GNU ld)
   17795     case $host_os in
   17796     aix3*)
   17797       allow_undefined_flag_GCJ=unsupported
   17798       always_export_symbols_GCJ=yes
   17799       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'
   17800       # Note: this linker hardcodes the directories in LIBPATH if there
   17801       # are no directories specified by -L.
   17802       hardcode_minus_L_GCJ=yes
   17803       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17804 	# Neither direct hardcoding nor static linking is supported with a
   17805 	# broken collect2.
   17806 	hardcode_direct_GCJ=unsupported
   17807       fi
   17808       ;;
   17809 
   17810     aix4* | aix5*)
   17811       if test "$host_cpu" = ia64; then
   17812 	# On IA64, the linker does run time linking by default, so we don't
   17813 	# have to do anything special.
   17814 	aix_use_runtimelinking=no
   17815 	exp_sym_flag='-Bexport'
   17816 	no_entry_flag=""
   17817       else
   17818 	# If we're using GNU nm, then we don't want the "-C" option.
   17819 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17820 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17821 	  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'
   17822 	else
   17823 	  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'
   17824 	fi
   17825 	aix_use_runtimelinking=no
   17826 
   17827 	# Test if we are trying to use run time linking or normal
   17828 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17829 	# need to do runtime linking.
   17830 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17831 	  for ld_flag in $LDFLAGS; do
   17832   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17833   	    aix_use_runtimelinking=yes
   17834   	    break
   17835   	  fi
   17836 	  done
   17837 	  ;;
   17838 	esac
   17839 
   17840 	exp_sym_flag='-bexport'
   17841 	no_entry_flag='-bnoentry'
   17842       fi
   17843 
   17844       # When large executables or shared objects are built, AIX ld can
   17845       # have problems creating the table of contents.  If linking a library
   17846       # or program results in "error TOC overflow" add -mminimal-toc to
   17847       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17848       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17849 
   17850       archive_cmds_GCJ=''
   17851       hardcode_direct_GCJ=yes
   17852       hardcode_libdir_separator_GCJ=':'
   17853       link_all_deplibs_GCJ=yes
   17854 
   17855       if test "$GCC" = yes; then
   17856 	case $host_os in aix4.[012]|aix4.[012].*)
   17857 	# We only want to do this on AIX 4.2 and lower, the check
   17858 	# below for broken collect2 doesn't work under 4.3+
   17859 	  collect2name=`${CC} -print-prog-name=collect2`
   17860 	  if test -f "$collect2name" && \
   17861   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17862 	  then
   17863   	  # We have reworked collect2
   17864   	  hardcode_direct_GCJ=yes
   17865 	  else
   17866   	  # We have old collect2
   17867   	  hardcode_direct_GCJ=unsupported
   17868   	  # It fails to find uninstalled libraries when the uninstalled
   17869   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17870   	  # to unsupported forces relinking
   17871   	  hardcode_minus_L_GCJ=yes
   17872   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17873   	  hardcode_libdir_separator_GCJ=
   17874 	  fi
   17875 	  ;;
   17876 	esac
   17877 	shared_flag='-shared'
   17878 	if test "$aix_use_runtimelinking" = yes; then
   17879 	  shared_flag="$shared_flag "'${wl}-G'
   17880 	fi
   17881       else
   17882 	# not using gcc
   17883 	if test "$host_cpu" = ia64; then
   17884   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17885   	# chokes on -Wl,-G. The following line is correct:
   17886 	  shared_flag='-G'
   17887 	else
   17888 	  if test "$aix_use_runtimelinking" = yes; then
   17889 	    shared_flag='${wl}-G'
   17890 	  else
   17891 	    shared_flag='${wl}-bM:SRE'
   17892 	  fi
   17893 	fi
   17894       fi
   17895 
   17896       # It seems that -bexpall does not export symbols beginning with
   17897       # underscore (_), so it is better to generate a list of symbols to export.
   17898       always_export_symbols_GCJ=yes
   17899       if test "$aix_use_runtimelinking" = yes; then
   17900 	# Warning - without using the other runtime loading flags (-brtl),
   17901 	# -berok will link without error, but may produce a broken library.
   17902 	allow_undefined_flag_GCJ='-berok'
   17903        # Determine the default libpath from the value encoded in an empty executable.
   17904        cat >conftest.$ac_ext <<_ACEOF
   17905 /* confdefs.h.  */
   17906 _ACEOF
   17907 cat confdefs.h >>conftest.$ac_ext
   17908 cat >>conftest.$ac_ext <<_ACEOF
   17909 /* end confdefs.h.  */
   17910 
   17911 int
   17912 main ()
   17913 {
   17914 
   17915   ;
   17916   return 0;
   17917 }
   17918 _ACEOF
   17919 rm -f conftest.$ac_objext conftest$ac_exeext
   17920 if { (ac_try="$ac_link"
   17921 case "(($ac_try" in
   17922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17923   *) ac_try_echo=$ac_try;;
   17924 esac
   17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17926   (eval "$ac_link") 2>conftest.er1
   17927   ac_status=$?
   17928   grep -v '^ *+' conftest.er1 >conftest.err
   17929   rm -f conftest.er1
   17930   cat conftest.err >&5
   17931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17932   (exit $ac_status); } &&
   17933 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17934   { (case "(($ac_try" in
   17935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17936   *) ac_try_echo=$ac_try;;
   17937 esac
   17938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17939   (eval "$ac_try") 2>&5
   17940   ac_status=$?
   17941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17942   (exit $ac_status); }; } &&
   17943 	 { ac_try='test -s conftest$ac_exeext'
   17944   { (case "(($ac_try" in
   17945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17946   *) ac_try_echo=$ac_try;;
   17947 esac
   17948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17949   (eval "$ac_try") 2>&5
   17950   ac_status=$?
   17951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17952   (exit $ac_status); }; }; then
   17953 
   17954 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17955 }'`
   17956 # Check for a 64-bit object if we didn't find anything.
   17957 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; }
   17958 }'`; fi
   17959 else
   17960   echo "$as_me: failed program was:" >&5
   17961 sed 's/^/| /' conftest.$ac_ext >&5
   17962 
   17963 
   17964 fi
   17965 
   17966 rm -f core conftest.err conftest.$ac_objext \
   17967       conftest$ac_exeext conftest.$ac_ext
   17968 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17969 
   17970        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17971 	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"
   17972        else
   17973 	if test "$host_cpu" = ia64; then
   17974 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17975 	  allow_undefined_flag_GCJ="-z nodefs"
   17976 	  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"
   17977 	else
   17978 	 # Determine the default libpath from the value encoded in an empty executable.
   17979 	 cat >conftest.$ac_ext <<_ACEOF
   17980 /* confdefs.h.  */
   17981 _ACEOF
   17982 cat confdefs.h >>conftest.$ac_ext
   17983 cat >>conftest.$ac_ext <<_ACEOF
   17984 /* end confdefs.h.  */
   17985 
   17986 int
   17987 main ()
   17988 {
   17989 
   17990   ;
   17991   return 0;
   17992 }
   17993 _ACEOF
   17994 rm -f conftest.$ac_objext conftest$ac_exeext
   17995 if { (ac_try="$ac_link"
   17996 case "(($ac_try" in
   17997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17998   *) ac_try_echo=$ac_try;;
   17999 esac
   18000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18001   (eval "$ac_link") 2>conftest.er1
   18002   ac_status=$?
   18003   grep -v '^ *+' conftest.er1 >conftest.err
   18004   rm -f conftest.er1
   18005   cat conftest.err >&5
   18006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18007   (exit $ac_status); } &&
   18008 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18009   { (case "(($ac_try" in
   18010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18011   *) ac_try_echo=$ac_try;;
   18012 esac
   18013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18014   (eval "$ac_try") 2>&5
   18015   ac_status=$?
   18016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18017   (exit $ac_status); }; } &&
   18018 	 { ac_try='test -s conftest$ac_exeext'
   18019   { (case "(($ac_try" in
   18020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18021   *) ac_try_echo=$ac_try;;
   18022 esac
   18023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18024   (eval "$ac_try") 2>&5
   18025   ac_status=$?
   18026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18027   (exit $ac_status); }; }; then
   18028 
   18029 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   18030 }'`
   18031 # Check for a 64-bit object if we didn't find anything.
   18032 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; }
   18033 }'`; fi
   18034 else
   18035   echo "$as_me: failed program was:" >&5
   18036 sed 's/^/| /' conftest.$ac_ext >&5
   18037 
   18038 
   18039 fi
   18040 
   18041 rm -f core conftest.err conftest.$ac_objext \
   18042       conftest$ac_exeext conftest.$ac_ext
   18043 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   18044 
   18045 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   18046 	  # Warning - without using the other run time loading flags,
   18047 	  # -berok will link without error, but may produce a broken library.
   18048 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   18049 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   18050 	  # Exported symbols can be pulled into shared objects from archives
   18051 	  whole_archive_flag_spec_GCJ='$convenience'
   18052 	  archive_cmds_need_lc_GCJ=yes
   18053 	  # This is similar to how AIX traditionally builds its shared libraries.
   18054 	  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'
   18055 	fi
   18056       fi
   18057       ;;
   18058 
   18059     amigaos*)
   18060       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)'
   18061       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18062       hardcode_minus_L_GCJ=yes
   18063       # see comment about different semantics on the GNU ld section
   18064       ld_shlibs_GCJ=no
   18065       ;;
   18066 
   18067     bsdi[45]*)
   18068       export_dynamic_flag_spec_GCJ=-rdynamic
   18069       ;;
   18070 
   18071     cygwin* | mingw* | pw32*)
   18072       # When not using gcc, we currently assume that we are using
   18073       # Microsoft Visual C++.
   18074       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18075       # no search path for DLLs.
   18076       hardcode_libdir_flag_spec_GCJ=' '
   18077       allow_undefined_flag_GCJ=unsupported
   18078       # Tell ltmain to make .lib files, not .a files.
   18079       libext=lib
   18080       # Tell ltmain to make .dll files, not .so files.
   18081       shrext_cmds=".dll"
   18082       # FIXME: Setting linknames here is a bad hack.
   18083       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18084       # The linker will automatically build a .lib file if we build a DLL.
   18085       old_archive_From_new_cmds_GCJ='true'
   18086       # FIXME: Should let the user specify the lib program.
   18087       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   18088       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18089       enable_shared_with_static_runtimes_GCJ=yes
   18090       ;;
   18091 
   18092     darwin* | rhapsody*)
   18093       case $host_os in
   18094         rhapsody* | darwin1.[012])
   18095          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18096          ;;
   18097        *) # Darwin 1.3 on
   18098          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18099            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18100          else
   18101            case ${MACOSX_DEPLOYMENT_TARGET} in
   18102              10.[012])
   18103                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18104                ;;
   18105              10.*)
   18106                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18107                ;;
   18108            esac
   18109          fi
   18110          ;;
   18111       esac
   18112       archive_cmds_need_lc_GCJ=no
   18113       hardcode_direct_GCJ=no
   18114       hardcode_automatic_GCJ=yes
   18115       hardcode_shlibpath_var_GCJ=unsupported
   18116       whole_archive_flag_spec_GCJ=''
   18117       link_all_deplibs_GCJ=yes
   18118     if test "$GCC" = yes ; then
   18119     	output_verbose_link_cmd='echo'
   18120         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   18121       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18122       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18123       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}'
   18124       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}'
   18125     else
   18126       case $cc_basename in
   18127         xlc*)
   18128          output_verbose_link_cmd='echo'
   18129          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   18130          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18131           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18132          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}'
   18133           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}'
   18134           ;;
   18135        *)
   18136          ld_shlibs_GCJ=no
   18137           ;;
   18138       esac
   18139     fi
   18140       ;;
   18141 
   18142     dgux*)
   18143       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18144       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18145       hardcode_shlibpath_var_GCJ=no
   18146       ;;
   18147 
   18148     freebsd1*)
   18149       ld_shlibs_GCJ=no
   18150       ;;
   18151 
   18152     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18153     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18154     # does not break anything, and helps significantly (at the cost of a little
   18155     # extra space).
   18156     freebsd2.2*)
   18157       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18158       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18159       hardcode_direct_GCJ=yes
   18160       hardcode_shlibpath_var_GCJ=no
   18161       ;;
   18162 
   18163     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18164     freebsd2*)
   18165       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18166       hardcode_direct_GCJ=yes
   18167       hardcode_minus_L_GCJ=yes
   18168       hardcode_shlibpath_var_GCJ=no
   18169       ;;
   18170 
   18171     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18172     freebsd* | dragonfly*)
   18173       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18174       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18175       hardcode_direct_GCJ=yes
   18176       hardcode_shlibpath_var_GCJ=no
   18177       ;;
   18178 
   18179     hpux9*)
   18180       if test "$GCC" = yes; then
   18181 	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'
   18182       else
   18183 	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'
   18184       fi
   18185       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18186       hardcode_libdir_separator_GCJ=:
   18187       hardcode_direct_GCJ=yes
   18188 
   18189       # hardcode_minus_L: Not really in the search PATH,
   18190       # but as the default location of the library.
   18191       hardcode_minus_L_GCJ=yes
   18192       export_dynamic_flag_spec_GCJ='${wl}-E'
   18193       ;;
   18194 
   18195     hpux10*)
   18196       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18197 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18198       else
   18199 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18200       fi
   18201       if test "$with_gnu_ld" = no; then
   18202 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18203 	hardcode_libdir_separator_GCJ=:
   18204 
   18205 	hardcode_direct_GCJ=yes
   18206 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18207 
   18208 	# hardcode_minus_L: Not really in the search PATH,
   18209 	# but as the default location of the library.
   18210 	hardcode_minus_L_GCJ=yes
   18211       fi
   18212       ;;
   18213 
   18214     hpux11*)
   18215       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18216 	case $host_cpu in
   18217 	hppa*64*)
   18218 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18219 	  ;;
   18220 	ia64*)
   18221 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18222 	  ;;
   18223 	*)
   18224 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18225 	  ;;
   18226 	esac
   18227       else
   18228 	case $host_cpu in
   18229 	hppa*64*)
   18230 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18231 	  ;;
   18232 	ia64*)
   18233 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18234 	  ;;
   18235 	*)
   18236 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18237 	  ;;
   18238 	esac
   18239       fi
   18240       if test "$with_gnu_ld" = no; then
   18241 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18242 	hardcode_libdir_separator_GCJ=:
   18243 
   18244 	case $host_cpu in
   18245 	hppa*64*|ia64*)
   18246 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18247 	  hardcode_direct_GCJ=no
   18248 	  hardcode_shlibpath_var_GCJ=no
   18249 	  ;;
   18250 	*)
   18251 	  hardcode_direct_GCJ=yes
   18252 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18253 
   18254 	  # hardcode_minus_L: Not really in the search PATH,
   18255 	  # but as the default location of the library.
   18256 	  hardcode_minus_L_GCJ=yes
   18257 	  ;;
   18258 	esac
   18259       fi
   18260       ;;
   18261 
   18262     irix5* | irix6* | nonstopux*)
   18263       if test "$GCC" = yes; then
   18264 	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'
   18265       else
   18266 	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'
   18267 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18268       fi
   18269       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18270       hardcode_libdir_separator_GCJ=:
   18271       link_all_deplibs_GCJ=yes
   18272       ;;
   18273 
   18274     netbsd* | netbsdelf*-gnu)
   18275       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18276 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18277       else
   18278 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18279       fi
   18280       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18281       hardcode_direct_GCJ=yes
   18282       hardcode_shlibpath_var_GCJ=no
   18283       ;;
   18284 
   18285     newsos6)
   18286       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18287       hardcode_direct_GCJ=yes
   18288       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18289       hardcode_libdir_separator_GCJ=:
   18290       hardcode_shlibpath_var_GCJ=no
   18291       ;;
   18292 
   18293     openbsd*)
   18294       hardcode_direct_GCJ=yes
   18295       hardcode_shlibpath_var_GCJ=no
   18296       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18297 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18298 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18299 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18300 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18301       else
   18302        case $host_os in
   18303 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18304 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18305 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18306 	   ;;
   18307 	 *)
   18308 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18309 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18310 	   ;;
   18311        esac
   18312       fi
   18313       ;;
   18314 
   18315     os2*)
   18316       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18317       hardcode_minus_L_GCJ=yes
   18318       allow_undefined_flag_GCJ=unsupported
   18319       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'
   18320       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18321       ;;
   18322 
   18323     osf3*)
   18324       if test "$GCC" = yes; then
   18325 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18326 	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'
   18327       else
   18328 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18329 	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'
   18330       fi
   18331       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18332       hardcode_libdir_separator_GCJ=:
   18333       ;;
   18334 
   18335     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18336       if test "$GCC" = yes; then
   18337 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18338 	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'
   18339 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18340       else
   18341 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18342 	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'
   18343 	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~
   18344 	$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'
   18345 
   18346 	# Both c and cxx compiler support -rpath directly
   18347 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18348       fi
   18349       hardcode_libdir_separator_GCJ=:
   18350       ;;
   18351 
   18352     solaris*)
   18353       no_undefined_flag_GCJ=' -z text'
   18354       if test "$GCC" = yes; then
   18355 	wlarc='${wl}'
   18356 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18357 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18358 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18359       else
   18360 	wlarc=''
   18361 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18362 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18363   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18364       fi
   18365       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18366       hardcode_shlibpath_var_GCJ=no
   18367       case $host_os in
   18368       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18369       *)
   18370  	# The compiler driver will combine linker options so we
   18371  	# cannot just pass the convience library names through
   18372  	# without $wl, iff we do not link with $LD.
   18373  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   18374  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18375  	case $wlarc in
   18376  	'')
   18377  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   18378  	*)
   18379  	  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' ;;
   18380  	esac ;;
   18381       esac
   18382       link_all_deplibs_GCJ=yes
   18383       ;;
   18384 
   18385     sunos4*)
   18386       if test "x$host_vendor" = xsequent; then
   18387 	# Use $CC to link under sequent, because it throws in some extra .o
   18388 	# files that make .init and .fini sections work.
   18389 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18390       else
   18391 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18392       fi
   18393       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18394       hardcode_direct_GCJ=yes
   18395       hardcode_minus_L_GCJ=yes
   18396       hardcode_shlibpath_var_GCJ=no
   18397       ;;
   18398 
   18399     sysv4)
   18400       case $host_vendor in
   18401 	sni)
   18402 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18403 	  hardcode_direct_GCJ=yes # is this really true???
   18404 	;;
   18405 	siemens)
   18406 	  ## LD is ld it makes a PLAMLIB
   18407 	  ## CC just makes a GrossModule.
   18408 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18409 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18410 	  hardcode_direct_GCJ=no
   18411         ;;
   18412 	motorola)
   18413 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18414 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18415 	;;
   18416       esac
   18417       runpath_var='LD_RUN_PATH'
   18418       hardcode_shlibpath_var_GCJ=no
   18419       ;;
   18420 
   18421     sysv4.3*)
   18422       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18423       hardcode_shlibpath_var_GCJ=no
   18424       export_dynamic_flag_spec_GCJ='-Bexport'
   18425       ;;
   18426 
   18427     sysv4*MP*)
   18428       if test -d /usr/nec; then
   18429 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18430 	hardcode_shlibpath_var_GCJ=no
   18431 	runpath_var=LD_RUN_PATH
   18432 	hardcode_runpath_var=yes
   18433 	ld_shlibs_GCJ=yes
   18434       fi
   18435       ;;
   18436 
   18437     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   18438       no_undefined_flag_GCJ='${wl}-z,text'
   18439       archive_cmds_need_lc_GCJ=no
   18440       hardcode_shlibpath_var_GCJ=no
   18441       runpath_var='LD_RUN_PATH'
   18442 
   18443       if test "$GCC" = yes; then
   18444 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18445 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18446       else
   18447 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18448 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18449       fi
   18450       ;;
   18451 
   18452     sysv5* | sco3.2v5* | sco5v6*)
   18453       # Note: We can NOT use -z defs as we might desire, because we do not
   18454       # link with -lc, and that would cause any symbols used from libc to
   18455       # always be unresolved, which means just about no library would
   18456       # ever link correctly.  If we're not using GNU ld we use -z text
   18457       # though, which does catch some bad symbols but isn't as heavy-handed
   18458       # as -z defs.
   18459       no_undefined_flag_GCJ='${wl}-z,text'
   18460       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18461       archive_cmds_need_lc_GCJ=no
   18462       hardcode_shlibpath_var_GCJ=no
   18463       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18464       hardcode_libdir_separator_GCJ=':'
   18465       link_all_deplibs_GCJ=yes
   18466       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18467       runpath_var='LD_RUN_PATH'
   18468 
   18469       if test "$GCC" = yes; then
   18470 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18471 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18472       else
   18473 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18474 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18475       fi
   18476       ;;
   18477 
   18478     uts4*)
   18479       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18480       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18481       hardcode_shlibpath_var_GCJ=no
   18482       ;;
   18483 
   18484     *)
   18485       ld_shlibs_GCJ=no
   18486       ;;
   18487     esac
   18488   fi
   18489 
   18490 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18491 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18492 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18493 
   18494 #
   18495 # Do we need to explicitly link libc?
   18496 #
   18497 case "x$archive_cmds_need_lc_GCJ" in
   18498 x|xyes)
   18499   # Assume -lc should be added
   18500   archive_cmds_need_lc_GCJ=yes
   18501 
   18502   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18503     case $archive_cmds_GCJ in
   18504     *'~'*)
   18505       # FIXME: we may have to deal with multi-command sequences.
   18506       ;;
   18507     '$CC '*)
   18508       # Test whether the compiler implicitly links with -lc since on some
   18509       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18510       # to ld, don't add -lc before -lgcc.
   18511       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18512 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18513       $rm conftest*
   18514       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   18515 
   18516       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18517   (eval $ac_compile) 2>&5
   18518   ac_status=$?
   18519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18520   (exit $ac_status); } 2>conftest.err; then
   18521         soname=conftest
   18522         lib=conftest
   18523         libobjs=conftest.$ac_objext
   18524         deplibs=
   18525         wl=$lt_prog_compiler_wl_GCJ
   18526 	pic_flag=$lt_prog_compiler_pic_GCJ
   18527         compiler_flags=-v
   18528         linker_flags=-v
   18529         verstring=
   18530         output_objdir=.
   18531         libname=conftest
   18532         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18533         allow_undefined_flag_GCJ=
   18534         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18535   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18536   ac_status=$?
   18537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18538   (exit $ac_status); }
   18539         then
   18540 	  archive_cmds_need_lc_GCJ=no
   18541         else
   18542 	  archive_cmds_need_lc_GCJ=yes
   18543         fi
   18544         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18545       else
   18546         cat conftest.err 1>&5
   18547       fi
   18548       $rm conftest*
   18549       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18550 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18551       ;;
   18552     esac
   18553   fi
   18554   ;;
   18555 esac
   18556 
   18557 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18558 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18559 library_names_spec=
   18560 libname_spec='lib$name'
   18561 soname_spec=
   18562 shrext_cmds=".so"
   18563 postinstall_cmds=
   18564 postuninstall_cmds=
   18565 finish_cmds=
   18566 finish_eval=
   18567 shlibpath_var=
   18568 shlibpath_overrides_runpath=unknown
   18569 version_type=none
   18570 dynamic_linker="$host_os ld.so"
   18571 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18572 if test "$GCC" = yes; then
   18573   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18574   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   18575     # if the path contains ";" then we assume it to be the separator
   18576     # otherwise default to the standard path separator (i.e. ":") - it is
   18577     # assumed that no part of a normal pathname contains ";" but that should
   18578     # okay in the real world where ";" in dirpaths is itself problematic.
   18579     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18580   else
   18581     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18582   fi
   18583 else
   18584   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18585 fi
   18586 need_lib_prefix=unknown
   18587 hardcode_into_libs=no
   18588 
   18589 # when you set need_version to no, make sure it does not cause -set_version
   18590 # flags to be left without arguments
   18591 need_version=unknown
   18592 
   18593 case $host_os in
   18594 aix3*)
   18595   version_type=linux
   18596   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18597   shlibpath_var=LIBPATH
   18598 
   18599   # AIX 3 has no versioning support, so we append a major version to the name.
   18600   soname_spec='${libname}${release}${shared_ext}$major'
   18601   ;;
   18602 
   18603 aix4* | aix5*)
   18604   version_type=linux
   18605   need_lib_prefix=no
   18606   need_version=no
   18607   hardcode_into_libs=yes
   18608   if test "$host_cpu" = ia64; then
   18609     # AIX 5 supports IA64
   18610     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18611     shlibpath_var=LD_LIBRARY_PATH
   18612   else
   18613     # With GCC up to 2.95.x, collect2 would create an import file
   18614     # for dependence libraries.  The import file would start with
   18615     # the line `#! .'.  This would cause the generated library to
   18616     # depend on `.', always an invalid library.  This was fixed in
   18617     # development snapshots of GCC prior to 3.0.
   18618     case $host_os in
   18619       aix4 | aix4.[01] | aix4.[01].*)
   18620       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18621 	   echo ' yes '
   18622 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18623 	:
   18624       else
   18625 	can_build_shared=no
   18626       fi
   18627       ;;
   18628     esac
   18629     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18630     # soname into executable. Probably we can add versioning support to
   18631     # collect2, so additional links can be useful in future.
   18632     if test "$aix_use_runtimelinking" = yes; then
   18633       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18634       # instead of lib<name>.a to let people know that these are not
   18635       # typical AIX shared libraries.
   18636       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18637     else
   18638       # We preserve .a as extension for shared libraries through AIX4.2
   18639       # and later when we are not doing run time linking.
   18640       library_names_spec='${libname}${release}.a $libname.a'
   18641       soname_spec='${libname}${release}${shared_ext}$major'
   18642     fi
   18643     shlibpath_var=LIBPATH
   18644   fi
   18645   ;;
   18646 
   18647 amigaos*)
   18648   library_names_spec='$libname.ixlibrary $libname.a'
   18649   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18650   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'
   18651   ;;
   18652 
   18653 beos*)
   18654   library_names_spec='${libname}${shared_ext}'
   18655   dynamic_linker="$host_os ld.so"
   18656   shlibpath_var=LIBRARY_PATH
   18657   ;;
   18658 
   18659 bsdi[45]*)
   18660   version_type=linux
   18661   need_version=no
   18662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18663   soname_spec='${libname}${release}${shared_ext}$major'
   18664   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18665   shlibpath_var=LD_LIBRARY_PATH
   18666   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18667   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18668   # the default ld.so.conf also contains /usr/contrib/lib and
   18669   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18670   # libtool to hard-code these into programs
   18671   ;;
   18672 
   18673 cygwin* | mingw* | pw32*)
   18674   version_type=windows
   18675   shrext_cmds=".dll"
   18676   need_version=no
   18677   need_lib_prefix=no
   18678 
   18679   case $GCC,$host_os in
   18680   yes,cygwin* | yes,mingw* | yes,pw32*)
   18681     library_names_spec='$libname.dll.a'
   18682     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18683     postinstall_cmds='base_file=`basename \${file}`~
   18684       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18685       dldir=$destdir/`dirname \$dlpath`~
   18686       test -d \$dldir || mkdir -p \$dldir~
   18687       $install_prog $dir/$dlname \$dldir/$dlname~
   18688       chmod a+x \$dldir/$dlname'
   18689     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18690       dlpath=$dir/\$dldll~
   18691        $rm \$dlpath'
   18692     shlibpath_overrides_runpath=yes
   18693 
   18694     case $host_os in
   18695     cygwin*)
   18696       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18697       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18698       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18699       ;;
   18700     mingw*)
   18701       # MinGW DLLs use traditional 'lib' prefix
   18702       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18703       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18704       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18705         # It is most probably a Windows format PATH printed by
   18706         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18707         # path with ; separators, and with drive letters. We can handle the
   18708         # drive letters (cygwin fileutils understands them), so leave them,
   18709         # especially as we might pass files found there to a mingw objdump,
   18710         # which wouldn't understand a cygwinified path. Ahh.
   18711         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18712       else
   18713         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18714       fi
   18715       ;;
   18716     pw32*)
   18717       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18718       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18719       ;;
   18720     esac
   18721     ;;
   18722 
   18723   *)
   18724     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18725     ;;
   18726   esac
   18727   dynamic_linker='Win32 ld.exe'
   18728   # FIXME: first we should search . and the directory the executable is in
   18729   shlibpath_var=PATH
   18730   ;;
   18731 
   18732 darwin* | rhapsody*)
   18733   dynamic_linker="$host_os dyld"
   18734   version_type=darwin
   18735   need_lib_prefix=no
   18736   need_version=no
   18737   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18738   soname_spec='${libname}${release}${major}$shared_ext'
   18739   shlibpath_overrides_runpath=yes
   18740   shlibpath_var=DYLD_LIBRARY_PATH
   18741   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18742   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   18743   if test "$GCC" = yes; then
   18744     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"`
   18745   else
   18746     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   18747   fi
   18748   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18749   ;;
   18750 
   18751 dgux*)
   18752   version_type=linux
   18753   need_lib_prefix=no
   18754   need_version=no
   18755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18756   soname_spec='${libname}${release}${shared_ext}$major'
   18757   shlibpath_var=LD_LIBRARY_PATH
   18758   ;;
   18759 
   18760 freebsd1*)
   18761   dynamic_linker=no
   18762   ;;
   18763 
   18764 freebsd* | dragonfly*)
   18765   # DragonFly does not have aout.  When/if they implement a new
   18766   # versioning mechanism, adjust this.
   18767   if test -x /usr/bin/objformat; then
   18768     objformat=`/usr/bin/objformat`
   18769   else
   18770     case $host_os in
   18771     freebsd[123]*) objformat=aout ;;
   18772     *) objformat=elf ;;
   18773     esac
   18774   fi
   18775   version_type=freebsd-$objformat
   18776   case $version_type in
   18777     freebsd-elf*)
   18778       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18779       need_version=no
   18780       need_lib_prefix=no
   18781       ;;
   18782     freebsd-*)
   18783       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18784       need_version=yes
   18785       ;;
   18786   esac
   18787   shlibpath_var=LD_LIBRARY_PATH
   18788   case $host_os in
   18789   freebsd2*)
   18790     shlibpath_overrides_runpath=yes
   18791     ;;
   18792   freebsd3.[01]* | freebsdelf3.[01]*)
   18793     shlibpath_overrides_runpath=yes
   18794     hardcode_into_libs=yes
   18795     ;;
   18796   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18797   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18798     shlibpath_overrides_runpath=no
   18799     hardcode_into_libs=yes
   18800     ;;
   18801   freebsd*) # from 4.6 on
   18802     shlibpath_overrides_runpath=yes
   18803     hardcode_into_libs=yes
   18804     ;;
   18805   esac
   18806   ;;
   18807 
   18808 gnu*)
   18809   version_type=linux
   18810   need_lib_prefix=no
   18811   need_version=no
   18812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18813   soname_spec='${libname}${release}${shared_ext}$major'
   18814   shlibpath_var=LD_LIBRARY_PATH
   18815   hardcode_into_libs=yes
   18816   ;;
   18817 
   18818 hpux9* | hpux10* | hpux11*)
   18819   # Give a soname corresponding to the major version so that dld.sl refuses to
   18820   # link against other versions.
   18821   version_type=sunos
   18822   need_lib_prefix=no
   18823   need_version=no
   18824   case $host_cpu in
   18825   ia64*)
   18826     shrext_cmds='.so'
   18827     hardcode_into_libs=yes
   18828     dynamic_linker="$host_os dld.so"
   18829     shlibpath_var=LD_LIBRARY_PATH
   18830     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18831     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18832     soname_spec='${libname}${release}${shared_ext}$major'
   18833     if test "X$HPUX_IA64_MODE" = X32; then
   18834       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18835     else
   18836       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18837     fi
   18838     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18839     ;;
   18840    hppa*64*)
   18841      shrext_cmds='.sl'
   18842      hardcode_into_libs=yes
   18843      dynamic_linker="$host_os dld.sl"
   18844      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18845      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18846      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18847      soname_spec='${libname}${release}${shared_ext}$major'
   18848      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18849      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18850      ;;
   18851    *)
   18852     shrext_cmds='.sl'
   18853     dynamic_linker="$host_os dld.sl"
   18854     shlibpath_var=SHLIB_PATH
   18855     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18856     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18857     soname_spec='${libname}${release}${shared_ext}$major'
   18858     ;;
   18859   esac
   18860   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18861   postinstall_cmds='chmod 555 $lib'
   18862   ;;
   18863 
   18864 interix3*)
   18865   version_type=linux
   18866   need_lib_prefix=no
   18867   need_version=no
   18868   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18869   soname_spec='${libname}${release}${shared_ext}$major'
   18870   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18871   shlibpath_var=LD_LIBRARY_PATH
   18872   shlibpath_overrides_runpath=no
   18873   hardcode_into_libs=yes
   18874   ;;
   18875 
   18876 irix5* | irix6* | nonstopux*)
   18877   case $host_os in
   18878     nonstopux*) version_type=nonstopux ;;
   18879     *)
   18880 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18881 		version_type=linux
   18882 	else
   18883 		version_type=irix
   18884 	fi ;;
   18885   esac
   18886   need_lib_prefix=no
   18887   need_version=no
   18888   soname_spec='${libname}${release}${shared_ext}$major'
   18889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18890   case $host_os in
   18891   irix5* | nonstopux*)
   18892     libsuff= shlibsuff=
   18893     ;;
   18894   *)
   18895     case $LD in # libtool.m4 will add one of these switches to LD
   18896     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18897       libsuff= shlibsuff= libmagic=32-bit;;
   18898     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18899       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18900     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18901       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18902     *) libsuff= shlibsuff= libmagic=never-match;;
   18903     esac
   18904     ;;
   18905   esac
   18906   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18907   shlibpath_overrides_runpath=no
   18908   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18909   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18910   hardcode_into_libs=yes
   18911   ;;
   18912 
   18913 # No shared lib support for Linux oldld, aout, or coff.
   18914 linux*oldld* | linux*aout* | linux*coff*)
   18915   dynamic_linker=no
   18916   ;;
   18917 
   18918 # This must be Linux ELF.
   18919 linux* | k*bsd*-gnu)
   18920   version_type=linux
   18921   need_lib_prefix=no
   18922   need_version=no
   18923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18924   soname_spec='${libname}${release}${shared_ext}$major'
   18925   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18926   shlibpath_var=LD_LIBRARY_PATH
   18927   shlibpath_overrides_runpath=no
   18928   # This implies no fast_install, which is unacceptable.
   18929   # Some rework will be needed to allow for fast_install
   18930   # before this can be enabled.
   18931   hardcode_into_libs=yes
   18932 
   18933   # Append ld.so.conf contents to the search path
   18934   if test -f /etc/ld.so.conf; then
   18935     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' ' '`
   18936     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18937   fi
   18938 
   18939   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18940   # powerpc, because MkLinux only supported shared libraries with the
   18941   # GNU dynamic linker.  Since this was broken with cross compilers,
   18942   # most powerpc-linux boxes support dynamic linking these days and
   18943   # people can always --disable-shared, the test was removed, and we
   18944   # assume the GNU/Linux dynamic linker is in use.
   18945   dynamic_linker='GNU/Linux ld.so'
   18946   ;;
   18947 
   18948 netbsdelf*-gnu)
   18949   version_type=linux
   18950   need_lib_prefix=no
   18951   need_version=no
   18952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18953   soname_spec='${libname}${release}${shared_ext}$major'
   18954   shlibpath_var=LD_LIBRARY_PATH
   18955   shlibpath_overrides_runpath=no
   18956   hardcode_into_libs=yes
   18957   dynamic_linker='NetBSD ld.elf_so'
   18958   ;;
   18959 
   18960 netbsd*)
   18961   version_type=sunos
   18962   need_lib_prefix=no
   18963   need_version=no
   18964   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18965     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18966     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18967     dynamic_linker='NetBSD (a.out) ld.so'
   18968   else
   18969     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18970     soname_spec='${libname}${release}${shared_ext}$major'
   18971     dynamic_linker='NetBSD ld.elf_so'
   18972   fi
   18973   shlibpath_var=LD_LIBRARY_PATH
   18974   shlibpath_overrides_runpath=yes
   18975   hardcode_into_libs=yes
   18976   ;;
   18977 
   18978 newsos6)
   18979   version_type=linux
   18980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18981   shlibpath_var=LD_LIBRARY_PATH
   18982   shlibpath_overrides_runpath=yes
   18983   ;;
   18984 
   18985 nto-qnx*)
   18986   version_type=linux
   18987   need_lib_prefix=no
   18988   need_version=no
   18989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18990   soname_spec='${libname}${release}${shared_ext}$major'
   18991   shlibpath_var=LD_LIBRARY_PATH
   18992   shlibpath_overrides_runpath=yes
   18993   ;;
   18994 
   18995 openbsd*)
   18996   version_type=sunos
   18997   sys_lib_dlsearch_path_spec="/usr/lib"
   18998   need_lib_prefix=no
   18999   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   19000   case $host_os in
   19001     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   19002     *)                         need_version=no  ;;
   19003   esac
   19004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   19005   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19006   shlibpath_var=LD_LIBRARY_PATH
   19007   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   19008     case $host_os in
   19009       openbsd2.[89] | openbsd2.[89].*)
   19010 	shlibpath_overrides_runpath=no
   19011 	;;
   19012       *)
   19013 	shlibpath_overrides_runpath=yes
   19014 	;;
   19015       esac
   19016   else
   19017     shlibpath_overrides_runpath=yes
   19018   fi
   19019   ;;
   19020 
   19021 os2*)
   19022   libname_spec='$name'
   19023   shrext_cmds=".dll"
   19024   need_lib_prefix=no
   19025   library_names_spec='$libname${shared_ext} $libname.a'
   19026   dynamic_linker='OS/2 ld.exe'
   19027   shlibpath_var=LIBPATH
   19028   ;;
   19029 
   19030 osf3* | osf4* | osf5*)
   19031   version_type=osf
   19032   need_lib_prefix=no
   19033   need_version=no
   19034   soname_spec='${libname}${release}${shared_ext}$major'
   19035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19036   shlibpath_var=LD_LIBRARY_PATH
   19037   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   19038   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   19039   ;;
   19040 
   19041 solaris*)
   19042   version_type=linux
   19043   need_lib_prefix=no
   19044   need_version=no
   19045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19046   soname_spec='${libname}${release}${shared_ext}$major'
   19047   shlibpath_var=LD_LIBRARY_PATH
   19048   shlibpath_overrides_runpath=yes
   19049   hardcode_into_libs=yes
   19050   # ldd complains unless libraries are executable
   19051   postinstall_cmds='chmod +x $lib'
   19052   ;;
   19053 
   19054 sunos4*)
   19055   version_type=sunos
   19056   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   19057   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   19058   shlibpath_var=LD_LIBRARY_PATH
   19059   shlibpath_overrides_runpath=yes
   19060   if test "$with_gnu_ld" = yes; then
   19061     need_lib_prefix=no
   19062   fi
   19063   need_version=yes
   19064   ;;
   19065 
   19066 sysv4 | sysv4.3*)
   19067   version_type=linux
   19068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19069   soname_spec='${libname}${release}${shared_ext}$major'
   19070   shlibpath_var=LD_LIBRARY_PATH
   19071   case $host_vendor in
   19072     sni)
   19073       shlibpath_overrides_runpath=no
   19074       need_lib_prefix=no
   19075       export_dynamic_flag_spec='${wl}-Blargedynsym'
   19076       runpath_var=LD_RUN_PATH
   19077       ;;
   19078     siemens)
   19079       need_lib_prefix=no
   19080       ;;
   19081     motorola)
   19082       need_lib_prefix=no
   19083       need_version=no
   19084       shlibpath_overrides_runpath=no
   19085       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   19086       ;;
   19087   esac
   19088   ;;
   19089 
   19090 sysv4*MP*)
   19091   if test -d /usr/nec ;then
   19092     version_type=linux
   19093     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   19094     soname_spec='$libname${shared_ext}.$major'
   19095     shlibpath_var=LD_LIBRARY_PATH
   19096   fi
   19097   ;;
   19098 
   19099 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19100   version_type=freebsd-elf
   19101   need_lib_prefix=no
   19102   need_version=no
   19103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19104   soname_spec='${libname}${release}${shared_ext}$major'
   19105   shlibpath_var=LD_LIBRARY_PATH
   19106   hardcode_into_libs=yes
   19107   if test "$with_gnu_ld" = yes; then
   19108     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19109     shlibpath_overrides_runpath=no
   19110   else
   19111     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19112     shlibpath_overrides_runpath=yes
   19113     case $host_os in
   19114       sco3.2v5*)
   19115         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19116 	;;
   19117     esac
   19118   fi
   19119   sys_lib_dlsearch_path_spec='/usr/lib'
   19120   ;;
   19121 
   19122 uts4*)
   19123   version_type=linux
   19124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19125   soname_spec='${libname}${release}${shared_ext}$major'
   19126   shlibpath_var=LD_LIBRARY_PATH
   19127   ;;
   19128 
   19129 *)
   19130   dynamic_linker=no
   19131   ;;
   19132 esac
   19133 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19134 echo "${ECHO_T}$dynamic_linker" >&6; }
   19135 test "$dynamic_linker" = no && can_build_shared=no
   19136 
   19137 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19138 if test "$GCC" = yes; then
   19139   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19140 fi
   19141 
   19142 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19143 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   19144 hardcode_action_GCJ=
   19145 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19146    test -n "$runpath_var_GCJ" || \
   19147    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19148 
   19149   # We can hardcode non-existant directories.
   19150   if test "$hardcode_direct_GCJ" != no &&
   19151      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19152      # have to relink, otherwise we might link with an installed library
   19153      # when we should be linking with a yet-to-be-installed one
   19154      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19155      test "$hardcode_minus_L_GCJ" != no; then
   19156     # Linking always hardcodes the temporary library directory.
   19157     hardcode_action_GCJ=relink
   19158   else
   19159     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19160     hardcode_action_GCJ=immediate
   19161   fi
   19162 else
   19163   # We cannot hardcode anything, or else we can only hardcode existing
   19164   # directories.
   19165   hardcode_action_GCJ=unsupported
   19166 fi
   19167 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19168 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   19169 
   19170 if test "$hardcode_action_GCJ" = relink; then
   19171   # Fast installation is not supported
   19172   enable_fast_install=no
   19173 elif test "$shlibpath_overrides_runpath" = yes ||
   19174      test "$enable_shared" = no; then
   19175   # Fast installation is not necessary
   19176   enable_fast_install=needless
   19177 fi
   19178 
   19179 
   19180 # The else clause should only fire when bootstrapping the
   19181 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19182 # with your package, and you will get complaints that there are
   19183 # no rules to generate ltmain.sh.
   19184 if test -f "$ltmain"; then
   19185   # See if we are running on zsh, and set the options which allow our commands through
   19186   # without removal of \ escapes.
   19187   if test -n "${ZSH_VERSION+set}" ; then
   19188     setopt NO_GLOB_SUBST
   19189   fi
   19190   # Now quote all the things that may contain metacharacters while being
   19191   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19192   # variables and quote the copies for generation of the libtool script.
   19193   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19194     SED SHELL STRIP \
   19195     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19196     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19197     deplibs_check_method reload_flag reload_cmds need_locks \
   19198     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19199     lt_cv_sys_global_symbol_to_c_name_address \
   19200     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19201     old_postinstall_cmds old_postuninstall_cmds \
   19202     compiler_GCJ \
   19203     CC_GCJ \
   19204     LD_GCJ \
   19205     lt_prog_compiler_wl_GCJ \
   19206     lt_prog_compiler_pic_GCJ \
   19207     lt_prog_compiler_static_GCJ \
   19208     lt_prog_compiler_no_builtin_flag_GCJ \
   19209     export_dynamic_flag_spec_GCJ \
   19210     thread_safe_flag_spec_GCJ \
   19211     whole_archive_flag_spec_GCJ \
   19212     enable_shared_with_static_runtimes_GCJ \
   19213     old_archive_cmds_GCJ \
   19214     old_archive_from_new_cmds_GCJ \
   19215     predep_objects_GCJ \
   19216     postdep_objects_GCJ \
   19217     predeps_GCJ \
   19218     postdeps_GCJ \
   19219     compiler_lib_search_path_GCJ \
   19220     archive_cmds_GCJ \
   19221     archive_expsym_cmds_GCJ \
   19222     postinstall_cmds_GCJ \
   19223     postuninstall_cmds_GCJ \
   19224     old_archive_from_expsyms_cmds_GCJ \
   19225     allow_undefined_flag_GCJ \
   19226     no_undefined_flag_GCJ \
   19227     export_symbols_cmds_GCJ \
   19228     hardcode_libdir_flag_spec_GCJ \
   19229     hardcode_libdir_flag_spec_ld_GCJ \
   19230     hardcode_libdir_separator_GCJ \
   19231     hardcode_automatic_GCJ \
   19232     module_cmds_GCJ \
   19233     module_expsym_cmds_GCJ \
   19234     lt_cv_prog_compiler_c_o_GCJ \
   19235     exclude_expsyms_GCJ \
   19236     include_expsyms_GCJ; do
   19237 
   19238     case $var in
   19239     old_archive_cmds_GCJ | \
   19240     old_archive_from_new_cmds_GCJ | \
   19241     archive_cmds_GCJ | \
   19242     archive_expsym_cmds_GCJ | \
   19243     module_cmds_GCJ | \
   19244     module_expsym_cmds_GCJ | \
   19245     old_archive_from_expsyms_cmds_GCJ | \
   19246     export_symbols_cmds_GCJ | \
   19247     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19248     postinstall_cmds | postuninstall_cmds | \
   19249     old_postinstall_cmds | old_postuninstall_cmds | \
   19250     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19251       # Double-quote double-evaled strings.
   19252       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19253       ;;
   19254     *)
   19255       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19256       ;;
   19257     esac
   19258   done
   19259 
   19260   case $lt_echo in
   19261   *'\$0 --fallback-echo"')
   19262     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19263     ;;
   19264   esac
   19265 
   19266 cfgfile="$ofile"
   19267 
   19268   cat <<__EOF__ >> "$cfgfile"
   19269 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19270 
   19271 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19272 
   19273 # Shell to use when invoking shell scripts.
   19274 SHELL=$lt_SHELL
   19275 
   19276 # Whether or not to build shared libraries.
   19277 build_libtool_libs=$enable_shared
   19278 
   19279 # Whether or not to build static libraries.
   19280 build_old_libs=$enable_static
   19281 
   19282 # Whether or not to add -lc for building shared libraries.
   19283 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19284 
   19285 # Whether or not to disallow shared libs when runtime libs are static
   19286 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19287 
   19288 # Whether or not to optimize for fast installation.
   19289 fast_install=$enable_fast_install
   19290 
   19291 # The host system.
   19292 host_alias=$host_alias
   19293 host=$host
   19294 host_os=$host_os
   19295 
   19296 # The build system.
   19297 build_alias=$build_alias
   19298 build=$build
   19299 build_os=$build_os
   19300 
   19301 # An echo program that does not interpret backslashes.
   19302 echo=$lt_echo
   19303 
   19304 # The archiver.
   19305 AR=$lt_AR
   19306 AR_FLAGS=$lt_AR_FLAGS
   19307 
   19308 # A C compiler.
   19309 LTCC=$lt_LTCC
   19310 
   19311 # LTCC compiler flags.
   19312 LTCFLAGS=$lt_LTCFLAGS
   19313 
   19314 # A language-specific compiler.
   19315 CC=$lt_compiler_GCJ
   19316 
   19317 # Is the compiler the GNU C compiler?
   19318 with_gcc=$GCC_GCJ
   19319 
   19320 # An ERE matcher.
   19321 EGREP=$lt_EGREP
   19322 
   19323 # The linker used to build libraries.
   19324 LD=$lt_LD_GCJ
   19325 
   19326 # Whether we need hard or soft links.
   19327 LN_S=$lt_LN_S
   19328 
   19329 # A BSD-compatible nm program.
   19330 NM=$lt_NM
   19331 
   19332 # A symbol stripping program
   19333 STRIP=$lt_STRIP
   19334 
   19335 # Used to examine libraries when file_magic_cmd begins "file"
   19336 MAGIC_CMD=$MAGIC_CMD
   19337 
   19338 # Used on cygwin: DLL creation program.
   19339 DLLTOOL="$DLLTOOL"
   19340 
   19341 # Used on cygwin: object dumper.
   19342 OBJDUMP="$OBJDUMP"
   19343 
   19344 # Used on cygwin: assembler.
   19345 AS="$AS"
   19346 
   19347 # The name of the directory that contains temporary libtool files.
   19348 objdir=$objdir
   19349 
   19350 # How to create reloadable object files.
   19351 reload_flag=$lt_reload_flag
   19352 reload_cmds=$lt_reload_cmds
   19353 
   19354 # How to pass a linker flag through the compiler.
   19355 wl=$lt_lt_prog_compiler_wl_GCJ
   19356 
   19357 # Object file suffix (normally "o").
   19358 objext="$ac_objext"
   19359 
   19360 # Old archive suffix (normally "a").
   19361 libext="$libext"
   19362 
   19363 # Shared library suffix (normally ".so").
   19364 shrext_cmds='$shrext_cmds'
   19365 
   19366 # Executable file suffix (normally "").
   19367 exeext="$exeext"
   19368 
   19369 # Additional compiler flags for building library objects.
   19370 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19371 pic_mode=$pic_mode
   19372 
   19373 # What is the maximum length of a command?
   19374 max_cmd_len=$lt_cv_sys_max_cmd_len
   19375 
   19376 # Does compiler simultaneously support -c and -o options?
   19377 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19378 
   19379 # Must we lock files when doing compilation?
   19380 need_locks=$lt_need_locks
   19381 
   19382 # Do we need the lib prefix for modules?
   19383 need_lib_prefix=$need_lib_prefix
   19384 
   19385 # Do we need a version for libraries?
   19386 need_version=$need_version
   19387 
   19388 # Whether dlopen is supported.
   19389 dlopen_support=$enable_dlopen
   19390 
   19391 # Whether dlopen of programs is supported.
   19392 dlopen_self=$enable_dlopen_self
   19393 
   19394 # Whether dlopen of statically linked programs is supported.
   19395 dlopen_self_static=$enable_dlopen_self_static
   19396 
   19397 # Compiler flag to prevent dynamic linking.
   19398 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19399 
   19400 # Compiler flag to turn off builtin functions.
   19401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19402 
   19403 # Compiler flag to allow reflexive dlopens.
   19404 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19405 
   19406 # Compiler flag to generate shared objects directly from archives.
   19407 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19408 
   19409 # Compiler flag to generate thread-safe objects.
   19410 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19411 
   19412 # Library versioning type.
   19413 version_type=$version_type
   19414 
   19415 # Format of library name prefix.
   19416 libname_spec=$lt_libname_spec
   19417 
   19418 # List of archive names.  First name is the real one, the rest are links.
   19419 # The last name is the one that the linker finds with -lNAME.
   19420 library_names_spec=$lt_library_names_spec
   19421 
   19422 # The coded name of the library, if different from the real name.
   19423 soname_spec=$lt_soname_spec
   19424 
   19425 # Commands used to build and install an old-style archive.
   19426 RANLIB=$lt_RANLIB
   19427 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19428 old_postinstall_cmds=$lt_old_postinstall_cmds
   19429 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19430 
   19431 # Create an old-style archive from a shared archive.
   19432 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19433 
   19434 # Create a temporary old-style archive to link instead of a shared archive.
   19435 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19436 
   19437 # Commands used to build and install a shared archive.
   19438 archive_cmds=$lt_archive_cmds_GCJ
   19439 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19440 postinstall_cmds=$lt_postinstall_cmds
   19441 postuninstall_cmds=$lt_postuninstall_cmds
   19442 
   19443 # Commands used to build a loadable module (assumed same as above if empty)
   19444 module_cmds=$lt_module_cmds_GCJ
   19445 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19446 
   19447 # Commands to strip libraries.
   19448 old_striplib=$lt_old_striplib
   19449 striplib=$lt_striplib
   19450 
   19451 # Dependencies to place before the objects being linked to create a
   19452 # shared library.
   19453 predep_objects=$lt_predep_objects_GCJ
   19454 
   19455 # Dependencies to place after the objects being linked to create a
   19456 # shared library.
   19457 postdep_objects=$lt_postdep_objects_GCJ
   19458 
   19459 # Dependencies to place before the objects being linked to create a
   19460 # shared library.
   19461 predeps=$lt_predeps_GCJ
   19462 
   19463 # Dependencies to place after the objects being linked to create a
   19464 # shared library.
   19465 postdeps=$lt_postdeps_GCJ
   19466 
   19467 # The library search path used internally by the compiler when linking
   19468 # a shared library.
   19469 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19470 
   19471 # Method to check whether dependent libraries are shared objects.
   19472 deplibs_check_method=$lt_deplibs_check_method
   19473 
   19474 # Command to use when deplibs_check_method == file_magic.
   19475 file_magic_cmd=$lt_file_magic_cmd
   19476 
   19477 # Flag that allows shared libraries with undefined symbols to be built.
   19478 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19479 
   19480 # Flag that forces no undefined symbols.
   19481 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19482 
   19483 # Commands used to finish a libtool library installation in a directory.
   19484 finish_cmds=$lt_finish_cmds
   19485 
   19486 # Same as above, but a single script fragment to be evaled but not shown.
   19487 finish_eval=$lt_finish_eval
   19488 
   19489 # Take the output of nm and produce a listing of raw symbols and C names.
   19490 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19491 
   19492 # Transform the output of nm in a proper C declaration
   19493 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19494 
   19495 # Transform the output of nm in a C name address pair
   19496 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19497 
   19498 # This is the shared library runtime path variable.
   19499 runpath_var=$runpath_var
   19500 
   19501 # This is the shared library path variable.
   19502 shlibpath_var=$shlibpath_var
   19503 
   19504 # Is shlibpath searched before the hard-coded library search path?
   19505 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19506 
   19507 # How to hardcode a shared library path into an executable.
   19508 hardcode_action=$hardcode_action_GCJ
   19509 
   19510 # Whether we should hardcode library paths into libraries.
   19511 hardcode_into_libs=$hardcode_into_libs
   19512 
   19513 # Flag to hardcode \$libdir into a binary during linking.
   19514 # This must work even if \$libdir does not exist.
   19515 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19516 
   19517 # If ld is used when linking, flag to hardcode \$libdir into
   19518 # a binary during linking. This must work even if \$libdir does
   19519 # not exist.
   19520 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19521 
   19522 # Whether we need a single -rpath flag with a separated argument.
   19523 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19524 
   19525 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19526 # resulting binary.
   19527 hardcode_direct=$hardcode_direct_GCJ
   19528 
   19529 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19530 # resulting binary.
   19531 hardcode_minus_L=$hardcode_minus_L_GCJ
   19532 
   19533 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19534 # the resulting binary.
   19535 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19536 
   19537 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19538 # and all subsequent libraries and executables linked against it.
   19539 hardcode_automatic=$hardcode_automatic_GCJ
   19540 
   19541 # Variables whose values should be saved in libtool wrapper scripts and
   19542 # restored at relink time.
   19543 variables_saved_for_relink="$variables_saved_for_relink"
   19544 
   19545 # Whether libtool must link a program against all its dependency libraries.
   19546 link_all_deplibs=$link_all_deplibs_GCJ
   19547 
   19548 # Compile-time system search path for libraries
   19549 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19550 
   19551 # Run-time system search path for libraries
   19552 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19553 
   19554 # Fix the shell variable \$srcfile for the compiler.
   19555 fix_srcfile_path="$fix_srcfile_path_GCJ"
   19556 
   19557 # Set to yes if exported symbols are required.
   19558 always_export_symbols=$always_export_symbols_GCJ
   19559 
   19560 # The commands to list exported symbols.
   19561 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19562 
   19563 # The commands to extract the exported symbol list from a shared archive.
   19564 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19565 
   19566 # Symbols that should not be listed in the preloaded symbols.
   19567 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19568 
   19569 # Symbols that must always be exported.
   19570 include_expsyms=$lt_include_expsyms_GCJ
   19571 
   19572 # ### END LIBTOOL TAG CONFIG: $tagname
   19573 
   19574 __EOF__
   19575 
   19576 
   19577 else
   19578   # If there is no Makefile yet, we rely on a make rule to execute
   19579   # `config.status --recheck' to rerun these tests and create the
   19580   # libtool script then.
   19581   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19582   if test -f "$ltmain_in"; then
   19583     test -f Makefile && make "$ltmain"
   19584   fi
   19585 fi
   19586 
   19587 
   19588 ac_ext=c
   19589 ac_cpp='$CPP $CPPFLAGS'
   19590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19593 
   19594 CC="$lt_save_CC"
   19595 
   19596 	else
   19597 	  tagname=""
   19598 	fi
   19599 	;;
   19600 
   19601       RC)
   19602 
   19603 
   19604 # Source file extension for RC test sources.
   19605 ac_ext=rc
   19606 
   19607 # Object file extension for compiled RC test sources.
   19608 objext=o
   19609 objext_RC=$objext
   19610 
   19611 # Code to be used in simple compile tests
   19612 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   19613 
   19614 # Code to be used in simple link tests
   19615 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19616 
   19617 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19618 
   19619 # If no C compiler was specified, use CC.
   19620 LTCC=${LTCC-"$CC"}
   19621 
   19622 # If no C compiler flags were specified, use CFLAGS.
   19623 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19624 
   19625 # Allow CC to be a program name with arguments.
   19626 compiler=$CC
   19627 
   19628 
   19629 # save warnings/boilerplate of simple test code
   19630 ac_outfile=conftest.$ac_objext
   19631 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   19632 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19633 _lt_compiler_boilerplate=`cat conftest.err`
   19634 $rm conftest*
   19635 
   19636 ac_outfile=conftest.$ac_objext
   19637 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   19638 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19639 _lt_linker_boilerplate=`cat conftest.err`
   19640 $rm conftest*
   19641 
   19642 
   19643 # Allow CC to be a program name with arguments.
   19644 lt_save_CC="$CC"
   19645 CC=${RC-"windres"}
   19646 compiler=$CC
   19647 compiler_RC=$CC
   19648 for cc_temp in $compiler""; do
   19649   case $cc_temp in
   19650     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19651     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19652     \-*) ;;
   19653     *) break;;
   19654   esac
   19655 done
   19656 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19657 
   19658 lt_cv_prog_compiler_c_o_RC=yes
   19659 
   19660 # The else clause should only fire when bootstrapping the
   19661 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19662 # with your package, and you will get complaints that there are
   19663 # no rules to generate ltmain.sh.
   19664 if test -f "$ltmain"; then
   19665   # See if we are running on zsh, and set the options which allow our commands through
   19666   # without removal of \ escapes.
   19667   if test -n "${ZSH_VERSION+set}" ; then
   19668     setopt NO_GLOB_SUBST
   19669   fi
   19670   # Now quote all the things that may contain metacharacters while being
   19671   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19672   # variables and quote the copies for generation of the libtool script.
   19673   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19674     SED SHELL STRIP \
   19675     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19676     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19677     deplibs_check_method reload_flag reload_cmds need_locks \
   19678     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19679     lt_cv_sys_global_symbol_to_c_name_address \
   19680     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19681     old_postinstall_cmds old_postuninstall_cmds \
   19682     compiler_RC \
   19683     CC_RC \
   19684     LD_RC \
   19685     lt_prog_compiler_wl_RC \
   19686     lt_prog_compiler_pic_RC \
   19687     lt_prog_compiler_static_RC \
   19688     lt_prog_compiler_no_builtin_flag_RC \
   19689     export_dynamic_flag_spec_RC \
   19690     thread_safe_flag_spec_RC \
   19691     whole_archive_flag_spec_RC \
   19692     enable_shared_with_static_runtimes_RC \
   19693     old_archive_cmds_RC \
   19694     old_archive_from_new_cmds_RC \
   19695     predep_objects_RC \
   19696     postdep_objects_RC \
   19697     predeps_RC \
   19698     postdeps_RC \
   19699     compiler_lib_search_path_RC \
   19700     archive_cmds_RC \
   19701     archive_expsym_cmds_RC \
   19702     postinstall_cmds_RC \
   19703     postuninstall_cmds_RC \
   19704     old_archive_from_expsyms_cmds_RC \
   19705     allow_undefined_flag_RC \
   19706     no_undefined_flag_RC \
   19707     export_symbols_cmds_RC \
   19708     hardcode_libdir_flag_spec_RC \
   19709     hardcode_libdir_flag_spec_ld_RC \
   19710     hardcode_libdir_separator_RC \
   19711     hardcode_automatic_RC \
   19712     module_cmds_RC \
   19713     module_expsym_cmds_RC \
   19714     lt_cv_prog_compiler_c_o_RC \
   19715     exclude_expsyms_RC \
   19716     include_expsyms_RC; do
   19717 
   19718     case $var in
   19719     old_archive_cmds_RC | \
   19720     old_archive_from_new_cmds_RC | \
   19721     archive_cmds_RC | \
   19722     archive_expsym_cmds_RC | \
   19723     module_cmds_RC | \
   19724     module_expsym_cmds_RC | \
   19725     old_archive_from_expsyms_cmds_RC | \
   19726     export_symbols_cmds_RC | \
   19727     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19728     postinstall_cmds | postuninstall_cmds | \
   19729     old_postinstall_cmds | old_postuninstall_cmds | \
   19730     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19731       # Double-quote double-evaled strings.
   19732       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19733       ;;
   19734     *)
   19735       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19736       ;;
   19737     esac
   19738   done
   19739 
   19740   case $lt_echo in
   19741   *'\$0 --fallback-echo"')
   19742     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19743     ;;
   19744   esac
   19745 
   19746 cfgfile="$ofile"
   19747 
   19748   cat <<__EOF__ >> "$cfgfile"
   19749 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19750 
   19751 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19752 
   19753 # Shell to use when invoking shell scripts.
   19754 SHELL=$lt_SHELL
   19755 
   19756 # Whether or not to build shared libraries.
   19757 build_libtool_libs=$enable_shared
   19758 
   19759 # Whether or not to build static libraries.
   19760 build_old_libs=$enable_static
   19761 
   19762 # Whether or not to add -lc for building shared libraries.
   19763 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19764 
   19765 # Whether or not to disallow shared libs when runtime libs are static
   19766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19767 
   19768 # Whether or not to optimize for fast installation.
   19769 fast_install=$enable_fast_install
   19770 
   19771 # The host system.
   19772 host_alias=$host_alias
   19773 host=$host
   19774 host_os=$host_os
   19775 
   19776 # The build system.
   19777 build_alias=$build_alias
   19778 build=$build
   19779 build_os=$build_os
   19780 
   19781 # An echo program that does not interpret backslashes.
   19782 echo=$lt_echo
   19783 
   19784 # The archiver.
   19785 AR=$lt_AR
   19786 AR_FLAGS=$lt_AR_FLAGS
   19787 
   19788 # A C compiler.
   19789 LTCC=$lt_LTCC
   19790 
   19791 # LTCC compiler flags.
   19792 LTCFLAGS=$lt_LTCFLAGS
   19793 
   19794 # A language-specific compiler.
   19795 CC=$lt_compiler_RC
   19796 
   19797 # Is the compiler the GNU C compiler?
   19798 with_gcc=$GCC_RC
   19799 
   19800 # An ERE matcher.
   19801 EGREP=$lt_EGREP
   19802 
   19803 # The linker used to build libraries.
   19804 LD=$lt_LD_RC
   19805 
   19806 # Whether we need hard or soft links.
   19807 LN_S=$lt_LN_S
   19808 
   19809 # A BSD-compatible nm program.
   19810 NM=$lt_NM
   19811 
   19812 # A symbol stripping program
   19813 STRIP=$lt_STRIP
   19814 
   19815 # Used to examine libraries when file_magic_cmd begins "file"
   19816 MAGIC_CMD=$MAGIC_CMD
   19817 
   19818 # Used on cygwin: DLL creation program.
   19819 DLLTOOL="$DLLTOOL"
   19820 
   19821 # Used on cygwin: object dumper.
   19822 OBJDUMP="$OBJDUMP"
   19823 
   19824 # Used on cygwin: assembler.
   19825 AS="$AS"
   19826 
   19827 # The name of the directory that contains temporary libtool files.
   19828 objdir=$objdir
   19829 
   19830 # How to create reloadable object files.
   19831 reload_flag=$lt_reload_flag
   19832 reload_cmds=$lt_reload_cmds
   19833 
   19834 # How to pass a linker flag through the compiler.
   19835 wl=$lt_lt_prog_compiler_wl_RC
   19836 
   19837 # Object file suffix (normally "o").
   19838 objext="$ac_objext"
   19839 
   19840 # Old archive suffix (normally "a").
   19841 libext="$libext"
   19842 
   19843 # Shared library suffix (normally ".so").
   19844 shrext_cmds='$shrext_cmds'
   19845 
   19846 # Executable file suffix (normally "").
   19847 exeext="$exeext"
   19848 
   19849 # Additional compiler flags for building library objects.
   19850 pic_flag=$lt_lt_prog_compiler_pic_RC
   19851 pic_mode=$pic_mode
   19852 
   19853 # What is the maximum length of a command?
   19854 max_cmd_len=$lt_cv_sys_max_cmd_len
   19855 
   19856 # Does compiler simultaneously support -c and -o options?
   19857 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19858 
   19859 # Must we lock files when doing compilation?
   19860 need_locks=$lt_need_locks
   19861 
   19862 # Do we need the lib prefix for modules?
   19863 need_lib_prefix=$need_lib_prefix
   19864 
   19865 # Do we need a version for libraries?
   19866 need_version=$need_version
   19867 
   19868 # Whether dlopen is supported.
   19869 dlopen_support=$enable_dlopen
   19870 
   19871 # Whether dlopen of programs is supported.
   19872 dlopen_self=$enable_dlopen_self
   19873 
   19874 # Whether dlopen of statically linked programs is supported.
   19875 dlopen_self_static=$enable_dlopen_self_static
   19876 
   19877 # Compiler flag to prevent dynamic linking.
   19878 link_static_flag=$lt_lt_prog_compiler_static_RC
   19879 
   19880 # Compiler flag to turn off builtin functions.
   19881 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19882 
   19883 # Compiler flag to allow reflexive dlopens.
   19884 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19885 
   19886 # Compiler flag to generate shared objects directly from archives.
   19887 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19888 
   19889 # Compiler flag to generate thread-safe objects.
   19890 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19891 
   19892 # Library versioning type.
   19893 version_type=$version_type
   19894 
   19895 # Format of library name prefix.
   19896 libname_spec=$lt_libname_spec
   19897 
   19898 # List of archive names.  First name is the real one, the rest are links.
   19899 # The last name is the one that the linker finds with -lNAME.
   19900 library_names_spec=$lt_library_names_spec
   19901 
   19902 # The coded name of the library, if different from the real name.
   19903 soname_spec=$lt_soname_spec
   19904 
   19905 # Commands used to build and install an old-style archive.
   19906 RANLIB=$lt_RANLIB
   19907 old_archive_cmds=$lt_old_archive_cmds_RC
   19908 old_postinstall_cmds=$lt_old_postinstall_cmds
   19909 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19910 
   19911 # Create an old-style archive from a shared archive.
   19912 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19913 
   19914 # Create a temporary old-style archive to link instead of a shared archive.
   19915 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19916 
   19917 # Commands used to build and install a shared archive.
   19918 archive_cmds=$lt_archive_cmds_RC
   19919 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19920 postinstall_cmds=$lt_postinstall_cmds
   19921 postuninstall_cmds=$lt_postuninstall_cmds
   19922 
   19923 # Commands used to build a loadable module (assumed same as above if empty)
   19924 module_cmds=$lt_module_cmds_RC
   19925 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19926 
   19927 # Commands to strip libraries.
   19928 old_striplib=$lt_old_striplib
   19929 striplib=$lt_striplib
   19930 
   19931 # Dependencies to place before the objects being linked to create a
   19932 # shared library.
   19933 predep_objects=$lt_predep_objects_RC
   19934 
   19935 # Dependencies to place after the objects being linked to create a
   19936 # shared library.
   19937 postdep_objects=$lt_postdep_objects_RC
   19938 
   19939 # Dependencies to place before the objects being linked to create a
   19940 # shared library.
   19941 predeps=$lt_predeps_RC
   19942 
   19943 # Dependencies to place after the objects being linked to create a
   19944 # shared library.
   19945 postdeps=$lt_postdeps_RC
   19946 
   19947 # The library search path used internally by the compiler when linking
   19948 # a shared library.
   19949 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19950 
   19951 # Method to check whether dependent libraries are shared objects.
   19952 deplibs_check_method=$lt_deplibs_check_method
   19953 
   19954 # Command to use when deplibs_check_method == file_magic.
   19955 file_magic_cmd=$lt_file_magic_cmd
   19956 
   19957 # Flag that allows shared libraries with undefined symbols to be built.
   19958 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19959 
   19960 # Flag that forces no undefined symbols.
   19961 no_undefined_flag=$lt_no_undefined_flag_RC
   19962 
   19963 # Commands used to finish a libtool library installation in a directory.
   19964 finish_cmds=$lt_finish_cmds
   19965 
   19966 # Same as above, but a single script fragment to be evaled but not shown.
   19967 finish_eval=$lt_finish_eval
   19968 
   19969 # Take the output of nm and produce a listing of raw symbols and C names.
   19970 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19971 
   19972 # Transform the output of nm in a proper C declaration
   19973 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19974 
   19975 # Transform the output of nm in a C name address pair
   19976 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19977 
   19978 # This is the shared library runtime path variable.
   19979 runpath_var=$runpath_var
   19980 
   19981 # This is the shared library path variable.
   19982 shlibpath_var=$shlibpath_var
   19983 
   19984 # Is shlibpath searched before the hard-coded library search path?
   19985 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19986 
   19987 # How to hardcode a shared library path into an executable.
   19988 hardcode_action=$hardcode_action_RC
   19989 
   19990 # Whether we should hardcode library paths into libraries.
   19991 hardcode_into_libs=$hardcode_into_libs
   19992 
   19993 # Flag to hardcode \$libdir into a binary during linking.
   19994 # This must work even if \$libdir does not exist.
   19995 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19996 
   19997 # If ld is used when linking, flag to hardcode \$libdir into
   19998 # a binary during linking. This must work even if \$libdir does
   19999 # not exist.
   20000 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   20001 
   20002 # Whether we need a single -rpath flag with a separated argument.
   20003 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   20004 
   20005 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   20006 # resulting binary.
   20007 hardcode_direct=$hardcode_direct_RC
   20008 
   20009 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   20010 # resulting binary.
   20011 hardcode_minus_L=$hardcode_minus_L_RC
   20012 
   20013 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   20014 # the resulting binary.
   20015 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   20016 
   20017 # Set to yes if building a shared library automatically hardcodes DIR into the library
   20018 # and all subsequent libraries and executables linked against it.
   20019 hardcode_automatic=$hardcode_automatic_RC
   20020 
   20021 # Variables whose values should be saved in libtool wrapper scripts and
   20022 # restored at relink time.
   20023 variables_saved_for_relink="$variables_saved_for_relink"
   20024 
   20025 # Whether libtool must link a program against all its dependency libraries.
   20026 link_all_deplibs=$link_all_deplibs_RC
   20027 
   20028 # Compile-time system search path for libraries
   20029 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20030 
   20031 # Run-time system search path for libraries
   20032 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20033 
   20034 # Fix the shell variable \$srcfile for the compiler.
   20035 fix_srcfile_path="$fix_srcfile_path_RC"
   20036 
   20037 # Set to yes if exported symbols are required.
   20038 always_export_symbols=$always_export_symbols_RC
   20039 
   20040 # The commands to list exported symbols.
   20041 export_symbols_cmds=$lt_export_symbols_cmds_RC
   20042 
   20043 # The commands to extract the exported symbol list from a shared archive.
   20044 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20045 
   20046 # Symbols that should not be listed in the preloaded symbols.
   20047 exclude_expsyms=$lt_exclude_expsyms_RC
   20048 
   20049 # Symbols that must always be exported.
   20050 include_expsyms=$lt_include_expsyms_RC
   20051 
   20052 # ### END LIBTOOL TAG CONFIG: $tagname
   20053 
   20054 __EOF__
   20055 
   20056 
   20057 else
   20058   # If there is no Makefile yet, we rely on a make rule to execute
   20059   # `config.status --recheck' to rerun these tests and create the
   20060   # libtool script then.
   20061   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   20062   if test -f "$ltmain_in"; then
   20063     test -f Makefile && make "$ltmain"
   20064   fi
   20065 fi
   20066 
   20067 
   20068 ac_ext=c
   20069 ac_cpp='$CPP $CPPFLAGS'
   20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20073 
   20074 CC="$lt_save_CC"
   20075 
   20076 	;;
   20077 
   20078       *)
   20079 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20080 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20081    { (exit 1); exit 1; }; }
   20082 	;;
   20083       esac
   20084 
   20085       # Append the new tag name to the list of available tags.
   20086       if test -n "$tagname" ; then
   20087       available_tags="$available_tags $tagname"
   20088     fi
   20089     fi
   20090   done
   20091   IFS="$lt_save_ifs"
   20092 
   20093   # Now substitute the updated list of available tags.
   20094   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20095     mv "${ofile}T" "$ofile"
   20096     chmod +x "$ofile"
   20097   else
   20098     rm -f "${ofile}T"
   20099     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20100 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20101    { (exit 1); exit 1; }; }
   20102   fi
   20103 fi
   20104 
   20105 
   20106 
   20107 # This can be used to rebuild libtool when needed
   20108 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20109 
   20110 # Always use our own libtool.
   20111 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20112 
   20113 # Prevent multiple expansion
   20114 
   20115 
   20116 
   20117 
   20118 
   20119 
   20120 
   20121 
   20122 
   20123 
   20124 
   20125 
   20126 
   20127 
   20128 
   20129 
   20130 
   20131 
   20132 
   20133 
   20134 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   20135 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   20136 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   20137 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   20138   echo $ECHO_N "(cached) $ECHO_C" >&6
   20139 else
   20140   cat >conftest.make <<\_ACEOF
   20141 SHELL = /bin/sh
   20142 all:
   20143 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   20144 _ACEOF
   20145 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   20146 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   20147   *@@@%%%=?*=@@@%%%*)
   20148     eval ac_cv_prog_make_${ac_make}_set=yes;;
   20149   *)
   20150     eval ac_cv_prog_make_${ac_make}_set=no;;
   20151 esac
   20152 rm -f conftest.make
   20153 fi
   20154 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   20155   { echo "$as_me:$LINENO: result: yes" >&5
   20156 echo "${ECHO_T}yes" >&6; }
   20157   SET_MAKE=
   20158 else
   20159   { echo "$as_me:$LINENO: result: no" >&5
   20160 echo "${ECHO_T}no" >&6; }
   20161   SET_MAKE="MAKE=${MAKE-make}"
   20162 fi
   20163 
   20164 
   20165 
   20166 
   20167 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20168 	if test -n "$ac_tool_prefix"; then
   20169   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20170 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20173 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20174   echo $ECHO_N "(cached) $ECHO_C" >&6
   20175 else
   20176   case $PKG_CONFIG in
   20177   [\\/]* | ?:[\\/]*)
   20178   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20179   ;;
   20180   *)
   20181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20182 for as_dir in $PATH
   20183 do
   20184   IFS=$as_save_IFS
   20185   test -z "$as_dir" && as_dir=.
   20186   for ac_exec_ext in '' $ac_executable_extensions; do
   20187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20188     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20189     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20190     break 2
   20191   fi
   20192 done
   20193 done
   20194 IFS=$as_save_IFS
   20195 
   20196   ;;
   20197 esac
   20198 fi
   20199 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20200 if test -n "$PKG_CONFIG"; then
   20201   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20202 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20203 else
   20204   { echo "$as_me:$LINENO: result: no" >&5
   20205 echo "${ECHO_T}no" >&6; }
   20206 fi
   20207 
   20208 
   20209 fi
   20210 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20211   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20212   # Extract the first word of "pkg-config", so it can be a program name with args.
   20213 set dummy pkg-config; ac_word=$2
   20214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20216 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20217   echo $ECHO_N "(cached) $ECHO_C" >&6
   20218 else
   20219   case $ac_pt_PKG_CONFIG in
   20220   [\\/]* | ?:[\\/]*)
   20221   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20222   ;;
   20223   *)
   20224   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20225 for as_dir in $PATH
   20226 do
   20227   IFS=$as_save_IFS
   20228   test -z "$as_dir" && as_dir=.
   20229   for ac_exec_ext in '' $ac_executable_extensions; do
   20230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20231     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20232     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20233     break 2
   20234   fi
   20235 done
   20236 done
   20237 IFS=$as_save_IFS
   20238 
   20239   ;;
   20240 esac
   20241 fi
   20242 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20243 if test -n "$ac_pt_PKG_CONFIG"; then
   20244   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20245 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20246 else
   20247   { echo "$as_me:$LINENO: result: no" >&5
   20248 echo "${ECHO_T}no" >&6; }
   20249 fi
   20250 
   20251   if test "x$ac_pt_PKG_CONFIG" = x; then
   20252     PKG_CONFIG=""
   20253   else
   20254     case $cross_compiling:$ac_tool_warned in
   20255 yes:)
   20256 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20257 whose name does not start with the host triplet.  If you think this
   20258 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20259 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20260 whose name does not start with the host triplet.  If you think this
   20261 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20262 ac_tool_warned=yes ;;
   20263 esac
   20264     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20265   fi
   20266 else
   20267   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20268 fi
   20269 
   20270 fi
   20271 if test -n "$PKG_CONFIG"; then
   20272 	_pkg_min_version=0.9.0
   20273 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20274 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20275 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20276 		{ echo "$as_me:$LINENO: result: yes" >&5
   20277 echo "${ECHO_T}yes" >&6; }
   20278 	else
   20279 		{ echo "$as_me:$LINENO: result: no" >&5
   20280 echo "${ECHO_T}no" >&6; }
   20281 		PKG_CONFIG=""
   20282 	fi
   20283 
   20284 fi
   20285 
   20286 pkg_failed=no
   20287 { echo "$as_me:$LINENO: checking for XAU" >&5
   20288 echo $ECHO_N "checking for XAU... $ECHO_C" >&6; }
   20289 
   20290 if test -n "$PKG_CONFIG"; then
   20291     if test -n "$XAU_CFLAGS"; then
   20292         pkg_cv_XAU_CFLAGS="$XAU_CFLAGS"
   20293     else
   20294         if test -n "$PKG_CONFIG" && \
   20295     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   20296   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   20297   ac_status=$?
   20298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20299   (exit $ac_status); }; then
   20300   pkg_cv_XAU_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   20301 else
   20302   pkg_failed=yes
   20303 fi
   20304     fi
   20305 else
   20306 	pkg_failed=untried
   20307 fi
   20308 if test -n "$PKG_CONFIG"; then
   20309     if test -n "$XAU_LIBS"; then
   20310         pkg_cv_XAU_LIBS="$XAU_LIBS"
   20311     else
   20312         if test -n "$PKG_CONFIG" && \
   20313     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
   20314   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   20315   ac_status=$?
   20316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20317   (exit $ac_status); }; then
   20318   pkg_cv_XAU_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   20319 else
   20320   pkg_failed=yes
   20321 fi
   20322     fi
   20323 else
   20324 	pkg_failed=untried
   20325 fi
   20326 
   20327 
   20328 
   20329 if test $pkg_failed = yes; then
   20330 
   20331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20332         _pkg_short_errors_supported=yes
   20333 else
   20334         _pkg_short_errors_supported=no
   20335 fi
   20336         if test $_pkg_short_errors_supported = yes; then
   20337 	        XAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto"`
   20338         else
   20339 	        XAU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto"`
   20340         fi
   20341 	# Put the nasty error message in config.log where it belongs
   20342 	echo "$XAU_PKG_ERRORS" >&5
   20343 
   20344 	{ { echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
   20345 
   20346 $XAU_PKG_ERRORS
   20347 
   20348 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20349 installed software in a non-standard prefix.
   20350 
   20351 Alternatively, you may set the environment variables XAU_CFLAGS
   20352 and XAU_LIBS to avoid the need to call pkg-config.
   20353 See the pkg-config man page for more details.
   20354 " >&5
   20355 echo "$as_me: error: Package requirements (xproto) were not met:
   20356 
   20357 $XAU_PKG_ERRORS
   20358 
   20359 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20360 installed software in a non-standard prefix.
   20361 
   20362 Alternatively, you may set the environment variables XAU_CFLAGS
   20363 and XAU_LIBS to avoid the need to call pkg-config.
   20364 See the pkg-config man page for more details.
   20365 " >&2;}
   20366    { (exit 1); exit 1; }; }
   20367 elif test $pkg_failed = untried; then
   20368 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20369 is in your PATH or set the PKG_CONFIG environment variable to the full
   20370 path to pkg-config.
   20371 
   20372 Alternatively, you may set the environment variables XAU_CFLAGS
   20373 and XAU_LIBS to avoid the need to call pkg-config.
   20374 See the pkg-config man page for more details.
   20375 
   20376 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20377 See \`config.log' for more details." >&5
   20378 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20379 is in your PATH or set the PKG_CONFIG environment variable to the full
   20380 path to pkg-config.
   20381 
   20382 Alternatively, you may set the environment variables XAU_CFLAGS
   20383 and XAU_LIBS to avoid the need to call pkg-config.
   20384 See the pkg-config man page for more details.
   20385 
   20386 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20387 See \`config.log' for more details." >&2;}
   20388    { (exit 1); exit 1; }; }
   20389 else
   20390 	XAU_CFLAGS=$pkg_cv_XAU_CFLAGS
   20391 	XAU_LIBS=$pkg_cv_XAU_LIBS
   20392         { echo "$as_me:$LINENO: result: yes" >&5
   20393 echo "${ECHO_T}yes" >&6; }
   20394 	:
   20395 fi
   20396 
   20397 
   20398 
   20399 kerberos=false
   20400 
   20401 
   20402 if test x$kerberos = xtrue; then
   20403   KERBEROS_TRUE=
   20404   KERBEROS_FALSE='#'
   20405 else
   20406   KERBEROS_TRUE='#'
   20407   KERBEROS_FALSE=
   20408 fi
   20409 
   20410 
   20411 # Check whether --enable-xthreads was given.
   20412 if test "${enable_xthreads+set}" = set; then
   20413   enableval=$enable_xthreads; xthreads=$enableval
   20414 else
   20415   xthreads=yes
   20416 fi
   20417 
   20418 
   20419 if test "x$xthreads" = "xyes" ; then
   20420 
   20421 cat >>confdefs.h <<\_ACEOF
   20422 #define XTHREADS 1
   20423 _ACEOF
   20424 
   20425     { echo "$as_me:$LINENO: checking for gethostbyname_r in -lc" >&5
   20426 echo $ECHO_N "checking for gethostbyname_r in -lc... $ECHO_C" >&6; }
   20427 if test "${ac_cv_lib_c_gethostbyname_r+set}" = set; then
   20428   echo $ECHO_N "(cached) $ECHO_C" >&6
   20429 else
   20430   ac_check_lib_save_LIBS=$LIBS
   20431 LIBS="-lc  $LIBS"
   20432 cat >conftest.$ac_ext <<_ACEOF
   20433 /* confdefs.h.  */
   20434 _ACEOF
   20435 cat confdefs.h >>conftest.$ac_ext
   20436 cat >>conftest.$ac_ext <<_ACEOF
   20437 /* end confdefs.h.  */
   20438 
   20439 /* Override any GCC internal prototype to avoid an error.
   20440    Use char because int might match the return type of a GCC
   20441    builtin and then its argument prototype would still apply.  */
   20442 #ifdef __cplusplus
   20443 extern "C"
   20444 #endif
   20445 char gethostbyname_r ();
   20446 int
   20447 main ()
   20448 {
   20449 return gethostbyname_r ();
   20450   ;
   20451   return 0;
   20452 }
   20453 _ACEOF
   20454 rm -f conftest.$ac_objext conftest$ac_exeext
   20455 if { (ac_try="$ac_link"
   20456 case "(($ac_try" in
   20457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20458   *) ac_try_echo=$ac_try;;
   20459 esac
   20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20461   (eval "$ac_link") 2>conftest.er1
   20462   ac_status=$?
   20463   grep -v '^ *+' conftest.er1 >conftest.err
   20464   rm -f conftest.er1
   20465   cat conftest.err >&5
   20466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20467   (exit $ac_status); } &&
   20468 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20469   { (case "(($ac_try" in
   20470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20471   *) ac_try_echo=$ac_try;;
   20472 esac
   20473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20474   (eval "$ac_try") 2>&5
   20475   ac_status=$?
   20476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20477   (exit $ac_status); }; } &&
   20478 	 { ac_try='test -s conftest$ac_exeext'
   20479   { (case "(($ac_try" in
   20480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20481   *) ac_try_echo=$ac_try;;
   20482 esac
   20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20484   (eval "$ac_try") 2>&5
   20485   ac_status=$?
   20486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20487   (exit $ac_status); }; }; then
   20488   ac_cv_lib_c_gethostbyname_r=yes
   20489 else
   20490   echo "$as_me: failed program was:" >&5
   20491 sed 's/^/| /' conftest.$ac_ext >&5
   20492 
   20493 	ac_cv_lib_c_gethostbyname_r=no
   20494 fi
   20495 
   20496 rm -f core conftest.err conftest.$ac_objext \
   20497       conftest$ac_exeext conftest.$ac_ext
   20498 LIBS=$ac_check_lib_save_LIBS
   20499 fi
   20500 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_gethostbyname_r" >&5
   20501 echo "${ECHO_T}$ac_cv_lib_c_gethostbyname_r" >&6; }
   20502 if test $ac_cv_lib_c_gethostbyname_r = yes; then
   20503 
   20504 cat >>confdefs.h <<\_ACEOF
   20505 #define XUSE_MTSAFE_API 1
   20506 _ACEOF
   20507 
   20508 fi
   20509 
   20510 
   20511     case $host_os in
   20512     solaris*)
   20513 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   20514     esac
   20515     XAU_CFLAGS="$XAU_CFLAGS $XTHREAD_CFLAGS"
   20516 fi
   20517 
   20518 
   20519 
   20520 # Allow checking code with lint, sparse, etc.
   20521 
   20522 # Check whether --with-lint was given.
   20523 if test "${with_lint+set}" = set; then
   20524   withval=$with_lint; use_lint=$withval
   20525 else
   20526   use_lint=no
   20527 fi
   20528 
   20529 if test "x$use_lint" = "xyes" ; then
   20530 	LINT="lint"
   20531 else
   20532 	LINT="$use_lint"
   20533 fi
   20534 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   20535     case $LINT in
   20536 	lint|*/lint)
   20537 	    case $host_os in
   20538 		solaris*)
   20539 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20540 			;;
   20541 	    esac
   20542 	    ;;
   20543     esac
   20544 fi
   20545 
   20546 
   20547 
   20548 
   20549 
   20550 if test x$LINT != xno; then
   20551   LINT_TRUE=
   20552   LINT_FALSE='#'
   20553 else
   20554   LINT_TRUE='#'
   20555   LINT_FALSE=
   20556 fi
   20557 
   20558 
   20559 
   20560 
   20561 
   20562 # Build lint "library" for more indepth checks of programs calling this library
   20563 # Check whether --enable-lint-library was given.
   20564 if test "${enable_lint_library+set}" = set; then
   20565   enableval=$enable_lint_library; make_lint_lib=$enableval
   20566 else
   20567   make_lint_lib=no
   20568 fi
   20569 
   20570 if test "x$make_lint_lib" != "xno" ; then
   20571 	if test "x$LINT" = "xno" ; then
   20572 		{ { echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   20573 echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   20574    { (exit 1); exit 1; }; }
   20575 	fi
   20576 	if test "x$make_lint_lib" = "xyes" ; then
   20577 		LINTLIB=llib-lXau.ln
   20578 	else
   20579 		LINTLIB=$make_lint_lib
   20580 	fi
   20581 fi
   20582 
   20583 
   20584 
   20585 if test x$make_lint_lib != xno; then
   20586   MAKE_LINT_LIB_TRUE=
   20587   MAKE_LINT_LIB_FALSE='#'
   20588 else
   20589   MAKE_LINT_LIB_TRUE='#'
   20590   MAKE_LINT_LIB_FALSE=
   20591 fi
   20592 
   20593 
   20594 
   20595 LINT_FLAGS="${LINT_FLAGS} ${XAU_CFLAGS}"
   20596 
   20597 if test "x$GCC" = "xyes"; then
   20598 	GCC_WARNINGS="-Wall -Wpointer-arith -Wstrict-prototypes \
   20599 	-Wmissing-prototypes -Wmissing-declarations \
   20600 	-Wnested-externs -fno-strict-aliasing"
   20601 	XAU_CFLAGS="$GCC_WARNINGS $XAU_CFLAGS"
   20602 fi
   20603 
   20604 
   20605 
   20606 
   20607 if test x$APP_MAN_SUFFIX = x    ; then
   20608     APP_MAN_SUFFIX=1
   20609 fi
   20610 if test x$APP_MAN_DIR = x    ; then
   20611     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20612 fi
   20613 
   20614 if test x$LIB_MAN_SUFFIX = x    ; then
   20615     LIB_MAN_SUFFIX=3
   20616 fi
   20617 if test x$LIB_MAN_DIR = x    ; then
   20618     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20619 fi
   20620 
   20621 if test x$FILE_MAN_SUFFIX = x    ; then
   20622     case $host_os in
   20623 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20624 	*)		FILE_MAN_SUFFIX=5  ;;
   20625     esac
   20626 fi
   20627 if test x$FILE_MAN_DIR = x    ; then
   20628     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20629 fi
   20630 
   20631 if test x$MISC_MAN_SUFFIX = x    ; then
   20632     case $host_os in
   20633 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20634 	*)		MISC_MAN_SUFFIX=7  ;;
   20635     esac
   20636 fi
   20637 if test x$MISC_MAN_DIR = x    ; then
   20638     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20639 fi
   20640 
   20641 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20642     case $host_os in
   20643 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20644 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20645     esac
   20646 fi
   20647 if test x$DRIVER_MAN_DIR = x    ; then
   20648     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20649 fi
   20650 
   20651 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20652     case $host_os in
   20653 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20654 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20655     esac
   20656 fi
   20657 if test x$ADMIN_MAN_DIR = x    ; then
   20658     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20659 fi
   20660 
   20661 
   20662 
   20663 
   20664 
   20665 
   20666 
   20667 
   20668 
   20669 
   20670 
   20671 
   20672 
   20673 
   20674 
   20675 
   20676 
   20677 # Check whether --with-release-version was given.
   20678 if test "${with_release_version+set}" = set; then
   20679   withval=$with_release_version; RELEASE_VERSION="$withval"
   20680 else
   20681   RELEASE_VERSION=""
   20682 fi
   20683 
   20684 	if test "x$RELEASE_VERSION" != "x"; then
   20685 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20686 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20687 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20688 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20689 	fi
   20690 
   20691 cat >>confdefs.h <<_ACEOF
   20692 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | sed -ne 's/^\([^\.]\+\).*/\1/p'`
   20693 _ACEOF
   20694 
   20695 	PVM=`echo $PACKAGE_VERSION | sed -ne 's/^\([^\.]\+\)\.\([^\.]\+\).*/\2/p'`
   20696 	if test "x$PVM" = "x"; then
   20697 		PVM="0"
   20698 	fi
   20699 
   20700 cat >>confdefs.h <<_ACEOF
   20701 #define PACKAGE_VERSION_MINOR $PVM
   20702 _ACEOF
   20703 
   20704 	PVP=`echo $PACKAGE_VERSION | sed -ne 's/^\([^\.]\+\)\.\([^\.]\+\)\.\([^\.]\+\).*/\3/p'`
   20705 	if test "x$PVP" = "x"; then
   20706 		PVP="0"
   20707 	fi
   20708 
   20709 cat >>confdefs.h <<_ACEOF
   20710 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20711 _ACEOF
   20712 
   20713 
   20714 
   20715 ac_config_files="$ac_config_files Makefile xau.pc"
   20716 
   20717 cat >confcache <<\_ACEOF
   20718 # This file is a shell script that caches the results of configure
   20719 # tests run on this system so they can be shared between configure
   20720 # scripts and configure runs, see configure's option --config-cache.
   20721 # It is not useful on other systems.  If it contains results you don't
   20722 # want to keep, you may remove or edit it.
   20723 #
   20724 # config.status only pays attention to the cache file if you give it
   20725 # the --recheck option to rerun configure.
   20726 #
   20727 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20728 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20729 # following values.
   20730 
   20731 _ACEOF
   20732 
   20733 # The following way of writing the cache mishandles newlines in values,
   20734 # but we know of no workaround that is simple, portable, and efficient.
   20735 # So, we kill variables containing newlines.
   20736 # Ultrix sh set writes to stderr and can't be redirected directly,
   20737 # and sets the high bit in the cache file unless we assign to the vars.
   20738 (
   20739   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20740     eval ac_val=\$$ac_var
   20741     case $ac_val in #(
   20742     *${as_nl}*)
   20743       case $ac_var in #(
   20744       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   20745 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   20746       esac
   20747       case $ac_var in #(
   20748       _ | IFS | as_nl) ;; #(
   20749       *) $as_unset $ac_var ;;
   20750       esac ;;
   20751     esac
   20752   done
   20753 
   20754   (set) 2>&1 |
   20755     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20756     *${as_nl}ac_space=\ *)
   20757       # `set' does not quote correctly, so add quotes (double-quote
   20758       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20759       sed -n \
   20760 	"s/'/'\\\\''/g;
   20761 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20762       ;; #(
   20763     *)
   20764       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20765       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20766       ;;
   20767     esac |
   20768     sort
   20769 ) |
   20770   sed '
   20771      /^ac_cv_env_/b end
   20772      t clear
   20773      :clear
   20774      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20775      t end
   20776      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20777      :end' >>confcache
   20778 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20779   if test -w "$cache_file"; then
   20780     test "x$cache_file" != "x/dev/null" &&
   20781       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20782 echo "$as_me: updating cache $cache_file" >&6;}
   20783     cat confcache >$cache_file
   20784   else
   20785     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20786 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20787   fi
   20788 fi
   20789 rm -f confcache
   20790 
   20791 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20792 # Let make expand exec_prefix.
   20793 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20794 
   20795 DEFS=-DHAVE_CONFIG_H
   20796 
   20797 ac_libobjs=
   20798 ac_ltlibobjs=
   20799 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20800   # 1. Remove the extension, and $U if already installed.
   20801   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20802   ac_i=`echo "$ac_i" | sed "$ac_script"`
   20803   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20804   #    will be set to the directory where LIBOBJS objects are built.
   20805   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20806   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   20807 done
   20808 LIBOBJS=$ac_libobjs
   20809 
   20810 LTLIBOBJS=$ac_ltlibobjs
   20811 
   20812 
   20813 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20814   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   20815 Usually this means the macro was only invoked conditionally." >&5
   20816 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   20817 Usually this means the macro was only invoked conditionally." >&2;}
   20818    { (exit 1); exit 1; }; }
   20819 fi
   20820 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20821   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20822 Usually this means the macro was only invoked conditionally." >&5
   20823 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20824 Usually this means the macro was only invoked conditionally." >&2;}
   20825    { (exit 1); exit 1; }; }
   20826 fi
   20827 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20828   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20829 Usually this means the macro was only invoked conditionally." >&5
   20830 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20831 Usually this means the macro was only invoked conditionally." >&2;}
   20832    { (exit 1); exit 1; }; }
   20833 fi
   20834 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20835   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20836 Usually this means the macro was only invoked conditionally." >&5
   20837 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20838 Usually this means the macro was only invoked conditionally." >&2;}
   20839    { (exit 1); exit 1; }; }
   20840 fi
   20841 if test -z "${KERBEROS_TRUE}" && test -z "${KERBEROS_FALSE}"; then
   20842   { { echo "$as_me:$LINENO: error: conditional \"KERBEROS\" was never defined.
   20843 Usually this means the macro was only invoked conditionally." >&5
   20844 echo "$as_me: error: conditional \"KERBEROS\" was never defined.
   20845 Usually this means the macro was only invoked conditionally." >&2;}
   20846    { (exit 1); exit 1; }; }
   20847 fi
   20848 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20849   { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   20850 Usually this means the macro was only invoked conditionally." >&5
   20851 echo "$as_me: error: conditional \"LINT\" was never defined.
   20852 Usually this means the macro was only invoked conditionally." >&2;}
   20853    { (exit 1); exit 1; }; }
   20854 fi
   20855 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   20856   { { echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20857 Usually this means the macro was only invoked conditionally." >&5
   20858 echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20859 Usually this means the macro was only invoked conditionally." >&2;}
   20860    { (exit 1); exit 1; }; }
   20861 fi
   20862 
   20863 : ${CONFIG_STATUS=./config.status}
   20864 ac_clean_files_save=$ac_clean_files
   20865 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20866 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20867 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20868 cat >$CONFIG_STATUS <<_ACEOF
   20869 #! $SHELL
   20870 # Generated by $as_me.
   20871 # Run this file to recreate the current configuration.
   20872 # Compiler output produced by configure, useful for debugging
   20873 # configure, is in config.log if it exists.
   20874 
   20875 debug=false
   20876 ac_cs_recheck=false
   20877 ac_cs_silent=false
   20878 SHELL=\${CONFIG_SHELL-$SHELL}
   20879 _ACEOF
   20880 
   20881 cat >>$CONFIG_STATUS <<\_ACEOF
   20882 ## --------------------- ##
   20883 ## M4sh Initialization.  ##
   20884 ## --------------------- ##
   20885 
   20886 # Be Bourne compatible
   20887 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20888   emulate sh
   20889   NULLCMD=:
   20890   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   20891   # is contrary to our usage.  Disable this feature.
   20892   alias -g '${1+"$@"}'='"$@"'
   20893   setopt NO_GLOB_SUBST
   20894 else
   20895   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   20896 fi
   20897 BIN_SH=xpg4; export BIN_SH # for Tru64
   20898 DUALCASE=1; export DUALCASE # for MKS sh
   20899 
   20900 
   20901 # PATH needs CR
   20902 # Avoid depending upon Character Ranges.
   20903 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20904 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20905 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20906 as_cr_digits='0123456789'
   20907 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20908 
   20909 # The user is always right.
   20910 if test "${PATH_SEPARATOR+set}" != set; then
   20911   echo "#! /bin/sh" >conf$$.sh
   20912   echo  "exit 0"   >>conf$$.sh
   20913   chmod +x conf$$.sh
   20914   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   20915     PATH_SEPARATOR=';'
   20916   else
   20917     PATH_SEPARATOR=:
   20918   fi
   20919   rm -f conf$$.sh
   20920 fi
   20921 
   20922 # Support unset when possible.
   20923 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   20924   as_unset=unset
   20925 else
   20926   as_unset=false
   20927 fi
   20928 
   20929 
   20930 # IFS
   20931 # We need space, tab and new line, in precisely that order.  Quoting is
   20932 # there to prevent editors from complaining about space-tab.
   20933 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20934 # splitting by setting IFS to empty value.)
   20935 as_nl='
   20936 '
   20937 IFS=" ""	$as_nl"
   20938 
   20939 # Find who we are.  Look in the path if we contain no directory separator.
   20940 case $0 in
   20941   *[\\/]* ) as_myself=$0 ;;
   20942   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20943 for as_dir in $PATH
   20944 do
   20945   IFS=$as_save_IFS
   20946   test -z "$as_dir" && as_dir=.
   20947   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20948 done
   20949 IFS=$as_save_IFS
   20950 
   20951      ;;
   20952 esac
   20953 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20954 # in which case we are not to be found in the path.
   20955 if test "x$as_myself" = x; then
   20956   as_myself=$0
   20957 fi
   20958 if test ! -f "$as_myself"; then
   20959   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20960   { (exit 1); exit 1; }
   20961 fi
   20962 
   20963 # Work around bugs in pre-3.0 UWIN ksh.
   20964 for as_var in ENV MAIL MAILPATH
   20965 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20966 done
   20967 PS1='$ '
   20968 PS2='> '
   20969 PS4='+ '
   20970 
   20971 # NLS nuisances.
   20972 for as_var in \
   20973   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   20974   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   20975   LC_TELEPHONE LC_TIME
   20976 do
   20977   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   20978     eval $as_var=C; export $as_var
   20979   else
   20980     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   20981   fi
   20982 done
   20983 
   20984 # Required to use basename.
   20985 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20986    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20987   as_expr=expr
   20988 else
   20989   as_expr=false
   20990 fi
   20991 
   20992 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20993   as_basename=basename
   20994 else
   20995   as_basename=false
   20996 fi
   20997 
   20998 
   20999 # Name of the executable.
   21000 as_me=`$as_basename -- "$0" ||
   21001 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21002 	 X"$0" : 'X\(//\)$' \| \
   21003 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21004 echo X/"$0" |
   21005     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21006 	    s//\1/
   21007 	    q
   21008 	  }
   21009 	  /^X\/\(\/\/\)$/{
   21010 	    s//\1/
   21011 	    q
   21012 	  }
   21013 	  /^X\/\(\/\).*/{
   21014 	    s//\1/
   21015 	    q
   21016 	  }
   21017 	  s/.*/./; q'`
   21018 
   21019 # CDPATH.
   21020 $as_unset CDPATH
   21021 
   21022 
   21023 
   21024   as_lineno_1=$LINENO
   21025   as_lineno_2=$LINENO
   21026   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21027   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21028 
   21029   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21030   # uniformly replaced by the line number.  The first 'sed' inserts a
   21031   # line-number line after each line using $LINENO; the second 'sed'
   21032   # does the real work.  The second script uses 'N' to pair each
   21033   # line-number line with the line containing $LINENO, and appends
   21034   # trailing '-' during substitution so that $LINENO is not a special
   21035   # case at line end.
   21036   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21037   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21038   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21039   sed -n '
   21040     p
   21041     /[$]LINENO/=
   21042   ' <$as_myself |
   21043     sed '
   21044       s/[$]LINENO.*/&-/
   21045       t lineno
   21046       b
   21047       :lineno
   21048       N
   21049       :loop
   21050       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21051       t loop
   21052       s/-\n.*//
   21053     ' >$as_me.lineno &&
   21054   chmod +x "$as_me.lineno" ||
   21055     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21056    { (exit 1); exit 1; }; }
   21057 
   21058   # Don't try to exec as it changes $[0], causing all sort of problems
   21059   # (the dirname of $[0] is not the place where we might find the
   21060   # original and so on.  Autoconf is especially sensitive to this).
   21061   . "./$as_me.lineno"
   21062   # Exit status is that of the last command.
   21063   exit
   21064 }
   21065 
   21066 
   21067 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21068   as_dirname=dirname
   21069 else
   21070   as_dirname=false
   21071 fi
   21072 
   21073 ECHO_C= ECHO_N= ECHO_T=
   21074 case `echo -n x` in
   21075 -n*)
   21076   case `echo 'x\c'` in
   21077   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21078   *)   ECHO_C='\c';;
   21079   esac;;
   21080 *)
   21081   ECHO_N='-n';;
   21082 esac
   21083 
   21084 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21085    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21086   as_expr=expr
   21087 else
   21088   as_expr=false
   21089 fi
   21090 
   21091 rm -f conf$$ conf$$.exe conf$$.file
   21092 if test -d conf$$.dir; then
   21093   rm -f conf$$.dir/conf$$.file
   21094 else
   21095   rm -f conf$$.dir
   21096   mkdir conf$$.dir
   21097 fi
   21098 echo >conf$$.file
   21099 if ln -s conf$$.file conf$$ 2>/dev/null; then
   21100   as_ln_s='ln -s'
   21101   # ... but there are two gotchas:
   21102   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21103   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21104   # In both cases, we have to default to `cp -p'.
   21105   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21106     as_ln_s='cp -p'
   21107 elif ln conf$$.file conf$$ 2>/dev/null; then
   21108   as_ln_s=ln
   21109 else
   21110   as_ln_s='cp -p'
   21111 fi
   21112 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21113 rmdir conf$$.dir 2>/dev/null
   21114 
   21115 if mkdir -p . 2>/dev/null; then
   21116   as_mkdir_p=:
   21117 else
   21118   test -d ./-p && rmdir ./-p
   21119   as_mkdir_p=false
   21120 fi
   21121 
   21122 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   21123 # systems may use methods other than mode bits to determine executability.
   21124 cat >conf$$.file <<_ASEOF
   21125 #! /bin/sh
   21126 exit 0
   21127 _ASEOF
   21128 chmod +x conf$$.file
   21129 if test -x conf$$.file >/dev/null 2>&1; then
   21130   as_executable_p="test -x"
   21131 else
   21132   as_executable_p=:
   21133 fi
   21134 rm -f conf$$.file
   21135 
   21136 # Sed expression to map a string onto a valid CPP name.
   21137 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21138 
   21139 # Sed expression to map a string onto a valid variable name.
   21140 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21141 
   21142 
   21143 exec 6>&1
   21144 
   21145 # Save the log message, to keep $[0] and so on meaningful, and to
   21146 # report actual input values of CONFIG_FILES etc. instead of their
   21147 # values after options handling.
   21148 ac_log="
   21149 This file was extended by libXau $as_me 1.0.3, which was
   21150 generated by GNU Autoconf 2.60.  Invocation command line was
   21151 
   21152   CONFIG_FILES    = $CONFIG_FILES
   21153   CONFIG_HEADERS  = $CONFIG_HEADERS
   21154   CONFIG_LINKS    = $CONFIG_LINKS
   21155   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21156   $ $0 $@
   21157 
   21158 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21159 "
   21160 
   21161 _ACEOF
   21162 
   21163 cat >>$CONFIG_STATUS <<_ACEOF
   21164 # Files that config.status was made for.
   21165 config_files="$ac_config_files"
   21166 config_headers="$ac_config_headers"
   21167 config_commands="$ac_config_commands"
   21168 
   21169 _ACEOF
   21170 
   21171 cat >>$CONFIG_STATUS <<\_ACEOF
   21172 ac_cs_usage="\
   21173 \`$as_me' instantiates files from templates according to the
   21174 current configuration.
   21175 
   21176 Usage: $0 [OPTIONS] [FILE]...
   21177 
   21178   -h, --help       print this help, then exit
   21179   -V, --version    print version number, then exit
   21180   -q, --quiet      do not print progress messages
   21181   -d, --debug      don't remove temporary files
   21182       --recheck    update $as_me by reconfiguring in the same conditions
   21183   --file=FILE[:TEMPLATE]
   21184 		   instantiate the configuration file FILE
   21185   --header=FILE[:TEMPLATE]
   21186 		   instantiate the configuration header FILE
   21187 
   21188 Configuration files:
   21189 $config_files
   21190 
   21191 Configuration headers:
   21192 $config_headers
   21193 
   21194 Configuration commands:
   21195 $config_commands
   21196 
   21197 Report bugs to <bug-autoconf@gnu.org>."
   21198 
   21199 _ACEOF
   21200 cat >>$CONFIG_STATUS <<_ACEOF
   21201 ac_cs_version="\\
   21202 libXau config.status 1.0.3
   21203 configured by $0, generated by GNU Autoconf 2.60,
   21204   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21205 
   21206 Copyright (C) 2006 Free Software Foundation, Inc.
   21207 This config.status script is free software; the Free Software Foundation
   21208 gives unlimited permission to copy, distribute and modify it."
   21209 
   21210 ac_pwd='$ac_pwd'
   21211 srcdir='$srcdir'
   21212 INSTALL='$INSTALL'
   21213 _ACEOF
   21214 
   21215 cat >>$CONFIG_STATUS <<\_ACEOF
   21216 # If no file are specified by the user, then we need to provide default
   21217 # value.  By we need to know if files were specified by the user.
   21218 ac_need_defaults=:
   21219 while test $# != 0
   21220 do
   21221   case $1 in
   21222   --*=*)
   21223     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21224     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21225     ac_shift=:
   21226     ;;
   21227   *)
   21228     ac_option=$1
   21229     ac_optarg=$2
   21230     ac_shift=shift
   21231     ;;
   21232   esac
   21233 
   21234   case $ac_option in
   21235   # Handling of the options.
   21236   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21237     ac_cs_recheck=: ;;
   21238   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21239     echo "$ac_cs_version"; exit ;;
   21240   --debug | --debu | --deb | --de | --d | -d )
   21241     debug=: ;;
   21242   --file | --fil | --fi | --f )
   21243     $ac_shift
   21244     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21245     ac_need_defaults=false;;
   21246   --header | --heade | --head | --hea )
   21247     $ac_shift
   21248     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   21249     ac_need_defaults=false;;
   21250   --he | --h)
   21251     # Conflict between --help and --header
   21252     { echo "$as_me: error: ambiguous option: $1
   21253 Try \`$0 --help' for more information." >&2
   21254    { (exit 1); exit 1; }; };;
   21255   --help | --hel | -h )
   21256     echo "$ac_cs_usage"; exit ;;
   21257   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21258   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21259     ac_cs_silent=: ;;
   21260 
   21261   # This is an error.
   21262   -*) { echo "$as_me: error: unrecognized option: $1
   21263 Try \`$0 --help' for more information." >&2
   21264    { (exit 1); exit 1; }; } ;;
   21265 
   21266   *) ac_config_targets="$ac_config_targets $1"
   21267      ac_need_defaults=false ;;
   21268 
   21269   esac
   21270   shift
   21271 done
   21272 
   21273 ac_configure_extra_args=
   21274 
   21275 if $ac_cs_silent; then
   21276   exec 6>/dev/null
   21277   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21278 fi
   21279 
   21280 _ACEOF
   21281 cat >>$CONFIG_STATUS <<_ACEOF
   21282 if \$ac_cs_recheck; then
   21283   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21284   CONFIG_SHELL=$SHELL
   21285   export CONFIG_SHELL
   21286   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21287 fi
   21288 
   21289 _ACEOF
   21290 cat >>$CONFIG_STATUS <<\_ACEOF
   21291 exec 5>>config.log
   21292 {
   21293   echo
   21294   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21295 ## Running $as_me. ##
   21296 _ASBOX
   21297   echo "$ac_log"
   21298 } >&5
   21299 
   21300 _ACEOF
   21301 cat >>$CONFIG_STATUS <<_ACEOF
   21302 #
   21303 # INIT-COMMANDS
   21304 #
   21305 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21306 
   21307 _ACEOF
   21308 
   21309 cat >>$CONFIG_STATUS <<\_ACEOF
   21310 
   21311 # Handling of arguments.
   21312 for ac_config_target in $ac_config_targets
   21313 do
   21314   case $ac_config_target in
   21315     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21316     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21317     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21318     "xau.pc") CONFIG_FILES="$CONFIG_FILES xau.pc" ;;
   21319 
   21320   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21321 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21322    { (exit 1); exit 1; }; };;
   21323   esac
   21324 done
   21325 
   21326 
   21327 # If the user did not use the arguments to specify the items to instantiate,
   21328 # then the envvar interface is used.  Set only those that are not.
   21329 # We use the long form for the default assignment because of an extremely
   21330 # bizarre bug on SunOS 4.1.3.
   21331 if $ac_need_defaults; then
   21332   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21333   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21334   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21335 fi
   21336 
   21337 # Have a temporary directory for convenience.  Make it in the build tree
   21338 # simply because there is no reason against having it here, and in addition,
   21339 # creating and moving files from /tmp can sometimes cause problems.
   21340 # Hook for its removal unless debugging.
   21341 # Note that there is a small window in which the directory will not be cleaned:
   21342 # after its creation but before its name has been assigned to `$tmp'.
   21343 $debug ||
   21344 {
   21345   tmp=
   21346   trap 'exit_status=$?
   21347   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21348 ' 0
   21349   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21350 }
   21351 # Create a (secure) tmp directory for tmp files.
   21352 
   21353 {
   21354   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21355   test -n "$tmp" && test -d "$tmp"
   21356 }  ||
   21357 {
   21358   tmp=./conf$$-$RANDOM
   21359   (umask 077 && mkdir "$tmp")
   21360 } ||
   21361 {
   21362    echo "$me: cannot create a temporary directory in ." >&2
   21363    { (exit 1); exit 1; }
   21364 }
   21365 
   21366 #
   21367 # Set up the sed scripts for CONFIG_FILES section.
   21368 #
   21369 
   21370 # No need to generate the scripts if there are no CONFIG_FILES.
   21371 # This happens for instance when ./config.status config.h
   21372 if test -n "$CONFIG_FILES"; then
   21373 
   21374 _ACEOF
   21375 
   21376 
   21377 
   21378 ac_delim='%!_!# '
   21379 for ac_last_try in false false false false false :; do
   21380   cat >conf$$subs.sed <<_ACEOF
   21381 SHELL!$SHELL$ac_delim
   21382 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21383 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21384 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21385 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21386 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21387 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21388 exec_prefix!$exec_prefix$ac_delim
   21389 prefix!$prefix$ac_delim
   21390 program_transform_name!$program_transform_name$ac_delim
   21391 bindir!$bindir$ac_delim
   21392 sbindir!$sbindir$ac_delim
   21393 libexecdir!$libexecdir$ac_delim
   21394 datarootdir!$datarootdir$ac_delim
   21395 datadir!$datadir$ac_delim
   21396 sysconfdir!$sysconfdir$ac_delim
   21397 sharedstatedir!$sharedstatedir$ac_delim
   21398 localstatedir!$localstatedir$ac_delim
   21399 includedir!$includedir$ac_delim
   21400 oldincludedir!$oldincludedir$ac_delim
   21401 docdir!$docdir$ac_delim
   21402 infodir!$infodir$ac_delim
   21403 htmldir!$htmldir$ac_delim
   21404 dvidir!$dvidir$ac_delim
   21405 pdfdir!$pdfdir$ac_delim
   21406 psdir!$psdir$ac_delim
   21407 libdir!$libdir$ac_delim
   21408 localedir!$localedir$ac_delim
   21409 mandir!$mandir$ac_delim
   21410 DEFS!$DEFS$ac_delim
   21411 ECHO_C!$ECHO_C$ac_delim
   21412 ECHO_N!$ECHO_N$ac_delim
   21413 ECHO_T!$ECHO_T$ac_delim
   21414 LIBS!$LIBS$ac_delim
   21415 build_alias!$build_alias$ac_delim
   21416 host_alias!$host_alias$ac_delim
   21417 target_alias!$target_alias$ac_delim
   21418 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21419 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21420 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21421 CYGPATH_W!$CYGPATH_W$ac_delim
   21422 PACKAGE!$PACKAGE$ac_delim
   21423 VERSION!$VERSION$ac_delim
   21424 ACLOCAL!$ACLOCAL$ac_delim
   21425 AUTOCONF!$AUTOCONF$ac_delim
   21426 AUTOMAKE!$AUTOMAKE$ac_delim
   21427 AUTOHEADER!$AUTOHEADER$ac_delim
   21428 MAKEINFO!$MAKEINFO$ac_delim
   21429 install_sh!$install_sh$ac_delim
   21430 STRIP!$STRIP$ac_delim
   21431 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   21432 mkdir_p!$mkdir_p$ac_delim
   21433 AWK!$AWK$ac_delim
   21434 SET_MAKE!$SET_MAKE$ac_delim
   21435 am__leading_dot!$am__leading_dot$ac_delim
   21436 AMTAR!$AMTAR$ac_delim
   21437 am__tar!$am__tar$ac_delim
   21438 am__untar!$am__untar$ac_delim
   21439 AMSHOWCMDSAT!$AMSHOWCMDSAT$ac_delim
   21440 AMDEPSHOWCMDSAT!$AMDEPSHOWCMDSAT$ac_delim
   21441 AMPRETTYECHO!$AMPRETTYECHO$ac_delim
   21442 AMCMDECHO!$AMCMDECHO$ac_delim
   21443 LT_QUIET!$LT_QUIET$ac_delim
   21444 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   21445 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   21446 MAINT!$MAINT$ac_delim
   21447 CC!$CC$ac_delim
   21448 CFLAGS!$CFLAGS$ac_delim
   21449 LDFLAGS!$LDFLAGS$ac_delim
   21450 CPPFLAGS!$CPPFLAGS$ac_delim
   21451 ac_ct_CC!$ac_ct_CC$ac_delim
   21452 EXEEXT!$EXEEXT$ac_delim
   21453 OBJEXT!$OBJEXT$ac_delim
   21454 DEPDIR!$DEPDIR$ac_delim
   21455 am__include!$am__include$ac_delim
   21456 am__quote!$am__quote$ac_delim
   21457 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   21458 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   21459 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   21460 CCDEPMODE!$CCDEPMODE$ac_delim
   21461 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   21462 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   21463 LN_S!$LN_S$ac_delim
   21464 build!$build$ac_delim
   21465 build_cpu!$build_cpu$ac_delim
   21466 build_vendor!$build_vendor$ac_delim
   21467 build_os!$build_os$ac_delim
   21468 host!$host$ac_delim
   21469 host_cpu!$host_cpu$ac_delim
   21470 host_vendor!$host_vendor$ac_delim
   21471 host_os!$host_os$ac_delim
   21472 GREP!$GREP$ac_delim
   21473 EGREP!$EGREP$ac_delim
   21474 ECHO!$ECHO$ac_delim
   21475 AR!$AR$ac_delim
   21476 RANLIB!$RANLIB$ac_delim
   21477 DLLTOOL!$DLLTOOL$ac_delim
   21478 _ACEOF
   21479 
   21480   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21481     break
   21482   elif $ac_last_try; then
   21483     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21484 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21485    { (exit 1); exit 1; }; }
   21486   else
   21487     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21488   fi
   21489 done
   21490 
   21491 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21492 if test -n "$ac_eof"; then
   21493   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21494   ac_eof=`expr $ac_eof + 1`
   21495 fi
   21496 
   21497 cat >>$CONFIG_STATUS <<_ACEOF
   21498 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21500 _ACEOF
   21501 sed '
   21502 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21503 s/^/s,@/; s/!/@,|#_!!_#|/
   21504 :n
   21505 t n
   21506 s/'"$ac_delim"'$/,g/; t
   21507 s/$/\\/; p
   21508 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21509 ' >>$CONFIG_STATUS <conf$$subs.sed
   21510 rm -f conf$$subs.sed
   21511 cat >>$CONFIG_STATUS <<_ACEOF
   21512 CEOF$ac_eof
   21513 _ACEOF
   21514 
   21515 
   21516 ac_delim='%!_!# '
   21517 for ac_last_try in false false false false false :; do
   21518   cat >conf$$subs.sed <<_ACEOF
   21519 AS!$AS$ac_delim
   21520 OBJDUMP!$OBJDUMP$ac_delim
   21521 CPP!$CPP$ac_delim
   21522 CXX!$CXX$ac_delim
   21523 CXXFLAGS!$CXXFLAGS$ac_delim
   21524 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21525 CXXDEPMODE!$CXXDEPMODE$ac_delim
   21526 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   21527 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   21528 CXXCPP!$CXXCPP$ac_delim
   21529 F77!$F77$ac_delim
   21530 FFLAGS!$FFLAGS$ac_delim
   21531 ac_ct_F77!$ac_ct_F77$ac_delim
   21532 LIBTOOL!$LIBTOOL$ac_delim
   21533 PKG_CONFIG!$PKG_CONFIG$ac_delim
   21534 XAU_CFLAGS!$XAU_CFLAGS$ac_delim
   21535 XAU_LIBS!$XAU_LIBS$ac_delim
   21536 KERBEROS_TRUE!$KERBEROS_TRUE$ac_delim
   21537 KERBEROS_FALSE!$KERBEROS_FALSE$ac_delim
   21538 LINT!$LINT$ac_delim
   21539 LINT_FLAGS!$LINT_FLAGS$ac_delim
   21540 LINT_TRUE!$LINT_TRUE$ac_delim
   21541 LINT_FALSE!$LINT_FALSE$ac_delim
   21542 LINTLIB!$LINTLIB$ac_delim
   21543 MAKE_LINT_LIB_TRUE!$MAKE_LINT_LIB_TRUE$ac_delim
   21544 MAKE_LINT_LIB_FALSE!$MAKE_LINT_LIB_FALSE$ac_delim
   21545 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   21546 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   21547 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   21548 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   21549 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   21550 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   21551 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   21552 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   21553 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   21554 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   21555 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   21556 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   21557 LIBOBJS!$LIBOBJS$ac_delim
   21558 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21559 _ACEOF
   21560 
   21561   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
   21562     break
   21563   elif $ac_last_try; then
   21564     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21565 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21566    { (exit 1); exit 1; }; }
   21567   else
   21568     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21569   fi
   21570 done
   21571 
   21572 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21573 if test -n "$ac_eof"; then
   21574   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21575   ac_eof=`expr $ac_eof + 1`
   21576 fi
   21577 
   21578 cat >>$CONFIG_STATUS <<_ACEOF
   21579 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21580 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21581 _ACEOF
   21582 sed '
   21583 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21584 s/^/s,@/; s/!/@,|#_!!_#|/
   21585 :n
   21586 t n
   21587 s/'"$ac_delim"'$/,g/; t
   21588 s/$/\\/; p
   21589 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21590 ' >>$CONFIG_STATUS <conf$$subs.sed
   21591 rm -f conf$$subs.sed
   21592 cat >>$CONFIG_STATUS <<_ACEOF
   21593 :end
   21594 s/|#_!!_#|//g
   21595 CEOF$ac_eof
   21596 _ACEOF
   21597 
   21598 
   21599 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21600 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21601 # trailing colons and then remove the whole line if VPATH becomes empty
   21602 # (actually we leave an empty line to preserve line numbers).
   21603 if test "x$srcdir" = x.; then
   21604   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21605 s/:*\$(srcdir):*/:/
   21606 s/:*\${srcdir}:*/:/
   21607 s/:*@srcdir@:*/:/
   21608 s/^\([^=]*=[	 ]*\):*/\1/
   21609 s/:*$//
   21610 s/^[^=]*=[	 ]*$//
   21611 }'
   21612 fi
   21613 
   21614 cat >>$CONFIG_STATUS <<\_ACEOF
   21615 fi # test -n "$CONFIG_FILES"
   21616 
   21617 
   21618 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   21619 do
   21620   case $ac_tag in
   21621   :[FHLC]) ac_mode=$ac_tag; continue;;
   21622   esac
   21623   case $ac_mode$ac_tag in
   21624   :[FHL]*:*);;
   21625   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21626 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21627    { (exit 1); exit 1; }; };;
   21628   :[FH]-) ac_tag=-:-;;
   21629   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21630   esac
   21631   ac_save_IFS=$IFS
   21632   IFS=:
   21633   set x $ac_tag
   21634   IFS=$ac_save_IFS
   21635   shift
   21636   ac_file=$1
   21637   shift
   21638 
   21639   case $ac_mode in
   21640   :L) ac_source=$1;;
   21641   :[FH])
   21642     ac_file_inputs=
   21643     for ac_f
   21644     do
   21645       case $ac_f in
   21646       -) ac_f="$tmp/stdin";;
   21647       *) # Look for the file first in the build tree, then in the source tree
   21648 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21649 	 # because $ac_f cannot contain `:'.
   21650 	 test -f "$ac_f" ||
   21651 	   case $ac_f in
   21652 	   [\\/$]*) false;;
   21653 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21654 	   esac ||
   21655 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21656 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21657    { (exit 1); exit 1; }; };;
   21658       esac
   21659       ac_file_inputs="$ac_file_inputs $ac_f"
   21660     done
   21661 
   21662     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21663     # use $as_me), people would be surprised to read:
   21664     #    /* config.h.  Generated by config.status.  */
   21665     configure_input="Generated from "`IFS=:
   21666 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   21667     if test x"$ac_file" != x-; then
   21668       configure_input="$ac_file.  $configure_input"
   21669       { echo "$as_me:$LINENO: creating $ac_file" >&5
   21670 echo "$as_me: creating $ac_file" >&6;}
   21671     fi
   21672 
   21673     case $ac_tag in
   21674     *:-:* | *:-) cat >"$tmp/stdin";;
   21675     esac
   21676     ;;
   21677   esac
   21678 
   21679   ac_dir=`$as_dirname -- "$ac_file" ||
   21680 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21681 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21682 	 X"$ac_file" : 'X\(//\)$' \| \
   21683 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21684 echo X"$ac_file" |
   21685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21686 	    s//\1/
   21687 	    q
   21688 	  }
   21689 	  /^X\(\/\/\)[^/].*/{
   21690 	    s//\1/
   21691 	    q
   21692 	  }
   21693 	  /^X\(\/\/\)$/{
   21694 	    s//\1/
   21695 	    q
   21696 	  }
   21697 	  /^X\(\/\).*/{
   21698 	    s//\1/
   21699 	    q
   21700 	  }
   21701 	  s/.*/./; q'`
   21702   { as_dir="$ac_dir"
   21703   case $as_dir in #(
   21704   -*) as_dir=./$as_dir;;
   21705   esac
   21706   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21707     as_dirs=
   21708     while :; do
   21709       case $as_dir in #(
   21710       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21711       *) as_qdir=$as_dir;;
   21712       esac
   21713       as_dirs="'$as_qdir' $as_dirs"
   21714       as_dir=`$as_dirname -- "$as_dir" ||
   21715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21716 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21717 	 X"$as_dir" : 'X\(//\)$' \| \
   21718 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21719 echo X"$as_dir" |
   21720     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21721 	    s//\1/
   21722 	    q
   21723 	  }
   21724 	  /^X\(\/\/\)[^/].*/{
   21725 	    s//\1/
   21726 	    q
   21727 	  }
   21728 	  /^X\(\/\/\)$/{
   21729 	    s//\1/
   21730 	    q
   21731 	  }
   21732 	  /^X\(\/\).*/{
   21733 	    s//\1/
   21734 	    q
   21735 	  }
   21736 	  s/.*/./; q'`
   21737       test -d "$as_dir" && break
   21738     done
   21739     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21740   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21741 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21742    { (exit 1); exit 1; }; }; }
   21743   ac_builddir=.
   21744 
   21745 case "$ac_dir" in
   21746 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21747 *)
   21748   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21749   # A ".." for each directory in $ac_dir_suffix.
   21750   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   21751   case $ac_top_builddir_sub in
   21752   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21753   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21754   esac ;;
   21755 esac
   21756 ac_abs_top_builddir=$ac_pwd
   21757 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21758 # for backward compatibility:
   21759 ac_top_builddir=$ac_top_build_prefix
   21760 
   21761 case $srcdir in
   21762   .)  # We are building in place.
   21763     ac_srcdir=.
   21764     ac_top_srcdir=$ac_top_builddir_sub
   21765     ac_abs_top_srcdir=$ac_pwd ;;
   21766   [\\/]* | ?:[\\/]* )  # Absolute name.
   21767     ac_srcdir=$srcdir$ac_dir_suffix;
   21768     ac_top_srcdir=$srcdir
   21769     ac_abs_top_srcdir=$srcdir ;;
   21770   *) # Relative name.
   21771     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21772     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21773     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21774 esac
   21775 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21776 
   21777 
   21778   case $ac_mode in
   21779   :F)
   21780   #
   21781   # CONFIG_FILE
   21782   #
   21783 
   21784   case $INSTALL in
   21785   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21786   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21787   esac
   21788 _ACEOF
   21789 
   21790 cat >>$CONFIG_STATUS <<\_ACEOF
   21791 # If the template does not know about datarootdir, expand it.
   21792 # FIXME: This hack should be removed a few years after 2.60.
   21793 ac_datarootdir_hack=; ac_datarootdir_seen=
   21794 
   21795 case `sed -n '/datarootdir/ {
   21796   p
   21797   q
   21798 }
   21799 /@datadir@/p
   21800 /@docdir@/p
   21801 /@infodir@/p
   21802 /@localedir@/p
   21803 /@mandir@/p
   21804 ' $ac_file_inputs` in
   21805 *datarootdir*) ac_datarootdir_seen=yes;;
   21806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21807   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21808 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21809 _ACEOF
   21810 cat >>$CONFIG_STATUS <<_ACEOF
   21811   ac_datarootdir_hack='
   21812   s&@datadir@&$datadir&g
   21813   s&@docdir@&$docdir&g
   21814   s&@infodir@&$infodir&g
   21815   s&@localedir@&$localedir&g
   21816   s&@mandir@&$mandir&g
   21817     s&\\\${datarootdir}&$datarootdir&g' ;;
   21818 esac
   21819 _ACEOF
   21820 
   21821 # Neutralize VPATH when `$srcdir' = `.'.
   21822 # Shell code in configure.ac might set extrasub.
   21823 # FIXME: do we really want to maintain this feature?
   21824 cat >>$CONFIG_STATUS <<_ACEOF
   21825   sed "$ac_vpsub
   21826 $extrasub
   21827 _ACEOF
   21828 cat >>$CONFIG_STATUS <<\_ACEOF
   21829 :t
   21830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21831 s&@configure_input@&$configure_input&;t t
   21832 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21833 s&@srcdir@&$ac_srcdir&;t t
   21834 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21835 s&@top_srcdir@&$ac_top_srcdir&;t t
   21836 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21837 s&@builddir@&$ac_builddir&;t t
   21838 s&@abs_builddir@&$ac_abs_builddir&;t t
   21839 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21840 s&@INSTALL@&$ac_INSTALL&;t t
   21841 $ac_datarootdir_hack
   21842 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   21843 
   21844 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21845   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   21846   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   21847   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21848 which seems to be undefined.  Please make sure it is defined." >&5
   21849 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21850 which seems to be undefined.  Please make sure it is defined." >&2;}
   21851 
   21852   rm -f "$tmp/stdin"
   21853   case $ac_file in
   21854   -) cat "$tmp/out"; rm -f "$tmp/out";;
   21855   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   21856   esac
   21857  ;;
   21858   :H)
   21859   #
   21860   # CONFIG_HEADER
   21861   #
   21862 _ACEOF
   21863 
   21864 # Transform confdefs.h into a sed script `conftest.defines', that
   21865 # substitutes the proper values into config.h.in to produce config.h.
   21866 rm -f conftest.defines conftest.tail
   21867 # First, append a space to every undef/define line, to ease matching.
   21868 echo 's/$/ /' >conftest.defines
   21869 # Then, protect against being on the right side of a sed subst, or in
   21870 # an unquoted here document, in config.status.  If some macros were
   21871 # called several times there might be several #defines for the same
   21872 # symbol, which is useless.  But do not sort them, since the last
   21873 # AC_DEFINE must be honored.
   21874 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21875 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   21876 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   21877 # PARAMS is the parameter list in the macro definition--in most cases, it's
   21878 # just an empty string.
   21879 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   21880 ac_dB='\\)[	 (].*,\\1define\\2'
   21881 ac_dC=' '
   21882 ac_dD=' ,'
   21883 
   21884 uniq confdefs.h |
   21885   sed -n '
   21886 	t rset
   21887 	:rset
   21888 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   21889 	t ok
   21890 	d
   21891 	:ok
   21892 	s/[\\&,]/\\&/g
   21893 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   21894 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   21895   ' >>conftest.defines
   21896 
   21897 # Remove the space that was appended to ease matching.
   21898 # Then replace #undef with comments.  This is necessary, for
   21899 # example, in the case of _POSIX_SOURCE, which is predefined and required
   21900 # on some systems where configure will not decide to define it.
   21901 # (The regexp can be short, since the line contains either #define or #undef.)
   21902 echo 's/ $//
   21903 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   21904 
   21905 # Break up conftest.defines:
   21906 ac_max_sed_lines=50
   21907 
   21908 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   21909 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   21910 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   21911 # et cetera.
   21912 ac_in='$ac_file_inputs'
   21913 ac_out='"$tmp/out1"'
   21914 ac_nxt='"$tmp/out2"'
   21915 
   21916 while :
   21917 do
   21918   # Write a here document:
   21919     cat >>$CONFIG_STATUS <<_ACEOF
   21920     # First, check the format of the line:
   21921     cat >"\$tmp/defines.sed" <<\\CEOF
   21922 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   21923 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   21924 b
   21925 :def
   21926 _ACEOF
   21927   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   21928   echo 'CEOF
   21929     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   21930   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   21931   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   21932   grep . conftest.tail >/dev/null || break
   21933   rm -f conftest.defines
   21934   mv conftest.tail conftest.defines
   21935 done
   21936 rm -f conftest.defines conftest.tail
   21937 
   21938 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   21939 cat >>$CONFIG_STATUS <<\_ACEOF
   21940   if test x"$ac_file" != x-; then
   21941     echo "/* $configure_input  */" >"$tmp/config.h"
   21942     cat "$ac_result" >>"$tmp/config.h"
   21943     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   21944       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   21945 echo "$as_me: $ac_file is unchanged" >&6;}
   21946     else
   21947       rm -f $ac_file
   21948       mv "$tmp/config.h" $ac_file
   21949     fi
   21950   else
   21951     echo "/* $configure_input  */"
   21952     cat "$ac_result"
   21953   fi
   21954   rm -f "$tmp/out12"
   21955 # Compute $ac_file's index in $config_headers.
   21956 _am_stamp_count=1
   21957 for _am_header in $config_headers :; do
   21958   case $_am_header in
   21959     $ac_file | $ac_file:* )
   21960       break ;;
   21961     * )
   21962       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21963   esac
   21964 done
   21965 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   21966 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21967 	 X$ac_file : 'X\(//\)[^/]' \| \
   21968 	 X$ac_file : 'X\(//\)$' \| \
   21969 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   21970 echo X$ac_file |
   21971     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21972 	    s//\1/
   21973 	    q
   21974 	  }
   21975 	  /^X\(\/\/\)[^/].*/{
   21976 	    s//\1/
   21977 	    q
   21978 	  }
   21979 	  /^X\(\/\/\)$/{
   21980 	    s//\1/
   21981 	    q
   21982 	  }
   21983 	  /^X\(\/\).*/{
   21984 	    s//\1/
   21985 	    q
   21986 	  }
   21987 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21988  ;;
   21989 
   21990   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   21991 echo "$as_me: executing $ac_file commands" >&6;}
   21992  ;;
   21993   esac
   21994 
   21995 
   21996   case $ac_file$ac_mode in
   21997     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   21998   # Strip MF so we end up with the name of the file.
   21999   mf=`echo "$mf" | sed -e 's/:.*$//'`
   22000   # Check whether this is an Automake generated Makefile or not.
   22001   # We used to match only the files named `Makefile.in', but
   22002   # some people rename them; so instead we look at the file content.
   22003   # Grep'ing the first line is not enough: some people post-process
   22004   # each Makefile.in and add a new line on top of each file to say so.
   22005   # So let's grep whole file.
   22006   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   22007     dirpart=`$as_dirname -- "$mf" ||
   22008 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22009 	 X"$mf" : 'X\(//\)[^/]' \| \
   22010 	 X"$mf" : 'X\(//\)$' \| \
   22011 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22012 echo X"$mf" |
   22013     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22014 	    s//\1/
   22015 	    q
   22016 	  }
   22017 	  /^X\(\/\/\)[^/].*/{
   22018 	    s//\1/
   22019 	    q
   22020 	  }
   22021 	  /^X\(\/\/\)$/{
   22022 	    s//\1/
   22023 	    q
   22024 	  }
   22025 	  /^X\(\/\).*/{
   22026 	    s//\1/
   22027 	    q
   22028 	  }
   22029 	  s/.*/./; q'`
   22030   else
   22031     continue
   22032   fi
   22033   # Extract the definition of DEPDIR, am__include, and am__quote
   22034   # from the Makefile without running `make'.
   22035   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22036   test -z "$DEPDIR" && continue
   22037   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22038   test -z "am__include" && continue
   22039   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22040   # When using ansi2knr, U may be empty or an underscore; expand it
   22041   U=`sed -n 's/^U = //p' < "$mf"`
   22042   # Find all dependency output files, they are included files with
   22043   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22044   # simplest approach to changing $(DEPDIR) to its actual value in the
   22045   # expansion.
   22046   for file in `sed -n "
   22047     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22048        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22049     # Make sure the directory exists.
   22050     test -f "$dirpart/$file" && continue
   22051     fdir=`$as_dirname -- "$file" ||
   22052 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22053 	 X"$file" : 'X\(//\)[^/]' \| \
   22054 	 X"$file" : 'X\(//\)$' \| \
   22055 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22056 echo X"$file" |
   22057     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22058 	    s//\1/
   22059 	    q
   22060 	  }
   22061 	  /^X\(\/\/\)[^/].*/{
   22062 	    s//\1/
   22063 	    q
   22064 	  }
   22065 	  /^X\(\/\/\)$/{
   22066 	    s//\1/
   22067 	    q
   22068 	  }
   22069 	  /^X\(\/\).*/{
   22070 	    s//\1/
   22071 	    q
   22072 	  }
   22073 	  s/.*/./; q'`
   22074     { as_dir=$dirpart/$fdir
   22075   case $as_dir in #(
   22076   -*) as_dir=./$as_dir;;
   22077   esac
   22078   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22079     as_dirs=
   22080     while :; do
   22081       case $as_dir in #(
   22082       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22083       *) as_qdir=$as_dir;;
   22084       esac
   22085       as_dirs="'$as_qdir' $as_dirs"
   22086       as_dir=`$as_dirname -- "$as_dir" ||
   22087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22088 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22089 	 X"$as_dir" : 'X\(//\)$' \| \
   22090 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22091 echo X"$as_dir" |
   22092     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22093 	    s//\1/
   22094 	    q
   22095 	  }
   22096 	  /^X\(\/\/\)[^/].*/{
   22097 	    s//\1/
   22098 	    q
   22099 	  }
   22100 	  /^X\(\/\/\)$/{
   22101 	    s//\1/
   22102 	    q
   22103 	  }
   22104 	  /^X\(\/\).*/{
   22105 	    s//\1/
   22106 	    q
   22107 	  }
   22108 	  s/.*/./; q'`
   22109       test -d "$as_dir" && break
   22110     done
   22111     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22112   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22113 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22114    { (exit 1); exit 1; }; }; }
   22115     # echo "creating $dirpart/$file"
   22116     echo '# dummy' > "$dirpart/$file"
   22117   done
   22118 done
   22119  ;;
   22120 
   22121   esac
   22122 done # for ac_tag
   22123 
   22124 
   22125 { (exit 0); exit 0; }
   22126 _ACEOF
   22127 chmod +x $CONFIG_STATUS
   22128 ac_clean_files=$ac_clean_files_save
   22129 
   22130 
   22131 # configure is writing to config.log, and then calls config.status.
   22132 # config.status does its own redirection, appending to config.log.
   22133 # Unfortunately, on DOS this fails, as config.log is still kept open
   22134 # by configure, so config.status won't be able to write to it; its
   22135 # output is simply discarded.  So we exec the FD to /dev/null,
   22136 # effectively closing config.log, so it can be properly (re)opened and
   22137 # appended to by config.status.  When coming back to configure, we
   22138 # need to make the FD available again.
   22139 if test "$no_create" != yes; then
   22140   ac_cs_success=:
   22141   ac_config_status_args=
   22142   test "$silent" = yes &&
   22143     ac_config_status_args="$ac_config_status_args --quiet"
   22144   exec 5>/dev/null
   22145   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22146   exec 5>>config.log
   22147   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22148   # would make configure fail if this is the last instruction.
   22149   $ac_cs_success || { (exit 1); exit 1; }
   22150 fi
   22151 
   22152