Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.60 for xf86-video-trident 1.2.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='xf86-video-trident'
    715 PACKAGE_TARNAME='xf86-video-trident'
    716 PACKAGE_VERSION='1.2.3'
    717 PACKAGE_STRING='xf86-video-trident 1.2.3'
    718 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    719 
    720 ac_unique_file="Makefile.am"
    721 # Factoring default headers for most tests.
    722 ac_includes_default="\
    723 #include <stdio.h>
    724 #if HAVE_SYS_TYPES_H
    725 # include <sys/types.h>
    726 #endif
    727 #if HAVE_SYS_STAT_H
    728 # include <sys/stat.h>
    729 #endif
    730 #if STDC_HEADERS
    731 # include <stdlib.h>
    732 # include <stddef.h>
    733 #else
    734 # if HAVE_STDLIB_H
    735 #  include <stdlib.h>
    736 # endif
    737 #endif
    738 #if HAVE_STRING_H
    739 # if !STDC_HEADERS && HAVE_MEMORY_H
    740 #  include <memory.h>
    741 # endif
    742 # include <string.h>
    743 #endif
    744 #if HAVE_STRINGS_H
    745 # include <strings.h>
    746 #endif
    747 #if HAVE_INTTYPES_H
    748 # include <inttypes.h>
    749 #endif
    750 #if HAVE_STDINT_H
    751 # include <stdint.h>
    752 #endif
    753 #if HAVE_UNISTD_H
    754 # include <unistd.h>
    755 #endif"
    756 
    757 ac_subst_vars='SHELL
    758 PATH_SEPARATOR
    759 PACKAGE_NAME
    760 PACKAGE_TARNAME
    761 PACKAGE_VERSION
    762 PACKAGE_STRING
    763 PACKAGE_BUGREPORT
    764 exec_prefix
    765 prefix
    766 program_transform_name
    767 bindir
    768 sbindir
    769 libexecdir
    770 datarootdir
    771 datadir
    772 sysconfdir
    773 sharedstatedir
    774 localstatedir
    775 includedir
    776 oldincludedir
    777 docdir
    778 infodir
    779 htmldir
    780 dvidir
    781 pdfdir
    782 psdir
    783 libdir
    784 localedir
    785 mandir
    786 DEFS
    787 ECHO_C
    788 ECHO_N
    789 ECHO_T
    790 LIBS
    791 build_alias
    792 host_alias
    793 target_alias
    794 INSTALL_PROGRAM
    795 INSTALL_SCRIPT
    796 INSTALL_DATA
    797 CYGPATH_W
    798 PACKAGE
    799 VERSION
    800 ACLOCAL
    801 AUTOCONF
    802 AUTOMAKE
    803 AUTOHEADER
    804 MAKEINFO
    805 install_sh
    806 STRIP
    807 INSTALL_STRIP_PROGRAM
    808 mkdir_p
    809 AWK
    810 SET_MAKE
    811 am__leading_dot
    812 AMTAR
    813 am__tar
    814 am__untar
    815 MAINTAINER_MODE_TRUE
    816 MAINTAINER_MODE_FALSE
    817 MAINT
    818 build
    819 build_cpu
    820 build_vendor
    821 build_os
    822 host
    823 host_cpu
    824 host_vendor
    825 host_os
    826 CC
    827 CFLAGS
    828 LDFLAGS
    829 CPPFLAGS
    830 ac_ct_CC
    831 EXEEXT
    832 OBJEXT
    833 DEPDIR
    834 am__include
    835 am__quote
    836 AMDEP_TRUE
    837 AMDEP_FALSE
    838 AMDEPBACKSLASH
    839 CCDEPMODE
    840 am__fastdepCC_TRUE
    841 am__fastdepCC_FALSE
    842 GREP
    843 EGREP
    844 LN_S
    845 ECHO
    846 AR
    847 RANLIB
    848 CPP
    849 CXX
    850 CXXFLAGS
    851 ac_ct_CXX
    852 CXXDEPMODE
    853 am__fastdepCXX_TRUE
    854 am__fastdepCXX_FALSE
    855 CXXCPP
    856 F77
    857 FFLAGS
    858 ac_ct_F77
    859 LIBTOOL
    860 PKG_CONFIG
    861 XORG_CFLAGS
    862 XORG_LIBS
    863 moduledir
    864 DRIVER_NAME
    865 APP_MAN_SUFFIX
    866 LIB_MAN_SUFFIX
    867 FILE_MAN_SUFFIX
    868 MISC_MAN_SUFFIX
    869 DRIVER_MAN_SUFFIX
    870 ADMIN_MAN_SUFFIX
    871 APP_MAN_DIR
    872 LIB_MAN_DIR
    873 FILE_MAN_DIR
    874 MISC_MAN_DIR
    875 DRIVER_MAN_DIR
    876 ADMIN_MAN_DIR
    877 LIBOBJS
    878 LTLIBOBJS'
    879 ac_subst_files=''
    880       ac_precious_vars='build_alias
    881 host_alias
    882 target_alias
    883 CC
    884 CFLAGS
    885 LDFLAGS
    886 CPPFLAGS
    887 CPP
    888 CXX
    889 CXXFLAGS
    890 CCC
    891 CXXCPP
    892 F77
    893 FFLAGS
    894 PKG_CONFIG
    895 XORG_CFLAGS
    896 XORG_LIBS'
    897 
    898 
    899 # Initialize some variables set by options.
    900 ac_init_help=
    901 ac_init_version=false
    902 # The variables have the same names as the options, with
    903 # dashes changed to underlines.
    904 cache_file=/dev/null
    905 exec_prefix=NONE
    906 no_create=
    907 no_recursion=
    908 prefix=NONE
    909 program_prefix=NONE
    910 program_suffix=NONE
    911 program_transform_name=s,x,x,
    912 silent=
    913 site=
    914 srcdir=
    915 verbose=
    916 x_includes=NONE
    917 x_libraries=NONE
    918 
    919 # Installation directory options.
    920 # These are left unexpanded so users can "make install exec_prefix=/foo"
    921 # and all the variables that are supposed to be based on exec_prefix
    922 # by default will actually change.
    923 # Use braces instead of parens because sh, perl, etc. also accept them.
    924 # (The list follows the same order as the GNU Coding Standards.)
    925 bindir='${exec_prefix}/bin'
    926 sbindir='${exec_prefix}/sbin'
    927 libexecdir='${exec_prefix}/libexec'
    928 datarootdir='${prefix}/share'
    929 datadir='${datarootdir}'
    930 sysconfdir='${prefix}/etc'
    931 sharedstatedir='${prefix}/com'
    932 localstatedir='${prefix}/var'
    933 includedir='${prefix}/include'
    934 oldincludedir='/usr/include'
    935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    936 infodir='${datarootdir}/info'
    937 htmldir='${docdir}'
    938 dvidir='${docdir}'
    939 pdfdir='${docdir}'
    940 psdir='${docdir}'
    941 libdir='${exec_prefix}/lib'
    942 localedir='${datarootdir}/locale'
    943 mandir='${datarootdir}/man'
    944 
    945 ac_prev=
    946 ac_dashdash=
    947 for ac_option
    948 do
    949   # If the previous option needs an argument, assign it.
    950   if test -n "$ac_prev"; then
    951     eval $ac_prev=\$ac_option
    952     ac_prev=
    953     continue
    954   fi
    955 
    956   case $ac_option in
    957   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    958   *)	ac_optarg=yes ;;
    959   esac
    960 
    961   # Accept the important Cygnus configure options, so we can diagnose typos.
    962 
    963   case $ac_dashdash$ac_option in
    964   --)
    965     ac_dashdash=yes ;;
    966 
    967   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    968     ac_prev=bindir ;;
    969   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    970     bindir=$ac_optarg ;;
    971 
    972   -build | --build | --buil | --bui | --bu)
    973     ac_prev=build_alias ;;
    974   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    975     build_alias=$ac_optarg ;;
    976 
    977   -cache-file | --cache-file | --cache-fil | --cache-fi \
    978   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    979     ac_prev=cache_file ;;
    980   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    981   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    982     cache_file=$ac_optarg ;;
    983 
    984   --config-cache | -C)
    985     cache_file=config.cache ;;
    986 
    987   -datadir | --datadir | --datadi | --datad)
    988     ac_prev=datadir ;;
    989   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    990     datadir=$ac_optarg ;;
    991 
    992   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    993   | --dataroo | --dataro | --datar)
    994     ac_prev=datarootdir ;;
    995   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    996   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    997     datarootdir=$ac_optarg ;;
    998 
    999   -disable-* | --disable-*)
   1000     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1001     # Reject names that are not valid shell variable names.
   1002     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1003       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1004    { (exit 1); exit 1; }; }
   1005     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   1006     eval enable_$ac_feature=no ;;
   1007 
   1008   -docdir | --docdir | --docdi | --doc | --do)
   1009     ac_prev=docdir ;;
   1010   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1011     docdir=$ac_optarg ;;
   1012 
   1013   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1014     ac_prev=dvidir ;;
   1015   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1016     dvidir=$ac_optarg ;;
   1017 
   1018   -enable-* | --enable-*)
   1019     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1020     # Reject names that are not valid shell variable names.
   1021     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1022       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1023    { (exit 1); exit 1; }; }
   1024     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   1025     eval enable_$ac_feature=\$ac_optarg ;;
   1026 
   1027   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1028   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1029   | --exec | --exe | --ex)
   1030     ac_prev=exec_prefix ;;
   1031   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1032   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1033   | --exec=* | --exe=* | --ex=*)
   1034     exec_prefix=$ac_optarg ;;
   1035 
   1036   -gas | --gas | --ga | --g)
   1037     # Obsolete; use --with-gas.
   1038     with_gas=yes ;;
   1039 
   1040   -help | --help | --hel | --he | -h)
   1041     ac_init_help=long ;;
   1042   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1043     ac_init_help=recursive ;;
   1044   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1045     ac_init_help=short ;;
   1046 
   1047   -host | --host | --hos | --ho)
   1048     ac_prev=host_alias ;;
   1049   -host=* | --host=* | --hos=* | --ho=*)
   1050     host_alias=$ac_optarg ;;
   1051 
   1052   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1053     ac_prev=htmldir ;;
   1054   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1055   | --ht=*)
   1056     htmldir=$ac_optarg ;;
   1057 
   1058   -includedir | --includedir | --includedi | --included | --include \
   1059   | --includ | --inclu | --incl | --inc)
   1060     ac_prev=includedir ;;
   1061   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1062   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1063     includedir=$ac_optarg ;;
   1064 
   1065   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1066     ac_prev=infodir ;;
   1067   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1068     infodir=$ac_optarg ;;
   1069 
   1070   -libdir | --libdir | --libdi | --libd)
   1071     ac_prev=libdir ;;
   1072   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1073     libdir=$ac_optarg ;;
   1074 
   1075   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1076   | --libexe | --libex | --libe)
   1077     ac_prev=libexecdir ;;
   1078   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1079   | --libexe=* | --libex=* | --libe=*)
   1080     libexecdir=$ac_optarg ;;
   1081 
   1082   -localedir | --localedir | --localedi | --localed | --locale)
   1083     ac_prev=localedir ;;
   1084   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1085     localedir=$ac_optarg ;;
   1086 
   1087   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1088   | --localstate | --localstat | --localsta | --localst | --locals)
   1089     ac_prev=localstatedir ;;
   1090   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1091   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1092     localstatedir=$ac_optarg ;;
   1093 
   1094   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1095     ac_prev=mandir ;;
   1096   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1097     mandir=$ac_optarg ;;
   1098 
   1099   -nfp | --nfp | --nf)
   1100     # Obsolete; use --without-fp.
   1101     with_fp=no ;;
   1102 
   1103   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1104   | --no-cr | --no-c | -n)
   1105     no_create=yes ;;
   1106 
   1107   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1108   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1109     no_recursion=yes ;;
   1110 
   1111   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1112   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1113   | --oldin | --oldi | --old | --ol | --o)
   1114     ac_prev=oldincludedir ;;
   1115   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1116   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1117   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1118     oldincludedir=$ac_optarg ;;
   1119 
   1120   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1121     ac_prev=prefix ;;
   1122   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1123     prefix=$ac_optarg ;;
   1124 
   1125   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1126   | --program-pre | --program-pr | --program-p)
   1127     ac_prev=program_prefix ;;
   1128   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1129   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1130     program_prefix=$ac_optarg ;;
   1131 
   1132   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1133   | --program-suf | --program-su | --program-s)
   1134     ac_prev=program_suffix ;;
   1135   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1136   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1137     program_suffix=$ac_optarg ;;
   1138 
   1139   -program-transform-name | --program-transform-name \
   1140   | --program-transform-nam | --program-transform-na \
   1141   | --program-transform-n | --program-transform- \
   1142   | --program-transform | --program-transfor \
   1143   | --program-transfo | --program-transf \
   1144   | --program-trans | --program-tran \
   1145   | --progr-tra | --program-tr | --program-t)
   1146     ac_prev=program_transform_name ;;
   1147   -program-transform-name=* | --program-transform-name=* \
   1148   | --program-transform-nam=* | --program-transform-na=* \
   1149   | --program-transform-n=* | --program-transform-=* \
   1150   | --program-transform=* | --program-transfor=* \
   1151   | --program-transfo=* | --program-transf=* \
   1152   | --program-trans=* | --program-tran=* \
   1153   | --progr-tra=* | --program-tr=* | --program-t=*)
   1154     program_transform_name=$ac_optarg ;;
   1155 
   1156   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1157     ac_prev=pdfdir ;;
   1158   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1159     pdfdir=$ac_optarg ;;
   1160 
   1161   -psdir | --psdir | --psdi | --psd | --ps)
   1162     ac_prev=psdir ;;
   1163   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1164     psdir=$ac_optarg ;;
   1165 
   1166   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1167   | -silent | --silent | --silen | --sile | --sil)
   1168     silent=yes ;;
   1169 
   1170   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1171     ac_prev=sbindir ;;
   1172   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1173   | --sbi=* | --sb=*)
   1174     sbindir=$ac_optarg ;;
   1175 
   1176   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1177   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1178   | --sharedst | --shareds | --shared | --share | --shar \
   1179   | --sha | --sh)
   1180     ac_prev=sharedstatedir ;;
   1181   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1182   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1183   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1184   | --sha=* | --sh=*)
   1185     sharedstatedir=$ac_optarg ;;
   1186 
   1187   -site | --site | --sit)
   1188     ac_prev=site ;;
   1189   -site=* | --site=* | --sit=*)
   1190     site=$ac_optarg ;;
   1191 
   1192   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1193     ac_prev=srcdir ;;
   1194   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1195     srcdir=$ac_optarg ;;
   1196 
   1197   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1198   | --syscon | --sysco | --sysc | --sys | --sy)
   1199     ac_prev=sysconfdir ;;
   1200   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1201   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1202     sysconfdir=$ac_optarg ;;
   1203 
   1204   -target | --target | --targe | --targ | --tar | --ta | --t)
   1205     ac_prev=target_alias ;;
   1206   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1207     target_alias=$ac_optarg ;;
   1208 
   1209   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1210     verbose=yes ;;
   1211 
   1212   -version | --version | --versio | --versi | --vers | -V)
   1213     ac_init_version=: ;;
   1214 
   1215   -with-* | --with-*)
   1216     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1217     # Reject names that are not valid shell variable names.
   1218     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1219       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1220    { (exit 1); exit 1; }; }
   1221     ac_package=`echo $ac_package| sed 's/-/_/g'`
   1222     eval with_$ac_package=\$ac_optarg ;;
   1223 
   1224   -without-* | --without-*)
   1225     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1226     # Reject names that are not valid shell variable names.
   1227     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1228       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1229    { (exit 1); exit 1; }; }
   1230     ac_package=`echo $ac_package | sed 's/-/_/g'`
   1231     eval with_$ac_package=no ;;
   1232 
   1233   --x)
   1234     # Obsolete; use --with-x.
   1235     with_x=yes ;;
   1236 
   1237   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1238   | --x-incl | --x-inc | --x-in | --x-i)
   1239     ac_prev=x_includes ;;
   1240   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1241   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1242     x_includes=$ac_optarg ;;
   1243 
   1244   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1245   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1246     ac_prev=x_libraries ;;
   1247   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1248   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1249     x_libraries=$ac_optarg ;;
   1250 
   1251   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1252 Try \`$0 --help' for more information." >&2
   1253    { (exit 1); exit 1; }; }
   1254     ;;
   1255 
   1256   *=*)
   1257     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1258     # Reject names that are not valid shell variable names.
   1259     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1260       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1261    { (exit 1); exit 1; }; }
   1262     eval $ac_envvar=\$ac_optarg
   1263     export $ac_envvar ;;
   1264 
   1265   *)
   1266     # FIXME: should be removed in autoconf 3.0.
   1267     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1268     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1269       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1270     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1271     ;;
   1272 
   1273   esac
   1274 done
   1275 
   1276 if test -n "$ac_prev"; then
   1277   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1278   { echo "$as_me: error: missing argument to $ac_option" >&2
   1279    { (exit 1); exit 1; }; }
   1280 fi
   1281 
   1282 # Be sure to have absolute directory names.
   1283 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1284 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1285 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1286 		libdir localedir mandir
   1287 do
   1288   eval ac_val=\$$ac_var
   1289   case $ac_val in
   1290     [\\/$]* | ?:[\\/]* )  continue;;
   1291     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1292   esac
   1293   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1294    { (exit 1); exit 1; }; }
   1295 done
   1296 
   1297 # There might be people who depend on the old broken behavior: `$host'
   1298 # used to hold the argument of --host etc.
   1299 # FIXME: To remove some day.
   1300 build=$build_alias
   1301 host=$host_alias
   1302 target=$target_alias
   1303 
   1304 # FIXME: To remove some day.
   1305 if test "x$host_alias" != x; then
   1306   if test "x$build_alias" = x; then
   1307     cross_compiling=maybe
   1308     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1309     If a cross compiler is detected then cross compile mode will be used." >&2
   1310   elif test "x$build_alias" != "x$host_alias"; then
   1311     cross_compiling=yes
   1312   fi
   1313 fi
   1314 
   1315 ac_tool_prefix=
   1316 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1317 
   1318 test "$silent" = yes && exec 6>/dev/null
   1319 
   1320 
   1321 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1322 ac_ls_di=`ls -di .` &&
   1323 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1324   { echo "$as_me: error: Working directory cannot be determined" >&2
   1325    { (exit 1); exit 1; }; }
   1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1327   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1328    { (exit 1); exit 1; }; }
   1329 
   1330 
   1331 # Find the source files, if location was not specified.
   1332 if test -z "$srcdir"; then
   1333   ac_srcdir_defaulted=yes
   1334   # Try the directory containing this script, then the parent directory.
   1335   ac_confdir=`$as_dirname -- "$0" ||
   1336 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1337 	 X"$0" : 'X\(//\)[^/]' \| \
   1338 	 X"$0" : 'X\(//\)$' \| \
   1339 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1340 echo X"$0" |
   1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)[^/].*/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\/\)$/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  /^X\(\/\).*/{
   1354 	    s//\1/
   1355 	    q
   1356 	  }
   1357 	  s/.*/./; q'`
   1358   srcdir=$ac_confdir
   1359   if test ! -r "$srcdir/$ac_unique_file"; then
   1360     srcdir=..
   1361   fi
   1362 else
   1363   ac_srcdir_defaulted=no
   1364 fi
   1365 if test ! -r "$srcdir/$ac_unique_file"; then
   1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1367   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1368    { (exit 1); exit 1; }; }
   1369 fi
   1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1371 ac_abs_confdir=`(
   1372 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1373    { (exit 1); exit 1; }; }
   1374 	pwd)`
   1375 # When building in place, set srcdir=.
   1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1377   srcdir=.
   1378 fi
   1379 # Remove unnecessary trailing slashes from srcdir.
   1380 # Double slashes in file names in object file debugging info
   1381 # mess up M-x gdb in Emacs.
   1382 case $srcdir in
   1383 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1384 esac
   1385 for ac_var in $ac_precious_vars; do
   1386   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_env_${ac_var}_value=\$${ac_var}
   1388   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1389   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1390 done
   1391 
   1392 #
   1393 # Report the --help message.
   1394 #
   1395 if test "$ac_init_help" = "long"; then
   1396   # Omit some internal or obsolete options to make the list less imposing.
   1397   # This message is too long to be a string in the A/UX 3.1 sh.
   1398   cat <<_ACEOF
   1399 \`configure' configures xf86-video-trident 1.2.3 to adapt to many kinds of systems.
   1400 
   1401 Usage: $0 [OPTION]... [VAR=VALUE]...
   1402 
   1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1404 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1405 
   1406 Defaults for the options are specified in brackets.
   1407 
   1408 Configuration:
   1409   -h, --help              display this help and exit
   1410       --help=short        display options specific to this package
   1411       --help=recursive    display the short help of all the included packages
   1412   -V, --version           display version information and exit
   1413   -q, --quiet, --silent   do not print \`checking...' messages
   1414       --cache-file=FILE   cache test results in FILE [disabled]
   1415   -C, --config-cache      alias for \`--cache-file=config.cache'
   1416   -n, --no-create         do not create output files
   1417       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1418 
   1419 Installation directories:
   1420   --prefix=PREFIX         install architecture-independent files in PREFIX
   1421 			  [$ac_default_prefix]
   1422   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1423 			  [PREFIX]
   1424 
   1425 By default, \`make install' will install all the files in
   1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1428 for instance \`--prefix=\$HOME'.
   1429 
   1430 For better control, use the options below.
   1431 
   1432 Fine tuning of the installation directories:
   1433   --bindir=DIR           user executables [EPREFIX/bin]
   1434   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1435   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1436   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1437   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1438   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1439   --libdir=DIR           object code libraries [EPREFIX/lib]
   1440   --includedir=DIR       C header files [PREFIX/include]
   1441   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1442   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1443   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1444   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1445   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1446   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1447   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-trident]
   1448   --htmldir=DIR          html documentation [DOCDIR]
   1449   --dvidir=DIR           dvi documentation [DOCDIR]
   1450   --pdfdir=DIR           pdf documentation [DOCDIR]
   1451   --psdir=DIR            ps documentation [DOCDIR]
   1452 _ACEOF
   1453 
   1454   cat <<\_ACEOF
   1455 
   1456 Program names:
   1457   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1458   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1459   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1460 
   1461 System types:
   1462   --build=BUILD     configure for building on BUILD [guessed]
   1463   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1464 _ACEOF
   1465 fi
   1466 
   1467 if test -n "$ac_init_help"; then
   1468   case $ac_init_help in
   1469      short | recursive ) echo "Configuration of xf86-video-trident 1.2.3:";;
   1470    esac
   1471   cat <<\_ACEOF
   1472 
   1473 Optional Features:
   1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1476   --enable-maintainer-mode  enable make rules and dependencies not useful
   1477 			  (and sometimes confusing) to the casual installer
   1478   --enable-static[=PKGS]  build static libraries [default=no]
   1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1480   --enable-fast-install[=PKGS]
   1481                           optimize for fast installation [default=yes]
   1482   --disable-dependency-tracking  speeds up one-time build
   1483   --enable-dependency-tracking   do not reject slow dependency extractors
   1484   --disable-libtool-lock  avoid locking (might break parallel builds)
   1485 
   1486 Optional Packages:
   1487   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1488   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1489   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1490   --with-pic              try to use only PIC/non-PIC objects [default=use
   1491                           both]
   1492   --with-tags[=TAGS]      include additional configurations [automatic]
   1493   --with-xorg-module-dir=DIR
   1494                           Default xorg module directory
   1495                           [default=$libdir/xorg/modules]
   1496   --with-release-version=STRING
   1497                           Use release version string in package name
   1498 
   1499 Some influential environment variables:
   1500   CC          C compiler command
   1501   CFLAGS      C compiler flags
   1502   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1503               nonstandard directory <lib dir>
   1504   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1505               you have headers in a nonstandard directory <include dir>
   1506   CPP         C preprocessor
   1507   CXX         C++ compiler command
   1508   CXXFLAGS    C++ compiler flags
   1509   CXXCPP      C++ preprocessor
   1510   F77         Fortran 77 compiler command
   1511   FFLAGS      Fortran 77 compiler flags
   1512   PKG_CONFIG  path to pkg-config utility
   1513   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1514   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1515 
   1516 Use these variables to override the choices made by `configure' or to help
   1517 it to find libraries and programs with nonstandard names/locations.
   1518 
   1519 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1520 _ACEOF
   1521 ac_status=$?
   1522 fi
   1523 
   1524 if test "$ac_init_help" = "recursive"; then
   1525   # If there are subdirs, report their specific --help.
   1526   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1527     test -d "$ac_dir" || continue
   1528     ac_builddir=.
   1529 
   1530 case "$ac_dir" in
   1531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1532 *)
   1533   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1534   # A ".." for each directory in $ac_dir_suffix.
   1535   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1536   case $ac_top_builddir_sub in
   1537   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1538   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1539   esac ;;
   1540 esac
   1541 ac_abs_top_builddir=$ac_pwd
   1542 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1543 # for backward compatibility:
   1544 ac_top_builddir=$ac_top_build_prefix
   1545 
   1546 case $srcdir in
   1547   .)  # We are building in place.
   1548     ac_srcdir=.
   1549     ac_top_srcdir=$ac_top_builddir_sub
   1550     ac_abs_top_srcdir=$ac_pwd ;;
   1551   [\\/]* | ?:[\\/]* )  # Absolute name.
   1552     ac_srcdir=$srcdir$ac_dir_suffix;
   1553     ac_top_srcdir=$srcdir
   1554     ac_abs_top_srcdir=$srcdir ;;
   1555   *) # Relative name.
   1556     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1557     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1558     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1559 esac
   1560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1561 
   1562     cd "$ac_dir" || { ac_status=$?; continue; }
   1563     # Check for guested configure.
   1564     if test -f "$ac_srcdir/configure.gnu"; then
   1565       echo &&
   1566       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1567     elif test -f "$ac_srcdir/configure"; then
   1568       echo &&
   1569       $SHELL "$ac_srcdir/configure" --help=recursive
   1570     else
   1571       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1572     fi || ac_status=$?
   1573     cd "$ac_pwd" || { ac_status=$?; break; }
   1574   done
   1575 fi
   1576 
   1577 test -n "$ac_init_help" && exit $ac_status
   1578 if $ac_init_version; then
   1579   cat <<\_ACEOF
   1580 xf86-video-trident configure 1.2.3
   1581 generated by GNU Autoconf 2.60
   1582 
   1583 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1584 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1585 This configure script is free software; the Free Software Foundation
   1586 gives unlimited permission to copy, distribute and modify it.
   1587 _ACEOF
   1588   exit
   1589 fi
   1590 cat >config.log <<_ACEOF
   1591 This file contains any messages produced by compilers while
   1592 running configure, to aid debugging if configure makes a mistake.
   1593 
   1594 It was created by xf86-video-trident $as_me 1.2.3, which was
   1595 generated by GNU Autoconf 2.60.  Invocation command line was
   1596 
   1597   $ $0 $@
   1598 
   1599 _ACEOF
   1600 exec 5>>config.log
   1601 {
   1602 cat <<_ASUNAME
   1603 ## --------- ##
   1604 ## Platform. ##
   1605 ## --------- ##
   1606 
   1607 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1608 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1609 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1610 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1611 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1612 
   1613 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1614 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1615 
   1616 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1617 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1618 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1619 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1620 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1621 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1622 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1623 
   1624 _ASUNAME
   1625 
   1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1627 for as_dir in $PATH
   1628 do
   1629   IFS=$as_save_IFS
   1630   test -z "$as_dir" && as_dir=.
   1631   echo "PATH: $as_dir"
   1632 done
   1633 IFS=$as_save_IFS
   1634 
   1635 } >&5
   1636 
   1637 cat >&5 <<_ACEOF
   1638 
   1639 
   1640 ## ----------- ##
   1641 ## Core tests. ##
   1642 ## ----------- ##
   1643 
   1644 _ACEOF
   1645 
   1646 
   1647 # Keep a trace of the command line.
   1648 # Strip out --no-create and --no-recursion so they do not pile up.
   1649 # Strip out --silent because we don't want to record it for future runs.
   1650 # Also quote any args containing shell meta-characters.
   1651 # Make two passes to allow for proper duplicate-argument suppression.
   1652 ac_configure_args=
   1653 ac_configure_args0=
   1654 ac_configure_args1=
   1655 ac_must_keep_next=false
   1656 for ac_pass in 1 2
   1657 do
   1658   for ac_arg
   1659   do
   1660     case $ac_arg in
   1661     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1662     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1663     | -silent | --silent | --silen | --sile | --sil)
   1664       continue ;;
   1665     *\'*)
   1666       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1667     esac
   1668     case $ac_pass in
   1669     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1670     2)
   1671       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1672       if test $ac_must_keep_next = true; then
   1673 	ac_must_keep_next=false # Got value, back to normal.
   1674       else
   1675 	case $ac_arg in
   1676 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1677 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1678 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1679 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1680 	    case "$ac_configure_args0 " in
   1681 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1682 	    esac
   1683 	    ;;
   1684 	  -* ) ac_must_keep_next=true ;;
   1685 	esac
   1686       fi
   1687       ac_configure_args="$ac_configure_args '$ac_arg'"
   1688       ;;
   1689     esac
   1690   done
   1691 done
   1692 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1693 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1694 
   1695 # When interrupted or exit'd, cleanup temporary files, and complete
   1696 # config.log.  We remove comments because anyway the quotes in there
   1697 # would cause problems or look ugly.
   1698 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1699 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1700 trap 'exit_status=$?
   1701   # Save into config.log some information that might help in debugging.
   1702   {
   1703     echo
   1704 
   1705     cat <<\_ASBOX
   1706 ## ---------------- ##
   1707 ## Cache variables. ##
   1708 ## ---------------- ##
   1709 _ASBOX
   1710     echo
   1711     # The following way of writing the cache mishandles newlines in values,
   1712 (
   1713   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1714     eval ac_val=\$$ac_var
   1715     case $ac_val in #(
   1716     *${as_nl}*)
   1717       case $ac_var in #(
   1718       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1719 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1720       esac
   1721       case $ac_var in #(
   1722       _ | IFS | as_nl) ;; #(
   1723       *) $as_unset $ac_var ;;
   1724       esac ;;
   1725     esac
   1726   done
   1727   (set) 2>&1 |
   1728     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1729     *${as_nl}ac_space=\ *)
   1730       sed -n \
   1731 	"s/'\''/'\''\\\\'\'''\''/g;
   1732 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1733       ;; #(
   1734     *)
   1735       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1736       ;;
   1737     esac |
   1738     sort
   1739 )
   1740     echo
   1741 
   1742     cat <<\_ASBOX
   1743 ## ----------------- ##
   1744 ## Output variables. ##
   1745 ## ----------------- ##
   1746 _ASBOX
   1747     echo
   1748     for ac_var in $ac_subst_vars
   1749     do
   1750       eval ac_val=\$$ac_var
   1751       case $ac_val in
   1752       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1753       esac
   1754       echo "$ac_var='\''$ac_val'\''"
   1755     done | sort
   1756     echo
   1757 
   1758     if test -n "$ac_subst_files"; then
   1759       cat <<\_ASBOX
   1760 ## ------------------- ##
   1761 ## File substitutions. ##
   1762 ## ------------------- ##
   1763 _ASBOX
   1764       echo
   1765       for ac_var in $ac_subst_files
   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     fi
   1775 
   1776     if test -s confdefs.h; then
   1777       cat <<\_ASBOX
   1778 ## ----------- ##
   1779 ## confdefs.h. ##
   1780 ## ----------- ##
   1781 _ASBOX
   1782       echo
   1783       cat confdefs.h
   1784       echo
   1785     fi
   1786     test "$ac_signal" != 0 &&
   1787       echo "$as_me: caught signal $ac_signal"
   1788     echo "$as_me: exit $exit_status"
   1789   } >&5
   1790   rm -f core *.core core.conftest.* &&
   1791     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1792     exit $exit_status
   1793 ' 0
   1794 for ac_signal in 1 2 13 15; do
   1795   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1796 done
   1797 ac_signal=0
   1798 
   1799 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1800 rm -f -r conftest* confdefs.h
   1801 
   1802 # Predefined preprocessor variables.
   1803 
   1804 cat >>confdefs.h <<_ACEOF
   1805 #define PACKAGE_NAME "$PACKAGE_NAME"
   1806 _ACEOF
   1807 
   1808 
   1809 cat >>confdefs.h <<_ACEOF
   1810 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1811 _ACEOF
   1812 
   1813 
   1814 cat >>confdefs.h <<_ACEOF
   1815 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1816 _ACEOF
   1817 
   1818 
   1819 cat >>confdefs.h <<_ACEOF
   1820 #define PACKAGE_STRING "$PACKAGE_STRING"
   1821 _ACEOF
   1822 
   1823 
   1824 cat >>confdefs.h <<_ACEOF
   1825 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1826 _ACEOF
   1827 
   1828 
   1829 # Let the site file select an alternate cache file if it wants to.
   1830 # Prefer explicitly selected file to automatically selected ones.
   1831 if test -n "$CONFIG_SITE"; then
   1832   set x "$CONFIG_SITE"
   1833 elif test "x$prefix" != xNONE; then
   1834   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1835 else
   1836   set x "$ac_default_prefix/share/config.site" \
   1837 	"$ac_default_prefix/etc/config.site"
   1838 fi
   1839 shift
   1840 for ac_site_file
   1841 do
   1842   if test -r "$ac_site_file"; then
   1843     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1844 echo "$as_me: loading site script $ac_site_file" >&6;}
   1845     sed 's/^/| /' "$ac_site_file" >&5
   1846     . "$ac_site_file"
   1847   fi
   1848 done
   1849 
   1850 if test -r "$cache_file"; then
   1851   # Some versions of bash will fail to source /dev/null (special
   1852   # files actually), so we avoid doing that.
   1853   if test -f "$cache_file"; then
   1854     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1855 echo "$as_me: loading cache $cache_file" >&6;}
   1856     case $cache_file in
   1857       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1858       *)                      . "./$cache_file";;
   1859     esac
   1860   fi
   1861 else
   1862   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1863 echo "$as_me: creating cache $cache_file" >&6;}
   1864   >$cache_file
   1865 fi
   1866 
   1867 # Check that the precious variables saved in the cache have kept the same
   1868 # value.
   1869 ac_cache_corrupted=false
   1870 for ac_var in $ac_precious_vars; do
   1871   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1872   eval ac_new_set=\$ac_env_${ac_var}_set
   1873   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1874   eval ac_new_val=\$ac_env_${ac_var}_value
   1875   case $ac_old_set,$ac_new_set in
   1876     set,)
   1877       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1878 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1879       ac_cache_corrupted=: ;;
   1880     ,set)
   1881       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1882 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1883       ac_cache_corrupted=: ;;
   1884     ,);;
   1885     *)
   1886       if test "x$ac_old_val" != "x$ac_new_val"; then
   1887 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1888 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1889 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1890 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1891 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1892 echo "$as_me:   current value: $ac_new_val" >&2;}
   1893 	ac_cache_corrupted=:
   1894       fi;;
   1895   esac
   1896   # Pass precious variables to config.status.
   1897   if test "$ac_new_set" = set; then
   1898     case $ac_new_val in
   1899     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1900     *) ac_arg=$ac_var=$ac_new_val ;;
   1901     esac
   1902     case " $ac_configure_args " in
   1903       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1904       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1905     esac
   1906   fi
   1907 done
   1908 if $ac_cache_corrupted; then
   1909   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1910 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1911   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1912 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1913    { (exit 1); exit 1; }; }
   1914 fi
   1915 
   1916 
   1917 
   1918 
   1919 
   1920 
   1921 
   1922 
   1923 
   1924 
   1925 
   1926 
   1927 
   1928 
   1929 
   1930 
   1931 
   1932 
   1933 
   1934 
   1935 
   1936 
   1937 
   1938 
   1939 
   1940 ac_ext=c
   1941 ac_cpp='$CPP $CPPFLAGS'
   1942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1945 
   1946 
   1947 
   1948 
   1949 ac_config_headers="$ac_config_headers config.h"
   1950 
   1951 ac_aux_dir=
   1952 for ac_dir in . "$srcdir"/.; do
   1953   if test -f "$ac_dir/install-sh"; then
   1954     ac_aux_dir=$ac_dir
   1955     ac_install_sh="$ac_aux_dir/install-sh -c"
   1956     break
   1957   elif test -f "$ac_dir/install.sh"; then
   1958     ac_aux_dir=$ac_dir
   1959     ac_install_sh="$ac_aux_dir/install.sh -c"
   1960     break
   1961   elif test -f "$ac_dir/shtool"; then
   1962     ac_aux_dir=$ac_dir
   1963     ac_install_sh="$ac_aux_dir/shtool install -c"
   1964     break
   1965   fi
   1966 done
   1967 if test -z "$ac_aux_dir"; then
   1968   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   1969 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   1970    { (exit 1); exit 1; }; }
   1971 fi
   1972 
   1973 # These three variables are undocumented and unsupported,
   1974 # and are intended to be withdrawn in a future Autoconf release.
   1975 # They can cause serious problems if a builder's source tree is in a directory
   1976 # whose full name contains unusual characters.
   1977 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1978 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1979 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1980 
   1981 
   1982 
   1983 am__api_version="1.9"
   1984 # Find a good install program.  We prefer a C program (faster),
   1985 # so one script is as good as another.  But avoid the broken or
   1986 # incompatible versions:
   1987 # SysV /etc/install, /usr/sbin/install
   1988 # SunOS /usr/etc/install
   1989 # IRIX /sbin/install
   1990 # AIX /bin/install
   1991 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1992 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1993 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1994 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1995 # OS/2's system install, which has a completely different semantic
   1996 # ./install, which can be erroneously created by make from ./install.sh.
   1997 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1998 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   1999 if test -z "$INSTALL"; then
   2000 if test "${ac_cv_path_install+set}" = set; then
   2001   echo $ECHO_N "(cached) $ECHO_C" >&6
   2002 else
   2003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2004 for as_dir in $PATH
   2005 do
   2006   IFS=$as_save_IFS
   2007   test -z "$as_dir" && as_dir=.
   2008   # Account for people who put trailing slashes in PATH elements.
   2009 case $as_dir/ in
   2010   ./ | .// | /cC/* | \
   2011   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2012   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2013   /usr/ucb/* ) ;;
   2014   *)
   2015     # OSF1 and SCO ODT 3.0 have their own names for install.
   2016     # Don't use installbsd from OSF since it installs stuff as root
   2017     # by default.
   2018     for ac_prog in ginstall scoinst install; do
   2019       for ac_exec_ext in '' $ac_executable_extensions; do
   2020 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2021 	  if test $ac_prog = install &&
   2022 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2023 	    # AIX install.  It has an incompatible calling convention.
   2024 	    :
   2025 	  elif test $ac_prog = install &&
   2026 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2027 	    # program-specific install script used by HP pwplus--don't use.
   2028 	    :
   2029 	  else
   2030 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2031 	    break 3
   2032 	  fi
   2033 	fi
   2034       done
   2035     done
   2036     ;;
   2037 esac
   2038 done
   2039 IFS=$as_save_IFS
   2040 
   2041 
   2042 fi
   2043   if test "${ac_cv_path_install+set}" = set; then
   2044     INSTALL=$ac_cv_path_install
   2045   else
   2046     # As a last resort, use the slow shell script.  Don't cache a
   2047     # value for INSTALL within a source directory, because that will
   2048     # break other packages using the cache if that directory is
   2049     # removed, or if the value is a relative name.
   2050     INSTALL=$ac_install_sh
   2051   fi
   2052 fi
   2053 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2054 echo "${ECHO_T}$INSTALL" >&6; }
   2055 
   2056 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2057 # It thinks the first close brace ends the variable substitution.
   2058 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2059 
   2060 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2061 
   2062 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2063 
   2064 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2065 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2066 # Just in case
   2067 sleep 1
   2068 echo timestamp > conftest.file
   2069 # Do `set' in a subshell so we don't clobber the current shell's
   2070 # arguments.  Must try -L first in case configure is actually a
   2071 # symlink; some systems play weird games with the mod time of symlinks
   2072 # (eg FreeBSD returns the mod time of the symlink's containing
   2073 # directory).
   2074 if (
   2075    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2076    if test "$*" = "X"; then
   2077       # -L didn't work.
   2078       set X `ls -t $srcdir/configure conftest.file`
   2079    fi
   2080    rm -f conftest.file
   2081    if test "$*" != "X $srcdir/configure conftest.file" \
   2082       && test "$*" != "X conftest.file $srcdir/configure"; then
   2083 
   2084       # If neither matched, then we have a broken ls.  This can happen
   2085       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2086       # broken ls alias from the environment.  This has actually
   2087       # happened.  Such a system could not be considered "sane".
   2088       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2089 alias in your environment" >&5
   2090 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2091 alias in your environment" >&2;}
   2092    { (exit 1); exit 1; }; }
   2093    fi
   2094 
   2095    test "$2" = conftest.file
   2096    )
   2097 then
   2098    # Ok.
   2099    :
   2100 else
   2101    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2102 Check your system clock" >&5
   2103 echo "$as_me: error: newly created file is older than distributed files!
   2104 Check your system clock" >&2;}
   2105    { (exit 1); exit 1; }; }
   2106 fi
   2107 { echo "$as_me:$LINENO: result: yes" >&5
   2108 echo "${ECHO_T}yes" >&6; }
   2109 test "$program_prefix" != NONE &&
   2110   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2111 # Use a double $ so make ignores it.
   2112 test "$program_suffix" != NONE &&
   2113   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2114 # Double any \ or $.  echo might interpret backslashes.
   2115 # By default was `s,x,x', remove it if useless.
   2116 cat <<\_ACEOF >conftest.sed
   2117 s/[\\$]/&&/g;s/;s,x,x,$//
   2118 _ACEOF
   2119 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2120 rm -f conftest.sed
   2121 
   2122 # expand $ac_aux_dir to an absolute path
   2123 am_aux_dir=`cd $ac_aux_dir && pwd`
   2124 
   2125 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2126 # Use eval to expand $SHELL
   2127 if eval "$MISSING --run true"; then
   2128   am_missing_run="$MISSING --run "
   2129 else
   2130   am_missing_run=
   2131   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2132 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2133 fi
   2134 
   2135 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   2136   # We used to keeping the `.' as first argument, in order to
   2137   # allow $(mkdir_p) to be used without argument.  As in
   2138   #   $(mkdir_p) $(somedir)
   2139   # where $(somedir) is conditionally defined.  However this is wrong
   2140   # for two reasons:
   2141   #  1. if the package is installed by a user who cannot write `.'
   2142   #     make install will fail,
   2143   #  2. the above comment should most certainly read
   2144   #     $(mkdir_p) $(DESTDIR)$(somedir)
   2145   #     so it does not work when $(somedir) is undefined and
   2146   #     $(DESTDIR) is not.
   2147   #  To support the latter case, we have to write
   2148   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   2149   #  so the `.' trick is pointless.
   2150   mkdir_p='mkdir -p --'
   2151 else
   2152   # On NextStep and OpenStep, the `mkdir' command does not
   2153   # recognize any option.  It will interpret all options as
   2154   # directories to create, and then abort because `.' already
   2155   # exists.
   2156   for d in ./-p ./--version;
   2157   do
   2158     test -d $d && rmdir $d
   2159   done
   2160   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   2161   if test -f "$ac_aux_dir/mkinstalldirs"; then
   2162     mkdir_p='$(mkinstalldirs)'
   2163   else
   2164     mkdir_p='$(install_sh) -d'
   2165   fi
   2166 fi
   2167 
   2168 for ac_prog in gawk mawk nawk awk
   2169 do
   2170   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2171 set dummy $ac_prog; ac_word=$2
   2172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2174 if test "${ac_cv_prog_AWK+set}" = set; then
   2175   echo $ECHO_N "(cached) $ECHO_C" >&6
   2176 else
   2177   if test -n "$AWK"; then
   2178   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2179 else
   2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2181 for as_dir in $PATH
   2182 do
   2183   IFS=$as_save_IFS
   2184   test -z "$as_dir" && as_dir=.
   2185   for ac_exec_ext in '' $ac_executable_extensions; do
   2186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2187     ac_cv_prog_AWK="$ac_prog"
   2188     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2189     break 2
   2190   fi
   2191 done
   2192 done
   2193 IFS=$as_save_IFS
   2194 
   2195 fi
   2196 fi
   2197 AWK=$ac_cv_prog_AWK
   2198 if test -n "$AWK"; then
   2199   { echo "$as_me:$LINENO: result: $AWK" >&5
   2200 echo "${ECHO_T}$AWK" >&6; }
   2201 else
   2202   { echo "$as_me:$LINENO: result: no" >&5
   2203 echo "${ECHO_T}no" >&6; }
   2204 fi
   2205 
   2206 
   2207   test -n "$AWK" && break
   2208 done
   2209 
   2210 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2211 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2212 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2213 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2214   echo $ECHO_N "(cached) $ECHO_C" >&6
   2215 else
   2216   cat >conftest.make <<\_ACEOF
   2217 SHELL = /bin/sh
   2218 all:
   2219 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2220 _ACEOF
   2221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2222 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2223   *@@@%%%=?*=@@@%%%*)
   2224     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2225   *)
   2226     eval ac_cv_prog_make_${ac_make}_set=no;;
   2227 esac
   2228 rm -f conftest.make
   2229 fi
   2230 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2231   { echo "$as_me:$LINENO: result: yes" >&5
   2232 echo "${ECHO_T}yes" >&6; }
   2233   SET_MAKE=
   2234 else
   2235   { echo "$as_me:$LINENO: result: no" >&5
   2236 echo "${ECHO_T}no" >&6; }
   2237   SET_MAKE="MAKE=${MAKE-make}"
   2238 fi
   2239 
   2240 rm -rf .tst 2>/dev/null
   2241 mkdir .tst 2>/dev/null
   2242 if test -d .tst; then
   2243   am__leading_dot=.
   2244 else
   2245   am__leading_dot=_
   2246 fi
   2247 rmdir .tst 2>/dev/null
   2248 
   2249 # test to see if srcdir already configured
   2250 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   2251    test -f $srcdir/config.status; then
   2252   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2253 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2254    { (exit 1); exit 1; }; }
   2255 fi
   2256 
   2257 # test whether we have cygpath
   2258 if test -z "$CYGPATH_W"; then
   2259   if (cygpath --version) >/dev/null 2>/dev/null; then
   2260     CYGPATH_W='cygpath -w'
   2261   else
   2262     CYGPATH_W=echo
   2263   fi
   2264 fi
   2265 
   2266 
   2267 # Define the identity of the package.
   2268  PACKAGE='xf86-video-trident'
   2269  VERSION='1.2.3'
   2270 
   2271 
   2272 cat >>confdefs.h <<_ACEOF
   2273 #define PACKAGE "$PACKAGE"
   2274 _ACEOF
   2275 
   2276 
   2277 cat >>confdefs.h <<_ACEOF
   2278 #define VERSION "$VERSION"
   2279 _ACEOF
   2280 
   2281 # Some tools Automake needs.
   2282 
   2283 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2284 
   2285 
   2286 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2287 
   2288 
   2289 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2290 
   2291 
   2292 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2293 
   2294 
   2295 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2296 
   2297 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   2298 
   2299 # Installed binaries are usually stripped using `strip' when the user
   2300 # run `make install-strip'.  However `strip' might not be the right
   2301 # tool to use in cross-compilation environments, therefore Automake
   2302 # will honor the `STRIP' environment variable to overrule this program.
   2303 if test "$cross_compiling" != no; then
   2304   if test -n "$ac_tool_prefix"; then
   2305   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2306 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2309 if test "${ac_cv_prog_STRIP+set}" = set; then
   2310   echo $ECHO_N "(cached) $ECHO_C" >&6
   2311 else
   2312   if test -n "$STRIP"; then
   2313   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2314 else
   2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2316 for as_dir in $PATH
   2317 do
   2318   IFS=$as_save_IFS
   2319   test -z "$as_dir" && as_dir=.
   2320   for ac_exec_ext in '' $ac_executable_extensions; do
   2321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2322     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2324     break 2
   2325   fi
   2326 done
   2327 done
   2328 IFS=$as_save_IFS
   2329 
   2330 fi
   2331 fi
   2332 STRIP=$ac_cv_prog_STRIP
   2333 if test -n "$STRIP"; then
   2334   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2335 echo "${ECHO_T}$STRIP" >&6; }
   2336 else
   2337   { echo "$as_me:$LINENO: result: no" >&5
   2338 echo "${ECHO_T}no" >&6; }
   2339 fi
   2340 
   2341 
   2342 fi
   2343 if test -z "$ac_cv_prog_STRIP"; then
   2344   ac_ct_STRIP=$STRIP
   2345   # Extract the first word of "strip", so it can be a program name with args.
   2346 set dummy strip; ac_word=$2
   2347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2349 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2350   echo $ECHO_N "(cached) $ECHO_C" >&6
   2351 else
   2352   if test -n "$ac_ct_STRIP"; then
   2353   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2354 else
   2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 for as_dir in $PATH
   2357 do
   2358   IFS=$as_save_IFS
   2359   test -z "$as_dir" && as_dir=.
   2360   for ac_exec_ext in '' $ac_executable_extensions; do
   2361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2362     ac_cv_prog_ac_ct_STRIP="strip"
   2363     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2364     break 2
   2365   fi
   2366 done
   2367 done
   2368 IFS=$as_save_IFS
   2369 
   2370 fi
   2371 fi
   2372 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2373 if test -n "$ac_ct_STRIP"; then
   2374   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2375 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2376 else
   2377   { echo "$as_me:$LINENO: result: no" >&5
   2378 echo "${ECHO_T}no" >&6; }
   2379 fi
   2380 
   2381   if test "x$ac_ct_STRIP" = x; then
   2382     STRIP=":"
   2383   else
   2384     case $cross_compiling:$ac_tool_warned in
   2385 yes:)
   2386 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2387 whose name does not start with the host triplet.  If you think this
   2388 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2389 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2390 whose name does not start with the host triplet.  If you think this
   2391 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2392 ac_tool_warned=yes ;;
   2393 esac
   2394     STRIP=$ac_ct_STRIP
   2395   fi
   2396 else
   2397   STRIP="$ac_cv_prog_STRIP"
   2398 fi
   2399 
   2400 fi
   2401 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   2402 
   2403 # We need awk for the "check" target.  The system "awk" is bad on
   2404 # some platforms.
   2405 # Always define AMTAR for backward compatibility.
   2406 
   2407 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2408 
   2409 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2410 
   2411 
   2412 
   2413 
   2414 
   2415 
   2416 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2417 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2418     # Check whether --enable-maintainer-mode was given.
   2419 if test "${enable_maintainer_mode+set}" = set; then
   2420   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2421 else
   2422   USE_MAINTAINER_MODE=no
   2423 fi
   2424 
   2425   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2426 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2427 
   2428 
   2429 if test $USE_MAINTAINER_MODE = yes; then
   2430   MAINTAINER_MODE_TRUE=
   2431   MAINTAINER_MODE_FALSE='#'
   2432 else
   2433   MAINTAINER_MODE_TRUE='#'
   2434   MAINTAINER_MODE_FALSE=
   2435 fi
   2436 
   2437   MAINT=$MAINTAINER_MODE_TRUE
   2438 
   2439 
   2440 
   2441 # Checks for programs.
   2442 # Check whether --enable-static was given.
   2443 if test "${enable_static+set}" = set; then
   2444   enableval=$enable_static; p=${PACKAGE-default}
   2445     case $enableval in
   2446     yes) enable_static=yes ;;
   2447     no) enable_static=no ;;
   2448     *)
   2449      enable_static=no
   2450       # Look at the argument we got.  We use all the common list separators.
   2451       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2452       for pkg in $enableval; do
   2453 	IFS="$lt_save_ifs"
   2454 	if test "X$pkg" = "X$p"; then
   2455 	  enable_static=yes
   2456 	fi
   2457       done
   2458       IFS="$lt_save_ifs"
   2459       ;;
   2460     esac
   2461 else
   2462   enable_static=no
   2463 fi
   2464 
   2465 
   2466 
   2467 # Check whether --enable-shared was given.
   2468 if test "${enable_shared+set}" = set; then
   2469   enableval=$enable_shared; p=${PACKAGE-default}
   2470     case $enableval in
   2471     yes) enable_shared=yes ;;
   2472     no) enable_shared=no ;;
   2473     *)
   2474       enable_shared=no
   2475       # Look at the argument we got.  We use all the common list separators.
   2476       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2477       for pkg in $enableval; do
   2478 	IFS="$lt_save_ifs"
   2479 	if test "X$pkg" = "X$p"; then
   2480 	  enable_shared=yes
   2481 	fi
   2482       done
   2483       IFS="$lt_save_ifs"
   2484       ;;
   2485     esac
   2486 else
   2487   enable_shared=yes
   2488 fi
   2489 
   2490 
   2491 # Check whether --enable-fast-install was given.
   2492 if test "${enable_fast_install+set}" = set; then
   2493   enableval=$enable_fast_install; p=${PACKAGE-default}
   2494     case $enableval in
   2495     yes) enable_fast_install=yes ;;
   2496     no) enable_fast_install=no ;;
   2497     *)
   2498       enable_fast_install=no
   2499       # Look at the argument we got.  We use all the common list separators.
   2500       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2501       for pkg in $enableval; do
   2502 	IFS="$lt_save_ifs"
   2503 	if test "X$pkg" = "X$p"; then
   2504 	  enable_fast_install=yes
   2505 	fi
   2506       done
   2507       IFS="$lt_save_ifs"
   2508       ;;
   2509     esac
   2510 else
   2511   enable_fast_install=yes
   2512 fi
   2513 
   2514 
   2515 # Make sure we can run config.sub.
   2516 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2517   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2518 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2519    { (exit 1); exit 1; }; }
   2520 
   2521 { echo "$as_me:$LINENO: checking build system type" >&5
   2522 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2523 if test "${ac_cv_build+set}" = set; then
   2524   echo $ECHO_N "(cached) $ECHO_C" >&6
   2525 else
   2526   ac_build_alias=$build_alias
   2527 test "x$ac_build_alias" = x &&
   2528   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2529 test "x$ac_build_alias" = x &&
   2530   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2531 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2532    { (exit 1); exit 1; }; }
   2533 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2534   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2535 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2536    { (exit 1); exit 1; }; }
   2537 
   2538 fi
   2539 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2540 echo "${ECHO_T}$ac_cv_build" >&6; }
   2541 case $ac_cv_build in
   2542 *-*-*) ;;
   2543 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2544 echo "$as_me: error: invalid value of canonical build" >&2;}
   2545    { (exit 1); exit 1; }; };;
   2546 esac
   2547 build=$ac_cv_build
   2548 ac_save_IFS=$IFS; IFS='-'
   2549 set x $ac_cv_build
   2550 shift
   2551 build_cpu=$1
   2552 build_vendor=$2
   2553 shift; shift
   2554 # Remember, the first character of IFS is used to create $*,
   2555 # except with old shells:
   2556 build_os=$*
   2557 IFS=$ac_save_IFS
   2558 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2559 
   2560 
   2561 { echo "$as_me:$LINENO: checking host system type" >&5
   2562 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2563 if test "${ac_cv_host+set}" = set; then
   2564   echo $ECHO_N "(cached) $ECHO_C" >&6
   2565 else
   2566   if test "x$host_alias" = x; then
   2567   ac_cv_host=$ac_cv_build
   2568 else
   2569   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2570     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2571 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2572    { (exit 1); exit 1; }; }
   2573 fi
   2574 
   2575 fi
   2576 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2577 echo "${ECHO_T}$ac_cv_host" >&6; }
   2578 case $ac_cv_host in
   2579 *-*-*) ;;
   2580 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2581 echo "$as_me: error: invalid value of canonical host" >&2;}
   2582    { (exit 1); exit 1; }; };;
   2583 esac
   2584 host=$ac_cv_host
   2585 ac_save_IFS=$IFS; IFS='-'
   2586 set x $ac_cv_host
   2587 shift
   2588 host_cpu=$1
   2589 host_vendor=$2
   2590 shift; shift
   2591 # Remember, the first character of IFS is used to create $*,
   2592 # except with old shells:
   2593 host_os=$*
   2594 IFS=$ac_save_IFS
   2595 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2596 
   2597 
   2598 DEPDIR="${am__leading_dot}deps"
   2599 
   2600 ac_config_commands="$ac_config_commands depfiles"
   2601 
   2602 
   2603 am_make=${MAKE-make}
   2604 cat > confinc << 'END'
   2605 am__doit:
   2606 	@echo done
   2607 .PHONY: am__doit
   2608 END
   2609 # If we don't find an include directive, just comment out the code.
   2610 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2611 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2612 am__include="#"
   2613 am__quote=
   2614 _am_result=none
   2615 # First try GNU make style include.
   2616 echo "include confinc" > confmf
   2617 # We grep out `Entering directory' and `Leaving directory'
   2618 # messages which can occur if `w' ends up in MAKEFLAGS.
   2619 # In particular we don't look at `^make:' because GNU make might
   2620 # be invoked under some other name (usually "gmake"), in which
   2621 # case it prints its new name instead of `make'.
   2622 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2623    am__include=include
   2624    am__quote=
   2625    _am_result=GNU
   2626 fi
   2627 # Now try BSD make style include.
   2628 if test "$am__include" = "#"; then
   2629    echo '.include "confinc"' > confmf
   2630    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2631       am__include=.include
   2632       am__quote="\""
   2633       _am_result=BSD
   2634    fi
   2635 fi
   2636 
   2637 
   2638 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2639 echo "${ECHO_T}$_am_result" >&6; }
   2640 rm -f confinc confmf
   2641 
   2642 # Check whether --enable-dependency-tracking was given.
   2643 if test "${enable_dependency_tracking+set}" = set; then
   2644   enableval=$enable_dependency_tracking;
   2645 fi
   2646 
   2647 if test "x$enable_dependency_tracking" != xno; then
   2648   am_depcomp="$ac_aux_dir/depcomp"
   2649   AMDEPBACKSLASH='\'
   2650 fi
   2651 
   2652 
   2653 if test "x$enable_dependency_tracking" != xno; then
   2654   AMDEP_TRUE=
   2655   AMDEP_FALSE='#'
   2656 else
   2657   AMDEP_TRUE='#'
   2658   AMDEP_FALSE=
   2659 fi
   2660 
   2661 
   2662 
   2663 ac_ext=c
   2664 ac_cpp='$CPP $CPPFLAGS'
   2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2668 if test -n "$ac_tool_prefix"; then
   2669   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2670 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2673 if test "${ac_cv_prog_CC+set}" = set; then
   2674   echo $ECHO_N "(cached) $ECHO_C" >&6
   2675 else
   2676   if test -n "$CC"; then
   2677   ac_cv_prog_CC="$CC" # Let the user override the test.
   2678 else
   2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2680 for as_dir in $PATH
   2681 do
   2682   IFS=$as_save_IFS
   2683   test -z "$as_dir" && as_dir=.
   2684   for ac_exec_ext in '' $ac_executable_extensions; do
   2685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2686     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2687     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2688     break 2
   2689   fi
   2690 done
   2691 done
   2692 IFS=$as_save_IFS
   2693 
   2694 fi
   2695 fi
   2696 CC=$ac_cv_prog_CC
   2697 if test -n "$CC"; then
   2698   { echo "$as_me:$LINENO: result: $CC" >&5
   2699 echo "${ECHO_T}$CC" >&6; }
   2700 else
   2701   { echo "$as_me:$LINENO: result: no" >&5
   2702 echo "${ECHO_T}no" >&6; }
   2703 fi
   2704 
   2705 
   2706 fi
   2707 if test -z "$ac_cv_prog_CC"; then
   2708   ac_ct_CC=$CC
   2709   # Extract the first word of "gcc", so it can be a program name with args.
   2710 set dummy gcc; ac_word=$2
   2711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2714   echo $ECHO_N "(cached) $ECHO_C" >&6
   2715 else
   2716   if test -n "$ac_ct_CC"; then
   2717   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2718 else
   2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2720 for as_dir in $PATH
   2721 do
   2722   IFS=$as_save_IFS
   2723   test -z "$as_dir" && as_dir=.
   2724   for ac_exec_ext in '' $ac_executable_extensions; do
   2725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2726     ac_cv_prog_ac_ct_CC="gcc"
   2727     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2728     break 2
   2729   fi
   2730 done
   2731 done
   2732 IFS=$as_save_IFS
   2733 
   2734 fi
   2735 fi
   2736 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2737 if test -n "$ac_ct_CC"; then
   2738   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2739 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2740 else
   2741   { echo "$as_me:$LINENO: result: no" >&5
   2742 echo "${ECHO_T}no" >&6; }
   2743 fi
   2744 
   2745   if test "x$ac_ct_CC" = x; then
   2746     CC=""
   2747   else
   2748     case $cross_compiling:$ac_tool_warned in
   2749 yes:)
   2750 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2751 whose name does not start with the host triplet.  If you think this
   2752 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2753 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2754 whose name does not start with the host triplet.  If you think this
   2755 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2756 ac_tool_warned=yes ;;
   2757 esac
   2758     CC=$ac_ct_CC
   2759   fi
   2760 else
   2761   CC="$ac_cv_prog_CC"
   2762 fi
   2763 
   2764 if test -z "$CC"; then
   2765           if test -n "$ac_tool_prefix"; then
   2766     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2767 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2770 if test "${ac_cv_prog_CC+set}" = set; then
   2771   echo $ECHO_N "(cached) $ECHO_C" >&6
   2772 else
   2773   if test -n "$CC"; then
   2774   ac_cv_prog_CC="$CC" # Let the user override the test.
   2775 else
   2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2777 for as_dir in $PATH
   2778 do
   2779   IFS=$as_save_IFS
   2780   test -z "$as_dir" && as_dir=.
   2781   for ac_exec_ext in '' $ac_executable_extensions; do
   2782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2783     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2784     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2785     break 2
   2786   fi
   2787 done
   2788 done
   2789 IFS=$as_save_IFS
   2790 
   2791 fi
   2792 fi
   2793 CC=$ac_cv_prog_CC
   2794 if test -n "$CC"; then
   2795   { echo "$as_me:$LINENO: result: $CC" >&5
   2796 echo "${ECHO_T}$CC" >&6; }
   2797 else
   2798   { echo "$as_me:$LINENO: result: no" >&5
   2799 echo "${ECHO_T}no" >&6; }
   2800 fi
   2801 
   2802 
   2803   fi
   2804 fi
   2805 if test -z "$CC"; then
   2806   # Extract the first word of "cc", so it can be a program name with args.
   2807 set dummy cc; ac_word=$2
   2808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2810 if test "${ac_cv_prog_CC+set}" = set; then
   2811   echo $ECHO_N "(cached) $ECHO_C" >&6
   2812 else
   2813   if test -n "$CC"; then
   2814   ac_cv_prog_CC="$CC" # Let the user override the test.
   2815 else
   2816   ac_prog_rejected=no
   2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2818 for as_dir in $PATH
   2819 do
   2820   IFS=$as_save_IFS
   2821   test -z "$as_dir" && as_dir=.
   2822   for ac_exec_ext in '' $ac_executable_extensions; do
   2823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2824     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2825        ac_prog_rejected=yes
   2826        continue
   2827      fi
   2828     ac_cv_prog_CC="cc"
   2829     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2830     break 2
   2831   fi
   2832 done
   2833 done
   2834 IFS=$as_save_IFS
   2835 
   2836 if test $ac_prog_rejected = yes; then
   2837   # We found a bogon in the path, so make sure we never use it.
   2838   set dummy $ac_cv_prog_CC
   2839   shift
   2840   if test $# != 0; then
   2841     # We chose a different compiler from the bogus one.
   2842     # However, it has the same basename, so the bogon will be chosen
   2843     # first if we set CC to just the basename; use the full file name.
   2844     shift
   2845     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2846   fi
   2847 fi
   2848 fi
   2849 fi
   2850 CC=$ac_cv_prog_CC
   2851 if test -n "$CC"; then
   2852   { echo "$as_me:$LINENO: result: $CC" >&5
   2853 echo "${ECHO_T}$CC" >&6; }
   2854 else
   2855   { echo "$as_me:$LINENO: result: no" >&5
   2856 echo "${ECHO_T}no" >&6; }
   2857 fi
   2858 
   2859 
   2860 fi
   2861 if test -z "$CC"; then
   2862   if test -n "$ac_tool_prefix"; then
   2863   for ac_prog in cl.exe
   2864   do
   2865     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2866 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2869 if test "${ac_cv_prog_CC+set}" = set; then
   2870   echo $ECHO_N "(cached) $ECHO_C" >&6
   2871 else
   2872   if test -n "$CC"; then
   2873   ac_cv_prog_CC="$CC" # Let the user override the test.
   2874 else
   2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2876 for as_dir in $PATH
   2877 do
   2878   IFS=$as_save_IFS
   2879   test -z "$as_dir" && as_dir=.
   2880   for ac_exec_ext in '' $ac_executable_extensions; do
   2881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2882     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2883     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2884     break 2
   2885   fi
   2886 done
   2887 done
   2888 IFS=$as_save_IFS
   2889 
   2890 fi
   2891 fi
   2892 CC=$ac_cv_prog_CC
   2893 if test -n "$CC"; then
   2894   { echo "$as_me:$LINENO: result: $CC" >&5
   2895 echo "${ECHO_T}$CC" >&6; }
   2896 else
   2897   { echo "$as_me:$LINENO: result: no" >&5
   2898 echo "${ECHO_T}no" >&6; }
   2899 fi
   2900 
   2901 
   2902     test -n "$CC" && break
   2903   done
   2904 fi
   2905 if test -z "$CC"; then
   2906   ac_ct_CC=$CC
   2907   for ac_prog in cl.exe
   2908 do
   2909   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2910 set dummy $ac_prog; ac_word=$2
   2911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2914   echo $ECHO_N "(cached) $ECHO_C" >&6
   2915 else
   2916   if test -n "$ac_ct_CC"; then
   2917   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2918 else
   2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2920 for as_dir in $PATH
   2921 do
   2922   IFS=$as_save_IFS
   2923   test -z "$as_dir" && as_dir=.
   2924   for ac_exec_ext in '' $ac_executable_extensions; do
   2925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2926     ac_cv_prog_ac_ct_CC="$ac_prog"
   2927     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2928     break 2
   2929   fi
   2930 done
   2931 done
   2932 IFS=$as_save_IFS
   2933 
   2934 fi
   2935 fi
   2936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2937 if test -n "$ac_ct_CC"; then
   2938   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2939 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2940 else
   2941   { echo "$as_me:$LINENO: result: no" >&5
   2942 echo "${ECHO_T}no" >&6; }
   2943 fi
   2944 
   2945 
   2946   test -n "$ac_ct_CC" && break
   2947 done
   2948 
   2949   if test "x$ac_ct_CC" = x; then
   2950     CC=""
   2951   else
   2952     case $cross_compiling:$ac_tool_warned in
   2953 yes:)
   2954 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2955 whose name does not start with the host triplet.  If you think this
   2956 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2957 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2958 whose name does not start with the host triplet.  If you think this
   2959 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2960 ac_tool_warned=yes ;;
   2961 esac
   2962     CC=$ac_ct_CC
   2963   fi
   2964 fi
   2965 
   2966 fi
   2967 
   2968 
   2969 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2970 See \`config.log' for more details." >&5
   2971 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2972 See \`config.log' for more details." >&2;}
   2973    { (exit 1); exit 1; }; }
   2974 
   2975 # Provide some information about the compiler.
   2976 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2977 ac_compiler=`set X $ac_compile; echo $2`
   2978 { (ac_try="$ac_compiler --version >&5"
   2979 case "(($ac_try" in
   2980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2981   *) ac_try_echo=$ac_try;;
   2982 esac
   2983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2984   (eval "$ac_compiler --version >&5") 2>&5
   2985   ac_status=$?
   2986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2987   (exit $ac_status); }
   2988 { (ac_try="$ac_compiler -v >&5"
   2989 case "(($ac_try" in
   2990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2991   *) ac_try_echo=$ac_try;;
   2992 esac
   2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2994   (eval "$ac_compiler -v >&5") 2>&5
   2995   ac_status=$?
   2996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2997   (exit $ac_status); }
   2998 { (ac_try="$ac_compiler -V >&5"
   2999 case "(($ac_try" in
   3000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3001   *) ac_try_echo=$ac_try;;
   3002 esac
   3003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3004   (eval "$ac_compiler -V >&5") 2>&5
   3005   ac_status=$?
   3006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3007   (exit $ac_status); }
   3008 
   3009 cat >conftest.$ac_ext <<_ACEOF
   3010 /* confdefs.h.  */
   3011 _ACEOF
   3012 cat confdefs.h >>conftest.$ac_ext
   3013 cat >>conftest.$ac_ext <<_ACEOF
   3014 /* end confdefs.h.  */
   3015 
   3016 int
   3017 main ()
   3018 {
   3019 
   3020   ;
   3021   return 0;
   3022 }
   3023 _ACEOF
   3024 ac_clean_files_save=$ac_clean_files
   3025 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3026 # Try to create an executable without -o first, disregard a.out.
   3027 # It will help us diagnose broken compilers, and finding out an intuition
   3028 # of exeext.
   3029 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3030 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3031 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3032 #
   3033 # List of possible output files, starting from the most likely.
   3034 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3035 # only as a last resort.  b.out is created by i960 compilers.
   3036 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3037 #
   3038 # The IRIX 6 linker writes into existing files which may not be
   3039 # executable, retaining their permissions.  Remove them first so a
   3040 # subsequent execution test works.
   3041 ac_rmfiles=
   3042 for ac_file in $ac_files
   3043 do
   3044   case $ac_file in
   3045     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3046     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3047   esac
   3048 done
   3049 rm -f $ac_rmfiles
   3050 
   3051 if { (ac_try="$ac_link_default"
   3052 case "(($ac_try" in
   3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3054   *) ac_try_echo=$ac_try;;
   3055 esac
   3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3057   (eval "$ac_link_default") 2>&5
   3058   ac_status=$?
   3059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3060   (exit $ac_status); }; then
   3061   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3062 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3063 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3064 # so that the user can short-circuit this test for compilers unknown to
   3065 # Autoconf.
   3066 for ac_file in $ac_files
   3067 do
   3068   test -f "$ac_file" || continue
   3069   case $ac_file in
   3070     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3071 	;;
   3072     [ab].out )
   3073 	# We found the default executable, but exeext='' is most
   3074 	# certainly right.
   3075 	break;;
   3076     *.* )
   3077         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3078 	then :; else
   3079 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3080 	fi
   3081 	# We set ac_cv_exeext here because the later test for it is not
   3082 	# safe: cross compilers may not add the suffix if given an `-o'
   3083 	# argument, so we may need to know it at that point already.
   3084 	# Even if this section looks crufty: it has the advantage of
   3085 	# actually working.
   3086 	break;;
   3087     * )
   3088 	break;;
   3089   esac
   3090 done
   3091 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3092 
   3093 else
   3094   echo "$as_me: failed program was:" >&5
   3095 sed 's/^/| /' conftest.$ac_ext >&5
   3096 
   3097 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3098 See \`config.log' for more details." >&5
   3099 echo "$as_me: error: C compiler cannot create executables
   3100 See \`config.log' for more details." >&2;}
   3101    { (exit 77); exit 77; }; }
   3102 fi
   3103 
   3104 ac_exeext=$ac_cv_exeext
   3105 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3106 echo "${ECHO_T}$ac_file" >&6; }
   3107 
   3108 # Check that the compiler produces executables we can run.  If not, either
   3109 # the compiler is broken, or we cross compile.
   3110 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3111 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3112 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3113 # If not cross compiling, check that we can run a simple program.
   3114 if test "$cross_compiling" != yes; then
   3115   if { ac_try='./$ac_file'
   3116   { (case "(($ac_try" in
   3117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3118   *) ac_try_echo=$ac_try;;
   3119 esac
   3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3121   (eval "$ac_try") 2>&5
   3122   ac_status=$?
   3123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3124   (exit $ac_status); }; }; then
   3125     cross_compiling=no
   3126   else
   3127     if test "$cross_compiling" = maybe; then
   3128 	cross_compiling=yes
   3129     else
   3130 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3131 If you meant to cross compile, use \`--host'.
   3132 See \`config.log' for more details." >&5
   3133 echo "$as_me: error: cannot run C compiled programs.
   3134 If you meant to cross compile, use \`--host'.
   3135 See \`config.log' for more details." >&2;}
   3136    { (exit 1); exit 1; }; }
   3137     fi
   3138   fi
   3139 fi
   3140 { echo "$as_me:$LINENO: result: yes" >&5
   3141 echo "${ECHO_T}yes" >&6; }
   3142 
   3143 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3144 ac_clean_files=$ac_clean_files_save
   3145 # Check that the compiler produces executables we can run.  If not, either
   3146 # the compiler is broken, or we cross compile.
   3147 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3148 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3149 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3150 echo "${ECHO_T}$cross_compiling" >&6; }
   3151 
   3152 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3153 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3154 if { (ac_try="$ac_link"
   3155 case "(($ac_try" in
   3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3157   *) ac_try_echo=$ac_try;;
   3158 esac
   3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3160   (eval "$ac_link") 2>&5
   3161   ac_status=$?
   3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3163   (exit $ac_status); }; then
   3164   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3165 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3166 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3167 # `rm'.
   3168 for ac_file in conftest.exe conftest conftest.*; do
   3169   test -f "$ac_file" || continue
   3170   case $ac_file in
   3171     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3172     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3173 	  break;;
   3174     * ) break;;
   3175   esac
   3176 done
   3177 else
   3178   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3179 See \`config.log' for more details." >&5
   3180 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3181 See \`config.log' for more details." >&2;}
   3182    { (exit 1); exit 1; }; }
   3183 fi
   3184 
   3185 rm -f conftest$ac_cv_exeext
   3186 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3187 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3188 
   3189 rm -f conftest.$ac_ext
   3190 EXEEXT=$ac_cv_exeext
   3191 ac_exeext=$EXEEXT
   3192 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3193 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3194 if test "${ac_cv_objext+set}" = set; then
   3195   echo $ECHO_N "(cached) $ECHO_C" >&6
   3196 else
   3197   cat >conftest.$ac_ext <<_ACEOF
   3198 /* confdefs.h.  */
   3199 _ACEOF
   3200 cat confdefs.h >>conftest.$ac_ext
   3201 cat >>conftest.$ac_ext <<_ACEOF
   3202 /* end confdefs.h.  */
   3203 
   3204 int
   3205 main ()
   3206 {
   3207 
   3208   ;
   3209   return 0;
   3210 }
   3211 _ACEOF
   3212 rm -f conftest.o conftest.obj
   3213 if { (ac_try="$ac_compile"
   3214 case "(($ac_try" in
   3215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3216   *) ac_try_echo=$ac_try;;
   3217 esac
   3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3219   (eval "$ac_compile") 2>&5
   3220   ac_status=$?
   3221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3222   (exit $ac_status); }; then
   3223   for ac_file in conftest.o conftest.obj conftest.*; do
   3224   test -f "$ac_file" || continue;
   3225   case $ac_file in
   3226     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3227     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3228        break;;
   3229   esac
   3230 done
   3231 else
   3232   echo "$as_me: failed program was:" >&5
   3233 sed 's/^/| /' conftest.$ac_ext >&5
   3234 
   3235 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3236 See \`config.log' for more details." >&5
   3237 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3238 See \`config.log' for more details." >&2;}
   3239    { (exit 1); exit 1; }; }
   3240 fi
   3241 
   3242 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3243 fi
   3244 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3245 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3246 OBJEXT=$ac_cv_objext
   3247 ac_objext=$OBJEXT
   3248 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3249 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3250 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3251   echo $ECHO_N "(cached) $ECHO_C" >&6
   3252 else
   3253   cat >conftest.$ac_ext <<_ACEOF
   3254 /* confdefs.h.  */
   3255 _ACEOF
   3256 cat confdefs.h >>conftest.$ac_ext
   3257 cat >>conftest.$ac_ext <<_ACEOF
   3258 /* end confdefs.h.  */
   3259 
   3260 int
   3261 main ()
   3262 {
   3263 #ifndef __GNUC__
   3264        choke me
   3265 #endif
   3266 
   3267   ;
   3268   return 0;
   3269 }
   3270 _ACEOF
   3271 rm -f conftest.$ac_objext
   3272 if { (ac_try="$ac_compile"
   3273 case "(($ac_try" in
   3274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3275   *) ac_try_echo=$ac_try;;
   3276 esac
   3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3278   (eval "$ac_compile") 2>conftest.er1
   3279   ac_status=$?
   3280   grep -v '^ *+' conftest.er1 >conftest.err
   3281   rm -f conftest.er1
   3282   cat conftest.err >&5
   3283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3284   (exit $ac_status); } &&
   3285 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3286   { (case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3291   (eval "$ac_try") 2>&5
   3292   ac_status=$?
   3293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3294   (exit $ac_status); }; } &&
   3295 	 { ac_try='test -s conftest.$ac_objext'
   3296   { (case "(($ac_try" in
   3297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3298   *) ac_try_echo=$ac_try;;
   3299 esac
   3300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3301   (eval "$ac_try") 2>&5
   3302   ac_status=$?
   3303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3304   (exit $ac_status); }; }; then
   3305   ac_compiler_gnu=yes
   3306 else
   3307   echo "$as_me: failed program was:" >&5
   3308 sed 's/^/| /' conftest.$ac_ext >&5
   3309 
   3310 	ac_compiler_gnu=no
   3311 fi
   3312 
   3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3314 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3315 
   3316 fi
   3317 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3318 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3319 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3320 ac_test_CFLAGS=${CFLAGS+set}
   3321 ac_save_CFLAGS=$CFLAGS
   3322 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3323 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3324 if test "${ac_cv_prog_cc_g+set}" = set; then
   3325   echo $ECHO_N "(cached) $ECHO_C" >&6
   3326 else
   3327   ac_save_c_werror_flag=$ac_c_werror_flag
   3328    ac_c_werror_flag=yes
   3329    ac_cv_prog_cc_g=no
   3330    CFLAGS="-g"
   3331    cat >conftest.$ac_ext <<_ACEOF
   3332 /* confdefs.h.  */
   3333 _ACEOF
   3334 cat confdefs.h >>conftest.$ac_ext
   3335 cat >>conftest.$ac_ext <<_ACEOF
   3336 /* end confdefs.h.  */
   3337 
   3338 int
   3339 main ()
   3340 {
   3341 
   3342   ;
   3343   return 0;
   3344 }
   3345 _ACEOF
   3346 rm -f conftest.$ac_objext
   3347 if { (ac_try="$ac_compile"
   3348 case "(($ac_try" in
   3349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3350   *) ac_try_echo=$ac_try;;
   3351 esac
   3352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3353   (eval "$ac_compile") 2>conftest.er1
   3354   ac_status=$?
   3355   grep -v '^ *+' conftest.er1 >conftest.err
   3356   rm -f conftest.er1
   3357   cat conftest.err >&5
   3358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3359   (exit $ac_status); } &&
   3360 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3361   { (case "(($ac_try" in
   3362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3363   *) ac_try_echo=$ac_try;;
   3364 esac
   3365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3366   (eval "$ac_try") 2>&5
   3367   ac_status=$?
   3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3369   (exit $ac_status); }; } &&
   3370 	 { ac_try='test -s conftest.$ac_objext'
   3371   { (case "(($ac_try" in
   3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3373   *) ac_try_echo=$ac_try;;
   3374 esac
   3375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3376   (eval "$ac_try") 2>&5
   3377   ac_status=$?
   3378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3379   (exit $ac_status); }; }; then
   3380   ac_cv_prog_cc_g=yes
   3381 else
   3382   echo "$as_me: failed program was:" >&5
   3383 sed 's/^/| /' conftest.$ac_ext >&5
   3384 
   3385 	CFLAGS=""
   3386       cat >conftest.$ac_ext <<_ACEOF
   3387 /* confdefs.h.  */
   3388 _ACEOF
   3389 cat confdefs.h >>conftest.$ac_ext
   3390 cat >>conftest.$ac_ext <<_ACEOF
   3391 /* end confdefs.h.  */
   3392 
   3393 int
   3394 main ()
   3395 {
   3396 
   3397   ;
   3398   return 0;
   3399 }
   3400 _ACEOF
   3401 rm -f conftest.$ac_objext
   3402 if { (ac_try="$ac_compile"
   3403 case "(($ac_try" in
   3404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3405   *) ac_try_echo=$ac_try;;
   3406 esac
   3407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3408   (eval "$ac_compile") 2>conftest.er1
   3409   ac_status=$?
   3410   grep -v '^ *+' conftest.er1 >conftest.err
   3411   rm -f conftest.er1
   3412   cat conftest.err >&5
   3413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3414   (exit $ac_status); } &&
   3415 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3416   { (case "(($ac_try" in
   3417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3418   *) ac_try_echo=$ac_try;;
   3419 esac
   3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3421   (eval "$ac_try") 2>&5
   3422   ac_status=$?
   3423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3424   (exit $ac_status); }; } &&
   3425 	 { ac_try='test -s conftest.$ac_objext'
   3426   { (case "(($ac_try" in
   3427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3428   *) ac_try_echo=$ac_try;;
   3429 esac
   3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3431   (eval "$ac_try") 2>&5
   3432   ac_status=$?
   3433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3434   (exit $ac_status); }; }; then
   3435   :
   3436 else
   3437   echo "$as_me: failed program was:" >&5
   3438 sed 's/^/| /' conftest.$ac_ext >&5
   3439 
   3440 	ac_c_werror_flag=$ac_save_c_werror_flag
   3441 	 CFLAGS="-g"
   3442 	 cat >conftest.$ac_ext <<_ACEOF
   3443 /* confdefs.h.  */
   3444 _ACEOF
   3445 cat confdefs.h >>conftest.$ac_ext
   3446 cat >>conftest.$ac_ext <<_ACEOF
   3447 /* end confdefs.h.  */
   3448 
   3449 int
   3450 main ()
   3451 {
   3452 
   3453   ;
   3454   return 0;
   3455 }
   3456 _ACEOF
   3457 rm -f conftest.$ac_objext
   3458 if { (ac_try="$ac_compile"
   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_compile") 2>conftest.er1
   3465   ac_status=$?
   3466   grep -v '^ *+' conftest.er1 >conftest.err
   3467   rm -f conftest.er1
   3468   cat conftest.err >&5
   3469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3470   (exit $ac_status); } &&
   3471 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3472   { (case "(($ac_try" in
   3473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3474   *) ac_try_echo=$ac_try;;
   3475 esac
   3476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3477   (eval "$ac_try") 2>&5
   3478   ac_status=$?
   3479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3480   (exit $ac_status); }; } &&
   3481 	 { ac_try='test -s conftest.$ac_objext'
   3482   { (case "(($ac_try" in
   3483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3484   *) ac_try_echo=$ac_try;;
   3485 esac
   3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3487   (eval "$ac_try") 2>&5
   3488   ac_status=$?
   3489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3490   (exit $ac_status); }; }; then
   3491   ac_cv_prog_cc_g=yes
   3492 else
   3493   echo "$as_me: failed program was:" >&5
   3494 sed 's/^/| /' conftest.$ac_ext >&5
   3495 
   3496 
   3497 fi
   3498 
   3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3500 fi
   3501 
   3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3503 fi
   3504 
   3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3506    ac_c_werror_flag=$ac_save_c_werror_flag
   3507 fi
   3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3509 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3510 if test "$ac_test_CFLAGS" = set; then
   3511   CFLAGS=$ac_save_CFLAGS
   3512 elif test $ac_cv_prog_cc_g = yes; then
   3513   if test "$GCC" = yes; then
   3514     CFLAGS="-g -O2"
   3515   else
   3516     CFLAGS="-g"
   3517   fi
   3518 else
   3519   if test "$GCC" = yes; then
   3520     CFLAGS="-O2"
   3521   else
   3522     CFLAGS=
   3523   fi
   3524 fi
   3525 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3526 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3527 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3528   echo $ECHO_N "(cached) $ECHO_C" >&6
   3529 else
   3530   ac_cv_prog_cc_c89=no
   3531 ac_save_CC=$CC
   3532 cat >conftest.$ac_ext <<_ACEOF
   3533 /* confdefs.h.  */
   3534 _ACEOF
   3535 cat confdefs.h >>conftest.$ac_ext
   3536 cat >>conftest.$ac_ext <<_ACEOF
   3537 /* end confdefs.h.  */
   3538 #include <stdarg.h>
   3539 #include <stdio.h>
   3540 #include <sys/types.h>
   3541 #include <sys/stat.h>
   3542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3543 struct buf { int x; };
   3544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3545 static char *e (p, i)
   3546      char **p;
   3547      int i;
   3548 {
   3549   return p[i];
   3550 }
   3551 static char *f (char * (*g) (char **, int), char **p, ...)
   3552 {
   3553   char *s;
   3554   va_list v;
   3555   va_start (v,p);
   3556   s = g (p, va_arg (v,int));
   3557   va_end (v);
   3558   return s;
   3559 }
   3560 
   3561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3562    function prototypes and stuff, but not '\xHH' hex character constants.
   3563    These don't provoke an error unfortunately, instead are silently treated
   3564    as 'x'.  The following induces an error, until -std is added to get
   3565    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3566    array size at least.  It's necessary to write '\x00'==0 to get something
   3567    that's true only with -std.  */
   3568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3569 
   3570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3571    inside strings and character constants.  */
   3572 #define FOO(x) 'x'
   3573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3574 
   3575 int test (int i, double x);
   3576 struct s1 {int (*f) (int a);};
   3577 struct s2 {int (*f) (double a);};
   3578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3579 int argc;
   3580 char **argv;
   3581 int
   3582 main ()
   3583 {
   3584 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3585   ;
   3586   return 0;
   3587 }
   3588 _ACEOF
   3589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3590 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3591 do
   3592   CC="$ac_save_CC $ac_arg"
   3593   rm -f conftest.$ac_objext
   3594 if { (ac_try="$ac_compile"
   3595 case "(($ac_try" in
   3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3597   *) ac_try_echo=$ac_try;;
   3598 esac
   3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3600   (eval "$ac_compile") 2>conftest.er1
   3601   ac_status=$?
   3602   grep -v '^ *+' conftest.er1 >conftest.err
   3603   rm -f conftest.er1
   3604   cat conftest.err >&5
   3605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3606   (exit $ac_status); } &&
   3607 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3608   { (case "(($ac_try" in
   3609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3610   *) ac_try_echo=$ac_try;;
   3611 esac
   3612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3613   (eval "$ac_try") 2>&5
   3614   ac_status=$?
   3615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3616   (exit $ac_status); }; } &&
   3617 	 { ac_try='test -s conftest.$ac_objext'
   3618   { (case "(($ac_try" in
   3619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3620   *) ac_try_echo=$ac_try;;
   3621 esac
   3622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3623   (eval "$ac_try") 2>&5
   3624   ac_status=$?
   3625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3626   (exit $ac_status); }; }; then
   3627   ac_cv_prog_cc_c89=$ac_arg
   3628 else
   3629   echo "$as_me: failed program was:" >&5
   3630 sed 's/^/| /' conftest.$ac_ext >&5
   3631 
   3632 
   3633 fi
   3634 
   3635 rm -f core conftest.err conftest.$ac_objext
   3636   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3637 done
   3638 rm -f conftest.$ac_ext
   3639 CC=$ac_save_CC
   3640 
   3641 fi
   3642 # AC_CACHE_VAL
   3643 case "x$ac_cv_prog_cc_c89" in
   3644   x)
   3645     { echo "$as_me:$LINENO: result: none needed" >&5
   3646 echo "${ECHO_T}none needed" >&6; } ;;
   3647   xno)
   3648     { echo "$as_me:$LINENO: result: unsupported" >&5
   3649 echo "${ECHO_T}unsupported" >&6; } ;;
   3650   *)
   3651     CC="$CC $ac_cv_prog_cc_c89"
   3652     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3653 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3654 esac
   3655 
   3656 
   3657 ac_ext=c
   3658 ac_cpp='$CPP $CPPFLAGS'
   3659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3662 
   3663 depcc="$CC"   am_compiler_list=
   3664 
   3665 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3666 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3667 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3668   echo $ECHO_N "(cached) $ECHO_C" >&6
   3669 else
   3670   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3671   # We make a subdir and do the tests there.  Otherwise we can end up
   3672   # making bogus files that we don't know about and never remove.  For
   3673   # instance it was reported that on HP-UX the gcc test will end up
   3674   # making a dummy file named `D' -- because `-MD' means `put the output
   3675   # in D'.
   3676   mkdir conftest.dir
   3677   # Copy depcomp to subdir because otherwise we won't find it if we're
   3678   # using a relative directory.
   3679   cp "$am_depcomp" conftest.dir
   3680   cd conftest.dir
   3681   # We will build objects and dependencies in a subdirectory because
   3682   # it helps to detect inapplicable dependency modes.  For instance
   3683   # both Tru64's cc and ICC support -MD to output dependencies as a
   3684   # side effect of compilation, but ICC will put the dependencies in
   3685   # the current directory while Tru64 will put them in the object
   3686   # directory.
   3687   mkdir sub
   3688 
   3689   am_cv_CC_dependencies_compiler_type=none
   3690   if test "$am_compiler_list" = ""; then
   3691      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3692   fi
   3693   for depmode in $am_compiler_list; do
   3694     # Setup a source with many dependencies, because some compilers
   3695     # like to wrap large dependency lists on column 80 (with \), and
   3696     # we should not choose a depcomp mode which is confused by this.
   3697     #
   3698     # We need to recreate these files for each test, as the compiler may
   3699     # overwrite some of them when testing with obscure command lines.
   3700     # This happens at least with the AIX C compiler.
   3701     : > sub/conftest.c
   3702     for i in 1 2 3 4 5 6; do
   3703       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3704       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3705       # Solaris 8's {/usr,}/bin/sh.
   3706       touch sub/conftst$i.h
   3707     done
   3708     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3709 
   3710     case $depmode in
   3711     nosideeffect)
   3712       # after this tag, mechanisms are not by side-effect, so they'll
   3713       # only be used when explicitly requested
   3714       if test "x$enable_dependency_tracking" = xyes; then
   3715 	continue
   3716       else
   3717 	break
   3718       fi
   3719       ;;
   3720     none) break ;;
   3721     esac
   3722     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3723     # mode.  It turns out that the SunPro C++ compiler does not properly
   3724     # handle `-M -o', and we need to detect this.
   3725     if depmode=$depmode \
   3726        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3727        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3728        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3729          >/dev/null 2>conftest.err &&
   3730        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3731        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3732        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3733       # icc doesn't choke on unknown options, it will just issue warnings
   3734       # or remarks (even with -Werror).  So we grep stderr for any message
   3735       # that says an option was ignored or not supported.
   3736       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3737       #   icc: Command line warning: ignoring option '-M'; no argument required
   3738       # The diagnosis changed in icc 8.0:
   3739       #   icc: Command line remark: option '-MP' not supported
   3740       if (grep 'ignoring option' conftest.err ||
   3741           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3742         am_cv_CC_dependencies_compiler_type=$depmode
   3743         break
   3744       fi
   3745     fi
   3746   done
   3747 
   3748   cd ..
   3749   rm -rf conftest.dir
   3750 else
   3751   am_cv_CC_dependencies_compiler_type=none
   3752 fi
   3753 
   3754 fi
   3755 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3756 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3757 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3758 
   3759 
   3760 
   3761 if
   3762   test "x$enable_dependency_tracking" != xno \
   3763   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3764   am__fastdepCC_TRUE=
   3765   am__fastdepCC_FALSE='#'
   3766 else
   3767   am__fastdepCC_TRUE='#'
   3768   am__fastdepCC_FALSE=
   3769 fi
   3770 
   3771 
   3772 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3773 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3774 if test "${lt_cv_path_SED+set}" = set; then
   3775   echo $ECHO_N "(cached) $ECHO_C" >&6
   3776 else
   3777   # Loop through the user's path and test for sed and gsed.
   3778 # Then use that list of sed's as ones to test for truncation.
   3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3780 for as_dir in $PATH
   3781 do
   3782   IFS=$as_save_IFS
   3783   test -z "$as_dir" && as_dir=.
   3784   for lt_ac_prog in sed gsed; do
   3785     for ac_exec_ext in '' $ac_executable_extensions; do
   3786       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3787         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3788       fi
   3789     done
   3790   done
   3791 done
   3792 lt_ac_max=0
   3793 lt_ac_count=0
   3794 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3795 # along with /bin/sed that truncates output.
   3796 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3797   test ! -f $lt_ac_sed && continue
   3798   cat /dev/null > conftest.in
   3799   lt_ac_count=0
   3800   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3801   # Check for GNU sed and select it if it is found.
   3802   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3803     lt_cv_path_SED=$lt_ac_sed
   3804     break
   3805   fi
   3806   while true; do
   3807     cat conftest.in conftest.in >conftest.tmp
   3808     mv conftest.tmp conftest.in
   3809     cp conftest.in conftest.nl
   3810     echo >>conftest.nl
   3811     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3812     cmp -s conftest.out conftest.nl || break
   3813     # 10000 chars as input seems more than enough
   3814     test $lt_ac_count -gt 10 && break
   3815     lt_ac_count=`expr $lt_ac_count + 1`
   3816     if test $lt_ac_count -gt $lt_ac_max; then
   3817       lt_ac_max=$lt_ac_count
   3818       lt_cv_path_SED=$lt_ac_sed
   3819     fi
   3820   done
   3821 done
   3822 
   3823 fi
   3824 
   3825 SED=$lt_cv_path_SED
   3826 { echo "$as_me:$LINENO: result: $SED" >&5
   3827 echo "${ECHO_T}$SED" >&6; }
   3828 
   3829 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3830 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3831 if test "${ac_cv_path_GREP+set}" = set; then
   3832   echo $ECHO_N "(cached) $ECHO_C" >&6
   3833 else
   3834   # Extract the first word of "grep ggrep" to use in msg output
   3835 if test -z "$GREP"; then
   3836 set dummy grep ggrep; ac_prog_name=$2
   3837 if test "${ac_cv_path_GREP+set}" = set; then
   3838   echo $ECHO_N "(cached) $ECHO_C" >&6
   3839 else
   3840   ac_path_GREP_found=false
   3841 # Loop through the user's path and test for each of PROGNAME-LIST
   3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3843 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3844 do
   3845   IFS=$as_save_IFS
   3846   test -z "$as_dir" && as_dir=.
   3847   for ac_prog in grep ggrep; do
   3848   for ac_exec_ext in '' $ac_executable_extensions; do
   3849     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3850     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
   3851     # Check for GNU ac_path_GREP and select it if it is found.
   3852   # Check for GNU $ac_path_GREP
   3853 case `"$ac_path_GREP" --version 2>&1` in
   3854 *GNU*)
   3855   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3856 *)
   3857   ac_count=0
   3858   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3859   while :
   3860   do
   3861     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3862     mv "conftest.tmp" "conftest.in"
   3863     cp "conftest.in" "conftest.nl"
   3864     echo 'GREP' >> "conftest.nl"
   3865     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3866     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3867     ac_count=`expr $ac_count + 1`
   3868     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3869       # Best one so far, save it but keep looking for a better one
   3870       ac_cv_path_GREP="$ac_path_GREP"
   3871       ac_path_GREP_max=$ac_count
   3872     fi
   3873     # 10*(2^10) chars as input seems more than enough
   3874     test $ac_count -gt 10 && break
   3875   done
   3876   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3877 esac
   3878 
   3879 
   3880     $ac_path_GREP_found && break 3
   3881   done
   3882 done
   3883 
   3884 done
   3885 IFS=$as_save_IFS
   3886 
   3887 
   3888 fi
   3889 
   3890 GREP="$ac_cv_path_GREP"
   3891 if test -z "$GREP"; then
   3892   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3893 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3894    { (exit 1); exit 1; }; }
   3895 fi
   3896 
   3897 else
   3898   ac_cv_path_GREP=$GREP
   3899 fi
   3900 
   3901 
   3902 fi
   3903 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3904 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3905  GREP="$ac_cv_path_GREP"
   3906 
   3907 
   3908 { echo "$as_me:$LINENO: checking for egrep" >&5
   3909 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3910 if test "${ac_cv_path_EGREP+set}" = set; then
   3911   echo $ECHO_N "(cached) $ECHO_C" >&6
   3912 else
   3913   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3914    then ac_cv_path_EGREP="$GREP -E"
   3915    else
   3916      # Extract the first word of "egrep" to use in msg output
   3917 if test -z "$EGREP"; then
   3918 set dummy egrep; ac_prog_name=$2
   3919 if test "${ac_cv_path_EGREP+set}" = set; then
   3920   echo $ECHO_N "(cached) $ECHO_C" >&6
   3921 else
   3922   ac_path_EGREP_found=false
   3923 # Loop through the user's path and test for each of PROGNAME-LIST
   3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3925 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3926 do
   3927   IFS=$as_save_IFS
   3928   test -z "$as_dir" && as_dir=.
   3929   for ac_prog in egrep; do
   3930   for ac_exec_ext in '' $ac_executable_extensions; do
   3931     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3932     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
   3933     # Check for GNU ac_path_EGREP and select it if it is found.
   3934   # Check for GNU $ac_path_EGREP
   3935 case `"$ac_path_EGREP" --version 2>&1` in
   3936 *GNU*)
   3937   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3938 *)
   3939   ac_count=0
   3940   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3941   while :
   3942   do
   3943     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3944     mv "conftest.tmp" "conftest.in"
   3945     cp "conftest.in" "conftest.nl"
   3946     echo 'EGREP' >> "conftest.nl"
   3947     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3948     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3949     ac_count=`expr $ac_count + 1`
   3950     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3951       # Best one so far, save it but keep looking for a better one
   3952       ac_cv_path_EGREP="$ac_path_EGREP"
   3953       ac_path_EGREP_max=$ac_count
   3954     fi
   3955     # 10*(2^10) chars as input seems more than enough
   3956     test $ac_count -gt 10 && break
   3957   done
   3958   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3959 esac
   3960 
   3961 
   3962     $ac_path_EGREP_found && break 3
   3963   done
   3964 done
   3965 
   3966 done
   3967 IFS=$as_save_IFS
   3968 
   3969 
   3970 fi
   3971 
   3972 EGREP="$ac_cv_path_EGREP"
   3973 if test -z "$EGREP"; then
   3974   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3975 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3976    { (exit 1); exit 1; }; }
   3977 fi
   3978 
   3979 else
   3980   ac_cv_path_EGREP=$EGREP
   3981 fi
   3982 
   3983 
   3984    fi
   3985 fi
   3986 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3987 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3988  EGREP="$ac_cv_path_EGREP"
   3989 
   3990 
   3991 
   3992 # Check whether --with-gnu-ld was given.
   3993 if test "${with_gnu_ld+set}" = set; then
   3994   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3995 else
   3996   with_gnu_ld=no
   3997 fi
   3998 
   3999 ac_prog=ld
   4000 if test "$GCC" = yes; then
   4001   # Check if gcc -print-prog-name=ld gives a path.
   4002   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4003 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4004   case $host in
   4005   *-*-mingw*)
   4006     # gcc leaves a trailing carriage return which upsets mingw
   4007     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4008   *)
   4009     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4010   esac
   4011   case $ac_prog in
   4012     # Accept absolute paths.
   4013     [\\/]* | ?:[\\/]*)
   4014       re_direlt='/[^/][^/]*/\.\./'
   4015       # Canonicalize the pathname of ld
   4016       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4017       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4018 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4019       done
   4020       test -z "$LD" && LD="$ac_prog"
   4021       ;;
   4022   "")
   4023     # If it fails, then pretend we aren't using GCC.
   4024     ac_prog=ld
   4025     ;;
   4026   *)
   4027     # If it is relative, then search for the first ld in PATH.
   4028     with_gnu_ld=unknown
   4029     ;;
   4030   esac
   4031 elif test "$with_gnu_ld" = yes; then
   4032   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4033 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4034 else
   4035   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4036 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4037 fi
   4038 if test "${lt_cv_path_LD+set}" = set; then
   4039   echo $ECHO_N "(cached) $ECHO_C" >&6
   4040 else
   4041   if test -z "$LD"; then
   4042   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4043   for ac_dir in $PATH; do
   4044     IFS="$lt_save_ifs"
   4045     test -z "$ac_dir" && ac_dir=.
   4046     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4047       lt_cv_path_LD="$ac_dir/$ac_prog"
   4048       # Check to see if the program is GNU ld.  I'd rather use --version,
   4049       # but apparently some variants of GNU ld only accept -v.
   4050       # Break only if it was the GNU/non-GNU ld that we prefer.
   4051       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4052       *GNU* | *'with BFD'*)
   4053 	test "$with_gnu_ld" != no && break
   4054 	;;
   4055       *)
   4056 	test "$with_gnu_ld" != yes && break
   4057 	;;
   4058       esac
   4059     fi
   4060   done
   4061   IFS="$lt_save_ifs"
   4062 else
   4063   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4064 fi
   4065 fi
   4066 
   4067 LD="$lt_cv_path_LD"
   4068 if test -n "$LD"; then
   4069   { echo "$as_me:$LINENO: result: $LD" >&5
   4070 echo "${ECHO_T}$LD" >&6; }
   4071 else
   4072   { echo "$as_me:$LINENO: result: no" >&5
   4073 echo "${ECHO_T}no" >&6; }
   4074 fi
   4075 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4076 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4077    { (exit 1); exit 1; }; }
   4078 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4079 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4080 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4081   echo $ECHO_N "(cached) $ECHO_C" >&6
   4082 else
   4083   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4084 case `$LD -v 2>&1 </dev/null` in
   4085 *GNU* | *'with BFD'*)
   4086   lt_cv_prog_gnu_ld=yes
   4087   ;;
   4088 *)
   4089   lt_cv_prog_gnu_ld=no
   4090   ;;
   4091 esac
   4092 fi
   4093 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4094 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4095 with_gnu_ld=$lt_cv_prog_gnu_ld
   4096 
   4097 
   4098 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4099 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4100 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4101   echo $ECHO_N "(cached) $ECHO_C" >&6
   4102 else
   4103   lt_cv_ld_reload_flag='-r'
   4104 fi
   4105 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4106 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4107 reload_flag=$lt_cv_ld_reload_flag
   4108 case $reload_flag in
   4109 "" | " "*) ;;
   4110 *) reload_flag=" $reload_flag" ;;
   4111 esac
   4112 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4113 case $host_os in
   4114   darwin*)
   4115     if test "$GCC" = yes; then
   4116       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4117     else
   4118       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4119     fi
   4120     ;;
   4121 esac
   4122 
   4123 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4124 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4125 if test "${lt_cv_path_NM+set}" = set; then
   4126   echo $ECHO_N "(cached) $ECHO_C" >&6
   4127 else
   4128   if test -n "$NM"; then
   4129   # Let the user override the test.
   4130   lt_cv_path_NM="$NM"
   4131 else
   4132   lt_nm_to_check="${ac_tool_prefix}nm"
   4133   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4134     lt_nm_to_check="$lt_nm_to_check nm"
   4135   fi
   4136   for lt_tmp_nm in $lt_nm_to_check; do
   4137     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4138     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4139       IFS="$lt_save_ifs"
   4140       test -z "$ac_dir" && ac_dir=.
   4141       tmp_nm="$ac_dir/$lt_tmp_nm"
   4142       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4143 	# Check to see if the nm accepts a BSD-compat flag.
   4144 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4145 	#   nm: unknown option "B" ignored
   4146 	# Tru64's nm complains that /dev/null is an invalid object file
   4147 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4148 	*/dev/null* | *'Invalid file or object type'*)
   4149 	  lt_cv_path_NM="$tmp_nm -B"
   4150 	  break
   4151 	  ;;
   4152 	*)
   4153 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4154 	  */dev/null*)
   4155 	    lt_cv_path_NM="$tmp_nm -p"
   4156 	    break
   4157 	    ;;
   4158 	  *)
   4159 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4160 	    continue # so that we can try to find one that supports BSD flags
   4161 	    ;;
   4162 	  esac
   4163 	  ;;
   4164 	esac
   4165       fi
   4166     done
   4167     IFS="$lt_save_ifs"
   4168   done
   4169   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4170 fi
   4171 fi
   4172 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4173 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4174 NM="$lt_cv_path_NM"
   4175 
   4176 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4177 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4178 LN_S=$as_ln_s
   4179 if test "$LN_S" = "ln -s"; then
   4180   { echo "$as_me:$LINENO: result: yes" >&5
   4181 echo "${ECHO_T}yes" >&6; }
   4182 else
   4183   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4184 echo "${ECHO_T}no, using $LN_S" >&6; }
   4185 fi
   4186 
   4187 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4188 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4189 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4190   echo $ECHO_N "(cached) $ECHO_C" >&6
   4191 else
   4192   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4193 lt_cv_file_magic_test_file=
   4194 lt_cv_deplibs_check_method='unknown'
   4195 # Need to set the preceding variable on all platforms that support
   4196 # interlibrary dependencies.
   4197 # 'none' -- dependencies not supported.
   4198 # `unknown' -- same as none, but documents that we really don't know.
   4199 # 'pass_all' -- all dependencies passed with no checks.
   4200 # 'test_compile' -- check by making test program.
   4201 # 'file_magic [[regex]]' -- check by looking for files in library path
   4202 # which responds to the $file_magic_cmd with a given extended regex.
   4203 # If you have `file' or equivalent on your system and you're not sure
   4204 # whether `pass_all' will *always* work, you probably want this one.
   4205 
   4206 case $host_os in
   4207 aix4* | aix5*)
   4208   lt_cv_deplibs_check_method=pass_all
   4209   ;;
   4210 
   4211 beos*)
   4212   lt_cv_deplibs_check_method=pass_all
   4213   ;;
   4214 
   4215 bsdi[45]*)
   4216   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4217   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4218   lt_cv_file_magic_test_file=/shlib/libc.so
   4219   ;;
   4220 
   4221 cygwin*)
   4222   # func_win32_libid is a shell function defined in ltmain.sh
   4223   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4224   lt_cv_file_magic_cmd='func_win32_libid'
   4225   ;;
   4226 
   4227 mingw* | pw32*)
   4228   # Base MSYS/MinGW do not provide the 'file' command needed by
   4229   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4230   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4231   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4232   ;;
   4233 
   4234 darwin* | rhapsody*)
   4235   lt_cv_deplibs_check_method=pass_all
   4236   ;;
   4237 
   4238 freebsd* | kfreebsd*-gnu | dragonfly*)
   4239   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4240     case $host_cpu in
   4241     i*86 )
   4242       # Not sure whether the presence of OpenBSD here was a mistake.
   4243       # Let's accept both of them until this is cleared up.
   4244       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4245       lt_cv_file_magic_cmd=/usr/bin/file
   4246       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4247       ;;
   4248     esac
   4249   else
   4250     lt_cv_deplibs_check_method=pass_all
   4251   fi
   4252   ;;
   4253 
   4254 gnu*)
   4255   lt_cv_deplibs_check_method=pass_all
   4256   ;;
   4257 
   4258 hpux10.20* | hpux11*)
   4259   lt_cv_file_magic_cmd=/usr/bin/file
   4260   case $host_cpu in
   4261   ia64*)
   4262     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4263     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4264     ;;
   4265   hppa*64*)
   4266     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]'
   4267     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4268     ;;
   4269   *)
   4270     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4271     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4272     ;;
   4273   esac
   4274   ;;
   4275 
   4276 interix3*)
   4277   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4278   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4279   ;;
   4280 
   4281 irix5* | irix6* | nonstopux*)
   4282   case $LD in
   4283   *-32|*"-32 ") libmagic=32-bit;;
   4284   *-n32|*"-n32 ") libmagic=N32;;
   4285   *-64|*"-64 ") libmagic=64-bit;;
   4286   *) libmagic=never-match;;
   4287   esac
   4288   lt_cv_deplibs_check_method=pass_all
   4289   ;;
   4290 
   4291 # This must be Linux ELF.
   4292 linux*)
   4293   lt_cv_deplibs_check_method=pass_all
   4294   ;;
   4295 
   4296 netbsd*)
   4297   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4298     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4299   else
   4300     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4301   fi
   4302   ;;
   4303 
   4304 newos6*)
   4305   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4306   lt_cv_file_magic_cmd=/usr/bin/file
   4307   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4308   ;;
   4309 
   4310 nto-qnx*)
   4311   lt_cv_deplibs_check_method=unknown
   4312   ;;
   4313 
   4314 openbsd*)
   4315   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4316     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4317   else
   4318     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4319   fi
   4320   ;;
   4321 
   4322 osf3* | osf4* | osf5*)
   4323   lt_cv_deplibs_check_method=pass_all
   4324   ;;
   4325 
   4326 solaris*)
   4327   lt_cv_deplibs_check_method=pass_all
   4328   ;;
   4329 
   4330 sysv4 | sysv4.3*)
   4331   case $host_vendor in
   4332   motorola)
   4333     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]'
   4334     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4335     ;;
   4336   ncr)
   4337     lt_cv_deplibs_check_method=pass_all
   4338     ;;
   4339   sequent)
   4340     lt_cv_file_magic_cmd='/bin/file'
   4341     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4342     ;;
   4343   sni)
   4344     lt_cv_file_magic_cmd='/bin/file'
   4345     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4346     lt_cv_file_magic_test_file=/lib/libc.so
   4347     ;;
   4348   siemens)
   4349     lt_cv_deplibs_check_method=pass_all
   4350     ;;
   4351   pc)
   4352     lt_cv_deplibs_check_method=pass_all
   4353     ;;
   4354   esac
   4355   ;;
   4356 
   4357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4358   lt_cv_deplibs_check_method=pass_all
   4359   ;;
   4360 esac
   4361 
   4362 fi
   4363 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4364 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4365 file_magic_cmd=$lt_cv_file_magic_cmd
   4366 deplibs_check_method=$lt_cv_deplibs_check_method
   4367 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4368 
   4369 
   4370 
   4371 
   4372 # If no C compiler was specified, use CC.
   4373 LTCC=${LTCC-"$CC"}
   4374 
   4375 # If no C compiler flags were specified, use CFLAGS.
   4376 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4377 
   4378 # Allow CC to be a program name with arguments.
   4379 compiler=$CC
   4380 
   4381 
   4382 # Check whether --enable-libtool-lock was given.
   4383 if test "${enable_libtool_lock+set}" = set; then
   4384   enableval=$enable_libtool_lock;
   4385 fi
   4386 
   4387 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4388 
   4389 # Some flags need to be propagated to the compiler or linker for good
   4390 # libtool support.
   4391 case $host in
   4392 ia64-*-hpux*)
   4393   # Find out which ABI we are using.
   4394   echo 'int i;' > conftest.$ac_ext
   4395   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4396   (eval $ac_compile) 2>&5
   4397   ac_status=$?
   4398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4399   (exit $ac_status); }; then
   4400     case `/usr/bin/file conftest.$ac_objext` in
   4401     *ELF-32*)
   4402       HPUX_IA64_MODE="32"
   4403       ;;
   4404     *ELF-64*)
   4405       HPUX_IA64_MODE="64"
   4406       ;;
   4407     esac
   4408   fi
   4409   rm -rf conftest*
   4410   ;;
   4411 *-*-irix6*)
   4412   # Find out which ABI we are using.
   4413   echo '#line 4413 "configure"' > conftest.$ac_ext
   4414   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4415   (eval $ac_compile) 2>&5
   4416   ac_status=$?
   4417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4418   (exit $ac_status); }; then
   4419    if test "$lt_cv_prog_gnu_ld" = yes; then
   4420     case `/usr/bin/file conftest.$ac_objext` in
   4421     *32-bit*)
   4422       LD="${LD-ld} -melf32bsmip"
   4423       ;;
   4424     *N32*)
   4425       LD="${LD-ld} -melf32bmipn32"
   4426       ;;
   4427     *64-bit*)
   4428       LD="${LD-ld} -melf64bmip"
   4429       ;;
   4430     esac
   4431    else
   4432     case `/usr/bin/file conftest.$ac_objext` in
   4433     *32-bit*)
   4434       LD="${LD-ld} -32"
   4435       ;;
   4436     *N32*)
   4437       LD="${LD-ld} -n32"
   4438       ;;
   4439     *64-bit*)
   4440       LD="${LD-ld} -64"
   4441       ;;
   4442     esac
   4443    fi
   4444   fi
   4445   rm -rf conftest*
   4446   ;;
   4447 
   4448 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4449   # Find out which ABI we are using.
   4450   echo 'int i;' > conftest.$ac_ext
   4451   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4452   (eval $ac_compile) 2>&5
   4453   ac_status=$?
   4454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4455   (exit $ac_status); }; then
   4456     case `/usr/bin/file conftest.o` in
   4457     *32-bit*)
   4458       case $host in
   4459         x86_64-*linux*)
   4460           LD="${LD-ld} -m elf_i386"
   4461           ;;
   4462         ppc64-*linux*|powerpc64-*linux*)
   4463           LD="${LD-ld} -m elf32ppclinux"
   4464           ;;
   4465         s390x-*linux*)
   4466           LD="${LD-ld} -m elf_s390"
   4467           ;;
   4468         sparc64-*linux*)
   4469           LD="${LD-ld} -m elf32_sparc"
   4470           ;;
   4471       esac
   4472       ;;
   4473     *64-bit*)
   4474       case $host in
   4475         x86_64-*linux*)
   4476           LD="${LD-ld} -m elf_x86_64"
   4477           ;;
   4478         ppc*-*linux*|powerpc*-*linux*)
   4479           LD="${LD-ld} -m elf64ppc"
   4480           ;;
   4481         s390*-*linux*)
   4482           LD="${LD-ld} -m elf64_s390"
   4483           ;;
   4484         sparc*-*linux*)
   4485           LD="${LD-ld} -m elf64_sparc"
   4486           ;;
   4487       esac
   4488       ;;
   4489     esac
   4490   fi
   4491   rm -rf conftest*
   4492   ;;
   4493 
   4494 *-*-sco3.2v5*)
   4495   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4496   SAVE_CFLAGS="$CFLAGS"
   4497   CFLAGS="$CFLAGS -belf"
   4498   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4499 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4500 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4501   echo $ECHO_N "(cached) $ECHO_C" >&6
   4502 else
   4503   ac_ext=c
   4504 ac_cpp='$CPP $CPPFLAGS'
   4505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4508 
   4509      cat >conftest.$ac_ext <<_ACEOF
   4510 /* confdefs.h.  */
   4511 _ACEOF
   4512 cat confdefs.h >>conftest.$ac_ext
   4513 cat >>conftest.$ac_ext <<_ACEOF
   4514 /* end confdefs.h.  */
   4515 
   4516 int
   4517 main ()
   4518 {
   4519 
   4520   ;
   4521   return 0;
   4522 }
   4523 _ACEOF
   4524 rm -f conftest.$ac_objext conftest$ac_exeext
   4525 if { (ac_try="$ac_link"
   4526 case "(($ac_try" in
   4527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4528   *) ac_try_echo=$ac_try;;
   4529 esac
   4530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4531   (eval "$ac_link") 2>conftest.er1
   4532   ac_status=$?
   4533   grep -v '^ *+' conftest.er1 >conftest.err
   4534   rm -f conftest.er1
   4535   cat conftest.err >&5
   4536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4537   (exit $ac_status); } &&
   4538 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4539   { (case "(($ac_try" in
   4540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4541   *) ac_try_echo=$ac_try;;
   4542 esac
   4543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4544   (eval "$ac_try") 2>&5
   4545   ac_status=$?
   4546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4547   (exit $ac_status); }; } &&
   4548 	 { ac_try='test -s conftest$ac_exeext'
   4549   { (case "(($ac_try" in
   4550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4551   *) ac_try_echo=$ac_try;;
   4552 esac
   4553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4554   (eval "$ac_try") 2>&5
   4555   ac_status=$?
   4556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4557   (exit $ac_status); }; }; then
   4558   lt_cv_cc_needs_belf=yes
   4559 else
   4560   echo "$as_me: failed program was:" >&5
   4561 sed 's/^/| /' conftest.$ac_ext >&5
   4562 
   4563 	lt_cv_cc_needs_belf=no
   4564 fi
   4565 
   4566 rm -f core conftest.err conftest.$ac_objext \
   4567       conftest$ac_exeext conftest.$ac_ext
   4568      ac_ext=c
   4569 ac_cpp='$CPP $CPPFLAGS'
   4570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4573 
   4574 fi
   4575 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4576 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4577   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4578     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4579     CFLAGS="$SAVE_CFLAGS"
   4580   fi
   4581   ;;
   4582 sparc*-*solaris*)
   4583   # Find out which ABI we are using.
   4584   echo 'int i;' > conftest.$ac_ext
   4585   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4586   (eval $ac_compile) 2>&5
   4587   ac_status=$?
   4588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4589   (exit $ac_status); }; then
   4590     case `/usr/bin/file conftest.o` in
   4591     *64-bit*)
   4592       case $lt_cv_prog_gnu_ld in
   4593       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4594       *)    LD="${LD-ld} -64" ;;
   4595       esac
   4596       ;;
   4597     esac
   4598   fi
   4599   rm -rf conftest*
   4600   ;;
   4601 
   4602 
   4603 esac
   4604 
   4605 need_locks="$enable_libtool_lock"
   4606 
   4607 
   4608 ac_ext=c
   4609 ac_cpp='$CPP $CPPFLAGS'
   4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4613 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4614 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4615 # On Suns, sometimes $CPP names a directory.
   4616 if test -n "$CPP" && test -d "$CPP"; then
   4617   CPP=
   4618 fi
   4619 if test -z "$CPP"; then
   4620   if test "${ac_cv_prog_CPP+set}" = set; then
   4621   echo $ECHO_N "(cached) $ECHO_C" >&6
   4622 else
   4623       # Double quotes because CPP needs to be expanded
   4624     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4625     do
   4626       ac_preproc_ok=false
   4627 for ac_c_preproc_warn_flag in '' yes
   4628 do
   4629   # Use a header file that comes with gcc, so configuring glibc
   4630   # with a fresh cross-compiler works.
   4631   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4632   # <limits.h> exists even on freestanding compilers.
   4633   # On the NeXT, cc -E runs the code through the compiler's parser,
   4634   # not just through cpp. "Syntax error" is here to catch this case.
   4635   cat >conftest.$ac_ext <<_ACEOF
   4636 /* confdefs.h.  */
   4637 _ACEOF
   4638 cat confdefs.h >>conftest.$ac_ext
   4639 cat >>conftest.$ac_ext <<_ACEOF
   4640 /* end confdefs.h.  */
   4641 #ifdef __STDC__
   4642 # include <limits.h>
   4643 #else
   4644 # include <assert.h>
   4645 #endif
   4646 		     Syntax error
   4647 _ACEOF
   4648 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4649 case "(($ac_try" in
   4650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4651   *) ac_try_echo=$ac_try;;
   4652 esac
   4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4654   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4655   ac_status=$?
   4656   grep -v '^ *+' conftest.er1 >conftest.err
   4657   rm -f conftest.er1
   4658   cat conftest.err >&5
   4659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4660   (exit $ac_status); } >/dev/null; then
   4661   if test -s conftest.err; then
   4662     ac_cpp_err=$ac_c_preproc_warn_flag
   4663     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4664   else
   4665     ac_cpp_err=
   4666   fi
   4667 else
   4668   ac_cpp_err=yes
   4669 fi
   4670 if test -z "$ac_cpp_err"; then
   4671   :
   4672 else
   4673   echo "$as_me: failed program was:" >&5
   4674 sed 's/^/| /' conftest.$ac_ext >&5
   4675 
   4676   # Broken: fails on valid input.
   4677 continue
   4678 fi
   4679 
   4680 rm -f conftest.err conftest.$ac_ext
   4681 
   4682   # OK, works on sane cases.  Now check whether nonexistent headers
   4683   # can be detected and how.
   4684   cat >conftest.$ac_ext <<_ACEOF
   4685 /* confdefs.h.  */
   4686 _ACEOF
   4687 cat confdefs.h >>conftest.$ac_ext
   4688 cat >>conftest.$ac_ext <<_ACEOF
   4689 /* end confdefs.h.  */
   4690 #include <ac_nonexistent.h>
   4691 _ACEOF
   4692 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4693 case "(($ac_try" in
   4694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4695   *) ac_try_echo=$ac_try;;
   4696 esac
   4697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4698   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4699   ac_status=$?
   4700   grep -v '^ *+' conftest.er1 >conftest.err
   4701   rm -f conftest.er1
   4702   cat conftest.err >&5
   4703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4704   (exit $ac_status); } >/dev/null; then
   4705   if test -s conftest.err; then
   4706     ac_cpp_err=$ac_c_preproc_warn_flag
   4707     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4708   else
   4709     ac_cpp_err=
   4710   fi
   4711 else
   4712   ac_cpp_err=yes
   4713 fi
   4714 if test -z "$ac_cpp_err"; then
   4715   # Broken: success on invalid input.
   4716 continue
   4717 else
   4718   echo "$as_me: failed program was:" >&5
   4719 sed 's/^/| /' conftest.$ac_ext >&5
   4720 
   4721   # Passes both tests.
   4722 ac_preproc_ok=:
   4723 break
   4724 fi
   4725 
   4726 rm -f conftest.err conftest.$ac_ext
   4727 
   4728 done
   4729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4730 rm -f conftest.err conftest.$ac_ext
   4731 if $ac_preproc_ok; then
   4732   break
   4733 fi
   4734 
   4735     done
   4736     ac_cv_prog_CPP=$CPP
   4737 
   4738 fi
   4739   CPP=$ac_cv_prog_CPP
   4740 else
   4741   ac_cv_prog_CPP=$CPP
   4742 fi
   4743 { echo "$as_me:$LINENO: result: $CPP" >&5
   4744 echo "${ECHO_T}$CPP" >&6; }
   4745 ac_preproc_ok=false
   4746 for ac_c_preproc_warn_flag in '' yes
   4747 do
   4748   # Use a header file that comes with gcc, so configuring glibc
   4749   # with a fresh cross-compiler works.
   4750   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4751   # <limits.h> exists even on freestanding compilers.
   4752   # On the NeXT, cc -E runs the code through the compiler's parser,
   4753   # not just through cpp. "Syntax error" is here to catch this case.
   4754   cat >conftest.$ac_ext <<_ACEOF
   4755 /* confdefs.h.  */
   4756 _ACEOF
   4757 cat confdefs.h >>conftest.$ac_ext
   4758 cat >>conftest.$ac_ext <<_ACEOF
   4759 /* end confdefs.h.  */
   4760 #ifdef __STDC__
   4761 # include <limits.h>
   4762 #else
   4763 # include <assert.h>
   4764 #endif
   4765 		     Syntax error
   4766 _ACEOF
   4767 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4768 case "(($ac_try" in
   4769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4770   *) ac_try_echo=$ac_try;;
   4771 esac
   4772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4773   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4774   ac_status=$?
   4775   grep -v '^ *+' conftest.er1 >conftest.err
   4776   rm -f conftest.er1
   4777   cat conftest.err >&5
   4778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4779   (exit $ac_status); } >/dev/null; then
   4780   if test -s conftest.err; then
   4781     ac_cpp_err=$ac_c_preproc_warn_flag
   4782     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4783   else
   4784     ac_cpp_err=
   4785   fi
   4786 else
   4787   ac_cpp_err=yes
   4788 fi
   4789 if test -z "$ac_cpp_err"; then
   4790   :
   4791 else
   4792   echo "$as_me: failed program was:" >&5
   4793 sed 's/^/| /' conftest.$ac_ext >&5
   4794 
   4795   # Broken: fails on valid input.
   4796 continue
   4797 fi
   4798 
   4799 rm -f conftest.err conftest.$ac_ext
   4800 
   4801   # OK, works on sane cases.  Now check whether nonexistent headers
   4802   # can be detected and how.
   4803   cat >conftest.$ac_ext <<_ACEOF
   4804 /* confdefs.h.  */
   4805 _ACEOF
   4806 cat confdefs.h >>conftest.$ac_ext
   4807 cat >>conftest.$ac_ext <<_ACEOF
   4808 /* end confdefs.h.  */
   4809 #include <ac_nonexistent.h>
   4810 _ACEOF
   4811 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4812 case "(($ac_try" in
   4813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4814   *) ac_try_echo=$ac_try;;
   4815 esac
   4816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4817   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4818   ac_status=$?
   4819   grep -v '^ *+' conftest.er1 >conftest.err
   4820   rm -f conftest.er1
   4821   cat conftest.err >&5
   4822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4823   (exit $ac_status); } >/dev/null; then
   4824   if test -s conftest.err; then
   4825     ac_cpp_err=$ac_c_preproc_warn_flag
   4826     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4827   else
   4828     ac_cpp_err=
   4829   fi
   4830 else
   4831   ac_cpp_err=yes
   4832 fi
   4833 if test -z "$ac_cpp_err"; then
   4834   # Broken: success on invalid input.
   4835 continue
   4836 else
   4837   echo "$as_me: failed program was:" >&5
   4838 sed 's/^/| /' conftest.$ac_ext >&5
   4839 
   4840   # Passes both tests.
   4841 ac_preproc_ok=:
   4842 break
   4843 fi
   4844 
   4845 rm -f conftest.err conftest.$ac_ext
   4846 
   4847 done
   4848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4849 rm -f conftest.err conftest.$ac_ext
   4850 if $ac_preproc_ok; then
   4851   :
   4852 else
   4853   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4854 See \`config.log' for more details." >&5
   4855 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4856 See \`config.log' for more details." >&2;}
   4857    { (exit 1); exit 1; }; }
   4858 fi
   4859 
   4860 ac_ext=c
   4861 ac_cpp='$CPP $CPPFLAGS'
   4862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4865 
   4866 
   4867 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4868 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4869 if test "${ac_cv_header_stdc+set}" = set; then
   4870   echo $ECHO_N "(cached) $ECHO_C" >&6
   4871 else
   4872   cat >conftest.$ac_ext <<_ACEOF
   4873 /* confdefs.h.  */
   4874 _ACEOF
   4875 cat confdefs.h >>conftest.$ac_ext
   4876 cat >>conftest.$ac_ext <<_ACEOF
   4877 /* end confdefs.h.  */
   4878 #include <stdlib.h>
   4879 #include <stdarg.h>
   4880 #include <string.h>
   4881 #include <float.h>
   4882 
   4883 int
   4884 main ()
   4885 {
   4886 
   4887   ;
   4888   return 0;
   4889 }
   4890 _ACEOF
   4891 rm -f conftest.$ac_objext
   4892 if { (ac_try="$ac_compile"
   4893 case "(($ac_try" in
   4894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4895   *) ac_try_echo=$ac_try;;
   4896 esac
   4897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4898   (eval "$ac_compile") 2>conftest.er1
   4899   ac_status=$?
   4900   grep -v '^ *+' conftest.er1 >conftest.err
   4901   rm -f conftest.er1
   4902   cat conftest.err >&5
   4903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4904   (exit $ac_status); } &&
   4905 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4906   { (case "(($ac_try" in
   4907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4908   *) ac_try_echo=$ac_try;;
   4909 esac
   4910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4911   (eval "$ac_try") 2>&5
   4912   ac_status=$?
   4913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4914   (exit $ac_status); }; } &&
   4915 	 { ac_try='test -s conftest.$ac_objext'
   4916   { (case "(($ac_try" in
   4917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4918   *) ac_try_echo=$ac_try;;
   4919 esac
   4920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4921   (eval "$ac_try") 2>&5
   4922   ac_status=$?
   4923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4924   (exit $ac_status); }; }; then
   4925   ac_cv_header_stdc=yes
   4926 else
   4927   echo "$as_me: failed program was:" >&5
   4928 sed 's/^/| /' conftest.$ac_ext >&5
   4929 
   4930 	ac_cv_header_stdc=no
   4931 fi
   4932 
   4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4934 
   4935 if test $ac_cv_header_stdc = yes; then
   4936   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4937   cat >conftest.$ac_ext <<_ACEOF
   4938 /* confdefs.h.  */
   4939 _ACEOF
   4940 cat confdefs.h >>conftest.$ac_ext
   4941 cat >>conftest.$ac_ext <<_ACEOF
   4942 /* end confdefs.h.  */
   4943 #include <string.h>
   4944 
   4945 _ACEOF
   4946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4947   $EGREP "memchr" >/dev/null 2>&1; then
   4948   :
   4949 else
   4950   ac_cv_header_stdc=no
   4951 fi
   4952 rm -f conftest*
   4953 
   4954 fi
   4955 
   4956 if test $ac_cv_header_stdc = yes; then
   4957   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4958   cat >conftest.$ac_ext <<_ACEOF
   4959 /* confdefs.h.  */
   4960 _ACEOF
   4961 cat confdefs.h >>conftest.$ac_ext
   4962 cat >>conftest.$ac_ext <<_ACEOF
   4963 /* end confdefs.h.  */
   4964 #include <stdlib.h>
   4965 
   4966 _ACEOF
   4967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4968   $EGREP "free" >/dev/null 2>&1; then
   4969   :
   4970 else
   4971   ac_cv_header_stdc=no
   4972 fi
   4973 rm -f conftest*
   4974 
   4975 fi
   4976 
   4977 if test $ac_cv_header_stdc = yes; then
   4978   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4979   if test "$cross_compiling" = yes; then
   4980   :
   4981 else
   4982   cat >conftest.$ac_ext <<_ACEOF
   4983 /* confdefs.h.  */
   4984 _ACEOF
   4985 cat confdefs.h >>conftest.$ac_ext
   4986 cat >>conftest.$ac_ext <<_ACEOF
   4987 /* end confdefs.h.  */
   4988 #include <ctype.h>
   4989 #include <stdlib.h>
   4990 #if ((' ' & 0x0FF) == 0x020)
   4991 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4992 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4993 #else
   4994 # define ISLOWER(c) \
   4995 		   (('a' <= (c) && (c) <= 'i') \
   4996 		     || ('j' <= (c) && (c) <= 'r') \
   4997 		     || ('s' <= (c) && (c) <= 'z'))
   4998 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4999 #endif
   5000 
   5001 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5002 int
   5003 main ()
   5004 {
   5005   int i;
   5006   for (i = 0; i < 256; i++)
   5007     if (XOR (islower (i), ISLOWER (i))
   5008 	|| toupper (i) != TOUPPER (i))
   5009       return 2;
   5010   return 0;
   5011 }
   5012 _ACEOF
   5013 rm -f conftest$ac_exeext
   5014 if { (ac_try="$ac_link"
   5015 case "(($ac_try" in
   5016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5017   *) ac_try_echo=$ac_try;;
   5018 esac
   5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5020   (eval "$ac_link") 2>&5
   5021   ac_status=$?
   5022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5023   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5024   { (case "(($ac_try" in
   5025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5026   *) ac_try_echo=$ac_try;;
   5027 esac
   5028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5029   (eval "$ac_try") 2>&5
   5030   ac_status=$?
   5031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5032   (exit $ac_status); }; }; then
   5033   :
   5034 else
   5035   echo "$as_me: program exited with status $ac_status" >&5
   5036 echo "$as_me: failed program was:" >&5
   5037 sed 's/^/| /' conftest.$ac_ext >&5
   5038 
   5039 ( exit $ac_status )
   5040 ac_cv_header_stdc=no
   5041 fi
   5042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5043 fi
   5044 
   5045 
   5046 fi
   5047 fi
   5048 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5049 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5050 if test $ac_cv_header_stdc = yes; then
   5051 
   5052 cat >>confdefs.h <<\_ACEOF
   5053 #define STDC_HEADERS 1
   5054 _ACEOF
   5055 
   5056 fi
   5057 
   5058 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5069 		  inttypes.h stdint.h unistd.h
   5070 do
   5071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5072 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5074 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5075   echo $ECHO_N "(cached) $ECHO_C" >&6
   5076 else
   5077   cat >conftest.$ac_ext <<_ACEOF
   5078 /* confdefs.h.  */
   5079 _ACEOF
   5080 cat confdefs.h >>conftest.$ac_ext
   5081 cat >>conftest.$ac_ext <<_ACEOF
   5082 /* end confdefs.h.  */
   5083 $ac_includes_default
   5084 
   5085 #include <$ac_header>
   5086 _ACEOF
   5087 rm -f conftest.$ac_objext
   5088 if { (ac_try="$ac_compile"
   5089 case "(($ac_try" in
   5090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5091   *) ac_try_echo=$ac_try;;
   5092 esac
   5093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5094   (eval "$ac_compile") 2>conftest.er1
   5095   ac_status=$?
   5096   grep -v '^ *+' conftest.er1 >conftest.err
   5097   rm -f conftest.er1
   5098   cat conftest.err >&5
   5099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5100   (exit $ac_status); } &&
   5101 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   5102   { (case "(($ac_try" in
   5103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5104   *) ac_try_echo=$ac_try;;
   5105 esac
   5106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5107   (eval "$ac_try") 2>&5
   5108   ac_status=$?
   5109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5110   (exit $ac_status); }; } &&
   5111 	 { ac_try='test -s conftest.$ac_objext'
   5112   { (case "(($ac_try" in
   5113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5114   *) ac_try_echo=$ac_try;;
   5115 esac
   5116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5117   (eval "$ac_try") 2>&5
   5118   ac_status=$?
   5119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5120   (exit $ac_status); }; }; then
   5121   eval "$as_ac_Header=yes"
   5122 else
   5123   echo "$as_me: failed program was:" >&5
   5124 sed 's/^/| /' conftest.$ac_ext >&5
   5125 
   5126 	eval "$as_ac_Header=no"
   5127 fi
   5128 
   5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5130 fi
   5131 ac_res=`eval echo '${'$as_ac_Header'}'`
   5132 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5133 echo "${ECHO_T}$ac_res" >&6; }
   5134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5135   cat >>confdefs.h <<_ACEOF
   5136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5137 _ACEOF
   5138 
   5139 fi
   5140 
   5141 done
   5142 
   5143 
   5144 
   5145 for ac_header in dlfcn.h
   5146 do
   5147 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5149   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5152   echo $ECHO_N "(cached) $ECHO_C" >&6
   5153 fi
   5154 ac_res=`eval echo '${'$as_ac_Header'}'`
   5155 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5156 echo "${ECHO_T}$ac_res" >&6; }
   5157 else
   5158   # Is the header compilable?
   5159 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5161 cat >conftest.$ac_ext <<_ACEOF
   5162 /* confdefs.h.  */
   5163 _ACEOF
   5164 cat confdefs.h >>conftest.$ac_ext
   5165 cat >>conftest.$ac_ext <<_ACEOF
   5166 /* end confdefs.h.  */
   5167 $ac_includes_default
   5168 #include <$ac_header>
   5169 _ACEOF
   5170 rm -f conftest.$ac_objext
   5171 if { (ac_try="$ac_compile"
   5172 case "(($ac_try" in
   5173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5174   *) ac_try_echo=$ac_try;;
   5175 esac
   5176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5177   (eval "$ac_compile") 2>conftest.er1
   5178   ac_status=$?
   5179   grep -v '^ *+' conftest.er1 >conftest.err
   5180   rm -f conftest.er1
   5181   cat conftest.err >&5
   5182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5183   (exit $ac_status); } &&
   5184 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   5185   { (case "(($ac_try" in
   5186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5187   *) ac_try_echo=$ac_try;;
   5188 esac
   5189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5190   (eval "$ac_try") 2>&5
   5191   ac_status=$?
   5192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5193   (exit $ac_status); }; } &&
   5194 	 { ac_try='test -s conftest.$ac_objext'
   5195   { (case "(($ac_try" in
   5196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5197   *) ac_try_echo=$ac_try;;
   5198 esac
   5199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5200   (eval "$ac_try") 2>&5
   5201   ac_status=$?
   5202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5203   (exit $ac_status); }; }; then
   5204   ac_header_compiler=yes
   5205 else
   5206   echo "$as_me: failed program was:" >&5
   5207 sed 's/^/| /' conftest.$ac_ext >&5
   5208 
   5209 	ac_header_compiler=no
   5210 fi
   5211 
   5212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5213 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5214 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5215 
   5216 # Is the header present?
   5217 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5219 cat >conftest.$ac_ext <<_ACEOF
   5220 /* confdefs.h.  */
   5221 _ACEOF
   5222 cat confdefs.h >>conftest.$ac_ext
   5223 cat >>conftest.$ac_ext <<_ACEOF
   5224 /* end confdefs.h.  */
   5225 #include <$ac_header>
   5226 _ACEOF
   5227 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5228 case "(($ac_try" in
   5229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5230   *) ac_try_echo=$ac_try;;
   5231 esac
   5232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5233   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5234   ac_status=$?
   5235   grep -v '^ *+' conftest.er1 >conftest.err
   5236   rm -f conftest.er1
   5237   cat conftest.err >&5
   5238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5239   (exit $ac_status); } >/dev/null; then
   5240   if test -s conftest.err; then
   5241     ac_cpp_err=$ac_c_preproc_warn_flag
   5242     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5243   else
   5244     ac_cpp_err=
   5245   fi
   5246 else
   5247   ac_cpp_err=yes
   5248 fi
   5249 if test -z "$ac_cpp_err"; then
   5250   ac_header_preproc=yes
   5251 else
   5252   echo "$as_me: failed program was:" >&5
   5253 sed 's/^/| /' conftest.$ac_ext >&5
   5254 
   5255   ac_header_preproc=no
   5256 fi
   5257 
   5258 rm -f conftest.err conftest.$ac_ext
   5259 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5260 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5261 
   5262 # So?  What about this header?
   5263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5264   yes:no: )
   5265     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5267     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5269     ac_header_preproc=yes
   5270     ;;
   5271   no:yes:* )
   5272     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5274     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5275 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5276     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5278     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5279 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5280     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5282     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5284     ( cat <<\_ASBOX
   5285 ## ---------------------------------------------------------------------- ##
   5286 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5287 ## ---------------------------------------------------------------------- ##
   5288 _ASBOX
   5289      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5290     ;;
   5291 esac
   5292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5295   echo $ECHO_N "(cached) $ECHO_C" >&6
   5296 else
   5297   eval "$as_ac_Header=\$ac_header_preproc"
   5298 fi
   5299 ac_res=`eval echo '${'$as_ac_Header'}'`
   5300 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5301 echo "${ECHO_T}$ac_res" >&6; }
   5302 
   5303 fi
   5304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5305   cat >>confdefs.h <<_ACEOF
   5306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5307 _ACEOF
   5308 
   5309 fi
   5310 
   5311 done
   5312 
   5313 ac_ext=cpp
   5314 ac_cpp='$CXXCPP $CPPFLAGS'
   5315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5318 if test -z "$CXX"; then
   5319   if test -n "$CCC"; then
   5320     CXX=$CCC
   5321   else
   5322     if test -n "$ac_tool_prefix"; then
   5323   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5324   do
   5325     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5329 if test "${ac_cv_prog_CXX+set}" = set; then
   5330   echo $ECHO_N "(cached) $ECHO_C" >&6
   5331 else
   5332   if test -n "$CXX"; then
   5333   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5334 else
   5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5336 for as_dir in $PATH
   5337 do
   5338   IFS=$as_save_IFS
   5339   test -z "$as_dir" && as_dir=.
   5340   for ac_exec_ext in '' $ac_executable_extensions; do
   5341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5342     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5343     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5344     break 2
   5345   fi
   5346 done
   5347 done
   5348 IFS=$as_save_IFS
   5349 
   5350 fi
   5351 fi
   5352 CXX=$ac_cv_prog_CXX
   5353 if test -n "$CXX"; then
   5354   { echo "$as_me:$LINENO: result: $CXX" >&5
   5355 echo "${ECHO_T}$CXX" >&6; }
   5356 else
   5357   { echo "$as_me:$LINENO: result: no" >&5
   5358 echo "${ECHO_T}no" >&6; }
   5359 fi
   5360 
   5361 
   5362     test -n "$CXX" && break
   5363   done
   5364 fi
   5365 if test -z "$CXX"; then
   5366   ac_ct_CXX=$CXX
   5367   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5368 do
   5369   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5370 set dummy $ac_prog; ac_word=$2
   5371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5373 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5374   echo $ECHO_N "(cached) $ECHO_C" >&6
   5375 else
   5376   if test -n "$ac_ct_CXX"; then
   5377   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5378 else
   5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5380 for as_dir in $PATH
   5381 do
   5382   IFS=$as_save_IFS
   5383   test -z "$as_dir" && as_dir=.
   5384   for ac_exec_ext in '' $ac_executable_extensions; do
   5385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5386     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5387     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5388     break 2
   5389   fi
   5390 done
   5391 done
   5392 IFS=$as_save_IFS
   5393 
   5394 fi
   5395 fi
   5396 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5397 if test -n "$ac_ct_CXX"; then
   5398   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5399 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5400 else
   5401   { echo "$as_me:$LINENO: result: no" >&5
   5402 echo "${ECHO_T}no" >&6; }
   5403 fi
   5404 
   5405 
   5406   test -n "$ac_ct_CXX" && break
   5407 done
   5408 
   5409   if test "x$ac_ct_CXX" = x; then
   5410     CXX="g++"
   5411   else
   5412     case $cross_compiling:$ac_tool_warned in
   5413 yes:)
   5414 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5415 whose name does not start with the host triplet.  If you think this
   5416 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5417 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5418 whose name does not start with the host triplet.  If you think this
   5419 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5420 ac_tool_warned=yes ;;
   5421 esac
   5422     CXX=$ac_ct_CXX
   5423   fi
   5424 fi
   5425 
   5426   fi
   5427 fi
   5428 # Provide some information about the compiler.
   5429 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5430 ac_compiler=`set X $ac_compile; echo $2`
   5431 { (ac_try="$ac_compiler --version >&5"
   5432 case "(($ac_try" in
   5433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5434   *) ac_try_echo=$ac_try;;
   5435 esac
   5436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5437   (eval "$ac_compiler --version >&5") 2>&5
   5438   ac_status=$?
   5439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5440   (exit $ac_status); }
   5441 { (ac_try="$ac_compiler -v >&5"
   5442 case "(($ac_try" in
   5443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5444   *) ac_try_echo=$ac_try;;
   5445 esac
   5446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5447   (eval "$ac_compiler -v >&5") 2>&5
   5448   ac_status=$?
   5449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5450   (exit $ac_status); }
   5451 { (ac_try="$ac_compiler -V >&5"
   5452 case "(($ac_try" in
   5453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5454   *) ac_try_echo=$ac_try;;
   5455 esac
   5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5457   (eval "$ac_compiler -V >&5") 2>&5
   5458   ac_status=$?
   5459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5460   (exit $ac_status); }
   5461 
   5462 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5463 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5464 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5465   echo $ECHO_N "(cached) $ECHO_C" >&6
   5466 else
   5467   cat >conftest.$ac_ext <<_ACEOF
   5468 /* confdefs.h.  */
   5469 _ACEOF
   5470 cat confdefs.h >>conftest.$ac_ext
   5471 cat >>conftest.$ac_ext <<_ACEOF
   5472 /* end confdefs.h.  */
   5473 
   5474 int
   5475 main ()
   5476 {
   5477 #ifndef __GNUC__
   5478        choke me
   5479 #endif
   5480 
   5481   ;
   5482   return 0;
   5483 }
   5484 _ACEOF
   5485 rm -f conftest.$ac_objext
   5486 if { (ac_try="$ac_compile"
   5487 case "(($ac_try" in
   5488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5489   *) ac_try_echo=$ac_try;;
   5490 esac
   5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5492   (eval "$ac_compile") 2>conftest.er1
   5493   ac_status=$?
   5494   grep -v '^ *+' conftest.er1 >conftest.err
   5495   rm -f conftest.er1
   5496   cat conftest.err >&5
   5497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5498   (exit $ac_status); } &&
   5499 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5500   { (case "(($ac_try" in
   5501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5502   *) ac_try_echo=$ac_try;;
   5503 esac
   5504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5505   (eval "$ac_try") 2>&5
   5506   ac_status=$?
   5507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5508   (exit $ac_status); }; } &&
   5509 	 { ac_try='test -s conftest.$ac_objext'
   5510   { (case "(($ac_try" in
   5511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5512   *) ac_try_echo=$ac_try;;
   5513 esac
   5514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5515   (eval "$ac_try") 2>&5
   5516   ac_status=$?
   5517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5518   (exit $ac_status); }; }; then
   5519   ac_compiler_gnu=yes
   5520 else
   5521   echo "$as_me: failed program was:" >&5
   5522 sed 's/^/| /' conftest.$ac_ext >&5
   5523 
   5524 	ac_compiler_gnu=no
   5525 fi
   5526 
   5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5528 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5529 
   5530 fi
   5531 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5532 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5533 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5534 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5535 ac_save_CXXFLAGS=$CXXFLAGS
   5536 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5537 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5538 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5539   echo $ECHO_N "(cached) $ECHO_C" >&6
   5540 else
   5541   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5542    ac_cxx_werror_flag=yes
   5543    ac_cv_prog_cxx_g=no
   5544    CXXFLAGS="-g"
   5545    cat >conftest.$ac_ext <<_ACEOF
   5546 /* confdefs.h.  */
   5547 _ACEOF
   5548 cat confdefs.h >>conftest.$ac_ext
   5549 cat >>conftest.$ac_ext <<_ACEOF
   5550 /* end confdefs.h.  */
   5551 
   5552 int
   5553 main ()
   5554 {
   5555 
   5556   ;
   5557   return 0;
   5558 }
   5559 _ACEOF
   5560 rm -f conftest.$ac_objext
   5561 if { (ac_try="$ac_compile"
   5562 case "(($ac_try" in
   5563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5564   *) ac_try_echo=$ac_try;;
   5565 esac
   5566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5567   (eval "$ac_compile") 2>conftest.er1
   5568   ac_status=$?
   5569   grep -v '^ *+' conftest.er1 >conftest.err
   5570   rm -f conftest.er1
   5571   cat conftest.err >&5
   5572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5573   (exit $ac_status); } &&
   5574 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5575   { (case "(($ac_try" in
   5576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5577   *) ac_try_echo=$ac_try;;
   5578 esac
   5579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5580   (eval "$ac_try") 2>&5
   5581   ac_status=$?
   5582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5583   (exit $ac_status); }; } &&
   5584 	 { ac_try='test -s conftest.$ac_objext'
   5585   { (case "(($ac_try" in
   5586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5587   *) ac_try_echo=$ac_try;;
   5588 esac
   5589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5590   (eval "$ac_try") 2>&5
   5591   ac_status=$?
   5592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5593   (exit $ac_status); }; }; then
   5594   ac_cv_prog_cxx_g=yes
   5595 else
   5596   echo "$as_me: failed program was:" >&5
   5597 sed 's/^/| /' conftest.$ac_ext >&5
   5598 
   5599 	CXXFLAGS=""
   5600       cat >conftest.$ac_ext <<_ACEOF
   5601 /* confdefs.h.  */
   5602 _ACEOF
   5603 cat confdefs.h >>conftest.$ac_ext
   5604 cat >>conftest.$ac_ext <<_ACEOF
   5605 /* end confdefs.h.  */
   5606 
   5607 int
   5608 main ()
   5609 {
   5610 
   5611   ;
   5612   return 0;
   5613 }
   5614 _ACEOF
   5615 rm -f conftest.$ac_objext
   5616 if { (ac_try="$ac_compile"
   5617 case "(($ac_try" in
   5618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5619   *) ac_try_echo=$ac_try;;
   5620 esac
   5621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5622   (eval "$ac_compile") 2>conftest.er1
   5623   ac_status=$?
   5624   grep -v '^ *+' conftest.er1 >conftest.err
   5625   rm -f conftest.er1
   5626   cat conftest.err >&5
   5627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5628   (exit $ac_status); } &&
   5629 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5630   { (case "(($ac_try" in
   5631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5632   *) ac_try_echo=$ac_try;;
   5633 esac
   5634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5635   (eval "$ac_try") 2>&5
   5636   ac_status=$?
   5637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5638   (exit $ac_status); }; } &&
   5639 	 { ac_try='test -s conftest.$ac_objext'
   5640   { (case "(($ac_try" in
   5641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5642   *) ac_try_echo=$ac_try;;
   5643 esac
   5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5645   (eval "$ac_try") 2>&5
   5646   ac_status=$?
   5647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5648   (exit $ac_status); }; }; then
   5649   :
   5650 else
   5651   echo "$as_me: failed program was:" >&5
   5652 sed 's/^/| /' conftest.$ac_ext >&5
   5653 
   5654 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5655 	 CXXFLAGS="-g"
   5656 	 cat >conftest.$ac_ext <<_ACEOF
   5657 /* confdefs.h.  */
   5658 _ACEOF
   5659 cat confdefs.h >>conftest.$ac_ext
   5660 cat >>conftest.$ac_ext <<_ACEOF
   5661 /* end confdefs.h.  */
   5662 
   5663 int
   5664 main ()
   5665 {
   5666 
   5667   ;
   5668   return 0;
   5669 }
   5670 _ACEOF
   5671 rm -f conftest.$ac_objext
   5672 if { (ac_try="$ac_compile"
   5673 case "(($ac_try" in
   5674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5675   *) ac_try_echo=$ac_try;;
   5676 esac
   5677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5678   (eval "$ac_compile") 2>conftest.er1
   5679   ac_status=$?
   5680   grep -v '^ *+' conftest.er1 >conftest.err
   5681   rm -f conftest.er1
   5682   cat conftest.err >&5
   5683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5684   (exit $ac_status); } &&
   5685 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   5686   { (case "(($ac_try" in
   5687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5688   *) ac_try_echo=$ac_try;;
   5689 esac
   5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5691   (eval "$ac_try") 2>&5
   5692   ac_status=$?
   5693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5694   (exit $ac_status); }; } &&
   5695 	 { ac_try='test -s conftest.$ac_objext'
   5696   { (case "(($ac_try" in
   5697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5698   *) ac_try_echo=$ac_try;;
   5699 esac
   5700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5701   (eval "$ac_try") 2>&5
   5702   ac_status=$?
   5703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5704   (exit $ac_status); }; }; then
   5705   ac_cv_prog_cxx_g=yes
   5706 else
   5707   echo "$as_me: failed program was:" >&5
   5708 sed 's/^/| /' conftest.$ac_ext >&5
   5709 
   5710 
   5711 fi
   5712 
   5713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5714 fi
   5715 
   5716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5717 fi
   5718 
   5719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5720    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5721 fi
   5722 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5723 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5724 if test "$ac_test_CXXFLAGS" = set; then
   5725   CXXFLAGS=$ac_save_CXXFLAGS
   5726 elif test $ac_cv_prog_cxx_g = yes; then
   5727   if test "$GXX" = yes; then
   5728     CXXFLAGS="-g -O2"
   5729   else
   5730     CXXFLAGS="-g"
   5731   fi
   5732 else
   5733   if test "$GXX" = yes; then
   5734     CXXFLAGS="-O2"
   5735   else
   5736     CXXFLAGS=
   5737   fi
   5738 fi
   5739 ac_ext=cpp
   5740 ac_cpp='$CXXCPP $CPPFLAGS'
   5741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5744 
   5745 depcc="$CXX"  am_compiler_list=
   5746 
   5747 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5748 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5749 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5750   echo $ECHO_N "(cached) $ECHO_C" >&6
   5751 else
   5752   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5753   # We make a subdir and do the tests there.  Otherwise we can end up
   5754   # making bogus files that we don't know about and never remove.  For
   5755   # instance it was reported that on HP-UX the gcc test will end up
   5756   # making a dummy file named `D' -- because `-MD' means `put the output
   5757   # in D'.
   5758   mkdir conftest.dir
   5759   # Copy depcomp to subdir because otherwise we won't find it if we're
   5760   # using a relative directory.
   5761   cp "$am_depcomp" conftest.dir
   5762   cd conftest.dir
   5763   # We will build objects and dependencies in a subdirectory because
   5764   # it helps to detect inapplicable dependency modes.  For instance
   5765   # both Tru64's cc and ICC support -MD to output dependencies as a
   5766   # side effect of compilation, but ICC will put the dependencies in
   5767   # the current directory while Tru64 will put them in the object
   5768   # directory.
   5769   mkdir sub
   5770 
   5771   am_cv_CXX_dependencies_compiler_type=none
   5772   if test "$am_compiler_list" = ""; then
   5773      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5774   fi
   5775   for depmode in $am_compiler_list; do
   5776     # Setup a source with many dependencies, because some compilers
   5777     # like to wrap large dependency lists on column 80 (with \), and
   5778     # we should not choose a depcomp mode which is confused by this.
   5779     #
   5780     # We need to recreate these files for each test, as the compiler may
   5781     # overwrite some of them when testing with obscure command lines.
   5782     # This happens at least with the AIX C compiler.
   5783     : > sub/conftest.c
   5784     for i in 1 2 3 4 5 6; do
   5785       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5786       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5787       # Solaris 8's {/usr,}/bin/sh.
   5788       touch sub/conftst$i.h
   5789     done
   5790     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5791 
   5792     case $depmode in
   5793     nosideeffect)
   5794       # after this tag, mechanisms are not by side-effect, so they'll
   5795       # only be used when explicitly requested
   5796       if test "x$enable_dependency_tracking" = xyes; then
   5797 	continue
   5798       else
   5799 	break
   5800       fi
   5801       ;;
   5802     none) break ;;
   5803     esac
   5804     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5805     # mode.  It turns out that the SunPro C++ compiler does not properly
   5806     # handle `-M -o', and we need to detect this.
   5807     if depmode=$depmode \
   5808        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5809        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5810        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5811          >/dev/null 2>conftest.err &&
   5812        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5813        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5814        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5815       # icc doesn't choke on unknown options, it will just issue warnings
   5816       # or remarks (even with -Werror).  So we grep stderr for any message
   5817       # that says an option was ignored or not supported.
   5818       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5819       #   icc: Command line warning: ignoring option '-M'; no argument required
   5820       # The diagnosis changed in icc 8.0:
   5821       #   icc: Command line remark: option '-MP' not supported
   5822       if (grep 'ignoring option' conftest.err ||
   5823           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5824         am_cv_CXX_dependencies_compiler_type=$depmode
   5825         break
   5826       fi
   5827     fi
   5828   done
   5829 
   5830   cd ..
   5831   rm -rf conftest.dir
   5832 else
   5833   am_cv_CXX_dependencies_compiler_type=none
   5834 fi
   5835 
   5836 fi
   5837 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5838 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5839 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5840 
   5841 
   5842 
   5843 if
   5844   test "x$enable_dependency_tracking" != xno \
   5845   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5846   am__fastdepCXX_TRUE=
   5847   am__fastdepCXX_FALSE='#'
   5848 else
   5849   am__fastdepCXX_TRUE='#'
   5850   am__fastdepCXX_FALSE=
   5851 fi
   5852 
   5853 
   5854 
   5855 
   5856 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5857     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5858     (test "X$CXX" != "Xg++"))) ; then
   5859   ac_ext=cpp
   5860 ac_cpp='$CXXCPP $CPPFLAGS'
   5861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5864 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5865 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5866 if test -z "$CXXCPP"; then
   5867   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5868   echo $ECHO_N "(cached) $ECHO_C" >&6
   5869 else
   5870       # Double quotes because CXXCPP needs to be expanded
   5871     for CXXCPP in "$CXX -E" "/lib/cpp"
   5872     do
   5873       ac_preproc_ok=false
   5874 for ac_cxx_preproc_warn_flag in '' yes
   5875 do
   5876   # Use a header file that comes with gcc, so configuring glibc
   5877   # with a fresh cross-compiler works.
   5878   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5879   # <limits.h> exists even on freestanding compilers.
   5880   # On the NeXT, cc -E runs the code through the compiler's parser,
   5881   # not just through cpp. "Syntax error" is here to catch this case.
   5882   cat >conftest.$ac_ext <<_ACEOF
   5883 /* confdefs.h.  */
   5884 _ACEOF
   5885 cat confdefs.h >>conftest.$ac_ext
   5886 cat >>conftest.$ac_ext <<_ACEOF
   5887 /* end confdefs.h.  */
   5888 #ifdef __STDC__
   5889 # include <limits.h>
   5890 #else
   5891 # include <assert.h>
   5892 #endif
   5893 		     Syntax error
   5894 _ACEOF
   5895 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5896 case "(($ac_try" in
   5897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5898   *) ac_try_echo=$ac_try;;
   5899 esac
   5900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5901   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5902   ac_status=$?
   5903   grep -v '^ *+' conftest.er1 >conftest.err
   5904   rm -f conftest.er1
   5905   cat conftest.err >&5
   5906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5907   (exit $ac_status); } >/dev/null; then
   5908   if test -s conftest.err; then
   5909     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5910     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5911   else
   5912     ac_cpp_err=
   5913   fi
   5914 else
   5915   ac_cpp_err=yes
   5916 fi
   5917 if test -z "$ac_cpp_err"; then
   5918   :
   5919 else
   5920   echo "$as_me: failed program was:" >&5
   5921 sed 's/^/| /' conftest.$ac_ext >&5
   5922 
   5923   # Broken: fails on valid input.
   5924 continue
   5925 fi
   5926 
   5927 rm -f conftest.err conftest.$ac_ext
   5928 
   5929   # OK, works on sane cases.  Now check whether nonexistent headers
   5930   # can be detected and how.
   5931   cat >conftest.$ac_ext <<_ACEOF
   5932 /* confdefs.h.  */
   5933 _ACEOF
   5934 cat confdefs.h >>conftest.$ac_ext
   5935 cat >>conftest.$ac_ext <<_ACEOF
   5936 /* end confdefs.h.  */
   5937 #include <ac_nonexistent.h>
   5938 _ACEOF
   5939 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5940 case "(($ac_try" in
   5941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5942   *) ac_try_echo=$ac_try;;
   5943 esac
   5944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5945   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5946   ac_status=$?
   5947   grep -v '^ *+' conftest.er1 >conftest.err
   5948   rm -f conftest.er1
   5949   cat conftest.err >&5
   5950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5951   (exit $ac_status); } >/dev/null; then
   5952   if test -s conftest.err; then
   5953     ac_cpp_err=$ac_cxx_preproc_warn_flag
   5954     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   5955   else
   5956     ac_cpp_err=
   5957   fi
   5958 else
   5959   ac_cpp_err=yes
   5960 fi
   5961 if test -z "$ac_cpp_err"; then
   5962   # Broken: success on invalid input.
   5963 continue
   5964 else
   5965   echo "$as_me: failed program was:" >&5
   5966 sed 's/^/| /' conftest.$ac_ext >&5
   5967 
   5968   # Passes both tests.
   5969 ac_preproc_ok=:
   5970 break
   5971 fi
   5972 
   5973 rm -f conftest.err conftest.$ac_ext
   5974 
   5975 done
   5976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5977 rm -f conftest.err conftest.$ac_ext
   5978 if $ac_preproc_ok; then
   5979   break
   5980 fi
   5981 
   5982     done
   5983     ac_cv_prog_CXXCPP=$CXXCPP
   5984 
   5985 fi
   5986   CXXCPP=$ac_cv_prog_CXXCPP
   5987 else
   5988   ac_cv_prog_CXXCPP=$CXXCPP
   5989 fi
   5990 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5991 echo "${ECHO_T}$CXXCPP" >&6; }
   5992 ac_preproc_ok=false
   5993 for ac_cxx_preproc_warn_flag in '' yes
   5994 do
   5995   # Use a header file that comes with gcc, so configuring glibc
   5996   # with a fresh cross-compiler works.
   5997   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5998   # <limits.h> exists even on freestanding compilers.
   5999   # On the NeXT, cc -E runs the code through the compiler's parser,
   6000   # not just through cpp. "Syntax error" is here to catch this case.
   6001   cat >conftest.$ac_ext <<_ACEOF
   6002 /* confdefs.h.  */
   6003 _ACEOF
   6004 cat confdefs.h >>conftest.$ac_ext
   6005 cat >>conftest.$ac_ext <<_ACEOF
   6006 /* end confdefs.h.  */
   6007 #ifdef __STDC__
   6008 # include <limits.h>
   6009 #else
   6010 # include <assert.h>
   6011 #endif
   6012 		     Syntax error
   6013 _ACEOF
   6014 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6015 case "(($ac_try" in
   6016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6017   *) ac_try_echo=$ac_try;;
   6018 esac
   6019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6020   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6021   ac_status=$?
   6022   grep -v '^ *+' conftest.er1 >conftest.err
   6023   rm -f conftest.er1
   6024   cat conftest.err >&5
   6025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6026   (exit $ac_status); } >/dev/null; then
   6027   if test -s conftest.err; then
   6028     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6029     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6030   else
   6031     ac_cpp_err=
   6032   fi
   6033 else
   6034   ac_cpp_err=yes
   6035 fi
   6036 if test -z "$ac_cpp_err"; then
   6037   :
   6038 else
   6039   echo "$as_me: failed program was:" >&5
   6040 sed 's/^/| /' conftest.$ac_ext >&5
   6041 
   6042   # Broken: fails on valid input.
   6043 continue
   6044 fi
   6045 
   6046 rm -f conftest.err conftest.$ac_ext
   6047 
   6048   # OK, works on sane cases.  Now check whether nonexistent headers
   6049   # can be detected and how.
   6050   cat >conftest.$ac_ext <<_ACEOF
   6051 /* confdefs.h.  */
   6052 _ACEOF
   6053 cat confdefs.h >>conftest.$ac_ext
   6054 cat >>conftest.$ac_ext <<_ACEOF
   6055 /* end confdefs.h.  */
   6056 #include <ac_nonexistent.h>
   6057 _ACEOF
   6058 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6059 case "(($ac_try" in
   6060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6061   *) ac_try_echo=$ac_try;;
   6062 esac
   6063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6064   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6065   ac_status=$?
   6066   grep -v '^ *+' conftest.er1 >conftest.err
   6067   rm -f conftest.er1
   6068   cat conftest.err >&5
   6069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6070   (exit $ac_status); } >/dev/null; then
   6071   if test -s conftest.err; then
   6072     ac_cpp_err=$ac_cxx_preproc_warn_flag
   6073     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
   6074   else
   6075     ac_cpp_err=
   6076   fi
   6077 else
   6078   ac_cpp_err=yes
   6079 fi
   6080 if test -z "$ac_cpp_err"; then
   6081   # Broken: success on invalid input.
   6082 continue
   6083 else
   6084   echo "$as_me: failed program was:" >&5
   6085 sed 's/^/| /' conftest.$ac_ext >&5
   6086 
   6087   # Passes both tests.
   6088 ac_preproc_ok=:
   6089 break
   6090 fi
   6091 
   6092 rm -f conftest.err conftest.$ac_ext
   6093 
   6094 done
   6095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6096 rm -f conftest.err conftest.$ac_ext
   6097 if $ac_preproc_ok; then
   6098   :
   6099 else
   6100   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6101 See \`config.log' for more details." >&5
   6102 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6103 See \`config.log' for more details." >&2;}
   6104    { (exit 1); exit 1; }; }
   6105 fi
   6106 
   6107 ac_ext=cpp
   6108 ac_cpp='$CXXCPP $CPPFLAGS'
   6109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6112 
   6113 fi
   6114 
   6115 
   6116 ac_ext=f
   6117 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6118 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6119 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6120 if test -n "$ac_tool_prefix"; then
   6121   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
   6122   do
   6123     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6127 if test "${ac_cv_prog_F77+set}" = set; then
   6128   echo $ECHO_N "(cached) $ECHO_C" >&6
   6129 else
   6130   if test -n "$F77"; then
   6131   ac_cv_prog_F77="$F77" # Let the user override the test.
   6132 else
   6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6134 for as_dir in $PATH
   6135 do
   6136   IFS=$as_save_IFS
   6137   test -z "$as_dir" && as_dir=.
   6138   for ac_exec_ext in '' $ac_executable_extensions; do
   6139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6140     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6141     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6142     break 2
   6143   fi
   6144 done
   6145 done
   6146 IFS=$as_save_IFS
   6147 
   6148 fi
   6149 fi
   6150 F77=$ac_cv_prog_F77
   6151 if test -n "$F77"; then
   6152   { echo "$as_me:$LINENO: result: $F77" >&5
   6153 echo "${ECHO_T}$F77" >&6; }
   6154 else
   6155   { echo "$as_me:$LINENO: result: no" >&5
   6156 echo "${ECHO_T}no" >&6; }
   6157 fi
   6158 
   6159 
   6160     test -n "$F77" && break
   6161   done
   6162 fi
   6163 if test -z "$F77"; then
   6164   ac_ct_F77=$F77
   6165   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
   6166 do
   6167   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6168 set dummy $ac_prog; ac_word=$2
   6169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6171 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6172   echo $ECHO_N "(cached) $ECHO_C" >&6
   6173 else
   6174   if test -n "$ac_ct_F77"; then
   6175   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6176 else
   6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6178 for as_dir in $PATH
   6179 do
   6180   IFS=$as_save_IFS
   6181   test -z "$as_dir" && as_dir=.
   6182   for ac_exec_ext in '' $ac_executable_extensions; do
   6183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6184     ac_cv_prog_ac_ct_F77="$ac_prog"
   6185     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6186     break 2
   6187   fi
   6188 done
   6189 done
   6190 IFS=$as_save_IFS
   6191 
   6192 fi
   6193 fi
   6194 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6195 if test -n "$ac_ct_F77"; then
   6196   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6197 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6198 else
   6199   { echo "$as_me:$LINENO: result: no" >&5
   6200 echo "${ECHO_T}no" >&6; }
   6201 fi
   6202 
   6203 
   6204   test -n "$ac_ct_F77" && break
   6205 done
   6206 
   6207   if test "x$ac_ct_F77" = x; then
   6208     F77=""
   6209   else
   6210     case $cross_compiling:$ac_tool_warned in
   6211 yes:)
   6212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6213 whose name does not start with the host triplet.  If you think this
   6214 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6216 whose name does not start with the host triplet.  If you think this
   6217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6218 ac_tool_warned=yes ;;
   6219 esac
   6220     F77=$ac_ct_F77
   6221   fi
   6222 fi
   6223 
   6224 
   6225 # Provide some information about the compiler.
   6226 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6227 ac_compiler=`set X $ac_compile; echo $2`
   6228 { (ac_try="$ac_compiler --version >&5"
   6229 case "(($ac_try" in
   6230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6231   *) ac_try_echo=$ac_try;;
   6232 esac
   6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6234   (eval "$ac_compiler --version >&5") 2>&5
   6235   ac_status=$?
   6236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6237   (exit $ac_status); }
   6238 { (ac_try="$ac_compiler -v >&5"
   6239 case "(($ac_try" in
   6240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6241   *) ac_try_echo=$ac_try;;
   6242 esac
   6243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6244   (eval "$ac_compiler -v >&5") 2>&5
   6245   ac_status=$?
   6246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6247   (exit $ac_status); }
   6248 { (ac_try="$ac_compiler -V >&5"
   6249 case "(($ac_try" in
   6250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6251   *) ac_try_echo=$ac_try;;
   6252 esac
   6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6254   (eval "$ac_compiler -V >&5") 2>&5
   6255   ac_status=$?
   6256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6257   (exit $ac_status); }
   6258 rm -f a.out
   6259 
   6260 # If we don't use `.F' as extension, the preprocessor is not run on the
   6261 # input file.  (Note that this only needs to work for GNU compilers.)
   6262 ac_save_ext=$ac_ext
   6263 ac_ext=F
   6264 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6265 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6266 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6267   echo $ECHO_N "(cached) $ECHO_C" >&6
   6268 else
   6269   cat >conftest.$ac_ext <<_ACEOF
   6270       program main
   6271 #ifndef __GNUC__
   6272        choke me
   6273 #endif
   6274 
   6275       end
   6276 _ACEOF
   6277 rm -f conftest.$ac_objext
   6278 if { (ac_try="$ac_compile"
   6279 case "(($ac_try" in
   6280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6281   *) ac_try_echo=$ac_try;;
   6282 esac
   6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6284   (eval "$ac_compile") 2>conftest.er1
   6285   ac_status=$?
   6286   grep -v '^ *+' conftest.er1 >conftest.err
   6287   rm -f conftest.er1
   6288   cat conftest.err >&5
   6289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6290   (exit $ac_status); } &&
   6291 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   6292   { (case "(($ac_try" in
   6293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6294   *) ac_try_echo=$ac_try;;
   6295 esac
   6296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6297   (eval "$ac_try") 2>&5
   6298   ac_status=$?
   6299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6300   (exit $ac_status); }; } &&
   6301 	 { ac_try='test -s conftest.$ac_objext'
   6302   { (case "(($ac_try" in
   6303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6304   *) ac_try_echo=$ac_try;;
   6305 esac
   6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6307   (eval "$ac_try") 2>&5
   6308   ac_status=$?
   6309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6310   (exit $ac_status); }; }; then
   6311   ac_compiler_gnu=yes
   6312 else
   6313   echo "$as_me: failed program was:" >&5
   6314 sed 's/^/| /' conftest.$ac_ext >&5
   6315 
   6316 	ac_compiler_gnu=no
   6317 fi
   6318 
   6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6320 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6321 
   6322 fi
   6323 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6324 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6325 ac_ext=$ac_save_ext
   6326 ac_test_FFLAGS=${FFLAGS+set}
   6327 ac_save_FFLAGS=$FFLAGS
   6328 FFLAGS=
   6329 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6330 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6331 if test "${ac_cv_prog_f77_g+set}" = set; then
   6332   echo $ECHO_N "(cached) $ECHO_C" >&6
   6333 else
   6334   FFLAGS=-g
   6335 cat >conftest.$ac_ext <<_ACEOF
   6336       program main
   6337 
   6338       end
   6339 _ACEOF
   6340 rm -f conftest.$ac_objext
   6341 if { (ac_try="$ac_compile"
   6342 case "(($ac_try" in
   6343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6344   *) ac_try_echo=$ac_try;;
   6345 esac
   6346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6347   (eval "$ac_compile") 2>conftest.er1
   6348   ac_status=$?
   6349   grep -v '^ *+' conftest.er1 >conftest.err
   6350   rm -f conftest.er1
   6351   cat conftest.err >&5
   6352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6353   (exit $ac_status); } &&
   6354 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   6355   { (case "(($ac_try" in
   6356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6357   *) ac_try_echo=$ac_try;;
   6358 esac
   6359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6360   (eval "$ac_try") 2>&5
   6361   ac_status=$?
   6362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6363   (exit $ac_status); }; } &&
   6364 	 { ac_try='test -s conftest.$ac_objext'
   6365   { (case "(($ac_try" in
   6366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6367   *) ac_try_echo=$ac_try;;
   6368 esac
   6369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6370   (eval "$ac_try") 2>&5
   6371   ac_status=$?
   6372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6373   (exit $ac_status); }; }; then
   6374   ac_cv_prog_f77_g=yes
   6375 else
   6376   echo "$as_me: failed program was:" >&5
   6377 sed 's/^/| /' conftest.$ac_ext >&5
   6378 
   6379 	ac_cv_prog_f77_g=no
   6380 fi
   6381 
   6382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6383 
   6384 fi
   6385 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6386 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6387 if test "$ac_test_FFLAGS" = set; then
   6388   FFLAGS=$ac_save_FFLAGS
   6389 elif test $ac_cv_prog_f77_g = yes; then
   6390   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6391     FFLAGS="-g -O2"
   6392   else
   6393     FFLAGS="-g"
   6394   fi
   6395 else
   6396   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6397     FFLAGS="-O2"
   6398   else
   6399     FFLAGS=
   6400   fi
   6401 fi
   6402 
   6403 G77=`test $ac_compiler_gnu = yes && echo yes`
   6404 ac_ext=c
   6405 ac_cpp='$CPP $CPPFLAGS'
   6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6409 
   6410 
   6411 
   6412 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6413 
   6414 # find the maximum length of command line arguments
   6415 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6416 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6417 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6418   echo $ECHO_N "(cached) $ECHO_C" >&6
   6419 else
   6420     i=0
   6421   teststring="ABCD"
   6422 
   6423   case $build_os in
   6424   msdosdjgpp*)
   6425     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6426     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6427     # during glob expansion).  Even if it were fixed, the result of this
   6428     # check would be larger than it should be.
   6429     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6430     ;;
   6431 
   6432   gnu*)
   6433     # Under GNU Hurd, this test is not required because there is
   6434     # no limit to the length of command line arguments.
   6435     # Libtool will interpret -1 as no limit whatsoever
   6436     lt_cv_sys_max_cmd_len=-1;
   6437     ;;
   6438 
   6439   cygwin* | mingw*)
   6440     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6441     # about 5 minutes as the teststring grows exponentially.
   6442     # Worse, since 9x/ME are not pre-emptively multitasking,
   6443     # you end up with a "frozen" computer, even though with patience
   6444     # the test eventually succeeds (with a max line length of 256k).
   6445     # Instead, let's just punt: use the minimum linelength reported by
   6446     # all of the supported platforms: 8192 (on NT/2K/XP).
   6447     lt_cv_sys_max_cmd_len=8192;
   6448     ;;
   6449 
   6450   amigaos*)
   6451     # On AmigaOS with pdksh, this test takes hours, literally.
   6452     # So we just punt and use a minimum line length of 8192.
   6453     lt_cv_sys_max_cmd_len=8192;
   6454     ;;
   6455 
   6456   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6457     # This has been around since 386BSD, at least.  Likely further.
   6458     if test -x /sbin/sysctl; then
   6459       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6460     elif test -x /usr/sbin/sysctl; then
   6461       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6462     else
   6463       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6464     fi
   6465     # And add a safety zone
   6466     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6467     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6468     ;;
   6469 
   6470   interix*)
   6471     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6472     lt_cv_sys_max_cmd_len=196608
   6473     ;;
   6474 
   6475   osf*)
   6476     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6477     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6478     # nice to cause kernel panics so lets avoid the loop below.
   6479     # First set a reasonable default.
   6480     lt_cv_sys_max_cmd_len=16384
   6481     #
   6482     if test -x /sbin/sysconfig; then
   6483       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6484         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6485       esac
   6486     fi
   6487     ;;
   6488   sco3.2v5*)
   6489     lt_cv_sys_max_cmd_len=102400
   6490     ;;
   6491   sysv5* | sco5v6* | sysv4.2uw2*)
   6492     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6493     if test -n "$kargmax"; then
   6494       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6495     else
   6496       lt_cv_sys_max_cmd_len=32768
   6497     fi
   6498     ;;
   6499   *)
   6500     # If test is not a shell built-in, we'll probably end up computing a
   6501     # maximum length that is only half of the actual maximum length, but
   6502     # we can't tell.
   6503     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6504     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6505 	       = "XX$teststring") >/dev/null 2>&1 &&
   6506 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6507 	    lt_cv_sys_max_cmd_len=$new_result &&
   6508 	    test $i != 17 # 1/2 MB should be enough
   6509     do
   6510       i=`expr $i + 1`
   6511       teststring=$teststring$teststring
   6512     done
   6513     teststring=
   6514     # Add a significant safety factor because C++ compilers can tack on massive
   6515     # amounts of additional arguments before passing them to the linker.
   6516     # It appears as though 1/2 is a usable value.
   6517     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6518     ;;
   6519   esac
   6520 
   6521 fi
   6522 
   6523 if test -n $lt_cv_sys_max_cmd_len ; then
   6524   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6525 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6526 else
   6527   { echo "$as_me:$LINENO: result: none" >&5
   6528 echo "${ECHO_T}none" >&6; }
   6529 fi
   6530 
   6531 
   6532 
   6533 
   6534 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6535 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6536 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6537 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6538   echo $ECHO_N "(cached) $ECHO_C" >&6
   6539 else
   6540 
   6541 # These are sane defaults that work on at least a few old systems.
   6542 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6543 
   6544 # Character class describing NM global symbol codes.
   6545 symcode='[BCDEGRST]'
   6546 
   6547 # Regexp to match symbols that can be accessed directly from C.
   6548 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6549 
   6550 # Transform an extracted symbol line into a proper C declaration
   6551 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6552 
   6553 # Transform an extracted symbol line into symbol name and symbol address
   6554 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'"
   6555 
   6556 # Define system-specific variables.
   6557 case $host_os in
   6558 aix*)
   6559   symcode='[BCDT]'
   6560   ;;
   6561 cygwin* | mingw* | pw32*)
   6562   symcode='[ABCDGISTW]'
   6563   ;;
   6564 hpux*) # Its linker distinguishes data from code symbols
   6565   if test "$host_cpu" = ia64; then
   6566     symcode='[ABCDEGRST]'
   6567   fi
   6568   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6569   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'"
   6570   ;;
   6571 linux*)
   6572   if test "$host_cpu" = ia64; then
   6573     symcode='[ABCDGIRSTW]'
   6574     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6575     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'"
   6576   fi
   6577   ;;
   6578 irix* | nonstopux*)
   6579   symcode='[BCDEGRST]'
   6580   ;;
   6581 osf*)
   6582   symcode='[BCDEGQRST]'
   6583   ;;
   6584 solaris*)
   6585   symcode='[BDRT]'
   6586   ;;
   6587 sco3.2v5*)
   6588   symcode='[DT]'
   6589   ;;
   6590 sysv4.2uw2*)
   6591   symcode='[DT]'
   6592   ;;
   6593 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6594   symcode='[ABDT]'
   6595   ;;
   6596 sysv4)
   6597   symcode='[DFNSTU]'
   6598   ;;
   6599 esac
   6600 
   6601 # Handle CRLF in mingw tool chain
   6602 opt_cr=
   6603 case $build_os in
   6604 mingw*)
   6605   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6606   ;;
   6607 esac
   6608 
   6609 # If we're using GNU nm, then use its standard symbol codes.
   6610 case `$NM -V 2>&1` in
   6611 *GNU* | *'with BFD'*)
   6612   symcode='[ABCDGIRSTW]' ;;
   6613 esac
   6614 
   6615 # Try without a prefix undercore, then with it.
   6616 for ac_symprfx in "" "_"; do
   6617 
   6618   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6619   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6620 
   6621   # Write the raw and C identifiers.
   6622   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6623 
   6624   # Check to see that the pipe works correctly.
   6625   pipe_works=no
   6626 
   6627   rm -f conftest*
   6628   cat > conftest.$ac_ext <<EOF
   6629 #ifdef __cplusplus
   6630 extern "C" {
   6631 #endif
   6632 char nm_test_var;
   6633 void nm_test_func(){}
   6634 #ifdef __cplusplus
   6635 }
   6636 #endif
   6637 int main(){nm_test_var='a';nm_test_func();return(0);}
   6638 EOF
   6639 
   6640   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6641   (eval $ac_compile) 2>&5
   6642   ac_status=$?
   6643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6644   (exit $ac_status); }; then
   6645     # Now try to grab the symbols.
   6646     nlist=conftest.nm
   6647     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6648   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6649   ac_status=$?
   6650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6651   (exit $ac_status); } && test -s "$nlist"; then
   6652       # Try sorting and uniquifying the output.
   6653       if sort "$nlist" | uniq > "$nlist"T; then
   6654 	mv -f "$nlist"T "$nlist"
   6655       else
   6656 	rm -f "$nlist"T
   6657       fi
   6658 
   6659       # Make sure that we snagged all the symbols we need.
   6660       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6661 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6662 	  cat <<EOF > conftest.$ac_ext
   6663 #ifdef __cplusplus
   6664 extern "C" {
   6665 #endif
   6666 
   6667 EOF
   6668 	  # Now generate the symbol file.
   6669 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6670 
   6671 	  cat <<EOF >> conftest.$ac_ext
   6672 #if defined (__STDC__) && __STDC__
   6673 # define lt_ptr_t void *
   6674 #else
   6675 # define lt_ptr_t char *
   6676 # define const
   6677 #endif
   6678 
   6679 /* The mapping between symbol names and symbols. */
   6680 const struct {
   6681   const char *name;
   6682   lt_ptr_t address;
   6683 }
   6684 lt_preloaded_symbols[] =
   6685 {
   6686 EOF
   6687 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6688 	  cat <<\EOF >> conftest.$ac_ext
   6689   {0, (lt_ptr_t) 0}
   6690 };
   6691 
   6692 #ifdef __cplusplus
   6693 }
   6694 #endif
   6695 EOF
   6696 	  # Now try linking the two files.
   6697 	  mv conftest.$ac_objext conftstm.$ac_objext
   6698 	  lt_save_LIBS="$LIBS"
   6699 	  lt_save_CFLAGS="$CFLAGS"
   6700 	  LIBS="conftstm.$ac_objext"
   6701 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6702 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6703   (eval $ac_link) 2>&5
   6704   ac_status=$?
   6705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6706   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6707 	    pipe_works=yes
   6708 	  fi
   6709 	  LIBS="$lt_save_LIBS"
   6710 	  CFLAGS="$lt_save_CFLAGS"
   6711 	else
   6712 	  echo "cannot find nm_test_func in $nlist" >&5
   6713 	fi
   6714       else
   6715 	echo "cannot find nm_test_var in $nlist" >&5
   6716       fi
   6717     else
   6718       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6719     fi
   6720   else
   6721     echo "$progname: failed program was:" >&5
   6722     cat conftest.$ac_ext >&5
   6723   fi
   6724   rm -f conftest* conftst*
   6725 
   6726   # Do not use the global_symbol_pipe unless it works.
   6727   if test "$pipe_works" = yes; then
   6728     break
   6729   else
   6730     lt_cv_sys_global_symbol_pipe=
   6731   fi
   6732 done
   6733 
   6734 fi
   6735 
   6736 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6737   lt_cv_sys_global_symbol_to_cdecl=
   6738 fi
   6739 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6740   { echo "$as_me:$LINENO: result: failed" >&5
   6741 echo "${ECHO_T}failed" >&6; }
   6742 else
   6743   { echo "$as_me:$LINENO: result: ok" >&5
   6744 echo "${ECHO_T}ok" >&6; }
   6745 fi
   6746 
   6747 { echo "$as_me:$LINENO: checking for objdir" >&5
   6748 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6749 if test "${lt_cv_objdir+set}" = set; then
   6750   echo $ECHO_N "(cached) $ECHO_C" >&6
   6751 else
   6752   rm -f .libs 2>/dev/null
   6753 mkdir .libs 2>/dev/null
   6754 if test -d .libs; then
   6755   lt_cv_objdir=.libs
   6756 else
   6757   # MS-DOS does not allow filenames that begin with a dot.
   6758   lt_cv_objdir=_libs
   6759 fi
   6760 rmdir .libs 2>/dev/null
   6761 fi
   6762 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6763 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6764 objdir=$lt_cv_objdir
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 case $host_os in
   6771 aix3*)
   6772   # AIX sometimes has problems with the GCC collect2 program.  For some
   6773   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6774   # vanish in a puff of smoke.
   6775   if test "X${COLLECT_NAMES+set}" != Xset; then
   6776     COLLECT_NAMES=
   6777     export COLLECT_NAMES
   6778   fi
   6779   ;;
   6780 esac
   6781 
   6782 # Sed substitution that helps us do robust quoting.  It backslashifies
   6783 # metacharacters that are still active within double-quoted strings.
   6784 Xsed='sed -e 1s/^X//'
   6785 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6786 
   6787 # Same as above, but do not quote variable references.
   6788 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6789 
   6790 # Sed substitution to delay expansion of an escaped shell variable in a
   6791 # double_quote_subst'ed string.
   6792 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6793 
   6794 # Sed substitution to avoid accidental globbing in evaled expressions
   6795 no_glob_subst='s/\*/\\\*/g'
   6796 
   6797 # Constants:
   6798 rm="rm -f"
   6799 
   6800 # Global variables:
   6801 default_ofile=libtool
   6802 can_build_shared=yes
   6803 
   6804 # All known linkers require a `.a' archive for static linking (except MSVC,
   6805 # which needs '.lib').
   6806 libext=a
   6807 ltmain="$ac_aux_dir/ltmain.sh"
   6808 ofile="$default_ofile"
   6809 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6810 
   6811 if test -n "$ac_tool_prefix"; then
   6812   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6813 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6816 if test "${ac_cv_prog_AR+set}" = set; then
   6817   echo $ECHO_N "(cached) $ECHO_C" >&6
   6818 else
   6819   if test -n "$AR"; then
   6820   ac_cv_prog_AR="$AR" # Let the user override the test.
   6821 else
   6822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6823 for as_dir in $PATH
   6824 do
   6825   IFS=$as_save_IFS
   6826   test -z "$as_dir" && as_dir=.
   6827   for ac_exec_ext in '' $ac_executable_extensions; do
   6828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6829     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6830     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6831     break 2
   6832   fi
   6833 done
   6834 done
   6835 IFS=$as_save_IFS
   6836 
   6837 fi
   6838 fi
   6839 AR=$ac_cv_prog_AR
   6840 if test -n "$AR"; then
   6841   { echo "$as_me:$LINENO: result: $AR" >&5
   6842 echo "${ECHO_T}$AR" >&6; }
   6843 else
   6844   { echo "$as_me:$LINENO: result: no" >&5
   6845 echo "${ECHO_T}no" >&6; }
   6846 fi
   6847 
   6848 
   6849 fi
   6850 if test -z "$ac_cv_prog_AR"; then
   6851   ac_ct_AR=$AR
   6852   # Extract the first word of "ar", so it can be a program name with args.
   6853 set dummy ar; ac_word=$2
   6854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6856 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6857   echo $ECHO_N "(cached) $ECHO_C" >&6
   6858 else
   6859   if test -n "$ac_ct_AR"; then
   6860   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6861 else
   6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6863 for as_dir in $PATH
   6864 do
   6865   IFS=$as_save_IFS
   6866   test -z "$as_dir" && as_dir=.
   6867   for ac_exec_ext in '' $ac_executable_extensions; do
   6868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6869     ac_cv_prog_ac_ct_AR="ar"
   6870     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6871     break 2
   6872   fi
   6873 done
   6874 done
   6875 IFS=$as_save_IFS
   6876 
   6877 fi
   6878 fi
   6879 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6880 if test -n "$ac_ct_AR"; then
   6881   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6882 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6883 else
   6884   { echo "$as_me:$LINENO: result: no" >&5
   6885 echo "${ECHO_T}no" >&6; }
   6886 fi
   6887 
   6888   if test "x$ac_ct_AR" = x; then
   6889     AR="false"
   6890   else
   6891     case $cross_compiling:$ac_tool_warned in
   6892 yes:)
   6893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6894 whose name does not start with the host triplet.  If you think this
   6895 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6897 whose name does not start with the host triplet.  If you think this
   6898 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6899 ac_tool_warned=yes ;;
   6900 esac
   6901     AR=$ac_ct_AR
   6902   fi
   6903 else
   6904   AR="$ac_cv_prog_AR"
   6905 fi
   6906 
   6907 if test -n "$ac_tool_prefix"; then
   6908   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6909 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6912 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6913   echo $ECHO_N "(cached) $ECHO_C" >&6
   6914 else
   6915   if test -n "$RANLIB"; then
   6916   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6917 else
   6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6919 for as_dir in $PATH
   6920 do
   6921   IFS=$as_save_IFS
   6922   test -z "$as_dir" && as_dir=.
   6923   for ac_exec_ext in '' $ac_executable_extensions; do
   6924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6925     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6927     break 2
   6928   fi
   6929 done
   6930 done
   6931 IFS=$as_save_IFS
   6932 
   6933 fi
   6934 fi
   6935 RANLIB=$ac_cv_prog_RANLIB
   6936 if test -n "$RANLIB"; then
   6937   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6938 echo "${ECHO_T}$RANLIB" >&6; }
   6939 else
   6940   { echo "$as_me:$LINENO: result: no" >&5
   6941 echo "${ECHO_T}no" >&6; }
   6942 fi
   6943 
   6944 
   6945 fi
   6946 if test -z "$ac_cv_prog_RANLIB"; then
   6947   ac_ct_RANLIB=$RANLIB
   6948   # Extract the first word of "ranlib", so it can be a program name with args.
   6949 set dummy ranlib; ac_word=$2
   6950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6952 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6953   echo $ECHO_N "(cached) $ECHO_C" >&6
   6954 else
   6955   if test -n "$ac_ct_RANLIB"; then
   6956   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6957 else
   6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6959 for as_dir in $PATH
   6960 do
   6961   IFS=$as_save_IFS
   6962   test -z "$as_dir" && as_dir=.
   6963   for ac_exec_ext in '' $ac_executable_extensions; do
   6964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6965     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6966     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6967     break 2
   6968   fi
   6969 done
   6970 done
   6971 IFS=$as_save_IFS
   6972 
   6973 fi
   6974 fi
   6975 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6976 if test -n "$ac_ct_RANLIB"; then
   6977   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6978 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6979 else
   6980   { echo "$as_me:$LINENO: result: no" >&5
   6981 echo "${ECHO_T}no" >&6; }
   6982 fi
   6983 
   6984   if test "x$ac_ct_RANLIB" = x; then
   6985     RANLIB=":"
   6986   else
   6987     case $cross_compiling:$ac_tool_warned in
   6988 yes:)
   6989 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6990 whose name does not start with the host triplet.  If you think this
   6991 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6992 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6993 whose name does not start with the host triplet.  If you think this
   6994 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6995 ac_tool_warned=yes ;;
   6996 esac
   6997     RANLIB=$ac_ct_RANLIB
   6998   fi
   6999 else
   7000   RANLIB="$ac_cv_prog_RANLIB"
   7001 fi
   7002 
   7003 if test -n "$ac_tool_prefix"; then
   7004   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7005 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7008 if test "${ac_cv_prog_STRIP+set}" = set; then
   7009   echo $ECHO_N "(cached) $ECHO_C" >&6
   7010 else
   7011   if test -n "$STRIP"; then
   7012   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7013 else
   7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7015 for as_dir in $PATH
   7016 do
   7017   IFS=$as_save_IFS
   7018   test -z "$as_dir" && as_dir=.
   7019   for ac_exec_ext in '' $ac_executable_extensions; do
   7020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7021     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7023     break 2
   7024   fi
   7025 done
   7026 done
   7027 IFS=$as_save_IFS
   7028 
   7029 fi
   7030 fi
   7031 STRIP=$ac_cv_prog_STRIP
   7032 if test -n "$STRIP"; then
   7033   { echo "$as_me:$LINENO: result: $STRIP" >&5
   7034 echo "${ECHO_T}$STRIP" >&6; }
   7035 else
   7036   { echo "$as_me:$LINENO: result: no" >&5
   7037 echo "${ECHO_T}no" >&6; }
   7038 fi
   7039 
   7040 
   7041 fi
   7042 if test -z "$ac_cv_prog_STRIP"; then
   7043   ac_ct_STRIP=$STRIP
   7044   # Extract the first word of "strip", so it can be a program name with args.
   7045 set dummy strip; ac_word=$2
   7046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7048 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7049   echo $ECHO_N "(cached) $ECHO_C" >&6
   7050 else
   7051   if test -n "$ac_ct_STRIP"; then
   7052   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7053 else
   7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7055 for as_dir in $PATH
   7056 do
   7057   IFS=$as_save_IFS
   7058   test -z "$as_dir" && as_dir=.
   7059   for ac_exec_ext in '' $ac_executable_extensions; do
   7060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7061     ac_cv_prog_ac_ct_STRIP="strip"
   7062     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7063     break 2
   7064   fi
   7065 done
   7066 done
   7067 IFS=$as_save_IFS
   7068 
   7069 fi
   7070 fi
   7071 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7072 if test -n "$ac_ct_STRIP"; then
   7073   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7074 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   7075 else
   7076   { echo "$as_me:$LINENO: result: no" >&5
   7077 echo "${ECHO_T}no" >&6; }
   7078 fi
   7079 
   7080   if test "x$ac_ct_STRIP" = x; then
   7081     STRIP=":"
   7082   else
   7083     case $cross_compiling:$ac_tool_warned in
   7084 yes:)
   7085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7086 whose name does not start with the host triplet.  If you think this
   7087 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7089 whose name does not start with the host triplet.  If you think this
   7090 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7091 ac_tool_warned=yes ;;
   7092 esac
   7093     STRIP=$ac_ct_STRIP
   7094   fi
   7095 else
   7096   STRIP="$ac_cv_prog_STRIP"
   7097 fi
   7098 
   7099 
   7100 old_CC="$CC"
   7101 old_CFLAGS="$CFLAGS"
   7102 
   7103 # Set sane defaults for various variables
   7104 test -z "$AR" && AR=ar
   7105 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7106 test -z "$AS" && AS=as
   7107 test -z "$CC" && CC=cc
   7108 test -z "$LTCC" && LTCC=$CC
   7109 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7110 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7111 test -z "$LD" && LD=ld
   7112 test -z "$LN_S" && LN_S="ln -s"
   7113 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7114 test -z "$NM" && NM=nm
   7115 test -z "$SED" && SED=sed
   7116 test -z "$OBJDUMP" && OBJDUMP=objdump
   7117 test -z "$RANLIB" && RANLIB=:
   7118 test -z "$STRIP" && STRIP=:
   7119 test -z "$ac_objext" && ac_objext=o
   7120 
   7121 # Determine commands to create old-style static archives.
   7122 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   7123 old_postinstall_cmds='chmod 644 $oldlib'
   7124 old_postuninstall_cmds=
   7125 
   7126 if test -n "$RANLIB"; then
   7127   case $host_os in
   7128   openbsd*)
   7129     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7130     ;;
   7131   *)
   7132     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7133     ;;
   7134   esac
   7135   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7136 fi
   7137 
   7138 for cc_temp in $compiler""; do
   7139   case $cc_temp in
   7140     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7141     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7142     \-*) ;;
   7143     *) break;;
   7144   esac
   7145 done
   7146 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7147 
   7148 
   7149 # Only perform the check for file, if the check method requires it
   7150 case $deplibs_check_method in
   7151 file_magic*)
   7152   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7153     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7154 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   7155 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7156   echo $ECHO_N "(cached) $ECHO_C" >&6
   7157 else
   7158   case $MAGIC_CMD in
   7159 [\\/*] |  ?:[\\/]*)
   7160   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7161   ;;
   7162 *)
   7163   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7164   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7165   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7166   for ac_dir in $ac_dummy; do
   7167     IFS="$lt_save_ifs"
   7168     test -z "$ac_dir" && ac_dir=.
   7169     if test -f $ac_dir/${ac_tool_prefix}file; then
   7170       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7171       if test -n "$file_magic_test_file"; then
   7172 	case $deplibs_check_method in
   7173 	"file_magic "*)
   7174 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7175 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7176 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7177 	    $EGREP "$file_magic_regex" > /dev/null; then
   7178 	    :
   7179 	  else
   7180 	    cat <<EOF 1>&2
   7181 
   7182 *** Warning: the command libtool uses to detect shared libraries,
   7183 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7184 *** The result is that libtool may fail to recognize shared libraries
   7185 *** as such.  This will affect the creation of libtool libraries that
   7186 *** depend on shared libraries, but programs linked with such libtool
   7187 *** libraries will work regardless of this problem.  Nevertheless, you
   7188 *** may want to report the problem to your system manager and/or to
   7189 *** bug-libtool@gnu.org
   7190 
   7191 EOF
   7192 	  fi ;;
   7193 	esac
   7194       fi
   7195       break
   7196     fi
   7197   done
   7198   IFS="$lt_save_ifs"
   7199   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7200   ;;
   7201 esac
   7202 fi
   7203 
   7204 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7205 if test -n "$MAGIC_CMD"; then
   7206   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7207 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7208 else
   7209   { echo "$as_me:$LINENO: result: no" >&5
   7210 echo "${ECHO_T}no" >&6; }
   7211 fi
   7212 
   7213 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7214   if test -n "$ac_tool_prefix"; then
   7215     { echo "$as_me:$LINENO: checking for file" >&5
   7216 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7217 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7218   echo $ECHO_N "(cached) $ECHO_C" >&6
   7219 else
   7220   case $MAGIC_CMD in
   7221 [\\/*] |  ?:[\\/]*)
   7222   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7223   ;;
   7224 *)
   7225   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7226   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7227   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7228   for ac_dir in $ac_dummy; do
   7229     IFS="$lt_save_ifs"
   7230     test -z "$ac_dir" && ac_dir=.
   7231     if test -f $ac_dir/file; then
   7232       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7233       if test -n "$file_magic_test_file"; then
   7234 	case $deplibs_check_method in
   7235 	"file_magic "*)
   7236 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7237 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7238 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7239 	    $EGREP "$file_magic_regex" > /dev/null; then
   7240 	    :
   7241 	  else
   7242 	    cat <<EOF 1>&2
   7243 
   7244 *** Warning: the command libtool uses to detect shared libraries,
   7245 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7246 *** The result is that libtool may fail to recognize shared libraries
   7247 *** as such.  This will affect the creation of libtool libraries that
   7248 *** depend on shared libraries, but programs linked with such libtool
   7249 *** libraries will work regardless of this problem.  Nevertheless, you
   7250 *** may want to report the problem to your system manager and/or to
   7251 *** bug-libtool@gnu.org
   7252 
   7253 EOF
   7254 	  fi ;;
   7255 	esac
   7256       fi
   7257       break
   7258     fi
   7259   done
   7260   IFS="$lt_save_ifs"
   7261   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7262   ;;
   7263 esac
   7264 fi
   7265 
   7266 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7267 if test -n "$MAGIC_CMD"; then
   7268   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7269 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7270 else
   7271   { echo "$as_me:$LINENO: result: no" >&5
   7272 echo "${ECHO_T}no" >&6; }
   7273 fi
   7274 
   7275   else
   7276     MAGIC_CMD=:
   7277   fi
   7278 fi
   7279 
   7280   fi
   7281   ;;
   7282 esac
   7283 
   7284 enable_dlopen=no
   7285 enable_win32_dll=no
   7286 
   7287 # Check whether --enable-libtool-lock was given.
   7288 if test "${enable_libtool_lock+set}" = set; then
   7289   enableval=$enable_libtool_lock;
   7290 fi
   7291 
   7292 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7293 
   7294 
   7295 # Check whether --with-pic was given.
   7296 if test "${with_pic+set}" = set; then
   7297   withval=$with_pic; pic_mode="$withval"
   7298 else
   7299   pic_mode=default
   7300 fi
   7301 
   7302 test -z "$pic_mode" && pic_mode=default
   7303 
   7304 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
   7305 #
   7306 # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
   7307 #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
   7308 #        calls AC_LIBTOOL_CONFIG and creates libtool.
   7309 #
   7310 { echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
   7311 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
   7312 if test "x$ltmain" = "x" ; then
   7313   { echo "$as_me:$LINENO: result: no" >&5
   7314 echo "${ECHO_T}no" >&6; }
   7315   { { echo "$as_me:$LINENO: error:
   7316 
   7317 *** [Gentoo] sanity check failed! ***
   7318 *** \$ltmain is not defined, please check the patch for consistency! ***
   7319 " >&5
   7320 echo "$as_me: error:
   7321 
   7322 *** [Gentoo] sanity check failed! ***
   7323 *** \$ltmain is not defined, please check the patch for consistency! ***
   7324 " >&2;}
   7325    { (exit 1); exit 1; }; }
   7326 fi
   7327 gentoo_lt_version="1.5.22"
   7328 gentoo_ltmain_version=`sed -n '/^[ 	]*VERSION=/{s/^[ 	]*VERSION=//;p;q;}' "$ltmain"`
   7329 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
   7330   { echo "$as_me:$LINENO: result: no" >&5
   7331 echo "${ECHO_T}no" >&6; }
   7332   { { echo "$as_me:$LINENO: error:
   7333 
   7334 *** [Gentoo] sanity check failed! ***
   7335 *** libtool.m4 and ltmain.sh have a version mismatch! ***
   7336 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
   7337 
   7338 Please run:
   7339 
   7340   libtoolize --copy --force
   7341 
   7342 if appropriate, please contact the maintainer of this
   7343 package (or your distribution) for help.
   7344 " >&5
   7345 echo "$as_me: error:
   7346 
   7347 *** [Gentoo] sanity check failed! ***
   7348 *** libtool.m4 and ltmain.sh have a version mismatch! ***
   7349 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
   7350 
   7351 Please run:
   7352 
   7353   libtoolize --copy --force
   7354 
   7355 if appropriate, please contact the maintainer of this
   7356 package (or your distribution) for help.
   7357 " >&2;}
   7358    { (exit 1); exit 1; }; }
   7359 else
   7360   { echo "$as_me:$LINENO: result: yes" >&5
   7361 echo "${ECHO_T}yes" >&6; }
   7362 fi
   7363 
   7364 
   7365 # Use C for the default configuration in the libtool script
   7366 tagname=
   7367 lt_save_CC="$CC"
   7368 ac_ext=c
   7369 ac_cpp='$CPP $CPPFLAGS'
   7370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7373 
   7374 
   7375 # Source file extension for C test sources.
   7376 ac_ext=c
   7377 
   7378 # Object file extension for compiled C test sources.
   7379 objext=o
   7380 objext=$objext
   7381 
   7382 # Code to be used in simple compile tests
   7383 lt_simple_compile_test_code="int some_variable = 0;\n"
   7384 
   7385 # Code to be used in simple link tests
   7386 lt_simple_link_test_code='int main(){return(0);}\n'
   7387 
   7388 
   7389 # If no C compiler was specified, use CC.
   7390 LTCC=${LTCC-"$CC"}
   7391 
   7392 # If no C compiler flags were specified, use CFLAGS.
   7393 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7394 
   7395 # Allow CC to be a program name with arguments.
   7396 compiler=$CC
   7397 
   7398 
   7399 # save warnings/boilerplate of simple test code
   7400 ac_outfile=conftest.$ac_objext
   7401 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7402 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7403 _lt_compiler_boilerplate=`cat conftest.err`
   7404 $rm conftest*
   7405 
   7406 ac_outfile=conftest.$ac_objext
   7407 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7408 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7409 _lt_linker_boilerplate=`cat conftest.err`
   7410 $rm conftest*
   7411 
   7412 
   7413 
   7414 lt_prog_compiler_no_builtin_flag=
   7415 
   7416 if test "$GCC" = yes; then
   7417   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7418 
   7419 
   7420 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7421 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7422 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7423   echo $ECHO_N "(cached) $ECHO_C" >&6
   7424 else
   7425   lt_cv_prog_compiler_rtti_exceptions=no
   7426   ac_outfile=conftest.$ac_objext
   7427    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7428    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7429    # Insert the option either (1) after the last *FLAGS variable, or
   7430    # (2) before a word containing "conftest.", or (3) at the end.
   7431    # Note that $ac_compile itself does not contain backslashes and begins
   7432    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7433    # The option is referenced via a variable to avoid confusing sed.
   7434    lt_compile=`echo "$ac_compile" | $SED \
   7435    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7436    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7437    -e 's:$: $lt_compiler_flag:'`
   7438    (eval echo "\"\$as_me:7438: $lt_compile\"" >&5)
   7439    (eval "$lt_compile" 2>conftest.err)
   7440    ac_status=$?
   7441    cat conftest.err >&5
   7442    echo "$as_me:7442: \$? = $ac_status" >&5
   7443    if (exit $ac_status) && test -s "$ac_outfile"; then
   7444      # The compiler can only warn and ignore the option if not recognized
   7445      # So say no if there are warnings other than the usual output.
   7446      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7447      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7448      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7449        lt_cv_prog_compiler_rtti_exceptions=yes
   7450      fi
   7451    fi
   7452    $rm conftest*
   7453 
   7454 fi
   7455 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7456 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7457 
   7458 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7459     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7460 else
   7461     :
   7462 fi
   7463 
   7464 fi
   7465 
   7466 lt_prog_compiler_wl=
   7467 lt_prog_compiler_pic=
   7468 lt_prog_compiler_static=
   7469 
   7470 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7471 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7472 
   7473   if test "$GCC" = yes; then
   7474     lt_prog_compiler_wl='-Wl,'
   7475     lt_prog_compiler_static='-static'
   7476 
   7477     case $host_os in
   7478       aix*)
   7479       # All AIX code is PIC.
   7480       if test "$host_cpu" = ia64; then
   7481 	# AIX 5 now supports IA64 processor
   7482 	lt_prog_compiler_static='-Bstatic'
   7483       fi
   7484       ;;
   7485 
   7486     amigaos*)
   7487       # FIXME: we need at least 68020 code to build shared libraries, but
   7488       # adding the `-m68020' flag to GCC prevents building anything better,
   7489       # like `-m68040'.
   7490       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7491       ;;
   7492 
   7493     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7494       # PIC is the default for these OSes.
   7495       ;;
   7496 
   7497     mingw* | pw32* | os2*)
   7498       # This hack is so that the source file can tell whether it is being
   7499       # built for inclusion in a dll (and should export symbols for example).
   7500       lt_prog_compiler_pic='-DDLL_EXPORT'
   7501       ;;
   7502 
   7503     darwin* | rhapsody*)
   7504       # PIC is the default on this platform
   7505       # Common symbols not allowed in MH_DYLIB files
   7506       lt_prog_compiler_pic='-fno-common'
   7507       ;;
   7508 
   7509     interix3*)
   7510       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7511       # Instead, we relocate shared libraries at runtime.
   7512       ;;
   7513 
   7514     msdosdjgpp*)
   7515       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7516       # on systems that don't support them.
   7517       lt_prog_compiler_can_build_shared=no
   7518       enable_shared=no
   7519       ;;
   7520 
   7521     sysv4*MP*)
   7522       if test -d /usr/nec; then
   7523 	lt_prog_compiler_pic=-Kconform_pic
   7524       fi
   7525       ;;
   7526 
   7527     hpux*)
   7528       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7529       # not for PA HP-UX.
   7530       case $host_cpu in
   7531       hppa*64*|ia64*)
   7532 	# +Z the default
   7533 	;;
   7534       *)
   7535 	lt_prog_compiler_pic='-fPIC'
   7536 	;;
   7537       esac
   7538       ;;
   7539 
   7540     *)
   7541       lt_prog_compiler_pic='-fPIC'
   7542       ;;
   7543     esac
   7544   else
   7545     # PORTME Check for flag to pass linker flags through the system compiler.
   7546     case $host_os in
   7547     aix*)
   7548       lt_prog_compiler_wl='-Wl,'
   7549       if test "$host_cpu" = ia64; then
   7550 	# AIX 5 now supports IA64 processor
   7551 	lt_prog_compiler_static='-Bstatic'
   7552       else
   7553 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7554       fi
   7555       ;;
   7556       darwin*)
   7557         # PIC is the default on this platform
   7558         # Common symbols not allowed in MH_DYLIB files
   7559        case $cc_basename in
   7560          xlc*)
   7561          lt_prog_compiler_pic='-qnocommon'
   7562          lt_prog_compiler_wl='-Wl,'
   7563          ;;
   7564        esac
   7565        ;;
   7566 
   7567     mingw* | pw32* | os2*)
   7568       # This hack is so that the source file can tell whether it is being
   7569       # built for inclusion in a dll (and should export symbols for example).
   7570       lt_prog_compiler_pic='-DDLL_EXPORT'
   7571       ;;
   7572 
   7573     hpux9* | hpux10* | hpux11*)
   7574       lt_prog_compiler_wl='-Wl,'
   7575       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7576       # not for PA HP-UX.
   7577       case $host_cpu in
   7578       hppa*64*|ia64*)
   7579 	# +Z the default
   7580 	;;
   7581       *)
   7582 	lt_prog_compiler_pic='+Z'
   7583 	;;
   7584       esac
   7585       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7586       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7587       ;;
   7588 
   7589     irix5* | irix6* | nonstopux*)
   7590       lt_prog_compiler_wl='-Wl,'
   7591       # PIC (with -KPIC) is the default.
   7592       lt_prog_compiler_static='-non_shared'
   7593       ;;
   7594 
   7595     newsos6)
   7596       lt_prog_compiler_pic='-KPIC'
   7597       lt_prog_compiler_static='-Bstatic'
   7598       ;;
   7599 
   7600     linux*)
   7601       case $cc_basename in
   7602       icc* | ecc*)
   7603 	lt_prog_compiler_wl='-Wl,'
   7604 	lt_prog_compiler_pic='-KPIC'
   7605 	lt_prog_compiler_static='-static'
   7606         ;;
   7607       pgcc* | pgf77* | pgf90* | pgf95*)
   7608         # Portland Group compilers (*not* the Pentium gcc compiler,
   7609 	# which looks to be a dead project)
   7610 	lt_prog_compiler_wl='-Wl,'
   7611 	lt_prog_compiler_pic='-fpic'
   7612 	lt_prog_compiler_static='-Bstatic'
   7613         ;;
   7614       ccc*)
   7615         lt_prog_compiler_wl='-Wl,'
   7616         # All Alpha code is PIC.
   7617         lt_prog_compiler_static='-non_shared'
   7618         ;;
   7619       esac
   7620       ;;
   7621 
   7622     osf3* | osf4* | osf5*)
   7623       lt_prog_compiler_wl='-Wl,'
   7624       # All OSF/1 code is PIC.
   7625       lt_prog_compiler_static='-non_shared'
   7626       ;;
   7627 
   7628     solaris*)
   7629       lt_prog_compiler_pic='-KPIC'
   7630       lt_prog_compiler_static='-Bstatic'
   7631       case $cc_basename in
   7632       f77* | f90* | f95*)
   7633 	lt_prog_compiler_wl='-Qoption ld ';;
   7634       *)
   7635 	lt_prog_compiler_wl='-Wl,';;
   7636       esac
   7637       ;;
   7638 
   7639     sunos4*)
   7640       lt_prog_compiler_wl='-Qoption ld '
   7641       lt_prog_compiler_pic='-PIC'
   7642       lt_prog_compiler_static='-Bstatic'
   7643       ;;
   7644 
   7645     sysv4 | sysv4.2uw2* | sysv4.3*)
   7646       lt_prog_compiler_wl='-Wl,'
   7647       lt_prog_compiler_pic='-KPIC'
   7648       lt_prog_compiler_static='-Bstatic'
   7649       ;;
   7650 
   7651     sysv4*MP*)
   7652       if test -d /usr/nec ;then
   7653 	lt_prog_compiler_pic='-Kconform_pic'
   7654 	lt_prog_compiler_static='-Bstatic'
   7655       fi
   7656       ;;
   7657 
   7658     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7659       lt_prog_compiler_wl='-Wl,'
   7660       lt_prog_compiler_pic='-KPIC'
   7661       lt_prog_compiler_static='-Bstatic'
   7662       ;;
   7663 
   7664     unicos*)
   7665       lt_prog_compiler_wl='-Wl,'
   7666       lt_prog_compiler_can_build_shared=no
   7667       ;;
   7668 
   7669     uts4*)
   7670       lt_prog_compiler_pic='-pic'
   7671       lt_prog_compiler_static='-Bstatic'
   7672       ;;
   7673 
   7674     *)
   7675       lt_prog_compiler_can_build_shared=no
   7676       ;;
   7677     esac
   7678   fi
   7679 
   7680 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7681 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7682 
   7683 #
   7684 # Check to make sure the PIC flag actually works.
   7685 #
   7686 if test -n "$lt_prog_compiler_pic"; then
   7687 
   7688 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7689 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7690 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7691   echo $ECHO_N "(cached) $ECHO_C" >&6
   7692 else
   7693   lt_prog_compiler_pic_works=no
   7694   ac_outfile=conftest.$ac_objext
   7695    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7696    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7697    # Insert the option either (1) after the last *FLAGS variable, or
   7698    # (2) before a word containing "conftest.", or (3) at the end.
   7699    # Note that $ac_compile itself does not contain backslashes and begins
   7700    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7701    # The option is referenced via a variable to avoid confusing sed.
   7702    lt_compile=`echo "$ac_compile" | $SED \
   7703    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7704    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7705    -e 's:$: $lt_compiler_flag:'`
   7706    (eval echo "\"\$as_me:7706: $lt_compile\"" >&5)
   7707    (eval "$lt_compile" 2>conftest.err)
   7708    ac_status=$?
   7709    cat conftest.err >&5
   7710    echo "$as_me:7710: \$? = $ac_status" >&5
   7711    if (exit $ac_status) && test -s "$ac_outfile"; then
   7712      # The compiler can only warn and ignore the option if not recognized
   7713      # So say no if there are warnings other than the usual output.
   7714      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7715      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7716      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7717        lt_prog_compiler_pic_works=yes
   7718      fi
   7719    fi
   7720    $rm conftest*
   7721 
   7722 fi
   7723 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7724 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7725 
   7726 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7727     case $lt_prog_compiler_pic in
   7728      "" | " "*) ;;
   7729      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7730      esac
   7731 else
   7732     lt_prog_compiler_pic=
   7733      lt_prog_compiler_can_build_shared=no
   7734 fi
   7735 
   7736 fi
   7737 case $host_os in
   7738   # For platforms which do not support PIC, -DPIC is meaningless:
   7739   *djgpp*)
   7740     lt_prog_compiler_pic=
   7741     ;;
   7742   *)
   7743     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7744     ;;
   7745 esac
   7746 
   7747 #
   7748 # Check to make sure the static flag actually works.
   7749 #
   7750 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7751 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7752 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7753 if test "${lt_prog_compiler_static_works+set}" = set; then
   7754   echo $ECHO_N "(cached) $ECHO_C" >&6
   7755 else
   7756   lt_prog_compiler_static_works=no
   7757    save_LDFLAGS="$LDFLAGS"
   7758    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7759    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7760    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7761      # The linker can only warn and ignore the option if not recognized
   7762      # So say no if there are warnings
   7763      if test -s conftest.err; then
   7764        # Append any errors to the config.log.
   7765        cat conftest.err 1>&5
   7766        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7767        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7768        if diff conftest.exp conftest.er2 >/dev/null; then
   7769          lt_prog_compiler_static_works=yes
   7770        fi
   7771      else
   7772        lt_prog_compiler_static_works=yes
   7773      fi
   7774    fi
   7775    $rm conftest*
   7776    LDFLAGS="$save_LDFLAGS"
   7777 
   7778 fi
   7779 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7780 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7781 
   7782 if test x"$lt_prog_compiler_static_works" = xyes; then
   7783     :
   7784 else
   7785     lt_prog_compiler_static=
   7786 fi
   7787 
   7788 
   7789 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7790 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7791 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7792   echo $ECHO_N "(cached) $ECHO_C" >&6
   7793 else
   7794   lt_cv_prog_compiler_c_o=no
   7795    $rm -r conftest 2>/dev/null
   7796    mkdir conftest
   7797    cd conftest
   7798    mkdir out
   7799    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7800 
   7801    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7802    # Insert the option either (1) after the last *FLAGS variable, or
   7803    # (2) before a word containing "conftest.", or (3) at the end.
   7804    # Note that $ac_compile itself does not contain backslashes and begins
   7805    # with a dollar sign (not a hyphen), so the echo should work correctly.
   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>out/conftest.err)
   7812    ac_status=$?
   7813    cat out/conftest.err >&5
   7814    echo "$as_me:7814: \$? = $ac_status" >&5
   7815    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7816    then
   7817      # The compiler can only warn and ignore the option if not recognized
   7818      # So say no if there are warnings
   7819      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7820      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7821      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7822        lt_cv_prog_compiler_c_o=yes
   7823      fi
   7824    fi
   7825    chmod u+w . 2>&5
   7826    $rm conftest*
   7827    # SGI C++ compiler will create directory out/ii_files/ for
   7828    # template instantiation
   7829    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7830    $rm out/* && rmdir out
   7831    cd ..
   7832    rmdir conftest
   7833    $rm conftest*
   7834 
   7835 fi
   7836 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7837 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7838 
   7839 
   7840 hard_links="nottested"
   7841 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7842   # do not overwrite the value of need_locks provided by the user
   7843   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7844 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7845   hard_links=yes
   7846   $rm conftest*
   7847   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7848   touch conftest.a
   7849   ln conftest.a conftest.b 2>&5 || hard_links=no
   7850   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7851   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7852 echo "${ECHO_T}$hard_links" >&6; }
   7853   if test "$hard_links" = no; then
   7854     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7855 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7856     need_locks=warn
   7857   fi
   7858 else
   7859   need_locks=no
   7860 fi
   7861 
   7862 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7863 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7864 
   7865   runpath_var=
   7866   allow_undefined_flag=
   7867   enable_shared_with_static_runtimes=no
   7868   archive_cmds=
   7869   archive_expsym_cmds=
   7870   old_archive_From_new_cmds=
   7871   old_archive_from_expsyms_cmds=
   7872   export_dynamic_flag_spec=
   7873   whole_archive_flag_spec=
   7874   thread_safe_flag_spec=
   7875   hardcode_libdir_flag_spec=
   7876   hardcode_libdir_flag_spec_ld=
   7877   hardcode_libdir_separator=
   7878   hardcode_direct=no
   7879   hardcode_minus_L=no
   7880   hardcode_shlibpath_var=unsupported
   7881   link_all_deplibs=unknown
   7882   hardcode_automatic=no
   7883   module_cmds=
   7884   module_expsym_cmds=
   7885   always_export_symbols=no
   7886   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7887   # include_expsyms should be a list of space-separated symbols to be *always*
   7888   # included in the symbol list
   7889   include_expsyms=
   7890   # exclude_expsyms can be an extended regexp of symbols to exclude
   7891   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7892   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7893   # as well as any symbol that contains `d'.
   7894   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7895   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7896   # platforms (ab)use it in PIC code, but their linkers get confused if
   7897   # the symbol is explicitly referenced.  Since portable code cannot
   7898   # rely on this symbol name, it's probably fine to never include it in
   7899   # preloaded symbol tables.
   7900   extract_expsyms_cmds=
   7901   # Just being paranoid about ensuring that cc_basename is set.
   7902   for cc_temp in $compiler""; do
   7903   case $cc_temp in
   7904     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7905     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7906     \-*) ;;
   7907     *) break;;
   7908   esac
   7909 done
   7910 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7911 
   7912   case $host_os in
   7913   cygwin* | mingw* | pw32*)
   7914     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7915     # When not using gcc, we currently assume that we are using
   7916     # Microsoft Visual C++.
   7917     if test "$GCC" != yes; then
   7918       with_gnu_ld=no
   7919     fi
   7920     ;;
   7921   interix*)
   7922     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7923     with_gnu_ld=yes
   7924     ;;
   7925   openbsd*)
   7926     with_gnu_ld=no
   7927     ;;
   7928   esac
   7929 
   7930   ld_shlibs=yes
   7931   if test "$with_gnu_ld" = yes; then
   7932     # If archive_cmds runs LD, not CC, wlarc should be empty
   7933     wlarc='${wl}'
   7934 
   7935     # Set some defaults for GNU ld with shared library support. These
   7936     # are reset later if shared libraries are not supported. Putting them
   7937     # here allows them to be overridden if necessary.
   7938     runpath_var=LD_RUN_PATH
   7939     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7940     export_dynamic_flag_spec='${wl}--export-dynamic'
   7941     # ancient GNU ld didn't support --whole-archive et. al.
   7942     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7943 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7944       else
   7945   	whole_archive_flag_spec=
   7946     fi
   7947     supports_anon_versioning=no
   7948     case `$LD -v 2>/dev/null` in
   7949       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7950       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7951       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7952       *\ 2.11.*) ;; # other 2.11 versions
   7953       *) supports_anon_versioning=yes ;;
   7954     esac
   7955 
   7956     # See if GNU ld supports shared libraries.
   7957     case $host_os in
   7958     aix3* | aix4* | aix5*)
   7959       # On AIX/PPC, the GNU linker is very broken
   7960       if test "$host_cpu" != ia64; then
   7961 	ld_shlibs=no
   7962 	cat <<EOF 1>&2
   7963 
   7964 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7965 *** to be unable to reliably create shared libraries on AIX.
   7966 *** Therefore, libtool is disabling shared libraries support.  If you
   7967 *** really care for shared libraries, you may want to modify your PATH
   7968 *** so that a non-GNU linker is found, and then restart.
   7969 
   7970 EOF
   7971       fi
   7972       ;;
   7973 
   7974     amigaos*)
   7975       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)'
   7976       hardcode_libdir_flag_spec='-L$libdir'
   7977       hardcode_minus_L=yes
   7978 
   7979       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7980       # that the semantics of dynamic libraries on AmigaOS, at least up
   7981       # to version 4, is to share data among multiple programs linked
   7982       # with the same dynamic library.  Since this doesn't match the
   7983       # behavior of shared libraries on other platforms, we can't use
   7984       # them.
   7985       ld_shlibs=no
   7986       ;;
   7987 
   7988     beos*)
   7989       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7990 	allow_undefined_flag=unsupported
   7991 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7992 	# support --undefined.  This deserves some investigation.  FIXME
   7993 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7994       else
   7995 	ld_shlibs=no
   7996       fi
   7997       ;;
   7998 
   7999     cygwin* | mingw* | pw32*)
   8000       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8001       # as there is no search path for DLLs.
   8002       hardcode_libdir_flag_spec='-L$libdir'
   8003       allow_undefined_flag=unsupported
   8004       always_export_symbols=no
   8005       enable_shared_with_static_runtimes=yes
   8006       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   8007 
   8008       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8009         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8010 	# If the export-symbols file already is a .def file (1st line
   8011 	# is EXPORTS), use it as is; otherwise, prepend...
   8012 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8013 	  cp $export_symbols $output_objdir/$soname.def;
   8014 	else
   8015 	  echo EXPORTS > $output_objdir/$soname.def;
   8016 	  cat $export_symbols >> $output_objdir/$soname.def;
   8017 	fi~
   8018 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8019       else
   8020 	ld_shlibs=no
   8021       fi
   8022       ;;
   8023 
   8024     interix3*)
   8025       hardcode_direct=no
   8026       hardcode_shlibpath_var=no
   8027       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8028       export_dynamic_flag_spec='${wl}-E'
   8029       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8030       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8031       # default) and relocated if they conflict, which is a slow very memory
   8032       # consuming and fragmenting process.  To avoid this, we pick a random,
   8033       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8034       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8035       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8036       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'
   8037       ;;
   8038 
   8039     linux*)
   8040       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8041 	tmp_addflag=
   8042 	case $cc_basename,$host_cpu in
   8043 	pgcc*)				# Portland Group C compiler
   8044 	  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'
   8045 	  tmp_addflag=' $pic_flag'
   8046 	  ;;
   8047 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8048 	  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'
   8049 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8050 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8051 	  tmp_addflag=' -i_dynamic' ;;
   8052 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8053 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8054 	ifc* | ifort*)			# Intel Fortran compiler
   8055 	  tmp_addflag=' -nofor_main' ;;
   8056 	esac
   8057 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8058 
   8059 	if test $supports_anon_versioning = yes; then
   8060 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8061   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8062   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8063 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8064 	fi
   8065       else
   8066 	ld_shlibs=no
   8067       fi
   8068       ;;
   8069 
   8070     netbsd*)
   8071       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8072 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8073 	wlarc=
   8074       else
   8075 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8076 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8077       fi
   8078       ;;
   8079 
   8080     solaris*)
   8081       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8082 	ld_shlibs=no
   8083 	cat <<EOF 1>&2
   8084 
   8085 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8086 *** create shared libraries on Solaris systems.  Therefore, libtool
   8087 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8088 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8089 *** your PATH or compiler configuration so that the native linker is
   8090 *** used, and then restart.
   8091 
   8092 EOF
   8093       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8094 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8095 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8096       else
   8097 	ld_shlibs=no
   8098       fi
   8099       ;;
   8100 
   8101     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8102       case `$LD -v 2>&1` in
   8103         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8104 	ld_shlibs=no
   8105 	cat <<_LT_EOF 1>&2
   8106 
   8107 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8108 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8109 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8110 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8111 *** your PATH or compiler configuration so that the native linker is
   8112 *** used, and then restart.
   8113 
   8114 _LT_EOF
   8115 	;;
   8116 	*)
   8117 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8118 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8119 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8120 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8121 	  else
   8122 	    ld_shlibs=no
   8123 	  fi
   8124 	;;
   8125       esac
   8126       ;;
   8127 
   8128     sunos4*)
   8129       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8130       wlarc=
   8131       hardcode_direct=yes
   8132       hardcode_shlibpath_var=no
   8133       ;;
   8134 
   8135     *)
   8136       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8137 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8138 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8139       else
   8140 	ld_shlibs=no
   8141       fi
   8142       ;;
   8143     esac
   8144 
   8145     if test "$ld_shlibs" = no; then
   8146       runpath_var=
   8147       hardcode_libdir_flag_spec=
   8148       export_dynamic_flag_spec=
   8149       whole_archive_flag_spec=
   8150     fi
   8151   else
   8152     # PORTME fill in a description of your system's linker (not GNU ld)
   8153     case $host_os in
   8154     aix3*)
   8155       allow_undefined_flag=unsupported
   8156       always_export_symbols=yes
   8157       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'
   8158       # Note: this linker hardcodes the directories in LIBPATH if there
   8159       # are no directories specified by -L.
   8160       hardcode_minus_L=yes
   8161       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8162 	# Neither direct hardcoding nor static linking is supported with a
   8163 	# broken collect2.
   8164 	hardcode_direct=unsupported
   8165       fi
   8166       ;;
   8167 
   8168     aix4* | aix5*)
   8169       if test "$host_cpu" = ia64; then
   8170 	# On IA64, the linker does run time linking by default, so we don't
   8171 	# have to do anything special.
   8172 	aix_use_runtimelinking=no
   8173 	exp_sym_flag='-Bexport'
   8174 	no_entry_flag=""
   8175       else
   8176 	# If we're using GNU nm, then we don't want the "-C" option.
   8177 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8178 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8179 	  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'
   8180 	else
   8181 	  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'
   8182 	fi
   8183 	aix_use_runtimelinking=no
   8184 
   8185 	# Test if we are trying to use run time linking or normal
   8186 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8187 	# need to do runtime linking.
   8188 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   8189 	  for ld_flag in $LDFLAGS; do
   8190   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8191   	    aix_use_runtimelinking=yes
   8192   	    break
   8193   	  fi
   8194 	  done
   8195 	  ;;
   8196 	esac
   8197 
   8198 	exp_sym_flag='-bexport'
   8199 	no_entry_flag='-bnoentry'
   8200       fi
   8201 
   8202       # When large executables or shared objects are built, AIX ld can
   8203       # have problems creating the table of contents.  If linking a library
   8204       # or program results in "error TOC overflow" add -mminimal-toc to
   8205       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8206       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8207 
   8208       archive_cmds=''
   8209       hardcode_direct=yes
   8210       hardcode_libdir_separator=':'
   8211       link_all_deplibs=yes
   8212 
   8213       if test "$GCC" = yes; then
   8214 	case $host_os in aix4.[012]|aix4.[012].*)
   8215 	# We only want to do this on AIX 4.2 and lower, the check
   8216 	# below for broken collect2 doesn't work under 4.3+
   8217 	  collect2name=`${CC} -print-prog-name=collect2`
   8218 	  if test -f "$collect2name" && \
   8219   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8220 	  then
   8221   	  # We have reworked collect2
   8222   	  hardcode_direct=yes
   8223 	  else
   8224   	  # We have old collect2
   8225   	  hardcode_direct=unsupported
   8226   	  # It fails to find uninstalled libraries when the uninstalled
   8227   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8228   	  # to unsupported forces relinking
   8229   	  hardcode_minus_L=yes
   8230   	  hardcode_libdir_flag_spec='-L$libdir'
   8231   	  hardcode_libdir_separator=
   8232 	  fi
   8233 	  ;;
   8234 	esac
   8235 	shared_flag='-shared'
   8236 	if test "$aix_use_runtimelinking" = yes; then
   8237 	  shared_flag="$shared_flag "'${wl}-G'
   8238 	fi
   8239       else
   8240 	# not using gcc
   8241 	if test "$host_cpu" = ia64; then
   8242   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8243   	# chokes on -Wl,-G. The following line is correct:
   8244 	  shared_flag='-G'
   8245 	else
   8246 	  if test "$aix_use_runtimelinking" = yes; then
   8247 	    shared_flag='${wl}-G'
   8248 	  else
   8249 	    shared_flag='${wl}-bM:SRE'
   8250 	  fi
   8251 	fi
   8252       fi
   8253 
   8254       # It seems that -bexpall does not export symbols beginning with
   8255       # underscore (_), so it is better to generate a list of symbols to export.
   8256       always_export_symbols=yes
   8257       if test "$aix_use_runtimelinking" = yes; then
   8258 	# Warning - without using the other runtime loading flags (-brtl),
   8259 	# -berok will link without error, but may produce a broken library.
   8260 	allow_undefined_flag='-berok'
   8261        # Determine the default libpath from the value encoded in an empty executable.
   8262        cat >conftest.$ac_ext <<_ACEOF
   8263 /* confdefs.h.  */
   8264 _ACEOF
   8265 cat confdefs.h >>conftest.$ac_ext
   8266 cat >>conftest.$ac_ext <<_ACEOF
   8267 /* end confdefs.h.  */
   8268 
   8269 int
   8270 main ()
   8271 {
   8272 
   8273   ;
   8274   return 0;
   8275 }
   8276 _ACEOF
   8277 rm -f conftest.$ac_objext conftest$ac_exeext
   8278 if { (ac_try="$ac_link"
   8279 case "(($ac_try" in
   8280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8281   *) ac_try_echo=$ac_try;;
   8282 esac
   8283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8284   (eval "$ac_link") 2>conftest.er1
   8285   ac_status=$?
   8286   grep -v '^ *+' conftest.er1 >conftest.err
   8287   rm -f conftest.er1
   8288   cat conftest.err >&5
   8289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8290   (exit $ac_status); } &&
   8291 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8292   { (case "(($ac_try" in
   8293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8294   *) ac_try_echo=$ac_try;;
   8295 esac
   8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8297   (eval "$ac_try") 2>&5
   8298   ac_status=$?
   8299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8300   (exit $ac_status); }; } &&
   8301 	 { ac_try='test -s conftest$ac_exeext'
   8302   { (case "(($ac_try" in
   8303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8304   *) ac_try_echo=$ac_try;;
   8305 esac
   8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8307   (eval "$ac_try") 2>&5
   8308   ac_status=$?
   8309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8310   (exit $ac_status); }; }; then
   8311 
   8312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8313 }'`
   8314 # Check for a 64-bit object if we didn't find anything.
   8315 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; }
   8316 }'`; fi
   8317 else
   8318   echo "$as_me: failed program was:" >&5
   8319 sed 's/^/| /' conftest.$ac_ext >&5
   8320 
   8321 
   8322 fi
   8323 
   8324 rm -f core conftest.err conftest.$ac_objext \
   8325       conftest$ac_exeext conftest.$ac_ext
   8326 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8327 
   8328        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8329 	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"
   8330        else
   8331 	if test "$host_cpu" = ia64; then
   8332 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8333 	  allow_undefined_flag="-z nodefs"
   8334 	  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"
   8335 	else
   8336 	 # Determine the default libpath from the value encoded in an empty executable.
   8337 	 cat >conftest.$ac_ext <<_ACEOF
   8338 /* confdefs.h.  */
   8339 _ACEOF
   8340 cat confdefs.h >>conftest.$ac_ext
   8341 cat >>conftest.$ac_ext <<_ACEOF
   8342 /* end confdefs.h.  */
   8343 
   8344 int
   8345 main ()
   8346 {
   8347 
   8348   ;
   8349   return 0;
   8350 }
   8351 _ACEOF
   8352 rm -f conftest.$ac_objext conftest$ac_exeext
   8353 if { (ac_try="$ac_link"
   8354 case "(($ac_try" in
   8355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8356   *) ac_try_echo=$ac_try;;
   8357 esac
   8358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8359   (eval "$ac_link") 2>conftest.er1
   8360   ac_status=$?
   8361   grep -v '^ *+' conftest.er1 >conftest.err
   8362   rm -f conftest.er1
   8363   cat conftest.err >&5
   8364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8365   (exit $ac_status); } &&
   8366 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8367   { (case "(($ac_try" in
   8368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8369   *) ac_try_echo=$ac_try;;
   8370 esac
   8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8372   (eval "$ac_try") 2>&5
   8373   ac_status=$?
   8374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8375   (exit $ac_status); }; } &&
   8376 	 { ac_try='test -s conftest$ac_exeext'
   8377   { (case "(($ac_try" in
   8378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8379   *) ac_try_echo=$ac_try;;
   8380 esac
   8381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8382   (eval "$ac_try") 2>&5
   8383   ac_status=$?
   8384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8385   (exit $ac_status); }; }; then
   8386 
   8387 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8388 }'`
   8389 # Check for a 64-bit object if we didn't find anything.
   8390 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; }
   8391 }'`; fi
   8392 else
   8393   echo "$as_me: failed program was:" >&5
   8394 sed 's/^/| /' conftest.$ac_ext >&5
   8395 
   8396 
   8397 fi
   8398 
   8399 rm -f core conftest.err conftest.$ac_objext \
   8400       conftest$ac_exeext conftest.$ac_ext
   8401 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8402 
   8403 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8404 	  # Warning - without using the other run time loading flags,
   8405 	  # -berok will link without error, but may produce a broken library.
   8406 	  no_undefined_flag=' ${wl}-bernotok'
   8407 	  allow_undefined_flag=' ${wl}-berok'
   8408 	  # Exported symbols can be pulled into shared objects from archives
   8409 	  whole_archive_flag_spec='$convenience'
   8410 	  archive_cmds_need_lc=yes
   8411 	  # This is similar to how AIX traditionally builds its shared libraries.
   8412 	  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'
   8413 	fi
   8414       fi
   8415       ;;
   8416 
   8417     amigaos*)
   8418       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)'
   8419       hardcode_libdir_flag_spec='-L$libdir'
   8420       hardcode_minus_L=yes
   8421       # see comment about different semantics on the GNU ld section
   8422       ld_shlibs=no
   8423       ;;
   8424 
   8425     bsdi[45]*)
   8426       export_dynamic_flag_spec=-rdynamic
   8427       ;;
   8428 
   8429     cygwin* | mingw* | pw32*)
   8430       # When not using gcc, we currently assume that we are using
   8431       # Microsoft Visual C++.
   8432       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8433       # no search path for DLLs.
   8434       hardcode_libdir_flag_spec=' '
   8435       allow_undefined_flag=unsupported
   8436       # Tell ltmain to make .lib files, not .a files.
   8437       libext=lib
   8438       # Tell ltmain to make .dll files, not .so files.
   8439       shrext_cmds=".dll"
   8440       # FIXME: Setting linknames here is a bad hack.
   8441       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8442       # The linker will automatically build a .lib file if we build a DLL.
   8443       old_archive_From_new_cmds='true'
   8444       # FIXME: Should let the user specify the lib program.
   8445       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8446       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8447       enable_shared_with_static_runtimes=yes
   8448       ;;
   8449 
   8450     darwin* | rhapsody*)
   8451       case $host_os in
   8452         rhapsody* | darwin1.[012])
   8453          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8454          ;;
   8455        *) # Darwin 1.3 on
   8456          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8457            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8458          else
   8459            case ${MACOSX_DEPLOYMENT_TARGET} in
   8460              10.[012])
   8461                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8462                ;;
   8463              10.*)
   8464                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8465                ;;
   8466            esac
   8467          fi
   8468          ;;
   8469       esac
   8470       archive_cmds_need_lc=no
   8471       hardcode_direct=no
   8472       hardcode_automatic=yes
   8473       hardcode_shlibpath_var=unsupported
   8474       whole_archive_flag_spec=''
   8475       link_all_deplibs=yes
   8476     if test "$GCC" = yes ; then
   8477     	output_verbose_link_cmd='echo'
   8478         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8479       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8480       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8481       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}'
   8482       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}'
   8483     else
   8484       case $cc_basename in
   8485         xlc*)
   8486          output_verbose_link_cmd='echo'
   8487          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8488          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8489           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8490          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}'
   8491           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}'
   8492           ;;
   8493        *)
   8494          ld_shlibs=no
   8495           ;;
   8496       esac
   8497     fi
   8498       ;;
   8499 
   8500     dgux*)
   8501       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8502       hardcode_libdir_flag_spec='-L$libdir'
   8503       hardcode_shlibpath_var=no
   8504       ;;
   8505 
   8506     freebsd1*)
   8507       ld_shlibs=no
   8508       ;;
   8509 
   8510     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8511     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8512     # does not break anything, and helps significantly (at the cost of a little
   8513     # extra space).
   8514     freebsd2.2*)
   8515       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8516       hardcode_libdir_flag_spec='-R$libdir'
   8517       hardcode_direct=yes
   8518       hardcode_shlibpath_var=no
   8519       ;;
   8520 
   8521     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8522     freebsd2*)
   8523       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8524       hardcode_direct=yes
   8525       hardcode_minus_L=yes
   8526       hardcode_shlibpath_var=no
   8527       ;;
   8528 
   8529     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8530     freebsd* | kfreebsd*-gnu | dragonfly*)
   8531       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8532       hardcode_libdir_flag_spec='-R$libdir'
   8533       hardcode_direct=yes
   8534       hardcode_shlibpath_var=no
   8535       ;;
   8536 
   8537     hpux9*)
   8538       if test "$GCC" = yes; then
   8539 	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'
   8540       else
   8541 	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'
   8542       fi
   8543       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8544       hardcode_libdir_separator=:
   8545       hardcode_direct=yes
   8546 
   8547       # hardcode_minus_L: Not really in the search PATH,
   8548       # but as the default location of the library.
   8549       hardcode_minus_L=yes
   8550       export_dynamic_flag_spec='${wl}-E'
   8551       ;;
   8552 
   8553     hpux10*)
   8554       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8555 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8556       else
   8557 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8558       fi
   8559       if test "$with_gnu_ld" = no; then
   8560 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8561 	hardcode_libdir_separator=:
   8562 
   8563 	hardcode_direct=yes
   8564 	export_dynamic_flag_spec='${wl}-E'
   8565 
   8566 	# hardcode_minus_L: Not really in the search PATH,
   8567 	# but as the default location of the library.
   8568 	hardcode_minus_L=yes
   8569       fi
   8570       ;;
   8571 
   8572     hpux11*)
   8573       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8574 	case $host_cpu in
   8575 	hppa*64*)
   8576 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8577 	  ;;
   8578 	ia64*)
   8579 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8580 	  ;;
   8581 	*)
   8582 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8583 	  ;;
   8584 	esac
   8585       else
   8586 	case $host_cpu in
   8587 	hppa*64*)
   8588 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8589 	  ;;
   8590 	ia64*)
   8591 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8592 	  ;;
   8593 	*)
   8594 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8595 	  ;;
   8596 	esac
   8597       fi
   8598       if test "$with_gnu_ld" = no; then
   8599 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8600 	hardcode_libdir_separator=:
   8601 
   8602 	case $host_cpu in
   8603 	hppa*64*|ia64*)
   8604 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8605 	  hardcode_direct=no
   8606 	  hardcode_shlibpath_var=no
   8607 	  ;;
   8608 	*)
   8609 	  hardcode_direct=yes
   8610 	  export_dynamic_flag_spec='${wl}-E'
   8611 
   8612 	  # hardcode_minus_L: Not really in the search PATH,
   8613 	  # but as the default location of the library.
   8614 	  hardcode_minus_L=yes
   8615 	  ;;
   8616 	esac
   8617       fi
   8618       ;;
   8619 
   8620     irix5* | irix6* | nonstopux*)
   8621       if test "$GCC" = yes; then
   8622 	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'
   8623       else
   8624 	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'
   8625 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8626       fi
   8627       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8628       hardcode_libdir_separator=:
   8629       link_all_deplibs=yes
   8630       ;;
   8631 
   8632     netbsd*)
   8633       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8634 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8635       else
   8636 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8637       fi
   8638       hardcode_libdir_flag_spec='-R$libdir'
   8639       hardcode_direct=yes
   8640       hardcode_shlibpath_var=no
   8641       ;;
   8642 
   8643     newsos6)
   8644       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8645       hardcode_direct=yes
   8646       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8647       hardcode_libdir_separator=:
   8648       hardcode_shlibpath_var=no
   8649       ;;
   8650 
   8651     openbsd*)
   8652       hardcode_direct=yes
   8653       hardcode_shlibpath_var=no
   8654       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8655 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8656 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8657 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8658 	export_dynamic_flag_spec='${wl}-E'
   8659       else
   8660        case $host_os in
   8661 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8662 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8663 	   hardcode_libdir_flag_spec='-R$libdir'
   8664 	   ;;
   8665 	 *)
   8666 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8667 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8668 	   ;;
   8669        esac
   8670       fi
   8671       ;;
   8672 
   8673     os2*)
   8674       hardcode_libdir_flag_spec='-L$libdir'
   8675       hardcode_minus_L=yes
   8676       allow_undefined_flag=unsupported
   8677       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'
   8678       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8679       ;;
   8680 
   8681     osf3*)
   8682       if test "$GCC" = yes; then
   8683 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8684 	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'
   8685       else
   8686 	allow_undefined_flag=' -expect_unresolved \*'
   8687 	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'
   8688       fi
   8689       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8690       hardcode_libdir_separator=:
   8691       ;;
   8692 
   8693     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8694       if test "$GCC" = yes; then
   8695 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8696 	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'
   8697 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8698       else
   8699 	allow_undefined_flag=' -expect_unresolved \*'
   8700 	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'
   8701 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8702 	$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'
   8703 
   8704 	# Both c and cxx compiler support -rpath directly
   8705 	hardcode_libdir_flag_spec='-rpath $libdir'
   8706       fi
   8707       hardcode_libdir_separator=:
   8708       ;;
   8709 
   8710     solaris*)
   8711       no_undefined_flag=' -z text'
   8712       if test "$GCC" = yes; then
   8713 	wlarc='${wl}'
   8714 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8715 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8716 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8717       else
   8718 	wlarc=''
   8719 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8720 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8721   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8722       fi
   8723       hardcode_libdir_flag_spec='-R$libdir'
   8724       hardcode_shlibpath_var=no
   8725       case $host_os in
   8726       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8727       *)
   8728  	# The compiler driver will combine linker options so we
   8729  	# cannot just pass the convience library names through
   8730  	# without $wl, iff we do not link with $LD.
   8731  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8732  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8733  	case $wlarc in
   8734  	'')
   8735  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8736  	*)
   8737  	  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' ;;
   8738  	esac ;;
   8739       esac
   8740       link_all_deplibs=yes
   8741       ;;
   8742 
   8743     sunos4*)
   8744       if test "x$host_vendor" = xsequent; then
   8745 	# Use $CC to link under sequent, because it throws in some extra .o
   8746 	# files that make .init and .fini sections work.
   8747 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8748       else
   8749 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8750       fi
   8751       hardcode_libdir_flag_spec='-L$libdir'
   8752       hardcode_direct=yes
   8753       hardcode_minus_L=yes
   8754       hardcode_shlibpath_var=no
   8755       ;;
   8756 
   8757     sysv4)
   8758       case $host_vendor in
   8759 	sni)
   8760 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8761 	  hardcode_direct=yes # is this really true???
   8762 	;;
   8763 	siemens)
   8764 	  ## LD is ld it makes a PLAMLIB
   8765 	  ## CC just makes a GrossModule.
   8766 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8767 	  reload_cmds='$CC -r -o $output$reload_objs'
   8768 	  hardcode_direct=no
   8769         ;;
   8770 	motorola)
   8771 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8772 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8773 	;;
   8774       esac
   8775       runpath_var='LD_RUN_PATH'
   8776       hardcode_shlibpath_var=no
   8777       ;;
   8778 
   8779     sysv4.3*)
   8780       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8781       hardcode_shlibpath_var=no
   8782       export_dynamic_flag_spec='-Bexport'
   8783       ;;
   8784 
   8785     sysv4*MP*)
   8786       if test -d /usr/nec; then
   8787 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8788 	hardcode_shlibpath_var=no
   8789 	runpath_var=LD_RUN_PATH
   8790 	hardcode_runpath_var=yes
   8791 	ld_shlibs=yes
   8792       fi
   8793       ;;
   8794 
   8795     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8796       no_undefined_flag='${wl}-z,text'
   8797       archive_cmds_need_lc=no
   8798       hardcode_shlibpath_var=no
   8799       runpath_var='LD_RUN_PATH'
   8800 
   8801       if test "$GCC" = yes; then
   8802 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8803 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8804       else
   8805 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8806 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8807       fi
   8808       ;;
   8809 
   8810     sysv5* | sco3.2v5* | sco5v6*)
   8811       # Note: We can NOT use -z defs as we might desire, because we do not
   8812       # link with -lc, and that would cause any symbols used from libc to
   8813       # always be unresolved, which means just about no library would
   8814       # ever link correctly.  If we're not using GNU ld we use -z text
   8815       # though, which does catch some bad symbols but isn't as heavy-handed
   8816       # as -z defs.
   8817       no_undefined_flag='${wl}-z,text'
   8818       allow_undefined_flag='${wl}-z,nodefs'
   8819       archive_cmds_need_lc=no
   8820       hardcode_shlibpath_var=no
   8821       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8822       hardcode_libdir_separator=':'
   8823       link_all_deplibs=yes
   8824       export_dynamic_flag_spec='${wl}-Bexport'
   8825       runpath_var='LD_RUN_PATH'
   8826 
   8827       if test "$GCC" = yes; then
   8828 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8829 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8830       else
   8831 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8832 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8833       fi
   8834       ;;
   8835 
   8836     uts4*)
   8837       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8838       hardcode_libdir_flag_spec='-L$libdir'
   8839       hardcode_shlibpath_var=no
   8840       ;;
   8841 
   8842     *)
   8843       ld_shlibs=no
   8844       ;;
   8845     esac
   8846   fi
   8847 
   8848 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8849 echo "${ECHO_T}$ld_shlibs" >&6; }
   8850 test "$ld_shlibs" = no && can_build_shared=no
   8851 
   8852 #
   8853 # Do we need to explicitly link libc?
   8854 #
   8855 case "x$archive_cmds_need_lc" in
   8856 x|xyes)
   8857   # Assume -lc should be added
   8858   archive_cmds_need_lc=yes
   8859 
   8860   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8861     case $archive_cmds in
   8862     *'~'*)
   8863       # FIXME: we may have to deal with multi-command sequences.
   8864       ;;
   8865     '$CC '*)
   8866       # Test whether the compiler implicitly links with -lc since on some
   8867       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8868       # to ld, don't add -lc before -lgcc.
   8869       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8870 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8871       $rm conftest*
   8872       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8873 
   8874       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8875   (eval $ac_compile) 2>&5
   8876   ac_status=$?
   8877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8878   (exit $ac_status); } 2>conftest.err; then
   8879         soname=conftest
   8880         lib=conftest
   8881         libobjs=conftest.$ac_objext
   8882         deplibs=
   8883         wl=$lt_prog_compiler_wl
   8884 	pic_flag=$lt_prog_compiler_pic
   8885         compiler_flags=-v
   8886         linker_flags=-v
   8887         verstring=
   8888         output_objdir=.
   8889         libname=conftest
   8890         lt_save_allow_undefined_flag=$allow_undefined_flag
   8891         allow_undefined_flag=
   8892         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8893   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8894   ac_status=$?
   8895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8896   (exit $ac_status); }
   8897         then
   8898 	  archive_cmds_need_lc=no
   8899         else
   8900 	  archive_cmds_need_lc=yes
   8901         fi
   8902         allow_undefined_flag=$lt_save_allow_undefined_flag
   8903       else
   8904         cat conftest.err 1>&5
   8905       fi
   8906       $rm conftest*
   8907       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8908 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8909       ;;
   8910     esac
   8911   fi
   8912   ;;
   8913 esac
   8914 
   8915 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8916 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8917 library_names_spec=
   8918 libname_spec='lib$name'
   8919 soname_spec=
   8920 shrext_cmds=".so"
   8921 postinstall_cmds=
   8922 postuninstall_cmds=
   8923 finish_cmds=
   8924 finish_eval=
   8925 shlibpath_var=
   8926 shlibpath_overrides_runpath=unknown
   8927 version_type=none
   8928 dynamic_linker="$host_os ld.so"
   8929 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8930 if test "$GCC" = yes; then
   8931   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8932   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8933     # if the path contains ";" then we assume it to be the separator
   8934     # otherwise default to the standard path separator (i.e. ":") - it is
   8935     # assumed that no part of a normal pathname contains ";" but that should
   8936     # okay in the real world where ";" in dirpaths is itself problematic.
   8937     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8938   else
   8939     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8940   fi
   8941 else
   8942   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8943 fi
   8944 need_lib_prefix=unknown
   8945 hardcode_into_libs=no
   8946 
   8947 # when you set need_version to no, make sure it does not cause -set_version
   8948 # flags to be left without arguments
   8949 need_version=unknown
   8950 
   8951 case $host_os in
   8952 aix3*)
   8953   version_type=linux
   8954   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8955   shlibpath_var=LIBPATH
   8956 
   8957   # AIX 3 has no versioning support, so we append a major version to the name.
   8958   soname_spec='${libname}${release}${shared_ext}$major'
   8959   ;;
   8960 
   8961 aix4* | aix5*)
   8962   version_type=linux
   8963   need_lib_prefix=no
   8964   need_version=no
   8965   hardcode_into_libs=yes
   8966   if test "$host_cpu" = ia64; then
   8967     # AIX 5 supports IA64
   8968     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8969     shlibpath_var=LD_LIBRARY_PATH
   8970   else
   8971     # With GCC up to 2.95.x, collect2 would create an import file
   8972     # for dependence libraries.  The import file would start with
   8973     # the line `#! .'.  This would cause the generated library to
   8974     # depend on `.', always an invalid library.  This was fixed in
   8975     # development snapshots of GCC prior to 3.0.
   8976     case $host_os in
   8977       aix4 | aix4.[01] | aix4.[01].*)
   8978       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8979 	   echo ' yes '
   8980 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8981 	:
   8982       else
   8983 	can_build_shared=no
   8984       fi
   8985       ;;
   8986     esac
   8987     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8988     # soname into executable. Probably we can add versioning support to
   8989     # collect2, so additional links can be useful in future.
   8990     if test "$aix_use_runtimelinking" = yes; then
   8991       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8992       # instead of lib<name>.a to let people know that these are not
   8993       # typical AIX shared libraries.
   8994       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8995     else
   8996       # We preserve .a as extension for shared libraries through AIX4.2
   8997       # and later when we are not doing run time linking.
   8998       library_names_spec='${libname}${release}.a $libname.a'
   8999       soname_spec='${libname}${release}${shared_ext}$major'
   9000     fi
   9001     shlibpath_var=LIBPATH
   9002   fi
   9003   ;;
   9004 
   9005 amigaos*)
   9006   library_names_spec='$libname.ixlibrary $libname.a'
   9007   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9008   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'
   9009   ;;
   9010 
   9011 beos*)
   9012   library_names_spec='${libname}${shared_ext}'
   9013   dynamic_linker="$host_os ld.so"
   9014   shlibpath_var=LIBRARY_PATH
   9015   ;;
   9016 
   9017 bsdi[45]*)
   9018   version_type=linux
   9019   need_version=no
   9020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9021   soname_spec='${libname}${release}${shared_ext}$major'
   9022   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9023   shlibpath_var=LD_LIBRARY_PATH
   9024   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9025   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9026   # the default ld.so.conf also contains /usr/contrib/lib and
   9027   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9028   # libtool to hard-code these into programs
   9029   ;;
   9030 
   9031 cygwin* | mingw* | pw32*)
   9032   version_type=windows
   9033   shrext_cmds=".dll"
   9034   need_version=no
   9035   need_lib_prefix=no
   9036 
   9037   case $GCC,$host_os in
   9038   yes,cygwin* | yes,mingw* | yes,pw32*)
   9039     library_names_spec='$libname.dll.a'
   9040     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9041     postinstall_cmds='base_file=`basename \${file}`~
   9042       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9043       dldir=$destdir/`dirname \$dlpath`~
   9044       test -d \$dldir || mkdir -p \$dldir~
   9045       $install_prog $dir/$dlname \$dldir/$dlname~
   9046       chmod a+x \$dldir/$dlname'
   9047     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9048       dlpath=$dir/\$dldll~
   9049        $rm \$dlpath'
   9050     shlibpath_overrides_runpath=yes
   9051 
   9052     case $host_os in
   9053     cygwin*)
   9054       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9055       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9056       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9057       ;;
   9058     mingw*)
   9059       # MinGW DLLs use traditional 'lib' prefix
   9060       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9061       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9062       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9063         # It is most probably a Windows format PATH printed by
   9064         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9065         # path with ; separators, and with drive letters. We can handle the
   9066         # drive letters (cygwin fileutils understands them), so leave them,
   9067         # especially as we might pass files found there to a mingw objdump,
   9068         # which wouldn't understand a cygwinified path. Ahh.
   9069         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9070       else
   9071         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9072       fi
   9073       ;;
   9074     pw32*)
   9075       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9076       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9077       ;;
   9078     esac
   9079     ;;
   9080 
   9081   linux*)
   9082     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
   9083       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9084       supports_anon_versioning=no
   9085       case `$LD -v 2>/dev/null` in
   9086         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9087         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9088         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9089         *\ 2.11.*) ;; # other 2.11 versions
   9090         *) supports_anon_versioning=yes ;;
   9091       esac
   9092       if test $supports_anon_versioning = yes; then
   9093         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   9094 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9095 $echo "local: *; };" >> $output_objdir/$libname.ver~
   9096         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9097       else
   9098         $archive_expsym_cmds="$archive_cmds"
   9099       fi
   9100     else
   9101       ld_shlibs=no
   9102     fi
   9103     ;;
   9104 
   9105   *)
   9106     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9107     ;;
   9108   esac
   9109   dynamic_linker='Win32 ld.exe'
   9110   # FIXME: first we should search . and the directory the executable is in
   9111   shlibpath_var=PATH
   9112   ;;
   9113 
   9114 darwin* | rhapsody*)
   9115   dynamic_linker="$host_os dyld"
   9116   version_type=darwin
   9117   need_lib_prefix=no
   9118   need_version=no
   9119   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9120   soname_spec='${libname}${release}${major}$shared_ext'
   9121   shlibpath_overrides_runpath=yes
   9122   shlibpath_var=DYLD_LIBRARY_PATH
   9123   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9124   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   9125   if test "$GCC" = yes; then
   9126     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"`
   9127   else
   9128     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   9129   fi
   9130   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9131   ;;
   9132 
   9133 dgux*)
   9134   version_type=linux
   9135   need_lib_prefix=no
   9136   need_version=no
   9137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9138   soname_spec='${libname}${release}${shared_ext}$major'
   9139   shlibpath_var=LD_LIBRARY_PATH
   9140   ;;
   9141 
   9142 freebsd1*)
   9143   dynamic_linker=no
   9144   ;;
   9145 
   9146 kfreebsd*-gnu)
   9147   version_type=linux
   9148   need_lib_prefix=no
   9149   need_version=no
   9150   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9151   soname_spec='${libname}${release}${shared_ext}$major'
   9152   shlibpath_var=LD_LIBRARY_PATH
   9153   shlibpath_overrides_runpath=no
   9154   hardcode_into_libs=yes
   9155   dynamic_linker='GNU ld.so'
   9156   ;;
   9157 
   9158 freebsd* | dragonfly*)
   9159   # DragonFly does not have aout.  When/if they implement a new
   9160   # versioning mechanism, adjust this.
   9161   if test -x /usr/bin/objformat; then
   9162     objformat=`/usr/bin/objformat`
   9163   else
   9164     case $host_os in
   9165     freebsd[123]*) objformat=aout ;;
   9166     *) objformat=elf ;;
   9167     esac
   9168   fi
   9169   # Handle Gentoo/FreeBSD as it was Linux
   9170   case $host_vendor in
   9171     gentoo)
   9172       version_type=linux ;;
   9173     *)
   9174       version_type=freebsd-$objformat ;;
   9175   esac
   9176 
   9177   case $version_type in
   9178     freebsd-elf*)
   9179       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9180       need_version=no
   9181       need_lib_prefix=no
   9182       ;;
   9183     freebsd-*)
   9184       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9185       need_version=yes
   9186       ;;
   9187     linux)
   9188       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9189       soname_spec='${libname}${release}${shared_ext}$major'
   9190       need_lib_prefix=no
   9191       need_version=no
   9192       ;;
   9193   esac
   9194   shlibpath_var=LD_LIBRARY_PATH
   9195   case $host_os in
   9196   freebsd2*)
   9197     shlibpath_overrides_runpath=yes
   9198     ;;
   9199   freebsd3.[01]* | freebsdelf3.[01]*)
   9200     shlibpath_overrides_runpath=yes
   9201     hardcode_into_libs=yes
   9202     ;;
   9203   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9204   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9205     shlibpath_overrides_runpath=no
   9206     hardcode_into_libs=yes
   9207     ;;
   9208   freebsd*) # from 4.6 on
   9209     shlibpath_overrides_runpath=yes
   9210     hardcode_into_libs=yes
   9211     ;;
   9212   esac
   9213   ;;
   9214 
   9215 gnu*)
   9216   version_type=linux
   9217   need_lib_prefix=no
   9218   need_version=no
   9219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9220   soname_spec='${libname}${release}${shared_ext}$major'
   9221   shlibpath_var=LD_LIBRARY_PATH
   9222   hardcode_into_libs=yes
   9223   ;;
   9224 
   9225 hpux9* | hpux10* | hpux11*)
   9226   # Give a soname corresponding to the major version so that dld.sl refuses to
   9227   # link against other versions.
   9228   version_type=sunos
   9229   need_lib_prefix=no
   9230   need_version=no
   9231   case $host_cpu in
   9232   ia64*)
   9233     shrext_cmds='.so'
   9234     hardcode_into_libs=yes
   9235     dynamic_linker="$host_os dld.so"
   9236     shlibpath_var=LD_LIBRARY_PATH
   9237     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9238     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9239     soname_spec='${libname}${release}${shared_ext}$major'
   9240     if test "X$HPUX_IA64_MODE" = X32; then
   9241       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9242     else
   9243       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9244     fi
   9245     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9246     ;;
   9247    hppa*64*)
   9248      shrext_cmds='.sl'
   9249      hardcode_into_libs=yes
   9250      dynamic_linker="$host_os dld.sl"
   9251      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9252      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9253      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9254      soname_spec='${libname}${release}${shared_ext}$major'
   9255      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9256      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9257      ;;
   9258    *)
   9259     shrext_cmds='.sl'
   9260     dynamic_linker="$host_os dld.sl"
   9261     shlibpath_var=SHLIB_PATH
   9262     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9263     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9264     soname_spec='${libname}${release}${shared_ext}$major'
   9265     ;;
   9266   esac
   9267   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9268   postinstall_cmds='chmod 555 $lib'
   9269   ;;
   9270 
   9271 interix3*)
   9272   version_type=linux
   9273   need_lib_prefix=no
   9274   need_version=no
   9275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9276   soname_spec='${libname}${release}${shared_ext}$major'
   9277   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9278   shlibpath_var=LD_LIBRARY_PATH
   9279   shlibpath_overrides_runpath=no
   9280   hardcode_into_libs=yes
   9281   ;;
   9282 
   9283 irix5* | irix6* | nonstopux*)
   9284   case $host_os in
   9285     nonstopux*) version_type=nonstopux ;;
   9286     *)
   9287 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9288 		version_type=linux
   9289 	else
   9290 		version_type=irix
   9291 	fi ;;
   9292   esac
   9293   need_lib_prefix=no
   9294   need_version=no
   9295   soname_spec='${libname}${release}${shared_ext}$major'
   9296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9297   case $host_os in
   9298   irix5* | nonstopux*)
   9299     libsuff= shlibsuff=
   9300     ;;
   9301   *)
   9302     case $LD in # libtool.m4 will add one of these switches to LD
   9303     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9304       libsuff= shlibsuff= libmagic=32-bit;;
   9305     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9306       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9307     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9308       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9309     *) libsuff= shlibsuff= libmagic=never-match;;
   9310     esac
   9311     ;;
   9312   esac
   9313   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9314   shlibpath_overrides_runpath=no
   9315   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9316   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9317   hardcode_into_libs=yes
   9318   ;;
   9319 
   9320 # No shared lib support for Linux oldld, aout, or coff.
   9321 linux*oldld* | linux*aout* | linux*coff*)
   9322   dynamic_linker=no
   9323   ;;
   9324 
   9325 # This must be Linux ELF.
   9326 linux*)
   9327   version_type=linux
   9328   need_lib_prefix=no
   9329   need_version=no
   9330   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9331   soname_spec='${libname}${release}${shared_ext}$major'
   9332   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9333   shlibpath_var=LD_LIBRARY_PATH
   9334   shlibpath_overrides_runpath=no
   9335   # This implies no fast_install, which is unacceptable.
   9336   # Some rework will be needed to allow for fast_install
   9337   # before this can be enabled.
   9338   hardcode_into_libs=yes
   9339 
   9340   # Append ld.so.conf contents to the search path
   9341   if test -f /etc/ld.so.conf; then
   9342     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' ' '`
   9343     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9344   fi
   9345 
   9346   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9347   # powerpc, because MkLinux only supported shared libraries with the
   9348   # GNU dynamic linker.  Since this was broken with cross compilers,
   9349   # most powerpc-linux boxes support dynamic linking these days and
   9350   # people can always --disable-shared, the test was removed, and we
   9351   # assume the GNU/Linux dynamic linker is in use.
   9352   dynamic_linker='GNU/Linux ld.so'
   9353   ;;
   9354 
   9355 knetbsd*-gnu)
   9356   version_type=linux
   9357   need_lib_prefix=no
   9358   need_version=no
   9359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9360   soname_spec='${libname}${release}${shared_ext}$major'
   9361   shlibpath_var=LD_LIBRARY_PATH
   9362   shlibpath_overrides_runpath=no
   9363   hardcode_into_libs=yes
   9364   dynamic_linker='GNU ld.so'
   9365   ;;
   9366 
   9367 netbsd*)
   9368   version_type=sunos
   9369   need_lib_prefix=no
   9370   need_version=no
   9371   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9372     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9373     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9374     dynamic_linker='NetBSD (a.out) ld.so'
   9375   else
   9376     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9377     soname_spec='${libname}${release}${shared_ext}$major'
   9378     dynamic_linker='NetBSD ld.elf_so'
   9379   fi
   9380   shlibpath_var=LD_LIBRARY_PATH
   9381   shlibpath_overrides_runpath=yes
   9382   hardcode_into_libs=yes
   9383   ;;
   9384 
   9385 newsos6)
   9386   version_type=linux
   9387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9388   shlibpath_var=LD_LIBRARY_PATH
   9389   shlibpath_overrides_runpath=yes
   9390   ;;
   9391 
   9392 nto-qnx*)
   9393   version_type=linux
   9394   need_lib_prefix=no
   9395   need_version=no
   9396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9397   soname_spec='${libname}${release}${shared_ext}$major'
   9398   shlibpath_var=LD_LIBRARY_PATH
   9399   shlibpath_overrides_runpath=yes
   9400   ;;
   9401 
   9402 openbsd*)
   9403   version_type=sunos
   9404   sys_lib_dlsearch_path_spec="/usr/lib"
   9405   need_lib_prefix=no
   9406   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9407   case $host_os in
   9408     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9409     *)                         need_version=no  ;;
   9410   esac
   9411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9412   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9413   shlibpath_var=LD_LIBRARY_PATH
   9414   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9415     case $host_os in
   9416       openbsd2.[89] | openbsd2.[89].*)
   9417 	shlibpath_overrides_runpath=no
   9418 	;;
   9419       *)
   9420 	shlibpath_overrides_runpath=yes
   9421 	;;
   9422       esac
   9423   else
   9424     shlibpath_overrides_runpath=yes
   9425   fi
   9426   ;;
   9427 
   9428 os2*)
   9429   libname_spec='$name'
   9430   shrext_cmds=".dll"
   9431   need_lib_prefix=no
   9432   library_names_spec='$libname${shared_ext} $libname.a'
   9433   dynamic_linker='OS/2 ld.exe'
   9434   shlibpath_var=LIBPATH
   9435   ;;
   9436 
   9437 osf3* | osf4* | osf5*)
   9438   version_type=osf
   9439   need_lib_prefix=no
   9440   need_version=no
   9441   soname_spec='${libname}${release}${shared_ext}$major'
   9442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9443   shlibpath_var=LD_LIBRARY_PATH
   9444   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9445   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9446   ;;
   9447 
   9448 solaris*)
   9449   version_type=linux
   9450   need_lib_prefix=no
   9451   need_version=no
   9452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9453   soname_spec='${libname}${release}${shared_ext}$major'
   9454   shlibpath_var=LD_LIBRARY_PATH
   9455   shlibpath_overrides_runpath=yes
   9456   hardcode_into_libs=yes
   9457   # ldd complains unless libraries are executable
   9458   postinstall_cmds='chmod +x $lib'
   9459   ;;
   9460 
   9461 sunos4*)
   9462   version_type=sunos
   9463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9464   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9465   shlibpath_var=LD_LIBRARY_PATH
   9466   shlibpath_overrides_runpath=yes
   9467   if test "$with_gnu_ld" = yes; then
   9468     need_lib_prefix=no
   9469   fi
   9470   need_version=yes
   9471   ;;
   9472 
   9473 sysv4 | sysv4.3*)
   9474   version_type=linux
   9475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9476   soname_spec='${libname}${release}${shared_ext}$major'
   9477   shlibpath_var=LD_LIBRARY_PATH
   9478   case $host_vendor in
   9479     sni)
   9480       shlibpath_overrides_runpath=no
   9481       need_lib_prefix=no
   9482       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9483       runpath_var=LD_RUN_PATH
   9484       ;;
   9485     siemens)
   9486       need_lib_prefix=no
   9487       ;;
   9488     motorola)
   9489       need_lib_prefix=no
   9490       need_version=no
   9491       shlibpath_overrides_runpath=no
   9492       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9493       ;;
   9494   esac
   9495   ;;
   9496 
   9497 sysv4*MP*)
   9498   if test -d /usr/nec ;then
   9499     version_type=linux
   9500     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9501     soname_spec='$libname${shared_ext}.$major'
   9502     shlibpath_var=LD_LIBRARY_PATH
   9503   fi
   9504   ;;
   9505 
   9506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9507   version_type=freebsd-elf
   9508   need_lib_prefix=no
   9509   need_version=no
   9510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9511   soname_spec='${libname}${release}${shared_ext}$major'
   9512   shlibpath_var=LD_LIBRARY_PATH
   9513   hardcode_into_libs=yes
   9514   if test "$with_gnu_ld" = yes; then
   9515     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9516     shlibpath_overrides_runpath=no
   9517   else
   9518     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9519     shlibpath_overrides_runpath=yes
   9520     case $host_os in
   9521       sco3.2v5*)
   9522         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9523 	;;
   9524     esac
   9525   fi
   9526   sys_lib_dlsearch_path_spec='/usr/lib'
   9527   ;;
   9528 
   9529 uts4*)
   9530   version_type=linux
   9531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9532   soname_spec='${libname}${release}${shared_ext}$major'
   9533   shlibpath_var=LD_LIBRARY_PATH
   9534   ;;
   9535 
   9536 *)
   9537   dynamic_linker=no
   9538   ;;
   9539 esac
   9540 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9541 echo "${ECHO_T}$dynamic_linker" >&6; }
   9542 test "$dynamic_linker" = no && can_build_shared=no
   9543 
   9544 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9545 if test "$GCC" = yes; then
   9546   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9547 fi
   9548 
   9549 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9550 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9551 hardcode_action=
   9552 if test -n "$hardcode_libdir_flag_spec" || \
   9553    test -n "$runpath_var" || \
   9554    test "X$hardcode_automatic" = "Xyes" ; then
   9555 
   9556   # We can hardcode non-existant directories.
   9557   if test "$hardcode_direct" != no &&
   9558      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9559      # have to relink, otherwise we might link with an installed library
   9560      # when we should be linking with a yet-to-be-installed one
   9561      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9562      test "$hardcode_minus_L" != no; then
   9563     # Linking always hardcodes the temporary library directory.
   9564     hardcode_action=relink
   9565   else
   9566     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9567     hardcode_action=immediate
   9568   fi
   9569 else
   9570   # We cannot hardcode anything, or else we can only hardcode existing
   9571   # directories.
   9572   hardcode_action=unsupported
   9573 fi
   9574 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9575 echo "${ECHO_T}$hardcode_action" >&6; }
   9576 
   9577 if test "$hardcode_action" = relink; then
   9578   # Fast installation is not supported
   9579   enable_fast_install=no
   9580 elif test "$shlibpath_overrides_runpath" = yes ||
   9581      test "$enable_shared" = no; then
   9582   # Fast installation is not necessary
   9583   enable_fast_install=needless
   9584 fi
   9585 
   9586 striplib=
   9587 old_striplib=
   9588 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9589 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9590 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9591   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9592   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9593   { echo "$as_me:$LINENO: result: yes" >&5
   9594 echo "${ECHO_T}yes" >&6; }
   9595 else
   9596 # FIXME - insert some real tests, host_os isn't really good enough
   9597   case $host_os in
   9598    darwin*)
   9599        if test -n "$STRIP" ; then
   9600          striplib="$STRIP -x"
   9601          { echo "$as_me:$LINENO: result: yes" >&5
   9602 echo "${ECHO_T}yes" >&6; }
   9603        else
   9604   { echo "$as_me:$LINENO: result: no" >&5
   9605 echo "${ECHO_T}no" >&6; }
   9606 fi
   9607        ;;
   9608    *)
   9609   { echo "$as_me:$LINENO: result: no" >&5
   9610 echo "${ECHO_T}no" >&6; }
   9611     ;;
   9612   esac
   9613 fi
   9614 
   9615 if test "x$enable_dlopen" != xyes; then
   9616   enable_dlopen=unknown
   9617   enable_dlopen_self=unknown
   9618   enable_dlopen_self_static=unknown
   9619 else
   9620   lt_cv_dlopen=no
   9621   lt_cv_dlopen_libs=
   9622 
   9623   case $host_os in
   9624   beos*)
   9625     lt_cv_dlopen="load_add_on"
   9626     lt_cv_dlopen_libs=
   9627     lt_cv_dlopen_self=yes
   9628     ;;
   9629 
   9630   mingw* | pw32*)
   9631     lt_cv_dlopen="LoadLibrary"
   9632     lt_cv_dlopen_libs=
   9633    ;;
   9634 
   9635   cygwin*)
   9636     lt_cv_dlopen="dlopen"
   9637     lt_cv_dlopen_libs=
   9638    ;;
   9639 
   9640   darwin*)
   9641   # if libdl is installed we need to link against it
   9642     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9643 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9644 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9645   echo $ECHO_N "(cached) $ECHO_C" >&6
   9646 else
   9647   ac_check_lib_save_LIBS=$LIBS
   9648 LIBS="-ldl  $LIBS"
   9649 cat >conftest.$ac_ext <<_ACEOF
   9650 /* confdefs.h.  */
   9651 _ACEOF
   9652 cat confdefs.h >>conftest.$ac_ext
   9653 cat >>conftest.$ac_ext <<_ACEOF
   9654 /* end confdefs.h.  */
   9655 
   9656 /* Override any GCC internal prototype to avoid an error.
   9657    Use char because int might match the return type of a GCC
   9658    builtin and then its argument prototype would still apply.  */
   9659 #ifdef __cplusplus
   9660 extern "C"
   9661 #endif
   9662 char dlopen ();
   9663 int
   9664 main ()
   9665 {
   9666 return dlopen ();
   9667   ;
   9668   return 0;
   9669 }
   9670 _ACEOF
   9671 rm -f conftest.$ac_objext conftest$ac_exeext
   9672 if { (ac_try="$ac_link"
   9673 case "(($ac_try" in
   9674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9675   *) ac_try_echo=$ac_try;;
   9676 esac
   9677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9678   (eval "$ac_link") 2>conftest.er1
   9679   ac_status=$?
   9680   grep -v '^ *+' conftest.er1 >conftest.err
   9681   rm -f conftest.er1
   9682   cat conftest.err >&5
   9683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9684   (exit $ac_status); } &&
   9685 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9686   { (case "(($ac_try" in
   9687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9688   *) ac_try_echo=$ac_try;;
   9689 esac
   9690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9691   (eval "$ac_try") 2>&5
   9692   ac_status=$?
   9693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9694   (exit $ac_status); }; } &&
   9695 	 { ac_try='test -s conftest$ac_exeext'
   9696   { (case "(($ac_try" in
   9697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9698   *) ac_try_echo=$ac_try;;
   9699 esac
   9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9701   (eval "$ac_try") 2>&5
   9702   ac_status=$?
   9703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9704   (exit $ac_status); }; }; then
   9705   ac_cv_lib_dl_dlopen=yes
   9706 else
   9707   echo "$as_me: failed program was:" >&5
   9708 sed 's/^/| /' conftest.$ac_ext >&5
   9709 
   9710 	ac_cv_lib_dl_dlopen=no
   9711 fi
   9712 
   9713 rm -f core conftest.err conftest.$ac_objext \
   9714       conftest$ac_exeext conftest.$ac_ext
   9715 LIBS=$ac_check_lib_save_LIBS
   9716 fi
   9717 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9718 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9719 if test $ac_cv_lib_dl_dlopen = yes; then
   9720   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9721 else
   9722 
   9723     lt_cv_dlopen="dyld"
   9724     lt_cv_dlopen_libs=
   9725     lt_cv_dlopen_self=yes
   9726 
   9727 fi
   9728 
   9729    ;;
   9730 
   9731   *)
   9732     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9733 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9734 if test "${ac_cv_func_shl_load+set}" = set; then
   9735   echo $ECHO_N "(cached) $ECHO_C" >&6
   9736 else
   9737   cat >conftest.$ac_ext <<_ACEOF
   9738 /* confdefs.h.  */
   9739 _ACEOF
   9740 cat confdefs.h >>conftest.$ac_ext
   9741 cat >>conftest.$ac_ext <<_ACEOF
   9742 /* end confdefs.h.  */
   9743 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9745 #define shl_load innocuous_shl_load
   9746 
   9747 /* System header to define __stub macros and hopefully few prototypes,
   9748     which can conflict with char shl_load (); below.
   9749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9750     <limits.h> exists even on freestanding compilers.  */
   9751 
   9752 #ifdef __STDC__
   9753 # include <limits.h>
   9754 #else
   9755 # include <assert.h>
   9756 #endif
   9757 
   9758 #undef shl_load
   9759 
   9760 /* Override any GCC internal prototype to avoid an error.
   9761    Use char because int might match the return type of a GCC
   9762    builtin and then its argument prototype would still apply.  */
   9763 #ifdef __cplusplus
   9764 extern "C"
   9765 #endif
   9766 char shl_load ();
   9767 /* The GNU C library defines this for functions which it implements
   9768     to always fail with ENOSYS.  Some functions are actually named
   9769     something starting with __ and the normal name is an alias.  */
   9770 #if defined __stub_shl_load || defined __stub___shl_load
   9771 choke me
   9772 #endif
   9773 
   9774 int
   9775 main ()
   9776 {
   9777 return shl_load ();
   9778   ;
   9779   return 0;
   9780 }
   9781 _ACEOF
   9782 rm -f conftest.$ac_objext conftest$ac_exeext
   9783 if { (ac_try="$ac_link"
   9784 case "(($ac_try" in
   9785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9786   *) ac_try_echo=$ac_try;;
   9787 esac
   9788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9789   (eval "$ac_link") 2>conftest.er1
   9790   ac_status=$?
   9791   grep -v '^ *+' conftest.er1 >conftest.err
   9792   rm -f conftest.er1
   9793   cat conftest.err >&5
   9794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9795   (exit $ac_status); } &&
   9796 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9797   { (case "(($ac_try" in
   9798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9799   *) ac_try_echo=$ac_try;;
   9800 esac
   9801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9802   (eval "$ac_try") 2>&5
   9803   ac_status=$?
   9804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9805   (exit $ac_status); }; } &&
   9806 	 { ac_try='test -s conftest$ac_exeext'
   9807   { (case "(($ac_try" in
   9808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9809   *) ac_try_echo=$ac_try;;
   9810 esac
   9811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9812   (eval "$ac_try") 2>&5
   9813   ac_status=$?
   9814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9815   (exit $ac_status); }; }; then
   9816   ac_cv_func_shl_load=yes
   9817 else
   9818   echo "$as_me: failed program was:" >&5
   9819 sed 's/^/| /' conftest.$ac_ext >&5
   9820 
   9821 	ac_cv_func_shl_load=no
   9822 fi
   9823 
   9824 rm -f core conftest.err conftest.$ac_objext \
   9825       conftest$ac_exeext conftest.$ac_ext
   9826 fi
   9827 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9828 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9829 if test $ac_cv_func_shl_load = yes; then
   9830   lt_cv_dlopen="shl_load"
   9831 else
   9832   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9833 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9834 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9835   echo $ECHO_N "(cached) $ECHO_C" >&6
   9836 else
   9837   ac_check_lib_save_LIBS=$LIBS
   9838 LIBS="-ldld  $LIBS"
   9839 cat >conftest.$ac_ext <<_ACEOF
   9840 /* confdefs.h.  */
   9841 _ACEOF
   9842 cat confdefs.h >>conftest.$ac_ext
   9843 cat >>conftest.$ac_ext <<_ACEOF
   9844 /* end confdefs.h.  */
   9845 
   9846 /* Override any GCC internal prototype to avoid an error.
   9847    Use char because int might match the return type of a GCC
   9848    builtin and then its argument prototype would still apply.  */
   9849 #ifdef __cplusplus
   9850 extern "C"
   9851 #endif
   9852 char shl_load ();
   9853 int
   9854 main ()
   9855 {
   9856 return shl_load ();
   9857   ;
   9858   return 0;
   9859 }
   9860 _ACEOF
   9861 rm -f conftest.$ac_objext conftest$ac_exeext
   9862 if { (ac_try="$ac_link"
   9863 case "(($ac_try" in
   9864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9865   *) ac_try_echo=$ac_try;;
   9866 esac
   9867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9868   (eval "$ac_link") 2>conftest.er1
   9869   ac_status=$?
   9870   grep -v '^ *+' conftest.er1 >conftest.err
   9871   rm -f conftest.er1
   9872   cat conftest.err >&5
   9873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9874   (exit $ac_status); } &&
   9875 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9876   { (case "(($ac_try" in
   9877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9878   *) ac_try_echo=$ac_try;;
   9879 esac
   9880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9881   (eval "$ac_try") 2>&5
   9882   ac_status=$?
   9883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9884   (exit $ac_status); }; } &&
   9885 	 { ac_try='test -s conftest$ac_exeext'
   9886   { (case "(($ac_try" in
   9887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9888   *) ac_try_echo=$ac_try;;
   9889 esac
   9890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9891   (eval "$ac_try") 2>&5
   9892   ac_status=$?
   9893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9894   (exit $ac_status); }; }; then
   9895   ac_cv_lib_dld_shl_load=yes
   9896 else
   9897   echo "$as_me: failed program was:" >&5
   9898 sed 's/^/| /' conftest.$ac_ext >&5
   9899 
   9900 	ac_cv_lib_dld_shl_load=no
   9901 fi
   9902 
   9903 rm -f core conftest.err conftest.$ac_objext \
   9904       conftest$ac_exeext conftest.$ac_ext
   9905 LIBS=$ac_check_lib_save_LIBS
   9906 fi
   9907 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9908 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9909 if test $ac_cv_lib_dld_shl_load = yes; then
   9910   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9911 else
   9912   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9913 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9914 if test "${ac_cv_func_dlopen+set}" = set; then
   9915   echo $ECHO_N "(cached) $ECHO_C" >&6
   9916 else
   9917   cat >conftest.$ac_ext <<_ACEOF
   9918 /* confdefs.h.  */
   9919 _ACEOF
   9920 cat confdefs.h >>conftest.$ac_ext
   9921 cat >>conftest.$ac_ext <<_ACEOF
   9922 /* end confdefs.h.  */
   9923 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9925 #define dlopen innocuous_dlopen
   9926 
   9927 /* System header to define __stub macros and hopefully few prototypes,
   9928     which can conflict with char dlopen (); below.
   9929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9930     <limits.h> exists even on freestanding compilers.  */
   9931 
   9932 #ifdef __STDC__
   9933 # include <limits.h>
   9934 #else
   9935 # include <assert.h>
   9936 #endif
   9937 
   9938 #undef dlopen
   9939 
   9940 /* Override any GCC internal prototype to avoid an error.
   9941    Use char because int might match the return type of a GCC
   9942    builtin and then its argument prototype would still apply.  */
   9943 #ifdef __cplusplus
   9944 extern "C"
   9945 #endif
   9946 char dlopen ();
   9947 /* The GNU C library defines this for functions which it implements
   9948     to always fail with ENOSYS.  Some functions are actually named
   9949     something starting with __ and the normal name is an alias.  */
   9950 #if defined __stub_dlopen || defined __stub___dlopen
   9951 choke me
   9952 #endif
   9953 
   9954 int
   9955 main ()
   9956 {
   9957 return dlopen ();
   9958   ;
   9959   return 0;
   9960 }
   9961 _ACEOF
   9962 rm -f conftest.$ac_objext conftest$ac_exeext
   9963 if { (ac_try="$ac_link"
   9964 case "(($ac_try" in
   9965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9966   *) ac_try_echo=$ac_try;;
   9967 esac
   9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9969   (eval "$ac_link") 2>conftest.er1
   9970   ac_status=$?
   9971   grep -v '^ *+' conftest.er1 >conftest.err
   9972   rm -f conftest.er1
   9973   cat conftest.err >&5
   9974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9975   (exit $ac_status); } &&
   9976 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9977   { (case "(($ac_try" in
   9978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9979   *) ac_try_echo=$ac_try;;
   9980 esac
   9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9982   (eval "$ac_try") 2>&5
   9983   ac_status=$?
   9984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9985   (exit $ac_status); }; } &&
   9986 	 { ac_try='test -s conftest$ac_exeext'
   9987   { (case "(($ac_try" in
   9988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9989   *) ac_try_echo=$ac_try;;
   9990 esac
   9991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9992   (eval "$ac_try") 2>&5
   9993   ac_status=$?
   9994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9995   (exit $ac_status); }; }; then
   9996   ac_cv_func_dlopen=yes
   9997 else
   9998   echo "$as_me: failed program was:" >&5
   9999 sed 's/^/| /' conftest.$ac_ext >&5
   10000 
   10001 	ac_cv_func_dlopen=no
   10002 fi
   10003 
   10004 rm -f core conftest.err conftest.$ac_objext \
   10005       conftest$ac_exeext conftest.$ac_ext
   10006 fi
   10007 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10008 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   10009 if test $ac_cv_func_dlopen = yes; then
   10010   lt_cv_dlopen="dlopen"
   10011 else
   10012   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10013 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   10014 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10015   echo $ECHO_N "(cached) $ECHO_C" >&6
   10016 else
   10017   ac_check_lib_save_LIBS=$LIBS
   10018 LIBS="-ldl  $LIBS"
   10019 cat >conftest.$ac_ext <<_ACEOF
   10020 /* confdefs.h.  */
   10021 _ACEOF
   10022 cat confdefs.h >>conftest.$ac_ext
   10023 cat >>conftest.$ac_ext <<_ACEOF
   10024 /* end confdefs.h.  */
   10025 
   10026 /* Override any GCC internal prototype to avoid an error.
   10027    Use char because int might match the return type of a GCC
   10028    builtin and then its argument prototype would still apply.  */
   10029 #ifdef __cplusplus
   10030 extern "C"
   10031 #endif
   10032 char dlopen ();
   10033 int
   10034 main ()
   10035 {
   10036 return dlopen ();
   10037   ;
   10038   return 0;
   10039 }
   10040 _ACEOF
   10041 rm -f conftest.$ac_objext conftest$ac_exeext
   10042 if { (ac_try="$ac_link"
   10043 case "(($ac_try" in
   10044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10045   *) ac_try_echo=$ac_try;;
   10046 esac
   10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10048   (eval "$ac_link") 2>conftest.er1
   10049   ac_status=$?
   10050   grep -v '^ *+' conftest.er1 >conftest.err
   10051   rm -f conftest.er1
   10052   cat conftest.err >&5
   10053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10054   (exit $ac_status); } &&
   10055 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10056   { (case "(($ac_try" in
   10057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10058   *) ac_try_echo=$ac_try;;
   10059 esac
   10060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10061   (eval "$ac_try") 2>&5
   10062   ac_status=$?
   10063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10064   (exit $ac_status); }; } &&
   10065 	 { ac_try='test -s conftest$ac_exeext'
   10066   { (case "(($ac_try" in
   10067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10068   *) ac_try_echo=$ac_try;;
   10069 esac
   10070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10071   (eval "$ac_try") 2>&5
   10072   ac_status=$?
   10073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10074   (exit $ac_status); }; }; then
   10075   ac_cv_lib_dl_dlopen=yes
   10076 else
   10077   echo "$as_me: failed program was:" >&5
   10078 sed 's/^/| /' conftest.$ac_ext >&5
   10079 
   10080 	ac_cv_lib_dl_dlopen=no
   10081 fi
   10082 
   10083 rm -f core conftest.err conftest.$ac_objext \
   10084       conftest$ac_exeext conftest.$ac_ext
   10085 LIBS=$ac_check_lib_save_LIBS
   10086 fi
   10087 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10088 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10089 if test $ac_cv_lib_dl_dlopen = yes; then
   10090   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10091 else
   10092   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10093 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10094 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10095   echo $ECHO_N "(cached) $ECHO_C" >&6
   10096 else
   10097   ac_check_lib_save_LIBS=$LIBS
   10098 LIBS="-lsvld  $LIBS"
   10099 cat >conftest.$ac_ext <<_ACEOF
   10100 /* confdefs.h.  */
   10101 _ACEOF
   10102 cat confdefs.h >>conftest.$ac_ext
   10103 cat >>conftest.$ac_ext <<_ACEOF
   10104 /* end confdefs.h.  */
   10105 
   10106 /* Override any GCC internal prototype to avoid an error.
   10107    Use char because int might match the return type of a GCC
   10108    builtin and then its argument prototype would still apply.  */
   10109 #ifdef __cplusplus
   10110 extern "C"
   10111 #endif
   10112 char dlopen ();
   10113 int
   10114 main ()
   10115 {
   10116 return dlopen ();
   10117   ;
   10118   return 0;
   10119 }
   10120 _ACEOF
   10121 rm -f conftest.$ac_objext conftest$ac_exeext
   10122 if { (ac_try="$ac_link"
   10123 case "(($ac_try" in
   10124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10125   *) ac_try_echo=$ac_try;;
   10126 esac
   10127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10128   (eval "$ac_link") 2>conftest.er1
   10129   ac_status=$?
   10130   grep -v '^ *+' conftest.er1 >conftest.err
   10131   rm -f conftest.er1
   10132   cat conftest.err >&5
   10133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10134   (exit $ac_status); } &&
   10135 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10136   { (case "(($ac_try" in
   10137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10138   *) ac_try_echo=$ac_try;;
   10139 esac
   10140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10141   (eval "$ac_try") 2>&5
   10142   ac_status=$?
   10143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10144   (exit $ac_status); }; } &&
   10145 	 { ac_try='test -s conftest$ac_exeext'
   10146   { (case "(($ac_try" in
   10147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10148   *) ac_try_echo=$ac_try;;
   10149 esac
   10150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10151   (eval "$ac_try") 2>&5
   10152   ac_status=$?
   10153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10154   (exit $ac_status); }; }; then
   10155   ac_cv_lib_svld_dlopen=yes
   10156 else
   10157   echo "$as_me: failed program was:" >&5
   10158 sed 's/^/| /' conftest.$ac_ext >&5
   10159 
   10160 	ac_cv_lib_svld_dlopen=no
   10161 fi
   10162 
   10163 rm -f core conftest.err conftest.$ac_objext \
   10164       conftest$ac_exeext conftest.$ac_ext
   10165 LIBS=$ac_check_lib_save_LIBS
   10166 fi
   10167 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10168 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10169 if test $ac_cv_lib_svld_dlopen = yes; then
   10170   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10171 else
   10172   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10173 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10174 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10175   echo $ECHO_N "(cached) $ECHO_C" >&6
   10176 else
   10177   ac_check_lib_save_LIBS=$LIBS
   10178 LIBS="-ldld  $LIBS"
   10179 cat >conftest.$ac_ext <<_ACEOF
   10180 /* confdefs.h.  */
   10181 _ACEOF
   10182 cat confdefs.h >>conftest.$ac_ext
   10183 cat >>conftest.$ac_ext <<_ACEOF
   10184 /* end confdefs.h.  */
   10185 
   10186 /* Override any GCC internal prototype to avoid an error.
   10187    Use char because int might match the return type of a GCC
   10188    builtin and then its argument prototype would still apply.  */
   10189 #ifdef __cplusplus
   10190 extern "C"
   10191 #endif
   10192 char dld_link ();
   10193 int
   10194 main ()
   10195 {
   10196 return dld_link ();
   10197   ;
   10198   return 0;
   10199 }
   10200 _ACEOF
   10201 rm -f conftest.$ac_objext conftest$ac_exeext
   10202 if { (ac_try="$ac_link"
   10203 case "(($ac_try" in
   10204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10205   *) ac_try_echo=$ac_try;;
   10206 esac
   10207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10208   (eval "$ac_link") 2>conftest.er1
   10209   ac_status=$?
   10210   grep -v '^ *+' conftest.er1 >conftest.err
   10211   rm -f conftest.er1
   10212   cat conftest.err >&5
   10213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10214   (exit $ac_status); } &&
   10215 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10216   { (case "(($ac_try" in
   10217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10218   *) ac_try_echo=$ac_try;;
   10219 esac
   10220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10221   (eval "$ac_try") 2>&5
   10222   ac_status=$?
   10223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10224   (exit $ac_status); }; } &&
   10225 	 { ac_try='test -s conftest$ac_exeext'
   10226   { (case "(($ac_try" in
   10227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10228   *) ac_try_echo=$ac_try;;
   10229 esac
   10230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10231   (eval "$ac_try") 2>&5
   10232   ac_status=$?
   10233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10234   (exit $ac_status); }; }; then
   10235   ac_cv_lib_dld_dld_link=yes
   10236 else
   10237   echo "$as_me: failed program was:" >&5
   10238 sed 's/^/| /' conftest.$ac_ext >&5
   10239 
   10240 	ac_cv_lib_dld_dld_link=no
   10241 fi
   10242 
   10243 rm -f core conftest.err conftest.$ac_objext \
   10244       conftest$ac_exeext conftest.$ac_ext
   10245 LIBS=$ac_check_lib_save_LIBS
   10246 fi
   10247 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10248 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10249 if test $ac_cv_lib_dld_dld_link = yes; then
   10250   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10251 fi
   10252 
   10253 
   10254 fi
   10255 
   10256 
   10257 fi
   10258 
   10259 
   10260 fi
   10261 
   10262 
   10263 fi
   10264 
   10265 
   10266 fi
   10267 
   10268     ;;
   10269   esac
   10270 
   10271   if test "x$lt_cv_dlopen" != xno; then
   10272     enable_dlopen=yes
   10273   else
   10274     enable_dlopen=no
   10275   fi
   10276 
   10277   case $lt_cv_dlopen in
   10278   dlopen)
   10279     save_CPPFLAGS="$CPPFLAGS"
   10280     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10281 
   10282     save_LDFLAGS="$LDFLAGS"
   10283     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10284 
   10285     save_LIBS="$LIBS"
   10286     LIBS="$lt_cv_dlopen_libs $LIBS"
   10287 
   10288     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10289 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10290 if test "${lt_cv_dlopen_self+set}" = set; then
   10291   echo $ECHO_N "(cached) $ECHO_C" >&6
   10292 else
   10293   	  if test "$cross_compiling" = yes; then :
   10294   lt_cv_dlopen_self=cross
   10295 else
   10296   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10297   lt_status=$lt_dlunknown
   10298   cat > conftest.$ac_ext <<EOF
   10299 #line 10299 "configure"
   10300 #include "confdefs.h"
   10301 
   10302 #if HAVE_DLFCN_H
   10303 #include <dlfcn.h>
   10304 #endif
   10305 
   10306 #include <stdio.h>
   10307 
   10308 #ifdef RTLD_GLOBAL
   10309 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10310 #else
   10311 #  ifdef DL_GLOBAL
   10312 #    define LT_DLGLOBAL		DL_GLOBAL
   10313 #  else
   10314 #    define LT_DLGLOBAL		0
   10315 #  endif
   10316 #endif
   10317 
   10318 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10319    find out it does not work in some platform. */
   10320 #ifndef LT_DLLAZY_OR_NOW
   10321 #  ifdef RTLD_LAZY
   10322 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10323 #  else
   10324 #    ifdef DL_LAZY
   10325 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10326 #    else
   10327 #      ifdef RTLD_NOW
   10328 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10329 #      else
   10330 #        ifdef DL_NOW
   10331 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10332 #        else
   10333 #          define LT_DLLAZY_OR_NOW	0
   10334 #        endif
   10335 #      endif
   10336 #    endif
   10337 #  endif
   10338 #endif
   10339 
   10340 #ifdef __cplusplus
   10341 extern "C" void exit (int);
   10342 #endif
   10343 
   10344 void fnord() { int i=42;}
   10345 int main ()
   10346 {
   10347   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10348   int status = $lt_dlunknown;
   10349 
   10350   if (self)
   10351     {
   10352       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10353       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10354       /* dlclose (self); */
   10355     }
   10356   else
   10357     puts (dlerror ());
   10358 
   10359     exit (status);
   10360 }
   10361 EOF
   10362   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10363   (eval $ac_link) 2>&5
   10364   ac_status=$?
   10365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10366   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10367     (./conftest; exit; ) >&5 2>/dev/null
   10368     lt_status=$?
   10369     case x$lt_status in
   10370       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10371       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10372       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10373     esac
   10374   else :
   10375     # compilation failed
   10376     lt_cv_dlopen_self=no
   10377   fi
   10378 fi
   10379 rm -fr conftest*
   10380 
   10381 
   10382 fi
   10383 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10384 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10385 
   10386     if test "x$lt_cv_dlopen_self" = xyes; then
   10387       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10388       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10389 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10390 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10391   echo $ECHO_N "(cached) $ECHO_C" >&6
   10392 else
   10393   	  if test "$cross_compiling" = yes; then :
   10394   lt_cv_dlopen_self_static=cross
   10395 else
   10396   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10397   lt_status=$lt_dlunknown
   10398   cat > conftest.$ac_ext <<EOF
   10399 #line 10399 "configure"
   10400 #include "confdefs.h"
   10401 
   10402 #if HAVE_DLFCN_H
   10403 #include <dlfcn.h>
   10404 #endif
   10405 
   10406 #include <stdio.h>
   10407 
   10408 #ifdef RTLD_GLOBAL
   10409 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10410 #else
   10411 #  ifdef DL_GLOBAL
   10412 #    define LT_DLGLOBAL		DL_GLOBAL
   10413 #  else
   10414 #    define LT_DLGLOBAL		0
   10415 #  endif
   10416 #endif
   10417 
   10418 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10419    find out it does not work in some platform. */
   10420 #ifndef LT_DLLAZY_OR_NOW
   10421 #  ifdef RTLD_LAZY
   10422 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10423 #  else
   10424 #    ifdef DL_LAZY
   10425 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10426 #    else
   10427 #      ifdef RTLD_NOW
   10428 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10429 #      else
   10430 #        ifdef DL_NOW
   10431 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10432 #        else
   10433 #          define LT_DLLAZY_OR_NOW	0
   10434 #        endif
   10435 #      endif
   10436 #    endif
   10437 #  endif
   10438 #endif
   10439 
   10440 #ifdef __cplusplus
   10441 extern "C" void exit (int);
   10442 #endif
   10443 
   10444 void fnord() { int i=42;}
   10445 int main ()
   10446 {
   10447   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10448   int status = $lt_dlunknown;
   10449 
   10450   if (self)
   10451     {
   10452       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10453       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10454       /* dlclose (self); */
   10455     }
   10456   else
   10457     puts (dlerror ());
   10458 
   10459     exit (status);
   10460 }
   10461 EOF
   10462   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10463   (eval $ac_link) 2>&5
   10464   ac_status=$?
   10465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10466   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10467     (./conftest; exit; ) >&5 2>/dev/null
   10468     lt_status=$?
   10469     case x$lt_status in
   10470       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10471       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10472       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10473     esac
   10474   else :
   10475     # compilation failed
   10476     lt_cv_dlopen_self_static=no
   10477   fi
   10478 fi
   10479 rm -fr conftest*
   10480 
   10481 
   10482 fi
   10483 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10484 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10485     fi
   10486 
   10487     CPPFLAGS="$save_CPPFLAGS"
   10488     LDFLAGS="$save_LDFLAGS"
   10489     LIBS="$save_LIBS"
   10490     ;;
   10491   esac
   10492 
   10493   case $lt_cv_dlopen_self in
   10494   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10495   *) enable_dlopen_self=unknown ;;
   10496   esac
   10497 
   10498   case $lt_cv_dlopen_self_static in
   10499   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10500   *) enable_dlopen_self_static=unknown ;;
   10501   esac
   10502 fi
   10503 
   10504 
   10505 # Report which library types will actually be built
   10506 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10507 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10508 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10509 echo "${ECHO_T}$can_build_shared" >&6; }
   10510 
   10511 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10512 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10513 test "$can_build_shared" = "no" && enable_shared=no
   10514 
   10515 # On AIX, shared libraries and static libraries use the same namespace, and
   10516 # are all built from PIC.
   10517 case $host_os in
   10518 aix3*)
   10519   test "$enable_shared" = yes && enable_static=no
   10520   if test -n "$RANLIB"; then
   10521     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10522     postinstall_cmds='$RANLIB $lib'
   10523   fi
   10524   ;;
   10525 
   10526 aix4* | aix5*)
   10527   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10528     test "$enable_shared" = yes && enable_static=no
   10529   fi
   10530     ;;
   10531 esac
   10532 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10533 echo "${ECHO_T}$enable_shared" >&6; }
   10534 
   10535 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10536 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10537 # Make sure either enable_shared or enable_static is yes.
   10538 test "$enable_shared" = yes || enable_static=yes
   10539 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10540 echo "${ECHO_T}$enable_static" >&6; }
   10541 
   10542 # The else clause should only fire when bootstrapping the
   10543 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10544 # with your package, and you will get complaints that there are
   10545 # no rules to generate ltmain.sh.
   10546 if test -f "$ltmain"; then
   10547   # See if we are running on zsh, and set the options which allow our commands through
   10548   # without removal of \ escapes.
   10549   if test -n "${ZSH_VERSION+set}" ; then
   10550     setopt NO_GLOB_SUBST
   10551   fi
   10552   # Now quote all the things that may contain metacharacters while being
   10553   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10554   # variables and quote the copies for generation of the libtool script.
   10555   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10556     SED SHELL STRIP \
   10557     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10558     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10559     deplibs_check_method reload_flag reload_cmds need_locks \
   10560     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10561     lt_cv_sys_global_symbol_to_c_name_address \
   10562     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10563     old_postinstall_cmds old_postuninstall_cmds \
   10564     compiler \
   10565     CC \
   10566     LD \
   10567     lt_prog_compiler_wl \
   10568     lt_prog_compiler_pic \
   10569     lt_prog_compiler_static \
   10570     lt_prog_compiler_no_builtin_flag \
   10571     export_dynamic_flag_spec \
   10572     thread_safe_flag_spec \
   10573     whole_archive_flag_spec \
   10574     enable_shared_with_static_runtimes \
   10575     old_archive_cmds \
   10576     old_archive_from_new_cmds \
   10577     predep_objects \
   10578     postdep_objects \
   10579     predeps \
   10580     postdeps \
   10581     compiler_lib_search_path \
   10582     archive_cmds \
   10583     archive_expsym_cmds \
   10584     postinstall_cmds \
   10585     postuninstall_cmds \
   10586     old_archive_from_expsyms_cmds \
   10587     allow_undefined_flag \
   10588     no_undefined_flag \
   10589     export_symbols_cmds \
   10590     hardcode_libdir_flag_spec \
   10591     hardcode_libdir_flag_spec_ld \
   10592     hardcode_libdir_separator \
   10593     hardcode_automatic \
   10594     module_cmds \
   10595     module_expsym_cmds \
   10596     lt_cv_prog_compiler_c_o \
   10597     exclude_expsyms \
   10598     include_expsyms; do
   10599 
   10600     case $var in
   10601     old_archive_cmds | \
   10602     old_archive_from_new_cmds | \
   10603     archive_cmds | \
   10604     archive_expsym_cmds | \
   10605     module_cmds | \
   10606     module_expsym_cmds | \
   10607     old_archive_from_expsyms_cmds | \
   10608     export_symbols_cmds | \
   10609     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10610     postinstall_cmds | postuninstall_cmds | \
   10611     old_postinstall_cmds | old_postuninstall_cmds | \
   10612     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10613       # Double-quote double-evaled strings.
   10614       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10615       ;;
   10616     *)
   10617       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10618       ;;
   10619     esac
   10620   done
   10621 
   10622   case $lt_echo in
   10623   *'\$0 --fallback-echo"')
   10624     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10625     ;;
   10626   esac
   10627 
   10628 cfgfile="${ofile}T"
   10629   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10630   $rm -f "$cfgfile"
   10631   { echo "$as_me:$LINENO: creating $ofile" >&5
   10632 echo "$as_me: creating $ofile" >&6;}
   10633 
   10634   cat <<__EOF__ >> "$cfgfile"
   10635 #! $SHELL
   10636 
   10637 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10638 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10639 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10640 #
   10641 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10642 # Free Software Foundation, Inc.
   10643 #
   10644 # This file is part of GNU Libtool:
   10645 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10646 #
   10647 # This program is free software; you can redistribute it and/or modify
   10648 # it under the terms of the GNU General Public License as published by
   10649 # the Free Software Foundation; either version 2 of the License, or
   10650 # (at your option) any later version.
   10651 #
   10652 # This program is distributed in the hope that it will be useful, but
   10653 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10654 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10655 # General Public License for more details.
   10656 #
   10657 # You should have received a copy of the GNU General Public License
   10658 # along with this program; if not, write to the Free Software
   10659 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10660 #
   10661 # As a special exception to the GNU General Public License, if you
   10662 # distribute this file as part of a program that contains a
   10663 # configuration script generated by Autoconf, you may include it under
   10664 # the same distribution terms that you use for the rest of that program.
   10665 
   10666 # A sed program that does not truncate output.
   10667 SED=$lt_SED
   10668 
   10669 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10670 Xsed="$SED -e 1s/^X//"
   10671 
   10672 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10673 # if CDPATH is set.
   10674 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10675 
   10676 # The names of the tagged configurations supported by this script.
   10677 available_tags=
   10678 
   10679 # ### BEGIN LIBTOOL CONFIG
   10680 
   10681 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10682 
   10683 # Shell to use when invoking shell scripts.
   10684 SHELL=$lt_SHELL
   10685 
   10686 # Whether or not to build shared libraries.
   10687 build_libtool_libs=$enable_shared
   10688 
   10689 # Whether or not to build static libraries.
   10690 build_old_libs=$enable_static
   10691 
   10692 # Whether or not to add -lc for building shared libraries.
   10693 build_libtool_need_lc=$archive_cmds_need_lc
   10694 
   10695 # Whether or not to disallow shared libs when runtime libs are static
   10696 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10697 
   10698 # Whether or not to optimize for fast installation.
   10699 fast_install=$enable_fast_install
   10700 
   10701 # The host system.
   10702 host_alias=$host_alias
   10703 host=$host
   10704 host_os=$host_os
   10705 
   10706 # The build system.
   10707 build_alias=$build_alias
   10708 build=$build
   10709 build_os=$build_os
   10710 
   10711 # An echo program that does not interpret backslashes.
   10712 echo=$lt_echo
   10713 
   10714 # The archiver.
   10715 AR=$lt_AR
   10716 AR_FLAGS=$lt_AR_FLAGS
   10717 
   10718 # A C compiler.
   10719 LTCC=$lt_LTCC
   10720 
   10721 # LTCC compiler flags.
   10722 LTCFLAGS=$lt_LTCFLAGS
   10723 
   10724 # A language-specific compiler.
   10725 CC=$lt_compiler
   10726 
   10727 # Is the compiler the GNU C compiler?
   10728 with_gcc=$GCC
   10729 
   10730 # An ERE matcher.
   10731 EGREP=$lt_EGREP
   10732 
   10733 # The linker used to build libraries.
   10734 LD=$lt_LD
   10735 
   10736 # Whether we need hard or soft links.
   10737 LN_S=$lt_LN_S
   10738 
   10739 # A BSD-compatible nm program.
   10740 NM=$lt_NM
   10741 
   10742 # A symbol stripping program
   10743 STRIP=$lt_STRIP
   10744 
   10745 # Used to examine libraries when file_magic_cmd begins "file"
   10746 MAGIC_CMD=$MAGIC_CMD
   10747 
   10748 # Used on cygwin: DLL creation program.
   10749 DLLTOOL="$DLLTOOL"
   10750 
   10751 # Used on cygwin: object dumper.
   10752 OBJDUMP="$OBJDUMP"
   10753 
   10754 # Used on cygwin: assembler.
   10755 AS="$AS"
   10756 
   10757 # The name of the directory that contains temporary libtool files.
   10758 objdir=$objdir
   10759 
   10760 # How to create reloadable object files.
   10761 reload_flag=$lt_reload_flag
   10762 reload_cmds=$lt_reload_cmds
   10763 
   10764 # How to pass a linker flag through the compiler.
   10765 wl=$lt_lt_prog_compiler_wl
   10766 
   10767 # Object file suffix (normally "o").
   10768 objext="$ac_objext"
   10769 
   10770 # Old archive suffix (normally "a").
   10771 libext="$libext"
   10772 
   10773 # Shared library suffix (normally ".so").
   10774 shrext_cmds='$shrext_cmds'
   10775 
   10776 # Executable file suffix (normally "").
   10777 exeext="$exeext"
   10778 
   10779 # Additional compiler flags for building library objects.
   10780 pic_flag=$lt_lt_prog_compiler_pic
   10781 pic_mode=$pic_mode
   10782 
   10783 # What is the maximum length of a command?
   10784 max_cmd_len=$lt_cv_sys_max_cmd_len
   10785 
   10786 # Does compiler simultaneously support -c and -o options?
   10787 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10788 
   10789 # Must we lock files when doing compilation?
   10790 need_locks=$lt_need_locks
   10791 
   10792 # Do we need the lib prefix for modules?
   10793 need_lib_prefix=$need_lib_prefix
   10794 
   10795 # Do we need a version for libraries?
   10796 need_version=$need_version
   10797 
   10798 # Whether dlopen is supported.
   10799 dlopen_support=$enable_dlopen
   10800 
   10801 # Whether dlopen of programs is supported.
   10802 dlopen_self=$enable_dlopen_self
   10803 
   10804 # Whether dlopen of statically linked programs is supported.
   10805 dlopen_self_static=$enable_dlopen_self_static
   10806 
   10807 # Compiler flag to prevent dynamic linking.
   10808 link_static_flag=$lt_lt_prog_compiler_static
   10809 
   10810 # Compiler flag to turn off builtin functions.
   10811 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10812 
   10813 # Compiler flag to allow reflexive dlopens.
   10814 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10815 
   10816 # Compiler flag to generate shared objects directly from archives.
   10817 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10818 
   10819 # Compiler flag to generate thread-safe objects.
   10820 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10821 
   10822 # Library versioning type.
   10823 version_type=$version_type
   10824 
   10825 # Format of library name prefix.
   10826 libname_spec=$lt_libname_spec
   10827 
   10828 # List of archive names.  First name is the real one, the rest are links.
   10829 # The last name is the one that the linker finds with -lNAME.
   10830 library_names_spec=$lt_library_names_spec
   10831 
   10832 # The coded name of the library, if different from the real name.
   10833 soname_spec=$lt_soname_spec
   10834 
   10835 # Commands used to build and install an old-style archive.
   10836 RANLIB=$lt_RANLIB
   10837 old_archive_cmds=$lt_old_archive_cmds
   10838 old_postinstall_cmds=$lt_old_postinstall_cmds
   10839 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10840 
   10841 # Create an old-style archive from a shared archive.
   10842 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10843 
   10844 # Create a temporary old-style archive to link instead of a shared archive.
   10845 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10846 
   10847 # Commands used to build and install a shared archive.
   10848 archive_cmds=$lt_archive_cmds
   10849 archive_expsym_cmds=$lt_archive_expsym_cmds
   10850 postinstall_cmds=$lt_postinstall_cmds
   10851 postuninstall_cmds=$lt_postuninstall_cmds
   10852 
   10853 # Commands used to build a loadable module (assumed same as above if empty)
   10854 module_cmds=$lt_module_cmds
   10855 module_expsym_cmds=$lt_module_expsym_cmds
   10856 
   10857 # Commands to strip libraries.
   10858 old_striplib=$lt_old_striplib
   10859 striplib=$lt_striplib
   10860 
   10861 # Dependencies to place before the objects being linked to create a
   10862 # shared library.
   10863 predep_objects=$lt_predep_objects
   10864 
   10865 # Dependencies to place after the objects being linked to create a
   10866 # shared library.
   10867 postdep_objects=$lt_postdep_objects
   10868 
   10869 # Dependencies to place before the objects being linked to create a
   10870 # shared library.
   10871 predeps=$lt_predeps
   10872 
   10873 # Dependencies to place after the objects being linked to create a
   10874 # shared library.
   10875 postdeps=$lt_postdeps
   10876 
   10877 # The library search path used internally by the compiler when linking
   10878 # a shared library.
   10879 compiler_lib_search_path=$lt_compiler_lib_search_path
   10880 
   10881 # Method to check whether dependent libraries are shared objects.
   10882 deplibs_check_method=$lt_deplibs_check_method
   10883 
   10884 # Command to use when deplibs_check_method == file_magic.
   10885 file_magic_cmd=$lt_file_magic_cmd
   10886 
   10887 # Flag that allows shared libraries with undefined symbols to be built.
   10888 allow_undefined_flag=$lt_allow_undefined_flag
   10889 
   10890 # Flag that forces no undefined symbols.
   10891 no_undefined_flag=$lt_no_undefined_flag
   10892 
   10893 # Commands used to finish a libtool library installation in a directory.
   10894 finish_cmds=$lt_finish_cmds
   10895 
   10896 # Same as above, but a single script fragment to be evaled but not shown.
   10897 finish_eval=$lt_finish_eval
   10898 
   10899 # Take the output of nm and produce a listing of raw symbols and C names.
   10900 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10901 
   10902 # Transform the output of nm in a proper C declaration
   10903 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10904 
   10905 # Transform the output of nm in a C name address pair
   10906 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10907 
   10908 # This is the shared library runtime path variable.
   10909 runpath_var=$runpath_var
   10910 
   10911 # This is the shared library path variable.
   10912 shlibpath_var=$shlibpath_var
   10913 
   10914 # Is shlibpath searched before the hard-coded library search path?
   10915 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10916 
   10917 # How to hardcode a shared library path into an executable.
   10918 hardcode_action=$hardcode_action
   10919 
   10920 # Whether we should hardcode library paths into libraries.
   10921 hardcode_into_libs=$hardcode_into_libs
   10922 
   10923 # Flag to hardcode \$libdir into a binary during linking.
   10924 # This must work even if \$libdir does not exist.
   10925 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10926 
   10927 # If ld is used when linking, flag to hardcode \$libdir into
   10928 # a binary during linking. This must work even if \$libdir does
   10929 # not exist.
   10930 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10931 
   10932 # Whether we need a single -rpath flag with a separated argument.
   10933 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10934 
   10935 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10936 # resulting binary.
   10937 hardcode_direct=$hardcode_direct
   10938 
   10939 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10940 # resulting binary.
   10941 hardcode_minus_L=$hardcode_minus_L
   10942 
   10943 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10944 # the resulting binary.
   10945 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10946 
   10947 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10948 # and all subsequent libraries and executables linked against it.
   10949 hardcode_automatic=$hardcode_automatic
   10950 
   10951 # Variables whose values should be saved in libtool wrapper scripts and
   10952 # restored at relink time.
   10953 variables_saved_for_relink="$variables_saved_for_relink"
   10954 
   10955 # Whether libtool must link a program against all its dependency libraries.
   10956 link_all_deplibs=$link_all_deplibs
   10957 
   10958 # Compile-time system search path for libraries
   10959 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10960 
   10961 # Run-time system search path for libraries
   10962 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10963 
   10964 # Fix the shell variable \$srcfile for the compiler.
   10965 fix_srcfile_path="$fix_srcfile_path"
   10966 
   10967 # Set to yes if exported symbols are required.
   10968 always_export_symbols=$always_export_symbols
   10969 
   10970 # The commands to list exported symbols.
   10971 export_symbols_cmds=$lt_export_symbols_cmds
   10972 
   10973 # The commands to extract the exported symbol list from a shared archive.
   10974 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10975 
   10976 # Symbols that should not be listed in the preloaded symbols.
   10977 exclude_expsyms=$lt_exclude_expsyms
   10978 
   10979 # Symbols that must always be exported.
   10980 include_expsyms=$lt_include_expsyms
   10981 
   10982 # ### END LIBTOOL CONFIG
   10983 
   10984 __EOF__
   10985 
   10986 
   10987   case $host_os in
   10988   aix3*)
   10989     cat <<\EOF >> "$cfgfile"
   10990 
   10991 # AIX sometimes has problems with the GCC collect2 program.  For some
   10992 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10993 # vanish in a puff of smoke.
   10994 if test "X${COLLECT_NAMES+set}" != Xset; then
   10995   COLLECT_NAMES=
   10996   export COLLECT_NAMES
   10997 fi
   10998 EOF
   10999     ;;
   11000   esac
   11001 
   11002   # We use sed instead of cat because bash on DJGPP gets confused if
   11003   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11004   # text mode, it properly converts lines to CR/LF.  This bash problem
   11005   # is reportedly fixed, but why not run on old versions too?
   11006   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11007 
   11008   mv -f "$cfgfile" "$ofile" || \
   11009     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11010   chmod +x "$ofile"
   11011 
   11012 else
   11013   # If there is no Makefile yet, we rely on a make rule to execute
   11014   # `config.status --recheck' to rerun these tests and create the
   11015   # libtool script then.
   11016   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11017   if test -f "$ltmain_in"; then
   11018     test -f Makefile && make "$ltmain"
   11019   fi
   11020 fi
   11021 
   11022 
   11023 ac_ext=c
   11024 ac_cpp='$CPP $CPPFLAGS'
   11025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11028 
   11029 CC="$lt_save_CC"
   11030 
   11031 
   11032 # Check whether --with-tags was given.
   11033 if test "${with_tags+set}" = set; then
   11034   withval=$with_tags; tagnames="$withval"
   11035 fi
   11036 
   11037 
   11038 if test -f "$ltmain" && test -n "$tagnames"; then
   11039   if test ! -f "${ofile}"; then
   11040     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11041 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11042   fi
   11043 
   11044   if test -z "$LTCC"; then
   11045     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11046     if test -z "$LTCC"; then
   11047       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11048 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11049     else
   11050       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11051 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11052     fi
   11053   fi
   11054   if test -z "$LTCFLAGS"; then
   11055     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11056   fi
   11057 
   11058   # Extract list of available tagged configurations in $ofile.
   11059   # Note that this assumes the entire list is on one line.
   11060   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11061 
   11062   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11063   for tagname in $tagnames; do
   11064     IFS="$lt_save_ifs"
   11065     # Check whether tagname contains only valid characters
   11066     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11067     "") ;;
   11068     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11069 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11070    { (exit 1); exit 1; }; }
   11071 	;;
   11072     esac
   11073 
   11074     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11075     then
   11076       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11077 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11078    { (exit 1); exit 1; }; }
   11079     fi
   11080 
   11081     # Update the list of available tags.
   11082     if test -n "$tagname"; then
   11083       echo appending configuration tag \"$tagname\" to $ofile
   11084 
   11085       case $tagname in
   11086       CXX)
   11087 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11088 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11089 	    (test "X$CXX" != "Xg++"))) ; then
   11090 	  ac_ext=cpp
   11091 ac_cpp='$CXXCPP $CPPFLAGS'
   11092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11095 
   11096 
   11097 
   11098 
   11099 archive_cmds_need_lc_CXX=no
   11100 allow_undefined_flag_CXX=
   11101 always_export_symbols_CXX=no
   11102 archive_expsym_cmds_CXX=
   11103 export_dynamic_flag_spec_CXX=
   11104 hardcode_direct_CXX=no
   11105 hardcode_libdir_flag_spec_CXX=
   11106 hardcode_libdir_flag_spec_ld_CXX=
   11107 hardcode_libdir_separator_CXX=
   11108 hardcode_minus_L_CXX=no
   11109 hardcode_shlibpath_var_CXX=unsupported
   11110 hardcode_automatic_CXX=no
   11111 module_cmds_CXX=
   11112 module_expsym_cmds_CXX=
   11113 link_all_deplibs_CXX=unknown
   11114 old_archive_cmds_CXX=$old_archive_cmds
   11115 no_undefined_flag_CXX=
   11116 whole_archive_flag_spec_CXX=
   11117 enable_shared_with_static_runtimes_CXX=no
   11118 
   11119 # Dependencies to place before and after the object being linked:
   11120 predep_objects_CXX=
   11121 postdep_objects_CXX=
   11122 predeps_CXX=
   11123 postdeps_CXX=
   11124 compiler_lib_search_path_CXX=
   11125 
   11126 # Source file extension for C++ test sources.
   11127 ac_ext=cpp
   11128 
   11129 # Object file extension for compiled C++ test sources.
   11130 objext=o
   11131 objext_CXX=$objext
   11132 
   11133 # Code to be used in simple compile tests
   11134 lt_simple_compile_test_code="int some_variable = 0;\n"
   11135 
   11136 # Code to be used in simple link tests
   11137 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   11138 
   11139 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11140 
   11141 # If no C compiler was specified, use CC.
   11142 LTCC=${LTCC-"$CC"}
   11143 
   11144 # If no C compiler flags were specified, use CFLAGS.
   11145 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11146 
   11147 # Allow CC to be a program name with arguments.
   11148 compiler=$CC
   11149 
   11150 
   11151 # save warnings/boilerplate of simple test code
   11152 ac_outfile=conftest.$ac_objext
   11153 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   11154 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11155 _lt_compiler_boilerplate=`cat conftest.err`
   11156 $rm conftest*
   11157 
   11158 ac_outfile=conftest.$ac_objext
   11159 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   11160 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11161 _lt_linker_boilerplate=`cat conftest.err`
   11162 $rm conftest*
   11163 
   11164 
   11165 # Allow CC to be a program name with arguments.
   11166 lt_save_CC=$CC
   11167 lt_save_LD=$LD
   11168 lt_save_GCC=$GCC
   11169 GCC=$GXX
   11170 lt_save_with_gnu_ld=$with_gnu_ld
   11171 lt_save_path_LD=$lt_cv_path_LD
   11172 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11173   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11174 else
   11175   $as_unset lt_cv_prog_gnu_ld
   11176 fi
   11177 if test -n "${lt_cv_path_LDCXX+set}"; then
   11178   lt_cv_path_LD=$lt_cv_path_LDCXX
   11179 else
   11180   $as_unset lt_cv_path_LD
   11181 fi
   11182 test -z "${LDCXX+set}" || LD=$LDCXX
   11183 CC=${CXX-"c++"}
   11184 compiler=$CC
   11185 compiler_CXX=$CC
   11186 for cc_temp in $compiler""; do
   11187   case $cc_temp in
   11188     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11189     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11190     \-*) ;;
   11191     *) break;;
   11192   esac
   11193 done
   11194 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11195 
   11196 
   11197 # We don't want -fno-exception wen compiling C++ code, so set the
   11198 # no_builtin_flag separately
   11199 if test "$GXX" = yes; then
   11200   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11201 else
   11202   lt_prog_compiler_no_builtin_flag_CXX=
   11203 fi
   11204 
   11205 if test "$GXX" = yes; then
   11206   # Set up default GNU C++ configuration
   11207 
   11208 
   11209 # Check whether --with-gnu-ld was given.
   11210 if test "${with_gnu_ld+set}" = set; then
   11211   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11212 else
   11213   with_gnu_ld=no
   11214 fi
   11215 
   11216 ac_prog=ld
   11217 if test "$GCC" = yes; then
   11218   # Check if gcc -print-prog-name=ld gives a path.
   11219   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11220 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11221   case $host in
   11222   *-*-mingw*)
   11223     # gcc leaves a trailing carriage return which upsets mingw
   11224     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11225   *)
   11226     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11227   esac
   11228   case $ac_prog in
   11229     # Accept absolute paths.
   11230     [\\/]* | ?:[\\/]*)
   11231       re_direlt='/[^/][^/]*/\.\./'
   11232       # Canonicalize the pathname of ld
   11233       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11234       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11235 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11236       done
   11237       test -z "$LD" && LD="$ac_prog"
   11238       ;;
   11239   "")
   11240     # If it fails, then pretend we aren't using GCC.
   11241     ac_prog=ld
   11242     ;;
   11243   *)
   11244     # If it is relative, then search for the first ld in PATH.
   11245     with_gnu_ld=unknown
   11246     ;;
   11247   esac
   11248 elif test "$with_gnu_ld" = yes; then
   11249   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11250 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11251 else
   11252   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11253 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11254 fi
   11255 if test "${lt_cv_path_LD+set}" = set; then
   11256   echo $ECHO_N "(cached) $ECHO_C" >&6
   11257 else
   11258   if test -z "$LD"; then
   11259   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11260   for ac_dir in $PATH; do
   11261     IFS="$lt_save_ifs"
   11262     test -z "$ac_dir" && ac_dir=.
   11263     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11264       lt_cv_path_LD="$ac_dir/$ac_prog"
   11265       # Check to see if the program is GNU ld.  I'd rather use --version,
   11266       # but apparently some variants of GNU ld only accept -v.
   11267       # Break only if it was the GNU/non-GNU ld that we prefer.
   11268       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11269       *GNU* | *'with BFD'*)
   11270 	test "$with_gnu_ld" != no && break
   11271 	;;
   11272       *)
   11273 	test "$with_gnu_ld" != yes && break
   11274 	;;
   11275       esac
   11276     fi
   11277   done
   11278   IFS="$lt_save_ifs"
   11279 else
   11280   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11281 fi
   11282 fi
   11283 
   11284 LD="$lt_cv_path_LD"
   11285 if test -n "$LD"; then
   11286   { echo "$as_me:$LINENO: result: $LD" >&5
   11287 echo "${ECHO_T}$LD" >&6; }
   11288 else
   11289   { echo "$as_me:$LINENO: result: no" >&5
   11290 echo "${ECHO_T}no" >&6; }
   11291 fi
   11292 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11293 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11294    { (exit 1); exit 1; }; }
   11295 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11296 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11297 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11298   echo $ECHO_N "(cached) $ECHO_C" >&6
   11299 else
   11300   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11301 case `$LD -v 2>&1 </dev/null` in
   11302 *GNU* | *'with BFD'*)
   11303   lt_cv_prog_gnu_ld=yes
   11304   ;;
   11305 *)
   11306   lt_cv_prog_gnu_ld=no
   11307   ;;
   11308 esac
   11309 fi
   11310 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11311 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11312 with_gnu_ld=$lt_cv_prog_gnu_ld
   11313 
   11314 
   11315 
   11316   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11317   # archiving commands below assume that GNU ld is being used.
   11318   if test "$with_gnu_ld" = yes; then
   11319     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11320     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'
   11321 
   11322     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11323     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11324 
   11325     # If archive_cmds runs LD, not CC, wlarc should be empty
   11326     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11327     #     investigate it a little bit more. (MM)
   11328     wlarc='${wl}'
   11329 
   11330     # ancient GNU ld didn't support --whole-archive et. al.
   11331     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11332 	grep 'no-whole-archive' > /dev/null; then
   11333       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11334     else
   11335       whole_archive_flag_spec_CXX=
   11336     fi
   11337   else
   11338     with_gnu_ld=no
   11339     wlarc=
   11340 
   11341     # A generic and very simple default shared library creation
   11342     # command for GNU C++ for the case where it uses the native
   11343     # linker, instead of GNU ld.  If possible, this setting should
   11344     # overridden to take advantage of the native linker features on
   11345     # the platform it is being used on.
   11346     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11347   fi
   11348 
   11349   # Commands to make compiler produce verbose output that lists
   11350   # what "hidden" libraries, object files and flags are used when
   11351   # linking a shared library.
   11352   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11353 
   11354 else
   11355   GXX=no
   11356   with_gnu_ld=no
   11357   wlarc=
   11358 fi
   11359 
   11360 # PORTME: fill in a description of your system's C++ link characteristics
   11361 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11362 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11363 ld_shlibs_CXX=yes
   11364 case $host_os in
   11365   aix3*)
   11366     # FIXME: insert proper C++ library support
   11367     ld_shlibs_CXX=no
   11368     ;;
   11369   aix4* | aix5*)
   11370     if test "$host_cpu" = ia64; then
   11371       # On IA64, the linker does run time linking by default, so we don't
   11372       # have to do anything special.
   11373       aix_use_runtimelinking=no
   11374       exp_sym_flag='-Bexport'
   11375       no_entry_flag=""
   11376     else
   11377       aix_use_runtimelinking=no
   11378 
   11379       # Test if we are trying to use run time linking or normal
   11380       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11381       # need to do runtime linking.
   11382       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   11383 	for ld_flag in $LDFLAGS; do
   11384 	  case $ld_flag in
   11385 	  *-brtl*)
   11386 	    aix_use_runtimelinking=yes
   11387 	    break
   11388 	    ;;
   11389 	  esac
   11390 	done
   11391 	;;
   11392       esac
   11393 
   11394       exp_sym_flag='-bexport'
   11395       no_entry_flag='-bnoentry'
   11396     fi
   11397 
   11398     # When large executables or shared objects are built, AIX ld can
   11399     # have problems creating the table of contents.  If linking a library
   11400     # or program results in "error TOC overflow" add -mminimal-toc to
   11401     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11402     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11403 
   11404     archive_cmds_CXX=''
   11405     hardcode_direct_CXX=yes
   11406     hardcode_libdir_separator_CXX=':'
   11407     link_all_deplibs_CXX=yes
   11408 
   11409     if test "$GXX" = yes; then
   11410       case $host_os in aix4.[012]|aix4.[012].*)
   11411       # We only want to do this on AIX 4.2 and lower, the check
   11412       # below for broken collect2 doesn't work under 4.3+
   11413 	collect2name=`${CC} -print-prog-name=collect2`
   11414 	if test -f "$collect2name" && \
   11415 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11416 	then
   11417 	  # We have reworked collect2
   11418 	  hardcode_direct_CXX=yes
   11419 	else
   11420 	  # We have old collect2
   11421 	  hardcode_direct_CXX=unsupported
   11422 	  # It fails to find uninstalled libraries when the uninstalled
   11423 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11424 	  # to unsupported forces relinking
   11425 	  hardcode_minus_L_CXX=yes
   11426 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11427 	  hardcode_libdir_separator_CXX=
   11428 	fi
   11429 	;;
   11430       esac
   11431       shared_flag='-shared'
   11432       if test "$aix_use_runtimelinking" = yes; then
   11433 	shared_flag="$shared_flag "'${wl}-G'
   11434       fi
   11435     else
   11436       # not using gcc
   11437       if test "$host_cpu" = ia64; then
   11438 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11439 	# chokes on -Wl,-G. The following line is correct:
   11440 	shared_flag='-G'
   11441       else
   11442 	if test "$aix_use_runtimelinking" = yes; then
   11443 	  shared_flag='${wl}-G'
   11444 	else
   11445 	  shared_flag='${wl}-bM:SRE'
   11446 	fi
   11447       fi
   11448     fi
   11449 
   11450     # It seems that -bexpall does not export symbols beginning with
   11451     # underscore (_), so it is better to generate a list of symbols to export.
   11452     always_export_symbols_CXX=yes
   11453     if test "$aix_use_runtimelinking" = yes; then
   11454       # Warning - without using the other runtime loading flags (-brtl),
   11455       # -berok will link without error, but may produce a broken library.
   11456       allow_undefined_flag_CXX='-berok'
   11457       # Determine the default libpath from the value encoded in an empty executable.
   11458       cat >conftest.$ac_ext <<_ACEOF
   11459 /* confdefs.h.  */
   11460 _ACEOF
   11461 cat confdefs.h >>conftest.$ac_ext
   11462 cat >>conftest.$ac_ext <<_ACEOF
   11463 /* end confdefs.h.  */
   11464 
   11465 int
   11466 main ()
   11467 {
   11468 
   11469   ;
   11470   return 0;
   11471 }
   11472 _ACEOF
   11473 rm -f conftest.$ac_objext conftest$ac_exeext
   11474 if { (ac_try="$ac_link"
   11475 case "(($ac_try" in
   11476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11477   *) ac_try_echo=$ac_try;;
   11478 esac
   11479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11480   (eval "$ac_link") 2>conftest.er1
   11481   ac_status=$?
   11482   grep -v '^ *+' conftest.er1 >conftest.err
   11483   rm -f conftest.er1
   11484   cat conftest.err >&5
   11485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11486   (exit $ac_status); } &&
   11487 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   11488   { (case "(($ac_try" in
   11489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11490   *) ac_try_echo=$ac_try;;
   11491 esac
   11492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11493   (eval "$ac_try") 2>&5
   11494   ac_status=$?
   11495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11496   (exit $ac_status); }; } &&
   11497 	 { ac_try='test -s conftest$ac_exeext'
   11498   { (case "(($ac_try" in
   11499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11500   *) ac_try_echo=$ac_try;;
   11501 esac
   11502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11503   (eval "$ac_try") 2>&5
   11504   ac_status=$?
   11505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11506   (exit $ac_status); }; }; then
   11507 
   11508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11509 }'`
   11510 # Check for a 64-bit object if we didn't find anything.
   11511 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; }
   11512 }'`; fi
   11513 else
   11514   echo "$as_me: failed program was:" >&5
   11515 sed 's/^/| /' conftest.$ac_ext >&5
   11516 
   11517 
   11518 fi
   11519 
   11520 rm -f core conftest.err conftest.$ac_objext \
   11521       conftest$ac_exeext conftest.$ac_ext
   11522 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11523 
   11524       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11525 
   11526       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"
   11527      else
   11528       if test "$host_cpu" = ia64; then
   11529 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11530 	allow_undefined_flag_CXX="-z nodefs"
   11531 	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"
   11532       else
   11533 	# Determine the default libpath from the value encoded in an empty executable.
   11534 	cat >conftest.$ac_ext <<_ACEOF
   11535 /* confdefs.h.  */
   11536 _ACEOF
   11537 cat confdefs.h >>conftest.$ac_ext
   11538 cat >>conftest.$ac_ext <<_ACEOF
   11539 /* end confdefs.h.  */
   11540 
   11541 int
   11542 main ()
   11543 {
   11544 
   11545   ;
   11546   return 0;
   11547 }
   11548 _ACEOF
   11549 rm -f conftest.$ac_objext conftest$ac_exeext
   11550 if { (ac_try="$ac_link"
   11551 case "(($ac_try" in
   11552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11553   *) ac_try_echo=$ac_try;;
   11554 esac
   11555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11556   (eval "$ac_link") 2>conftest.er1
   11557   ac_status=$?
   11558   grep -v '^ *+' conftest.er1 >conftest.err
   11559   rm -f conftest.er1
   11560   cat conftest.err >&5
   11561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11562   (exit $ac_status); } &&
   11563 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   11564   { (case "(($ac_try" in
   11565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11566   *) ac_try_echo=$ac_try;;
   11567 esac
   11568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11569   (eval "$ac_try") 2>&5
   11570   ac_status=$?
   11571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11572   (exit $ac_status); }; } &&
   11573 	 { ac_try='test -s conftest$ac_exeext'
   11574   { (case "(($ac_try" in
   11575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11576   *) ac_try_echo=$ac_try;;
   11577 esac
   11578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11579   (eval "$ac_try") 2>&5
   11580   ac_status=$?
   11581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11582   (exit $ac_status); }; }; then
   11583 
   11584 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11585 }'`
   11586 # Check for a 64-bit object if we didn't find anything.
   11587 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; }
   11588 }'`; fi
   11589 else
   11590   echo "$as_me: failed program was:" >&5
   11591 sed 's/^/| /' conftest.$ac_ext >&5
   11592 
   11593 
   11594 fi
   11595 
   11596 rm -f core conftest.err conftest.$ac_objext \
   11597       conftest$ac_exeext conftest.$ac_ext
   11598 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11599 
   11600 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11601 	# Warning - without using the other run time loading flags,
   11602 	# -berok will link without error, but may produce a broken library.
   11603 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11604 	allow_undefined_flag_CXX=' ${wl}-berok'
   11605 	# Exported symbols can be pulled into shared objects from archives
   11606 	whole_archive_flag_spec_CXX='$convenience'
   11607 	archive_cmds_need_lc_CXX=yes
   11608 	# This is similar to how AIX traditionally builds its shared libraries.
   11609 	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'
   11610       fi
   11611     fi
   11612     ;;
   11613 
   11614   beos*)
   11615     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11616       allow_undefined_flag_CXX=unsupported
   11617       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11618       # support --undefined.  This deserves some investigation.  FIXME
   11619       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11620     else
   11621       ld_shlibs_CXX=no
   11622     fi
   11623     ;;
   11624 
   11625   chorus*)
   11626     case $cc_basename in
   11627       *)
   11628 	# FIXME: insert proper C++ library support
   11629 	ld_shlibs_CXX=no
   11630 	;;
   11631     esac
   11632     ;;
   11633 
   11634   cygwin* | mingw* | pw32*)
   11635     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11636     # as there is no search path for DLLs.
   11637     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11638     allow_undefined_flag_CXX=unsupported
   11639     always_export_symbols_CXX=no
   11640     enable_shared_with_static_runtimes_CXX=yes
   11641 
   11642     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11643       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'
   11644       # If the export-symbols file already is a .def file (1st line
   11645       # is EXPORTS), use it as is; otherwise, prepend...
   11646       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11647 	cp $export_symbols $output_objdir/$soname.def;
   11648       else
   11649 	echo EXPORTS > $output_objdir/$soname.def;
   11650 	cat $export_symbols >> $output_objdir/$soname.def;
   11651       fi~
   11652       $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'
   11653     else
   11654       ld_shlibs_CXX=no
   11655     fi
   11656   ;;
   11657       darwin* | rhapsody*)
   11658         case $host_os in
   11659         rhapsody* | darwin1.[012])
   11660          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11661          ;;
   11662        *) # Darwin 1.3 on
   11663          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11664            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11665          else
   11666            case ${MACOSX_DEPLOYMENT_TARGET} in
   11667              10.[012])
   11668                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11669                ;;
   11670              10.*)
   11671                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11672                ;;
   11673            esac
   11674          fi
   11675          ;;
   11676         esac
   11677       archive_cmds_need_lc_CXX=no
   11678       hardcode_direct_CXX=no
   11679       hardcode_automatic_CXX=yes
   11680       hardcode_shlibpath_var_CXX=unsupported
   11681       whole_archive_flag_spec_CXX=''
   11682       link_all_deplibs_CXX=yes
   11683 
   11684     if test "$GXX" = yes ; then
   11685       lt_int_apple_cc_single_mod=no
   11686       output_verbose_link_cmd='echo'
   11687       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11688        lt_int_apple_cc_single_mod=yes
   11689       fi
   11690       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11691        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11692       else
   11693           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'
   11694         fi
   11695         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11696         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11697           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11698             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}'
   11699           else
   11700             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}'
   11701           fi
   11702             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}'
   11703       else
   11704       case $cc_basename in
   11705         xlc*)
   11706          output_verbose_link_cmd='echo'
   11707           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'
   11708           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11709           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11710           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}'
   11711           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}'
   11712           ;;
   11713        *)
   11714          ld_shlibs_CXX=no
   11715           ;;
   11716       esac
   11717       fi
   11718         ;;
   11719 
   11720   dgux*)
   11721     case $cc_basename in
   11722       ec++*)
   11723 	# FIXME: insert proper C++ library support
   11724 	ld_shlibs_CXX=no
   11725 	;;
   11726       ghcx*)
   11727 	# Green Hills C++ Compiler
   11728 	# FIXME: insert proper C++ library support
   11729 	ld_shlibs_CXX=no
   11730 	;;
   11731       *)
   11732 	# FIXME: insert proper C++ library support
   11733 	ld_shlibs_CXX=no
   11734 	;;
   11735     esac
   11736     ;;
   11737   freebsd[12]*)
   11738     # C++ shared libraries reported to be fairly broken before switch to ELF
   11739     ld_shlibs_CXX=no
   11740     ;;
   11741   freebsd-elf*)
   11742     archive_cmds_need_lc_CXX=no
   11743     ;;
   11744   freebsd* | kfreebsd*-gnu | dragonfly*)
   11745     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11746     # conventions
   11747     ld_shlibs_CXX=yes
   11748     ;;
   11749   gnu*)
   11750     ;;
   11751   hpux9*)
   11752     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11753     hardcode_libdir_separator_CXX=:
   11754     export_dynamic_flag_spec_CXX='${wl}-E'
   11755     hardcode_direct_CXX=yes
   11756     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11757 				# but as the default
   11758 				# location of the library.
   11759 
   11760     case $cc_basename in
   11761     CC*)
   11762       # FIXME: insert proper C++ library support
   11763       ld_shlibs_CXX=no
   11764       ;;
   11765     aCC*)
   11766       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'
   11767       # Commands to make compiler produce verbose output that lists
   11768       # what "hidden" libraries, object files and flags are used when
   11769       # linking a shared library.
   11770       #
   11771       # There doesn't appear to be a way to prevent this compiler from
   11772       # explicitly linking system object files so we need to strip them
   11773       # from the output so that they don't get included in the library
   11774       # dependencies.
   11775       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'
   11776       ;;
   11777     *)
   11778       if test "$GXX" = yes; then
   11779         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'
   11780       else
   11781         # FIXME: insert proper C++ library support
   11782         ld_shlibs_CXX=no
   11783       fi
   11784       ;;
   11785     esac
   11786     ;;
   11787   hpux10*|hpux11*)
   11788     if test $with_gnu_ld = no; then
   11789       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11790       hardcode_libdir_separator_CXX=:
   11791 
   11792       case $host_cpu in
   11793       hppa*64*|ia64*)
   11794 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11795         ;;
   11796       *)
   11797 	export_dynamic_flag_spec_CXX='${wl}-E'
   11798         ;;
   11799       esac
   11800     fi
   11801     case $host_cpu in
   11802     hppa*64*|ia64*)
   11803       hardcode_direct_CXX=no
   11804       hardcode_shlibpath_var_CXX=no
   11805       ;;
   11806     *)
   11807       hardcode_direct_CXX=yes
   11808       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11809 					      # but as the default
   11810 					      # location of the library.
   11811       ;;
   11812     esac
   11813 
   11814     case $cc_basename in
   11815       CC*)
   11816 	# FIXME: insert proper C++ library support
   11817 	ld_shlibs_CXX=no
   11818 	;;
   11819       aCC*)
   11820 	case $host_cpu in
   11821 	hppa*64*)
   11822 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11823 	  ;;
   11824 	ia64*)
   11825 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11826 	  ;;
   11827 	*)
   11828 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11829 	  ;;
   11830 	esac
   11831 	# Commands to make compiler produce verbose output that lists
   11832 	# what "hidden" libraries, object files and flags are used when
   11833 	# linking a shared library.
   11834 	#
   11835 	# There doesn't appear to be a way to prevent this compiler from
   11836 	# explicitly linking system object files so we need to strip them
   11837 	# from the output so that they don't get included in the library
   11838 	# dependencies.
   11839 	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'
   11840 	;;
   11841       *)
   11842 	if test "$GXX" = yes; then
   11843 	  if test $with_gnu_ld = no; then
   11844 	    case $host_cpu in
   11845 	    hppa*64*)
   11846 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11847 	      ;;
   11848 	    ia64*)
   11849 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11850 	      ;;
   11851 	    *)
   11852 	      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'
   11853 	      ;;
   11854 	    esac
   11855 	  fi
   11856 	else
   11857 	  # FIXME: insert proper C++ library support
   11858 	  ld_shlibs_CXX=no
   11859 	fi
   11860 	;;
   11861     esac
   11862     ;;
   11863   interix3*)
   11864     hardcode_direct_CXX=no
   11865     hardcode_shlibpath_var_CXX=no
   11866     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11867     export_dynamic_flag_spec_CXX='${wl}-E'
   11868     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11869     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11870     # default) and relocated if they conflict, which is a slow very memory
   11871     # consuming and fragmenting process.  To avoid this, we pick a random,
   11872     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11873     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11874     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'
   11875     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'
   11876     ;;
   11877   irix5* | irix6*)
   11878     case $cc_basename in
   11879       CC*)
   11880 	# SGI C++
   11881 	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'
   11882 
   11883 	# Archives containing C++ object files must be created using
   11884 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11885 	# necessary to make sure instantiated templates are included
   11886 	# in the archive.
   11887 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11888 	;;
   11889       *)
   11890 	if test "$GXX" = yes; then
   11891 	  if test "$with_gnu_ld" = no; then
   11892 	    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'
   11893 	  else
   11894 	    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'
   11895 	  fi
   11896 	fi
   11897 	link_all_deplibs_CXX=yes
   11898 	;;
   11899     esac
   11900     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11901     hardcode_libdir_separator_CXX=:
   11902     ;;
   11903   linux*)
   11904     case $cc_basename in
   11905       KCC*)
   11906 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11907 
   11908 	# KCC will only create a shared library if the output file
   11909 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11910 	# to its proper name (with version) after linking.
   11911 	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'
   11912 	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'
   11913 	# Commands to make compiler produce verbose output that lists
   11914 	# what "hidden" libraries, object files and flags are used when
   11915 	# linking a shared library.
   11916 	#
   11917 	# There doesn't appear to be a way to prevent this compiler from
   11918 	# explicitly linking system object files so we need to strip them
   11919 	# from the output so that they don't get included in the library
   11920 	# dependencies.
   11921 	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'
   11922 
   11923 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11924 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11925 
   11926 	# Archives containing C++ object files must be created using
   11927 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11928 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11929 	;;
   11930       icpc*)
   11931 	# Intel C++
   11932 	with_gnu_ld=yes
   11933 	# version 8.0 and above of icpc choke on multiply defined symbols
   11934 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11935 	# earlier do not add the objects themselves.
   11936 	case `$CC -V 2>&1` in
   11937 	*"Version 7."*)
   11938   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11939   	  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'
   11940 	  ;;
   11941 	*)  # Version 8.0 or newer
   11942 	  tmp_idyn=
   11943 	  case $host_cpu in
   11944 	    ia64*) tmp_idyn=' -i_dynamic';;
   11945 	  esac
   11946   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11947 	  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'
   11948 	  ;;
   11949 	esac
   11950 	archive_cmds_need_lc_CXX=no
   11951 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11952 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11953 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11954 	;;
   11955       pgCC*)
   11956         # Portland Group C++ compiler
   11957 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11958   	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'
   11959 
   11960 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11961 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11962 	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'
   11963         ;;
   11964       cxx*)
   11965 	# Compaq C++
   11966 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11967 	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'
   11968 
   11969 	runpath_var=LD_RUN_PATH
   11970 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11971 	hardcode_libdir_separator_CXX=:
   11972 
   11973 	# Commands to make compiler produce verbose output that lists
   11974 	# what "hidden" libraries, object files and flags are used when
   11975 	# linking a shared library.
   11976 	#
   11977 	# There doesn't appear to be a way to prevent this compiler from
   11978 	# explicitly linking system object files so we need to strip them
   11979 	# from the output so that they don't get included in the library
   11980 	# dependencies.
   11981 	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'
   11982 	;;
   11983     esac
   11984     ;;
   11985   lynxos*)
   11986     # FIXME: insert proper C++ library support
   11987     ld_shlibs_CXX=no
   11988     ;;
   11989   m88k*)
   11990     # FIXME: insert proper C++ library support
   11991     ld_shlibs_CXX=no
   11992     ;;
   11993   mvs*)
   11994     case $cc_basename in
   11995       cxx*)
   11996 	# FIXME: insert proper C++ library support
   11997 	ld_shlibs_CXX=no
   11998 	;;
   11999       *)
   12000 	# FIXME: insert proper C++ library support
   12001 	ld_shlibs_CXX=no
   12002 	;;
   12003     esac
   12004     ;;
   12005   netbsd*)
   12006     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12007       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12008       wlarc=
   12009       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12010       hardcode_direct_CXX=yes
   12011       hardcode_shlibpath_var_CXX=no
   12012     fi
   12013     # Workaround some broken pre-1.5 toolchains
   12014     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12015     ;;
   12016   openbsd2*)
   12017     # C++ shared libraries are fairly broken
   12018     ld_shlibs_CXX=no
   12019     ;;
   12020   openbsd*)
   12021     hardcode_direct_CXX=yes
   12022     hardcode_shlibpath_var_CXX=no
   12023     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12024     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12025     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12026       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12027       export_dynamic_flag_spec_CXX='${wl}-E'
   12028       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12029     fi
   12030     output_verbose_link_cmd='echo'
   12031     ;;
   12032   osf3*)
   12033     case $cc_basename in
   12034       KCC*)
   12035 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12036 
   12037 	# KCC will only create a shared library if the output file
   12038 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12039 	# to its proper name (with version) after linking.
   12040 	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'
   12041 
   12042 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12043 	hardcode_libdir_separator_CXX=:
   12044 
   12045 	# Archives containing C++ object files must be created using
   12046 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12047 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12048 
   12049 	;;
   12050       RCC*)
   12051 	# Rational C++ 2.4.1
   12052 	# FIXME: insert proper C++ library support
   12053 	ld_shlibs_CXX=no
   12054 	;;
   12055       cxx*)
   12056 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12057 	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'
   12058 
   12059 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12060 	hardcode_libdir_separator_CXX=:
   12061 
   12062 	# Commands to make compiler produce verbose output that lists
   12063 	# what "hidden" libraries, object files and flags are used when
   12064 	# linking a shared library.
   12065 	#
   12066 	# There doesn't appear to be a way to prevent this compiler from
   12067 	# explicitly linking system object files so we need to strip them
   12068 	# from the output so that they don't get included in the library
   12069 	# dependencies.
   12070 	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'
   12071 	;;
   12072       *)
   12073 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12074 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12075 	  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'
   12076 
   12077 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12078 	  hardcode_libdir_separator_CXX=:
   12079 
   12080 	  # Commands to make compiler produce verbose output that lists
   12081 	  # what "hidden" libraries, object files and flags are used when
   12082 	  # linking a shared library.
   12083 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12084 
   12085 	else
   12086 	  # FIXME: insert proper C++ library support
   12087 	  ld_shlibs_CXX=no
   12088 	fi
   12089 	;;
   12090     esac
   12091     ;;
   12092   osf4* | osf5*)
   12093     case $cc_basename in
   12094       KCC*)
   12095 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12096 
   12097 	# KCC will only create a shared library if the output file
   12098 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12099 	# to its proper name (with version) after linking.
   12100 	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'
   12101 
   12102 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12103 	hardcode_libdir_separator_CXX=:
   12104 
   12105 	# Archives containing C++ object files must be created using
   12106 	# the KAI C++ compiler.
   12107 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12108 	;;
   12109       RCC*)
   12110 	# Rational C++ 2.4.1
   12111 	# FIXME: insert proper C++ library support
   12112 	ld_shlibs_CXX=no
   12113 	;;
   12114       cxx*)
   12115 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12116 	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'
   12117 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12118 	  echo "-hidden">> $lib.exp~
   12119 	  $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~
   12120 	  $rm $lib.exp'
   12121 
   12122 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12123 	hardcode_libdir_separator_CXX=:
   12124 
   12125 	# Commands to make compiler produce verbose output that lists
   12126 	# what "hidden" libraries, object files and flags are used when
   12127 	# linking a shared library.
   12128 	#
   12129 	# There doesn't appear to be a way to prevent this compiler from
   12130 	# explicitly linking system object files so we need to strip them
   12131 	# from the output so that they don't get included in the library
   12132 	# dependencies.
   12133 	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'
   12134 	;;
   12135       *)
   12136 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12137 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12138 	 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'
   12139 
   12140 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12141 	  hardcode_libdir_separator_CXX=:
   12142 
   12143 	  # Commands to make compiler produce verbose output that lists
   12144 	  # what "hidden" libraries, object files and flags are used when
   12145 	  # linking a shared library.
   12146 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12147 
   12148 	else
   12149 	  # FIXME: insert proper C++ library support
   12150 	  ld_shlibs_CXX=no
   12151 	fi
   12152 	;;
   12153     esac
   12154     ;;
   12155   psos*)
   12156     # FIXME: insert proper C++ library support
   12157     ld_shlibs_CXX=no
   12158     ;;
   12159   sunos4*)
   12160     case $cc_basename in
   12161       CC*)
   12162 	# Sun C++ 4.x
   12163 	# FIXME: insert proper C++ library support
   12164 	ld_shlibs_CXX=no
   12165 	;;
   12166       lcc*)
   12167 	# Lucid
   12168 	# FIXME: insert proper C++ library support
   12169 	ld_shlibs_CXX=no
   12170 	;;
   12171       *)
   12172 	# FIXME: insert proper C++ library support
   12173 	ld_shlibs_CXX=no
   12174 	;;
   12175     esac
   12176     ;;
   12177   solaris*)
   12178     case $cc_basename in
   12179       CC*)
   12180 	# Sun C++ 4.2, 5.x and Centerline C++
   12181         archive_cmds_need_lc_CXX=yes
   12182 	no_undefined_flag_CXX=' -zdefs'
   12183 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12184 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12185 	$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'
   12186 
   12187 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12188 	hardcode_shlibpath_var_CXX=no
   12189 	case $host_os in
   12190 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12191 	  *)
   12192 	    # The C++ compiler is used as linker so we must use $wl
   12193 	    # flag to pass the commands to the underlying system
   12194 	    # linker. We must also pass each convience library through
   12195 	    # to the system linker between allextract/defaultextract.
   12196 	    # The C++ compiler will combine linker options so we
   12197 	    # cannot just pass the convience library names through
   12198 	    # without $wl.
   12199 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12200 	    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'
   12201 	    ;;
   12202 	esac
   12203 	link_all_deplibs_CXX=yes
   12204 
   12205 	output_verbose_link_cmd='echo'
   12206 
   12207 	# Archives containing C++ object files must be created using
   12208 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12209 	# necessary to make sure instantiated templates are included
   12210 	# in the archive.
   12211 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12212 	;;
   12213       gcx*)
   12214 	# Green Hills C++ Compiler
   12215 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12216 
   12217 	# The C++ compiler must be used to create the archive.
   12218 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12219 	;;
   12220       *)
   12221 	# GNU C++ compiler with Solaris linker
   12222 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12223 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12224 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12225 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12226 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12227 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12228 
   12229 	    # Commands to make compiler produce verbose output that lists
   12230 	    # what "hidden" libraries, object files and flags are used when
   12231 	    # linking a shared library.
   12232 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12233 	  else
   12234 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12235 	    # platform.
   12236 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12237 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12238 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12239 
   12240 	    # Commands to make compiler produce verbose output that lists
   12241 	    # what "hidden" libraries, object files and flags are used when
   12242 	    # linking a shared library.
   12243 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12244 	  fi
   12245 
   12246 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12247 	fi
   12248 	;;
   12249     esac
   12250     ;;
   12251   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12252     no_undefined_flag_CXX='${wl}-z,text'
   12253     archive_cmds_need_lc_CXX=no
   12254     hardcode_shlibpath_var_CXX=no
   12255     runpath_var='LD_RUN_PATH'
   12256 
   12257     case $cc_basename in
   12258       CC*)
   12259 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12260 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12261 	;;
   12262       *)
   12263 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12264 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12265 	;;
   12266     esac
   12267     ;;
   12268   sysv5* | sco3.2v5* | sco5v6*)
   12269     # Note: We can NOT use -z defs as we might desire, because we do not
   12270     # link with -lc, and that would cause any symbols used from libc to
   12271     # always be unresolved, which means just about no library would
   12272     # ever link correctly.  If we're not using GNU ld we use -z text
   12273     # though, which does catch some bad symbols but isn't as heavy-handed
   12274     # as -z defs.
   12275     # For security reasons, it is highly recommended that you always
   12276     # use absolute paths for naming shared libraries, and exclude the
   12277     # DT_RUNPATH tag from executables and libraries.  But doing so
   12278     # requires that you compile everything twice, which is a pain.
   12279     # So that behaviour is only enabled if SCOABSPATH is set to a
   12280     # non-empty value in the environment.  Most likely only useful for
   12281     # creating official distributions of packages.
   12282     # This is a hack until libtool officially supports absolute path
   12283     # names for shared libraries.
   12284     no_undefined_flag_CXX='${wl}-z,text'
   12285     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12286     archive_cmds_need_lc_CXX=no
   12287     hardcode_shlibpath_var_CXX=no
   12288     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12289     hardcode_libdir_separator_CXX=':'
   12290     link_all_deplibs_CXX=yes
   12291     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12292     runpath_var='LD_RUN_PATH'
   12293 
   12294     case $cc_basename in
   12295       CC*)
   12296 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12297 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12298 	;;
   12299       *)
   12300 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12301 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12302 	;;
   12303     esac
   12304     ;;
   12305   tandem*)
   12306     case $cc_basename in
   12307       NCC*)
   12308 	# NonStop-UX NCC 3.20
   12309 	# FIXME: insert proper C++ library support
   12310 	ld_shlibs_CXX=no
   12311 	;;
   12312       *)
   12313 	# FIXME: insert proper C++ library support
   12314 	ld_shlibs_CXX=no
   12315 	;;
   12316     esac
   12317     ;;
   12318   vxworks*)
   12319     # FIXME: insert proper C++ library support
   12320     ld_shlibs_CXX=no
   12321     ;;
   12322   *)
   12323     # FIXME: insert proper C++ library support
   12324     ld_shlibs_CXX=no
   12325     ;;
   12326 esac
   12327 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12328 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12329 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12330 
   12331 GCC_CXX="$GXX"
   12332 LD_CXX="$LD"
   12333 
   12334 
   12335 cat > conftest.$ac_ext <<EOF
   12336 class Foo
   12337 {
   12338 public:
   12339   Foo (void) { a = 0; }
   12340 private:
   12341   int a;
   12342 };
   12343 EOF
   12344 
   12345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12346   (eval $ac_compile) 2>&5
   12347   ac_status=$?
   12348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12349   (exit $ac_status); }; then
   12350   # Parse the compiler output and extract the necessary
   12351   # objects, libraries and library flags.
   12352 
   12353   # Sentinel used to keep track of whether or not we are before
   12354   # the conftest object file.
   12355   pre_test_object_deps_done=no
   12356 
   12357   # The `*' in the case matches for architectures that use `case' in
   12358   # $output_verbose_cmd can trigger glob expansion during the loop
   12359   # eval without this substitution.
   12360   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12361 
   12362   for p in `eval $output_verbose_link_cmd`; do
   12363     case $p in
   12364 
   12365     -L* | -R* | -l*)
   12366        # Some compilers place space between "-{L,R}" and the path.
   12367        # Remove the space.
   12368        if test $p = "-L" \
   12369 	  || test $p = "-R"; then
   12370 	 prev=$p
   12371 	 continue
   12372        else
   12373 	 prev=
   12374        fi
   12375 
   12376        if test "$pre_test_object_deps_done" = no; then
   12377 	 case $p in
   12378 	 -L* | -R*)
   12379 	   # Internal compiler library paths should come after those
   12380 	   # provided the user.  The postdeps already come after the
   12381 	   # user supplied libs so there is no need to process them.
   12382 	   if test -z "$compiler_lib_search_path_CXX"; then
   12383 	     compiler_lib_search_path_CXX="${prev}${p}"
   12384 	   else
   12385 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12386 	   fi
   12387 	   ;;
   12388 	 # The "-l" case would never come before the object being
   12389 	 # linked, so don't bother handling this case.
   12390 	 esac
   12391        else
   12392 	 if test -z "$postdeps_CXX"; then
   12393 	   postdeps_CXX="${prev}${p}"
   12394 	 else
   12395 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12396 	 fi
   12397        fi
   12398        ;;
   12399 
   12400     *.$objext)
   12401        # This assumes that the test object file only shows up
   12402        # once in the compiler output.
   12403        if test "$p" = "conftest.$objext"; then
   12404 	 pre_test_object_deps_done=yes
   12405 	 continue
   12406        fi
   12407 
   12408        if test "$pre_test_object_deps_done" = no; then
   12409 	 if test -z "$predep_objects_CXX"; then
   12410 	   predep_objects_CXX="$p"
   12411 	 else
   12412 	   predep_objects_CXX="$predep_objects_CXX $p"
   12413 	 fi
   12414        else
   12415 	 if test -z "$postdep_objects_CXX"; then
   12416 	   postdep_objects_CXX="$p"
   12417 	 else
   12418 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12419 	 fi
   12420        fi
   12421        ;;
   12422 
   12423     *) ;; # Ignore the rest.
   12424 
   12425     esac
   12426   done
   12427 
   12428   # Clean up.
   12429   rm -f a.out a.exe
   12430 else
   12431   echo "libtool.m4: error: problem compiling CXX test program"
   12432 fi
   12433 
   12434 $rm -f confest.$objext
   12435 
   12436 # PORTME: override above test on systems where it is broken
   12437 case $host_os in
   12438 interix3*)
   12439   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12440   # hack all around it, let's just trust "g++" to DTRT.
   12441   predep_objects_CXX=
   12442   postdep_objects_CXX=
   12443   postdeps_CXX=
   12444   ;;
   12445 
   12446 solaris*)
   12447   case $cc_basename in
   12448   CC*)
   12449     # Adding this requires a known-good setup of shared libraries for
   12450     # Sun compiler versions before 5.6, else PIC objects from an old
   12451     # archive will be linked into the output, leading to subtle bugs.
   12452     postdeps_CXX='-lCstd -lCrun'
   12453     ;;
   12454   esac
   12455   ;;
   12456 esac
   12457 
   12458 
   12459 case " $postdeps_CXX " in
   12460 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12461 esac
   12462 
   12463 lt_prog_compiler_wl_CXX=
   12464 lt_prog_compiler_pic_CXX=
   12465 lt_prog_compiler_static_CXX=
   12466 
   12467 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12468 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12469 
   12470   # C++ specific cases for pic, static, wl, etc.
   12471   if test "$GXX" = yes; then
   12472     lt_prog_compiler_wl_CXX='-Wl,'
   12473     lt_prog_compiler_static_CXX='-static'
   12474 
   12475     case $host_os in
   12476     aix*)
   12477       # All AIX code is PIC.
   12478       if test "$host_cpu" = ia64; then
   12479 	# AIX 5 now supports IA64 processor
   12480 	lt_prog_compiler_static_CXX='-Bstatic'
   12481       fi
   12482       ;;
   12483     amigaos*)
   12484       # FIXME: we need at least 68020 code to build shared libraries, but
   12485       # adding the `-m68020' flag to GCC prevents building anything better,
   12486       # like `-m68040'.
   12487       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12488       ;;
   12489     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12490       # PIC is the default for these OSes.
   12491       ;;
   12492     mingw* | os2* | pw32*)
   12493       # This hack is so that the source file can tell whether it is being
   12494       # built for inclusion in a dll (and should export symbols for example).
   12495       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12496       ;;
   12497     darwin* | rhapsody*)
   12498       # PIC is the default on this platform
   12499       # Common symbols not allowed in MH_DYLIB files
   12500       lt_prog_compiler_pic_CXX='-fno-common'
   12501       ;;
   12502     *djgpp*)
   12503       # DJGPP does not support shared libraries at all
   12504       lt_prog_compiler_pic_CXX=
   12505       ;;
   12506     interix3*)
   12507       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12508       # Instead, we relocate shared libraries at runtime.
   12509       ;;
   12510     sysv4*MP*)
   12511       if test -d /usr/nec; then
   12512 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12513       fi
   12514       ;;
   12515     hpux*)
   12516       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12517       # not for PA HP-UX.
   12518       case $host_cpu in
   12519       hppa*64*|ia64*)
   12520 	;;
   12521       *)
   12522 	lt_prog_compiler_pic_CXX='-fPIC'
   12523 	;;
   12524       esac
   12525       ;;
   12526     *)
   12527       lt_prog_compiler_pic_CXX='-fPIC'
   12528       ;;
   12529     esac
   12530   else
   12531     case $host_os in
   12532       aix4* | aix5*)
   12533 	# All AIX code is PIC.
   12534 	if test "$host_cpu" = ia64; then
   12535 	  # AIX 5 now supports IA64 processor
   12536 	  lt_prog_compiler_static_CXX='-Bstatic'
   12537 	else
   12538 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12539 	fi
   12540 	;;
   12541       chorus*)
   12542 	case $cc_basename in
   12543 	cxch68*)
   12544 	  # Green Hills C++ Compiler
   12545 	  # _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"
   12546 	  ;;
   12547 	esac
   12548 	;;
   12549        darwin*)
   12550          # PIC is the default on this platform
   12551          # Common symbols not allowed in MH_DYLIB files
   12552          case $cc_basename in
   12553            xlc*)
   12554            lt_prog_compiler_pic_CXX='-qnocommon'
   12555            lt_prog_compiler_wl_CXX='-Wl,'
   12556            ;;
   12557          esac
   12558        ;;
   12559       dgux*)
   12560 	case $cc_basename in
   12561 	  ec++*)
   12562 	    lt_prog_compiler_pic_CXX='-KPIC'
   12563 	    ;;
   12564 	  ghcx*)
   12565 	    # Green Hills C++ Compiler
   12566 	    lt_prog_compiler_pic_CXX='-pic'
   12567 	    ;;
   12568 	  *)
   12569 	    ;;
   12570 	esac
   12571 	;;
   12572       freebsd* | kfreebsd*-gnu | dragonfly*)
   12573 	# FreeBSD uses GNU C++
   12574 	;;
   12575       hpux9* | hpux10* | hpux11*)
   12576 	case $cc_basename in
   12577 	  CC*)
   12578 	    lt_prog_compiler_wl_CXX='-Wl,'
   12579 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12580 	    if test "$host_cpu" != ia64; then
   12581 	      lt_prog_compiler_pic_CXX='+Z'
   12582 	    fi
   12583 	    ;;
   12584 	  aCC*)
   12585 	    lt_prog_compiler_wl_CXX='-Wl,'
   12586 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12587 	    case $host_cpu in
   12588 	    hppa*64*|ia64*)
   12589 	      # +Z the default
   12590 	      ;;
   12591 	    *)
   12592 	      lt_prog_compiler_pic_CXX='+Z'
   12593 	      ;;
   12594 	    esac
   12595 	    ;;
   12596 	  *)
   12597 	    ;;
   12598 	esac
   12599 	;;
   12600       interix*)
   12601 	# This is c89, which is MS Visual C++ (no shared libs)
   12602 	# Anyone wants to do a port?
   12603 	;;
   12604       irix5* | irix6* | nonstopux*)
   12605 	case $cc_basename in
   12606 	  CC*)
   12607 	    lt_prog_compiler_wl_CXX='-Wl,'
   12608 	    lt_prog_compiler_static_CXX='-non_shared'
   12609 	    # CC pic flag -KPIC is the default.
   12610 	    ;;
   12611 	  *)
   12612 	    ;;
   12613 	esac
   12614 	;;
   12615       linux*)
   12616 	case $cc_basename in
   12617 	  KCC*)
   12618 	    # KAI C++ Compiler
   12619 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12620 	    lt_prog_compiler_pic_CXX='-fPIC'
   12621 	    ;;
   12622 	  icpc* | ecpc*)
   12623 	    # Intel C++
   12624 	    lt_prog_compiler_wl_CXX='-Wl,'
   12625 	    lt_prog_compiler_pic_CXX='-KPIC'
   12626 	    lt_prog_compiler_static_CXX='-static'
   12627 	    ;;
   12628 	  pgCC*)
   12629 	    # Portland Group C++ compiler.
   12630 	    lt_prog_compiler_wl_CXX='-Wl,'
   12631 	    lt_prog_compiler_pic_CXX='-fpic'
   12632 	    lt_prog_compiler_static_CXX='-Bstatic'
   12633 	    ;;
   12634 	  cxx*)
   12635 	    # Compaq C++
   12636 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12637 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12638 	    lt_prog_compiler_pic_CXX=
   12639 	    lt_prog_compiler_static_CXX='-non_shared'
   12640 	    ;;
   12641 	  *)
   12642 	    ;;
   12643 	esac
   12644 	;;
   12645       lynxos*)
   12646 	;;
   12647       m88k*)
   12648 	;;
   12649       mvs*)
   12650 	case $cc_basename in
   12651 	  cxx*)
   12652 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12653 	    ;;
   12654 	  *)
   12655 	    ;;
   12656 	esac
   12657 	;;
   12658       netbsd*)
   12659 	;;
   12660       osf3* | osf4* | osf5*)
   12661 	case $cc_basename in
   12662 	  KCC*)
   12663 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12664 	    ;;
   12665 	  RCC*)
   12666 	    # Rational C++ 2.4.1
   12667 	    lt_prog_compiler_pic_CXX='-pic'
   12668 	    ;;
   12669 	  cxx*)
   12670 	    # Digital/Compaq C++
   12671 	    lt_prog_compiler_wl_CXX='-Wl,'
   12672 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12673 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12674 	    lt_prog_compiler_pic_CXX=
   12675 	    lt_prog_compiler_static_CXX='-non_shared'
   12676 	    ;;
   12677 	  *)
   12678 	    ;;
   12679 	esac
   12680 	;;
   12681       psos*)
   12682 	;;
   12683       solaris*)
   12684 	case $cc_basename in
   12685 	  CC*)
   12686 	    # Sun C++ 4.2, 5.x and Centerline C++
   12687 	    lt_prog_compiler_pic_CXX='-KPIC'
   12688 	    lt_prog_compiler_static_CXX='-Bstatic'
   12689 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12690 	    ;;
   12691 	  gcx*)
   12692 	    # Green Hills C++ Compiler
   12693 	    lt_prog_compiler_pic_CXX='-PIC'
   12694 	    ;;
   12695 	  *)
   12696 	    ;;
   12697 	esac
   12698 	;;
   12699       sunos4*)
   12700 	case $cc_basename in
   12701 	  CC*)
   12702 	    # Sun C++ 4.x
   12703 	    lt_prog_compiler_pic_CXX='-pic'
   12704 	    lt_prog_compiler_static_CXX='-Bstatic'
   12705 	    ;;
   12706 	  lcc*)
   12707 	    # Lucid
   12708 	    lt_prog_compiler_pic_CXX='-pic'
   12709 	    ;;
   12710 	  *)
   12711 	    ;;
   12712 	esac
   12713 	;;
   12714       tandem*)
   12715 	case $cc_basename in
   12716 	  NCC*)
   12717 	    # NonStop-UX NCC 3.20
   12718 	    lt_prog_compiler_pic_CXX='-KPIC'
   12719 	    ;;
   12720 	  *)
   12721 	    ;;
   12722 	esac
   12723 	;;
   12724       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12725 	case $cc_basename in
   12726 	  CC*)
   12727 	    lt_prog_compiler_wl_CXX='-Wl,'
   12728 	    lt_prog_compiler_pic_CXX='-KPIC'
   12729 	    lt_prog_compiler_static_CXX='-Bstatic'
   12730 	    ;;
   12731 	esac
   12732 	;;
   12733       vxworks*)
   12734 	;;
   12735       *)
   12736 	lt_prog_compiler_can_build_shared_CXX=no
   12737 	;;
   12738     esac
   12739   fi
   12740 
   12741 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12742 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12743 
   12744 #
   12745 # Check to make sure the PIC flag actually works.
   12746 #
   12747 if test -n "$lt_prog_compiler_pic_CXX"; then
   12748 
   12749 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12750 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12751 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12752   echo $ECHO_N "(cached) $ECHO_C" >&6
   12753 else
   12754   lt_prog_compiler_pic_works_CXX=no
   12755   ac_outfile=conftest.$ac_objext
   12756    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12757    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12758    # Insert the option either (1) after the last *FLAGS variable, or
   12759    # (2) before a word containing "conftest.", or (3) at the end.
   12760    # Note that $ac_compile itself does not contain backslashes and begins
   12761    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12762    # The option is referenced via a variable to avoid confusing sed.
   12763    lt_compile=`echo "$ac_compile" | $SED \
   12764    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12765    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12766    -e 's:$: $lt_compiler_flag:'`
   12767    (eval echo "\"\$as_me:12767: $lt_compile\"" >&5)
   12768    (eval "$lt_compile" 2>conftest.err)
   12769    ac_status=$?
   12770    cat conftest.err >&5
   12771    echo "$as_me:12771: \$? = $ac_status" >&5
   12772    if (exit $ac_status) && test -s "$ac_outfile"; then
   12773      # The compiler can only warn and ignore the option if not recognized
   12774      # So say no if there are warnings other than the usual output.
   12775      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12776      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12777      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12778        lt_prog_compiler_pic_works_CXX=yes
   12779      fi
   12780    fi
   12781    $rm conftest*
   12782 
   12783 fi
   12784 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12785 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12786 
   12787 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12788     case $lt_prog_compiler_pic_CXX in
   12789      "" | " "*) ;;
   12790      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12791      esac
   12792 else
   12793     lt_prog_compiler_pic_CXX=
   12794      lt_prog_compiler_can_build_shared_CXX=no
   12795 fi
   12796 
   12797 fi
   12798 case $host_os in
   12799   # For platforms which do not support PIC, -DPIC is meaningless:
   12800   *djgpp*)
   12801     lt_prog_compiler_pic_CXX=
   12802     ;;
   12803   *)
   12804     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12805     ;;
   12806 esac
   12807 
   12808 #
   12809 # Check to make sure the static flag actually works.
   12810 #
   12811 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12812 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12813 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12814 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12815   echo $ECHO_N "(cached) $ECHO_C" >&6
   12816 else
   12817   lt_prog_compiler_static_works_CXX=no
   12818    save_LDFLAGS="$LDFLAGS"
   12819    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12820    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12821    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12822      # The linker can only warn and ignore the option if not recognized
   12823      # So say no if there are warnings
   12824      if test -s conftest.err; then
   12825        # Append any errors to the config.log.
   12826        cat conftest.err 1>&5
   12827        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12828        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12829        if diff conftest.exp conftest.er2 >/dev/null; then
   12830          lt_prog_compiler_static_works_CXX=yes
   12831        fi
   12832      else
   12833        lt_prog_compiler_static_works_CXX=yes
   12834      fi
   12835    fi
   12836    $rm conftest*
   12837    LDFLAGS="$save_LDFLAGS"
   12838 
   12839 fi
   12840 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12841 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12842 
   12843 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12844     :
   12845 else
   12846     lt_prog_compiler_static_CXX=
   12847 fi
   12848 
   12849 
   12850 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12851 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12852 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12853   echo $ECHO_N "(cached) $ECHO_C" >&6
   12854 else
   12855   lt_cv_prog_compiler_c_o_CXX=no
   12856    $rm -r conftest 2>/dev/null
   12857    mkdir conftest
   12858    cd conftest
   12859    mkdir out
   12860    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12861 
   12862    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12863    # Insert the option either (1) after the last *FLAGS variable, or
   12864    # (2) before a word containing "conftest.", or (3) at the end.
   12865    # Note that $ac_compile itself does not contain backslashes and begins
   12866    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12867    lt_compile=`echo "$ac_compile" | $SED \
   12868    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12869    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12870    -e 's:$: $lt_compiler_flag:'`
   12871    (eval echo "\"\$as_me:12871: $lt_compile\"" >&5)
   12872    (eval "$lt_compile" 2>out/conftest.err)
   12873    ac_status=$?
   12874    cat out/conftest.err >&5
   12875    echo "$as_me:12875: \$? = $ac_status" >&5
   12876    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12877    then
   12878      # The compiler can only warn and ignore the option if not recognized
   12879      # So say no if there are warnings
   12880      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12881      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12882      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12883        lt_cv_prog_compiler_c_o_CXX=yes
   12884      fi
   12885    fi
   12886    chmod u+w . 2>&5
   12887    $rm conftest*
   12888    # SGI C++ compiler will create directory out/ii_files/ for
   12889    # template instantiation
   12890    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12891    $rm out/* && rmdir out
   12892    cd ..
   12893    rmdir conftest
   12894    $rm conftest*
   12895 
   12896 fi
   12897 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12898 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12899 
   12900 
   12901 hard_links="nottested"
   12902 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12903   # do not overwrite the value of need_locks provided by the user
   12904   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12905 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12906   hard_links=yes
   12907   $rm conftest*
   12908   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12909   touch conftest.a
   12910   ln conftest.a conftest.b 2>&5 || hard_links=no
   12911   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12912   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12913 echo "${ECHO_T}$hard_links" >&6; }
   12914   if test "$hard_links" = no; then
   12915     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12916 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12917     need_locks=warn
   12918   fi
   12919 else
   12920   need_locks=no
   12921 fi
   12922 
   12923 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12924 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12925 
   12926   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12927   case $host_os in
   12928   aix4* | aix5*)
   12929     # If we're using GNU nm, then we don't want the "-C" option.
   12930     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12931     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12932       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'
   12933     else
   12934       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'
   12935     fi
   12936     ;;
   12937   pw32*)
   12938     export_symbols_cmds_CXX="$ltdll_cmds"
   12939   ;;
   12940   cygwin* | mingw*)
   12941     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'
   12942   ;;
   12943   *)
   12944     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12945   ;;
   12946   esac
   12947 
   12948 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12949 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12950 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12951 
   12952 #
   12953 # Do we need to explicitly link libc?
   12954 #
   12955 case "x$archive_cmds_need_lc_CXX" in
   12956 x|xyes)
   12957   # Assume -lc should be added
   12958   archive_cmds_need_lc_CXX=yes
   12959 
   12960   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12961     case $archive_cmds_CXX in
   12962     *'~'*)
   12963       # FIXME: we may have to deal with multi-command sequences.
   12964       ;;
   12965     '$CC '*)
   12966       # Test whether the compiler implicitly links with -lc since on some
   12967       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12968       # to ld, don't add -lc before -lgcc.
   12969       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12970 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12971       $rm conftest*
   12972       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12973 
   12974       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12975   (eval $ac_compile) 2>&5
   12976   ac_status=$?
   12977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12978   (exit $ac_status); } 2>conftest.err; then
   12979         soname=conftest
   12980         lib=conftest
   12981         libobjs=conftest.$ac_objext
   12982         deplibs=
   12983         wl=$lt_prog_compiler_wl_CXX
   12984 	pic_flag=$lt_prog_compiler_pic_CXX
   12985         compiler_flags=-v
   12986         linker_flags=-v
   12987         verstring=
   12988         output_objdir=.
   12989         libname=conftest
   12990         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12991         allow_undefined_flag_CXX=
   12992         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12993   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12994   ac_status=$?
   12995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12996   (exit $ac_status); }
   12997         then
   12998 	  archive_cmds_need_lc_CXX=no
   12999         else
   13000 	  archive_cmds_need_lc_CXX=yes
   13001         fi
   13002         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13003       else
   13004         cat conftest.err 1>&5
   13005       fi
   13006       $rm conftest*
   13007       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13008 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   13009       ;;
   13010     esac
   13011   fi
   13012   ;;
   13013 esac
   13014 
   13015 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13016 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   13017 library_names_spec=
   13018 libname_spec='lib$name'
   13019 soname_spec=
   13020 shrext_cmds=".so"
   13021 postinstall_cmds=
   13022 postuninstall_cmds=
   13023 finish_cmds=
   13024 finish_eval=
   13025 shlibpath_var=
   13026 shlibpath_overrides_runpath=unknown
   13027 version_type=none
   13028 dynamic_linker="$host_os ld.so"
   13029 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13030 if test "$GCC" = yes; then
   13031   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13032   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   13033     # if the path contains ";" then we assume it to be the separator
   13034     # otherwise default to the standard path separator (i.e. ":") - it is
   13035     # assumed that no part of a normal pathname contains ";" but that should
   13036     # okay in the real world where ";" in dirpaths is itself problematic.
   13037     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13038   else
   13039     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13040   fi
   13041 else
   13042   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13043 fi
   13044 need_lib_prefix=unknown
   13045 hardcode_into_libs=no
   13046 
   13047 # when you set need_version to no, make sure it does not cause -set_version
   13048 # flags to be left without arguments
   13049 need_version=unknown
   13050 
   13051 case $host_os in
   13052 aix3*)
   13053   version_type=linux
   13054   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13055   shlibpath_var=LIBPATH
   13056 
   13057   # AIX 3 has no versioning support, so we append a major version to the name.
   13058   soname_spec='${libname}${release}${shared_ext}$major'
   13059   ;;
   13060 
   13061 aix4* | aix5*)
   13062   version_type=linux
   13063   need_lib_prefix=no
   13064   need_version=no
   13065   hardcode_into_libs=yes
   13066   if test "$host_cpu" = ia64; then
   13067     # AIX 5 supports IA64
   13068     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13069     shlibpath_var=LD_LIBRARY_PATH
   13070   else
   13071     # With GCC up to 2.95.x, collect2 would create an import file
   13072     # for dependence libraries.  The import file would start with
   13073     # the line `#! .'.  This would cause the generated library to
   13074     # depend on `.', always an invalid library.  This was fixed in
   13075     # development snapshots of GCC prior to 3.0.
   13076     case $host_os in
   13077       aix4 | aix4.[01] | aix4.[01].*)
   13078       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13079 	   echo ' yes '
   13080 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13081 	:
   13082       else
   13083 	can_build_shared=no
   13084       fi
   13085       ;;
   13086     esac
   13087     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13088     # soname into executable. Probably we can add versioning support to
   13089     # collect2, so additional links can be useful in future.
   13090     if test "$aix_use_runtimelinking" = yes; then
   13091       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13092       # instead of lib<name>.a to let people know that these are not
   13093       # typical AIX shared libraries.
   13094       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13095     else
   13096       # We preserve .a as extension for shared libraries through AIX4.2
   13097       # and later when we are not doing run time linking.
   13098       library_names_spec='${libname}${release}.a $libname.a'
   13099       soname_spec='${libname}${release}${shared_ext}$major'
   13100     fi
   13101     shlibpath_var=LIBPATH
   13102   fi
   13103   ;;
   13104 
   13105 amigaos*)
   13106   library_names_spec='$libname.ixlibrary $libname.a'
   13107   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13108   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'
   13109   ;;
   13110 
   13111 beos*)
   13112   library_names_spec='${libname}${shared_ext}'
   13113   dynamic_linker="$host_os ld.so"
   13114   shlibpath_var=LIBRARY_PATH
   13115   ;;
   13116 
   13117 bsdi[45]*)
   13118   version_type=linux
   13119   need_version=no
   13120   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13121   soname_spec='${libname}${release}${shared_ext}$major'
   13122   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13123   shlibpath_var=LD_LIBRARY_PATH
   13124   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13125   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13126   # the default ld.so.conf also contains /usr/contrib/lib and
   13127   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13128   # libtool to hard-code these into programs
   13129   ;;
   13130 
   13131 cygwin* | mingw* | pw32*)
   13132   version_type=windows
   13133   shrext_cmds=".dll"
   13134   need_version=no
   13135   need_lib_prefix=no
   13136 
   13137   case $GCC,$host_os in
   13138   yes,cygwin* | yes,mingw* | yes,pw32*)
   13139     library_names_spec='$libname.dll.a'
   13140     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13141     postinstall_cmds='base_file=`basename \${file}`~
   13142       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13143       dldir=$destdir/`dirname \$dlpath`~
   13144       test -d \$dldir || mkdir -p \$dldir~
   13145       $install_prog $dir/$dlname \$dldir/$dlname~
   13146       chmod a+x \$dldir/$dlname'
   13147     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13148       dlpath=$dir/\$dldll~
   13149        $rm \$dlpath'
   13150     shlibpath_overrides_runpath=yes
   13151 
   13152     case $host_os in
   13153     cygwin*)
   13154       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13155       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13156       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13157       ;;
   13158     mingw*)
   13159       # MinGW DLLs use traditional 'lib' prefix
   13160       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13161       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13162       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13163         # It is most probably a Windows format PATH printed by
   13164         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13165         # path with ; separators, and with drive letters. We can handle the
   13166         # drive letters (cygwin fileutils understands them), so leave them,
   13167         # especially as we might pass files found there to a mingw objdump,
   13168         # which wouldn't understand a cygwinified path. Ahh.
   13169         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13170       else
   13171         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13172       fi
   13173       ;;
   13174     pw32*)
   13175       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13176       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13177       ;;
   13178     esac
   13179     ;;
   13180 
   13181   linux*)
   13182     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
   13183       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13184       supports_anon_versioning=no
   13185       case `$LD -v 2>/dev/null` in
   13186         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   13187         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   13188         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   13189         *\ 2.11.*) ;; # other 2.11 versions
   13190         *) supports_anon_versioning=yes ;;
   13191       esac
   13192       if test $supports_anon_versioning = yes; then
   13193         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   13194 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13195 $echo "local: *; };" >> $output_objdir/$libname.ver~
   13196         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13197       else
   13198         $archive_expsym_cmds="$archive_cmds"
   13199       fi
   13200     else
   13201       ld_shlibs=no
   13202     fi
   13203     ;;
   13204 
   13205   *)
   13206     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13207     ;;
   13208   esac
   13209   dynamic_linker='Win32 ld.exe'
   13210   # FIXME: first we should search . and the directory the executable is in
   13211   shlibpath_var=PATH
   13212   ;;
   13213 
   13214 darwin* | rhapsody*)
   13215   dynamic_linker="$host_os dyld"
   13216   version_type=darwin
   13217   need_lib_prefix=no
   13218   need_version=no
   13219   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13220   soname_spec='${libname}${release}${major}$shared_ext'
   13221   shlibpath_overrides_runpath=yes
   13222   shlibpath_var=DYLD_LIBRARY_PATH
   13223   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13224   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   13225   if test "$GCC" = yes; then
   13226     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"`
   13227   else
   13228     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   13229   fi
   13230   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13231   ;;
   13232 
   13233 dgux*)
   13234   version_type=linux
   13235   need_lib_prefix=no
   13236   need_version=no
   13237   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13238   soname_spec='${libname}${release}${shared_ext}$major'
   13239   shlibpath_var=LD_LIBRARY_PATH
   13240   ;;
   13241 
   13242 freebsd1*)
   13243   dynamic_linker=no
   13244   ;;
   13245 
   13246 kfreebsd*-gnu)
   13247   version_type=linux
   13248   need_lib_prefix=no
   13249   need_version=no
   13250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13251   soname_spec='${libname}${release}${shared_ext}$major'
   13252   shlibpath_var=LD_LIBRARY_PATH
   13253   shlibpath_overrides_runpath=no
   13254   hardcode_into_libs=yes
   13255   dynamic_linker='GNU ld.so'
   13256   ;;
   13257 
   13258 freebsd* | dragonfly*)
   13259   # DragonFly does not have aout.  When/if they implement a new
   13260   # versioning mechanism, adjust this.
   13261   if test -x /usr/bin/objformat; then
   13262     objformat=`/usr/bin/objformat`
   13263   else
   13264     case $host_os in
   13265     freebsd[123]*) objformat=aout ;;
   13266     *) objformat=elf ;;
   13267     esac
   13268   fi
   13269   # Handle Gentoo/FreeBSD as it was Linux
   13270   case $host_vendor in
   13271     gentoo)
   13272       version_type=linux ;;
   13273     *)
   13274       version_type=freebsd-$objformat ;;
   13275   esac
   13276 
   13277   case $version_type in
   13278     freebsd-elf*)
   13279       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13280       need_version=no
   13281       need_lib_prefix=no
   13282       ;;
   13283     freebsd-*)
   13284       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13285       need_version=yes
   13286       ;;
   13287     linux)
   13288       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13289       soname_spec='${libname}${release}${shared_ext}$major'
   13290       need_lib_prefix=no
   13291       need_version=no
   13292       ;;
   13293   esac
   13294   shlibpath_var=LD_LIBRARY_PATH
   13295   case $host_os in
   13296   freebsd2*)
   13297     shlibpath_overrides_runpath=yes
   13298     ;;
   13299   freebsd3.[01]* | freebsdelf3.[01]*)
   13300     shlibpath_overrides_runpath=yes
   13301     hardcode_into_libs=yes
   13302     ;;
   13303   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13304   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13305     shlibpath_overrides_runpath=no
   13306     hardcode_into_libs=yes
   13307     ;;
   13308   freebsd*) # from 4.6 on
   13309     shlibpath_overrides_runpath=yes
   13310     hardcode_into_libs=yes
   13311     ;;
   13312   esac
   13313   ;;
   13314 
   13315 gnu*)
   13316   version_type=linux
   13317   need_lib_prefix=no
   13318   need_version=no
   13319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13320   soname_spec='${libname}${release}${shared_ext}$major'
   13321   shlibpath_var=LD_LIBRARY_PATH
   13322   hardcode_into_libs=yes
   13323   ;;
   13324 
   13325 hpux9* | hpux10* | hpux11*)
   13326   # Give a soname corresponding to the major version so that dld.sl refuses to
   13327   # link against other versions.
   13328   version_type=sunos
   13329   need_lib_prefix=no
   13330   need_version=no
   13331   case $host_cpu in
   13332   ia64*)
   13333     shrext_cmds='.so'
   13334     hardcode_into_libs=yes
   13335     dynamic_linker="$host_os dld.so"
   13336     shlibpath_var=LD_LIBRARY_PATH
   13337     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13338     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13339     soname_spec='${libname}${release}${shared_ext}$major'
   13340     if test "X$HPUX_IA64_MODE" = X32; then
   13341       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13342     else
   13343       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13344     fi
   13345     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13346     ;;
   13347    hppa*64*)
   13348      shrext_cmds='.sl'
   13349      hardcode_into_libs=yes
   13350      dynamic_linker="$host_os dld.sl"
   13351      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13352      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13353      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13354      soname_spec='${libname}${release}${shared_ext}$major'
   13355      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13356      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13357      ;;
   13358    *)
   13359     shrext_cmds='.sl'
   13360     dynamic_linker="$host_os dld.sl"
   13361     shlibpath_var=SHLIB_PATH
   13362     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13363     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13364     soname_spec='${libname}${release}${shared_ext}$major'
   13365     ;;
   13366   esac
   13367   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13368   postinstall_cmds='chmod 555 $lib'
   13369   ;;
   13370 
   13371 interix3*)
   13372   version_type=linux
   13373   need_lib_prefix=no
   13374   need_version=no
   13375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13376   soname_spec='${libname}${release}${shared_ext}$major'
   13377   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13378   shlibpath_var=LD_LIBRARY_PATH
   13379   shlibpath_overrides_runpath=no
   13380   hardcode_into_libs=yes
   13381   ;;
   13382 
   13383 irix5* | irix6* | nonstopux*)
   13384   case $host_os in
   13385     nonstopux*) version_type=nonstopux ;;
   13386     *)
   13387 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13388 		version_type=linux
   13389 	else
   13390 		version_type=irix
   13391 	fi ;;
   13392   esac
   13393   need_lib_prefix=no
   13394   need_version=no
   13395   soname_spec='${libname}${release}${shared_ext}$major'
   13396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13397   case $host_os in
   13398   irix5* | nonstopux*)
   13399     libsuff= shlibsuff=
   13400     ;;
   13401   *)
   13402     case $LD in # libtool.m4 will add one of these switches to LD
   13403     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13404       libsuff= shlibsuff= libmagic=32-bit;;
   13405     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13406       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13407     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13408       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13409     *) libsuff= shlibsuff= libmagic=never-match;;
   13410     esac
   13411     ;;
   13412   esac
   13413   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13414   shlibpath_overrides_runpath=no
   13415   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13416   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13417   hardcode_into_libs=yes
   13418   ;;
   13419 
   13420 # No shared lib support for Linux oldld, aout, or coff.
   13421 linux*oldld* | linux*aout* | linux*coff*)
   13422   dynamic_linker=no
   13423   ;;
   13424 
   13425 # This must be Linux ELF.
   13426 linux*)
   13427   version_type=linux
   13428   need_lib_prefix=no
   13429   need_version=no
   13430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13431   soname_spec='${libname}${release}${shared_ext}$major'
   13432   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13433   shlibpath_var=LD_LIBRARY_PATH
   13434   shlibpath_overrides_runpath=no
   13435   # This implies no fast_install, which is unacceptable.
   13436   # Some rework will be needed to allow for fast_install
   13437   # before this can be enabled.
   13438   hardcode_into_libs=yes
   13439 
   13440   # Append ld.so.conf contents to the search path
   13441   if test -f /etc/ld.so.conf; then
   13442     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' ' '`
   13443     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13444   fi
   13445 
   13446   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13447   # powerpc, because MkLinux only supported shared libraries with the
   13448   # GNU dynamic linker.  Since this was broken with cross compilers,
   13449   # most powerpc-linux boxes support dynamic linking these days and
   13450   # people can always --disable-shared, the test was removed, and we
   13451   # assume the GNU/Linux dynamic linker is in use.
   13452   dynamic_linker='GNU/Linux ld.so'
   13453   ;;
   13454 
   13455 knetbsd*-gnu)
   13456   version_type=linux
   13457   need_lib_prefix=no
   13458   need_version=no
   13459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13460   soname_spec='${libname}${release}${shared_ext}$major'
   13461   shlibpath_var=LD_LIBRARY_PATH
   13462   shlibpath_overrides_runpath=no
   13463   hardcode_into_libs=yes
   13464   dynamic_linker='GNU ld.so'
   13465   ;;
   13466 
   13467 netbsd*)
   13468   version_type=sunos
   13469   need_lib_prefix=no
   13470   need_version=no
   13471   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13472     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13473     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13474     dynamic_linker='NetBSD (a.out) ld.so'
   13475   else
   13476     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13477     soname_spec='${libname}${release}${shared_ext}$major'
   13478     dynamic_linker='NetBSD ld.elf_so'
   13479   fi
   13480   shlibpath_var=LD_LIBRARY_PATH
   13481   shlibpath_overrides_runpath=yes
   13482   hardcode_into_libs=yes
   13483   ;;
   13484 
   13485 newsos6)
   13486   version_type=linux
   13487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13488   shlibpath_var=LD_LIBRARY_PATH
   13489   shlibpath_overrides_runpath=yes
   13490   ;;
   13491 
   13492 nto-qnx*)
   13493   version_type=linux
   13494   need_lib_prefix=no
   13495   need_version=no
   13496   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13497   soname_spec='${libname}${release}${shared_ext}$major'
   13498   shlibpath_var=LD_LIBRARY_PATH
   13499   shlibpath_overrides_runpath=yes
   13500   ;;
   13501 
   13502 openbsd*)
   13503   version_type=sunos
   13504   sys_lib_dlsearch_path_spec="/usr/lib"
   13505   need_lib_prefix=no
   13506   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13507   case $host_os in
   13508     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13509     *)                         need_version=no  ;;
   13510   esac
   13511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13512   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13513   shlibpath_var=LD_LIBRARY_PATH
   13514   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13515     case $host_os in
   13516       openbsd2.[89] | openbsd2.[89].*)
   13517 	shlibpath_overrides_runpath=no
   13518 	;;
   13519       *)
   13520 	shlibpath_overrides_runpath=yes
   13521 	;;
   13522       esac
   13523   else
   13524     shlibpath_overrides_runpath=yes
   13525   fi
   13526   ;;
   13527 
   13528 os2*)
   13529   libname_spec='$name'
   13530   shrext_cmds=".dll"
   13531   need_lib_prefix=no
   13532   library_names_spec='$libname${shared_ext} $libname.a'
   13533   dynamic_linker='OS/2 ld.exe'
   13534   shlibpath_var=LIBPATH
   13535   ;;
   13536 
   13537 osf3* | osf4* | osf5*)
   13538   version_type=osf
   13539   need_lib_prefix=no
   13540   need_version=no
   13541   soname_spec='${libname}${release}${shared_ext}$major'
   13542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13543   shlibpath_var=LD_LIBRARY_PATH
   13544   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13545   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13546   ;;
   13547 
   13548 solaris*)
   13549   version_type=linux
   13550   need_lib_prefix=no
   13551   need_version=no
   13552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13553   soname_spec='${libname}${release}${shared_ext}$major'
   13554   shlibpath_var=LD_LIBRARY_PATH
   13555   shlibpath_overrides_runpath=yes
   13556   hardcode_into_libs=yes
   13557   # ldd complains unless libraries are executable
   13558   postinstall_cmds='chmod +x $lib'
   13559   ;;
   13560 
   13561 sunos4*)
   13562   version_type=sunos
   13563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13564   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13565   shlibpath_var=LD_LIBRARY_PATH
   13566   shlibpath_overrides_runpath=yes
   13567   if test "$with_gnu_ld" = yes; then
   13568     need_lib_prefix=no
   13569   fi
   13570   need_version=yes
   13571   ;;
   13572 
   13573 sysv4 | sysv4.3*)
   13574   version_type=linux
   13575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13576   soname_spec='${libname}${release}${shared_ext}$major'
   13577   shlibpath_var=LD_LIBRARY_PATH
   13578   case $host_vendor in
   13579     sni)
   13580       shlibpath_overrides_runpath=no
   13581       need_lib_prefix=no
   13582       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13583       runpath_var=LD_RUN_PATH
   13584       ;;
   13585     siemens)
   13586       need_lib_prefix=no
   13587       ;;
   13588     motorola)
   13589       need_lib_prefix=no
   13590       need_version=no
   13591       shlibpath_overrides_runpath=no
   13592       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13593       ;;
   13594   esac
   13595   ;;
   13596 
   13597 sysv4*MP*)
   13598   if test -d /usr/nec ;then
   13599     version_type=linux
   13600     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13601     soname_spec='$libname${shared_ext}.$major'
   13602     shlibpath_var=LD_LIBRARY_PATH
   13603   fi
   13604   ;;
   13605 
   13606 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13607   version_type=freebsd-elf
   13608   need_lib_prefix=no
   13609   need_version=no
   13610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13611   soname_spec='${libname}${release}${shared_ext}$major'
   13612   shlibpath_var=LD_LIBRARY_PATH
   13613   hardcode_into_libs=yes
   13614   if test "$with_gnu_ld" = yes; then
   13615     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13616     shlibpath_overrides_runpath=no
   13617   else
   13618     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13619     shlibpath_overrides_runpath=yes
   13620     case $host_os in
   13621       sco3.2v5*)
   13622         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13623 	;;
   13624     esac
   13625   fi
   13626   sys_lib_dlsearch_path_spec='/usr/lib'
   13627   ;;
   13628 
   13629 uts4*)
   13630   version_type=linux
   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   shlibpath_var=LD_LIBRARY_PATH
   13634   ;;
   13635 
   13636 *)
   13637   dynamic_linker=no
   13638   ;;
   13639 esac
   13640 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13641 echo "${ECHO_T}$dynamic_linker" >&6; }
   13642 test "$dynamic_linker" = no && can_build_shared=no
   13643 
   13644 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13645 if test "$GCC" = yes; then
   13646   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13647 fi
   13648 
   13649 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13650 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13651 hardcode_action_CXX=
   13652 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13653    test -n "$runpath_var_CXX" || \
   13654    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13655 
   13656   # We can hardcode non-existant directories.
   13657   if test "$hardcode_direct_CXX" != no &&
   13658      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13659      # have to relink, otherwise we might link with an installed library
   13660      # when we should be linking with a yet-to-be-installed one
   13661      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13662      test "$hardcode_minus_L_CXX" != no; then
   13663     # Linking always hardcodes the temporary library directory.
   13664     hardcode_action_CXX=relink
   13665   else
   13666     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13667     hardcode_action_CXX=immediate
   13668   fi
   13669 else
   13670   # We cannot hardcode anything, or else we can only hardcode existing
   13671   # directories.
   13672   hardcode_action_CXX=unsupported
   13673 fi
   13674 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13675 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13676 
   13677 if test "$hardcode_action_CXX" = relink; then
   13678   # Fast installation is not supported
   13679   enable_fast_install=no
   13680 elif test "$shlibpath_overrides_runpath" = yes ||
   13681      test "$enable_shared" = no; then
   13682   # Fast installation is not necessary
   13683   enable_fast_install=needless
   13684 fi
   13685 
   13686 
   13687 # The else clause should only fire when bootstrapping the
   13688 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13689 # with your package, and you will get complaints that there are
   13690 # no rules to generate ltmain.sh.
   13691 if test -f "$ltmain"; then
   13692   # See if we are running on zsh, and set the options which allow our commands through
   13693   # without removal of \ escapes.
   13694   if test -n "${ZSH_VERSION+set}" ; then
   13695     setopt NO_GLOB_SUBST
   13696   fi
   13697   # Now quote all the things that may contain metacharacters while being
   13698   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13699   # variables and quote the copies for generation of the libtool script.
   13700   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13701     SED SHELL STRIP \
   13702     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13703     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13704     deplibs_check_method reload_flag reload_cmds need_locks \
   13705     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13706     lt_cv_sys_global_symbol_to_c_name_address \
   13707     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13708     old_postinstall_cmds old_postuninstall_cmds \
   13709     compiler_CXX \
   13710     CC_CXX \
   13711     LD_CXX \
   13712     lt_prog_compiler_wl_CXX \
   13713     lt_prog_compiler_pic_CXX \
   13714     lt_prog_compiler_static_CXX \
   13715     lt_prog_compiler_no_builtin_flag_CXX \
   13716     export_dynamic_flag_spec_CXX \
   13717     thread_safe_flag_spec_CXX \
   13718     whole_archive_flag_spec_CXX \
   13719     enable_shared_with_static_runtimes_CXX \
   13720     old_archive_cmds_CXX \
   13721     old_archive_from_new_cmds_CXX \
   13722     predep_objects_CXX \
   13723     postdep_objects_CXX \
   13724     predeps_CXX \
   13725     postdeps_CXX \
   13726     compiler_lib_search_path_CXX \
   13727     archive_cmds_CXX \
   13728     archive_expsym_cmds_CXX \
   13729     postinstall_cmds_CXX \
   13730     postuninstall_cmds_CXX \
   13731     old_archive_from_expsyms_cmds_CXX \
   13732     allow_undefined_flag_CXX \
   13733     no_undefined_flag_CXX \
   13734     export_symbols_cmds_CXX \
   13735     hardcode_libdir_flag_spec_CXX \
   13736     hardcode_libdir_flag_spec_ld_CXX \
   13737     hardcode_libdir_separator_CXX \
   13738     hardcode_automatic_CXX \
   13739     module_cmds_CXX \
   13740     module_expsym_cmds_CXX \
   13741     lt_cv_prog_compiler_c_o_CXX \
   13742     exclude_expsyms_CXX \
   13743     include_expsyms_CXX; do
   13744 
   13745     case $var in
   13746     old_archive_cmds_CXX | \
   13747     old_archive_from_new_cmds_CXX | \
   13748     archive_cmds_CXX | \
   13749     archive_expsym_cmds_CXX | \
   13750     module_cmds_CXX | \
   13751     module_expsym_cmds_CXX | \
   13752     old_archive_from_expsyms_cmds_CXX | \
   13753     export_symbols_cmds_CXX | \
   13754     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13755     postinstall_cmds | postuninstall_cmds | \
   13756     old_postinstall_cmds | old_postuninstall_cmds | \
   13757     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13758       # Double-quote double-evaled strings.
   13759       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13760       ;;
   13761     *)
   13762       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13763       ;;
   13764     esac
   13765   done
   13766 
   13767   case $lt_echo in
   13768   *'\$0 --fallback-echo"')
   13769     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13770     ;;
   13771   esac
   13772 
   13773 cfgfile="$ofile"
   13774 
   13775   cat <<__EOF__ >> "$cfgfile"
   13776 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13777 
   13778 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13779 
   13780 # Shell to use when invoking shell scripts.
   13781 SHELL=$lt_SHELL
   13782 
   13783 # Whether or not to build shared libraries.
   13784 build_libtool_libs=$enable_shared
   13785 
   13786 # Whether or not to build static libraries.
   13787 build_old_libs=$enable_static
   13788 
   13789 # Whether or not to add -lc for building shared libraries.
   13790 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13791 
   13792 # Whether or not to disallow shared libs when runtime libs are static
   13793 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13794 
   13795 # Whether or not to optimize for fast installation.
   13796 fast_install=$enable_fast_install
   13797 
   13798 # The host system.
   13799 host_alias=$host_alias
   13800 host=$host
   13801 host_os=$host_os
   13802 
   13803 # The build system.
   13804 build_alias=$build_alias
   13805 build=$build
   13806 build_os=$build_os
   13807 
   13808 # An echo program that does not interpret backslashes.
   13809 echo=$lt_echo
   13810 
   13811 # The archiver.
   13812 AR=$lt_AR
   13813 AR_FLAGS=$lt_AR_FLAGS
   13814 
   13815 # A C compiler.
   13816 LTCC=$lt_LTCC
   13817 
   13818 # LTCC compiler flags.
   13819 LTCFLAGS=$lt_LTCFLAGS
   13820 
   13821 # A language-specific compiler.
   13822 CC=$lt_compiler_CXX
   13823 
   13824 # Is the compiler the GNU C compiler?
   13825 with_gcc=$GCC_CXX
   13826 
   13827 # An ERE matcher.
   13828 EGREP=$lt_EGREP
   13829 
   13830 # The linker used to build libraries.
   13831 LD=$lt_LD_CXX
   13832 
   13833 # Whether we need hard or soft links.
   13834 LN_S=$lt_LN_S
   13835 
   13836 # A BSD-compatible nm program.
   13837 NM=$lt_NM
   13838 
   13839 # A symbol stripping program
   13840 STRIP=$lt_STRIP
   13841 
   13842 # Used to examine libraries when file_magic_cmd begins "file"
   13843 MAGIC_CMD=$MAGIC_CMD
   13844 
   13845 # Used on cygwin: DLL creation program.
   13846 DLLTOOL="$DLLTOOL"
   13847 
   13848 # Used on cygwin: object dumper.
   13849 OBJDUMP="$OBJDUMP"
   13850 
   13851 # Used on cygwin: assembler.
   13852 AS="$AS"
   13853 
   13854 # The name of the directory that contains temporary libtool files.
   13855 objdir=$objdir
   13856 
   13857 # How to create reloadable object files.
   13858 reload_flag=$lt_reload_flag
   13859 reload_cmds=$lt_reload_cmds
   13860 
   13861 # How to pass a linker flag through the compiler.
   13862 wl=$lt_lt_prog_compiler_wl_CXX
   13863 
   13864 # Object file suffix (normally "o").
   13865 objext="$ac_objext"
   13866 
   13867 # Old archive suffix (normally "a").
   13868 libext="$libext"
   13869 
   13870 # Shared library suffix (normally ".so").
   13871 shrext_cmds='$shrext_cmds'
   13872 
   13873 # Executable file suffix (normally "").
   13874 exeext="$exeext"
   13875 
   13876 # Additional compiler flags for building library objects.
   13877 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13878 pic_mode=$pic_mode
   13879 
   13880 # What is the maximum length of a command?
   13881 max_cmd_len=$lt_cv_sys_max_cmd_len
   13882 
   13883 # Does compiler simultaneously support -c and -o options?
   13884 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13885 
   13886 # Must we lock files when doing compilation?
   13887 need_locks=$lt_need_locks
   13888 
   13889 # Do we need the lib prefix for modules?
   13890 need_lib_prefix=$need_lib_prefix
   13891 
   13892 # Do we need a version for libraries?
   13893 need_version=$need_version
   13894 
   13895 # Whether dlopen is supported.
   13896 dlopen_support=$enable_dlopen
   13897 
   13898 # Whether dlopen of programs is supported.
   13899 dlopen_self=$enable_dlopen_self
   13900 
   13901 # Whether dlopen of statically linked programs is supported.
   13902 dlopen_self_static=$enable_dlopen_self_static
   13903 
   13904 # Compiler flag to prevent dynamic linking.
   13905 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13906 
   13907 # Compiler flag to turn off builtin functions.
   13908 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13909 
   13910 # Compiler flag to allow reflexive dlopens.
   13911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13912 
   13913 # Compiler flag to generate shared objects directly from archives.
   13914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13915 
   13916 # Compiler flag to generate thread-safe objects.
   13917 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13918 
   13919 # Library versioning type.
   13920 version_type=$version_type
   13921 
   13922 # Format of library name prefix.
   13923 libname_spec=$lt_libname_spec
   13924 
   13925 # List of archive names.  First name is the real one, the rest are links.
   13926 # The last name is the one that the linker finds with -lNAME.
   13927 library_names_spec=$lt_library_names_spec
   13928 
   13929 # The coded name of the library, if different from the real name.
   13930 soname_spec=$lt_soname_spec
   13931 
   13932 # Commands used to build and install an old-style archive.
   13933 RANLIB=$lt_RANLIB
   13934 old_archive_cmds=$lt_old_archive_cmds_CXX
   13935 old_postinstall_cmds=$lt_old_postinstall_cmds
   13936 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13937 
   13938 # Create an old-style archive from a shared archive.
   13939 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13940 
   13941 # Create a temporary old-style archive to link instead of a shared archive.
   13942 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13943 
   13944 # Commands used to build and install a shared archive.
   13945 archive_cmds=$lt_archive_cmds_CXX
   13946 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13947 postinstall_cmds=$lt_postinstall_cmds
   13948 postuninstall_cmds=$lt_postuninstall_cmds
   13949 
   13950 # Commands used to build a loadable module (assumed same as above if empty)
   13951 module_cmds=$lt_module_cmds_CXX
   13952 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13953 
   13954 # Commands to strip libraries.
   13955 old_striplib=$lt_old_striplib
   13956 striplib=$lt_striplib
   13957 
   13958 # Dependencies to place before the objects being linked to create a
   13959 # shared library.
   13960 predep_objects=$lt_predep_objects_CXX
   13961 
   13962 # Dependencies to place after the objects being linked to create a
   13963 # shared library.
   13964 postdep_objects=$lt_postdep_objects_CXX
   13965 
   13966 # Dependencies to place before the objects being linked to create a
   13967 # shared library.
   13968 predeps=$lt_predeps_CXX
   13969 
   13970 # Dependencies to place after the objects being linked to create a
   13971 # shared library.
   13972 postdeps=$lt_postdeps_CXX
   13973 
   13974 # The library search path used internally by the compiler when linking
   13975 # a shared library.
   13976 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13977 
   13978 # Method to check whether dependent libraries are shared objects.
   13979 deplibs_check_method=$lt_deplibs_check_method
   13980 
   13981 # Command to use when deplibs_check_method == file_magic.
   13982 file_magic_cmd=$lt_file_magic_cmd
   13983 
   13984 # Flag that allows shared libraries with undefined symbols to be built.
   13985 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13986 
   13987 # Flag that forces no undefined symbols.
   13988 no_undefined_flag=$lt_no_undefined_flag_CXX
   13989 
   13990 # Commands used to finish a libtool library installation in a directory.
   13991 finish_cmds=$lt_finish_cmds
   13992 
   13993 # Same as above, but a single script fragment to be evaled but not shown.
   13994 finish_eval=$lt_finish_eval
   13995 
   13996 # Take the output of nm and produce a listing of raw symbols and C names.
   13997 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13998 
   13999 # Transform the output of nm in a proper C declaration
   14000 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14001 
   14002 # Transform the output of nm in a C name address pair
   14003 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14004 
   14005 # This is the shared library runtime path variable.
   14006 runpath_var=$runpath_var
   14007 
   14008 # This is the shared library path variable.
   14009 shlibpath_var=$shlibpath_var
   14010 
   14011 # Is shlibpath searched before the hard-coded library search path?
   14012 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14013 
   14014 # How to hardcode a shared library path into an executable.
   14015 hardcode_action=$hardcode_action_CXX
   14016 
   14017 # Whether we should hardcode library paths into libraries.
   14018 hardcode_into_libs=$hardcode_into_libs
   14019 
   14020 # Flag to hardcode \$libdir into a binary during linking.
   14021 # This must work even if \$libdir does not exist.
   14022 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14023 
   14024 # If ld is used when linking, flag to hardcode \$libdir into
   14025 # a binary during linking. This must work even if \$libdir does
   14026 # not exist.
   14027 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14028 
   14029 # Whether we need a single -rpath flag with a separated argument.
   14030 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14031 
   14032 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14033 # resulting binary.
   14034 hardcode_direct=$hardcode_direct_CXX
   14035 
   14036 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14037 # resulting binary.
   14038 hardcode_minus_L=$hardcode_minus_L_CXX
   14039 
   14040 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14041 # the resulting binary.
   14042 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14043 
   14044 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14045 # and all subsequent libraries and executables linked against it.
   14046 hardcode_automatic=$hardcode_automatic_CXX
   14047 
   14048 # Variables whose values should be saved in libtool wrapper scripts and
   14049 # restored at relink time.
   14050 variables_saved_for_relink="$variables_saved_for_relink"
   14051 
   14052 # Whether libtool must link a program against all its dependency libraries.
   14053 link_all_deplibs=$link_all_deplibs_CXX
   14054 
   14055 # Compile-time system search path for libraries
   14056 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14057 
   14058 # Run-time system search path for libraries
   14059 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14060 
   14061 # Fix the shell variable \$srcfile for the compiler.
   14062 fix_srcfile_path="$fix_srcfile_path_CXX"
   14063 
   14064 # Set to yes if exported symbols are required.
   14065 always_export_symbols=$always_export_symbols_CXX
   14066 
   14067 # The commands to list exported symbols.
   14068 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14069 
   14070 # The commands to extract the exported symbol list from a shared archive.
   14071 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14072 
   14073 # Symbols that should not be listed in the preloaded symbols.
   14074 exclude_expsyms=$lt_exclude_expsyms_CXX
   14075 
   14076 # Symbols that must always be exported.
   14077 include_expsyms=$lt_include_expsyms_CXX
   14078 
   14079 # ### END LIBTOOL TAG CONFIG: $tagname
   14080 
   14081 __EOF__
   14082 
   14083 
   14084 else
   14085   # If there is no Makefile yet, we rely on a make rule to execute
   14086   # `config.status --recheck' to rerun these tests and create the
   14087   # libtool script then.
   14088   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14089   if test -f "$ltmain_in"; then
   14090     test -f Makefile && make "$ltmain"
   14091   fi
   14092 fi
   14093 
   14094 
   14095 ac_ext=c
   14096 ac_cpp='$CPP $CPPFLAGS'
   14097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14100 
   14101 CC=$lt_save_CC
   14102 LDCXX=$LD
   14103 LD=$lt_save_LD
   14104 GCC=$lt_save_GCC
   14105 with_gnu_ldcxx=$with_gnu_ld
   14106 with_gnu_ld=$lt_save_with_gnu_ld
   14107 lt_cv_path_LDCXX=$lt_cv_path_LD
   14108 lt_cv_path_LD=$lt_save_path_LD
   14109 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14110 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14111 
   14112 	else
   14113 	  tagname=""
   14114 	fi
   14115 	;;
   14116 
   14117       F77)
   14118 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14119 
   14120 ac_ext=f
   14121 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14122 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14123 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14124 
   14125 
   14126 archive_cmds_need_lc_F77=no
   14127 allow_undefined_flag_F77=
   14128 always_export_symbols_F77=no
   14129 archive_expsym_cmds_F77=
   14130 export_dynamic_flag_spec_F77=
   14131 hardcode_direct_F77=no
   14132 hardcode_libdir_flag_spec_F77=
   14133 hardcode_libdir_flag_spec_ld_F77=
   14134 hardcode_libdir_separator_F77=
   14135 hardcode_minus_L_F77=no
   14136 hardcode_automatic_F77=no
   14137 module_cmds_F77=
   14138 module_expsym_cmds_F77=
   14139 link_all_deplibs_F77=unknown
   14140 old_archive_cmds_F77=$old_archive_cmds
   14141 no_undefined_flag_F77=
   14142 whole_archive_flag_spec_F77=
   14143 enable_shared_with_static_runtimes_F77=no
   14144 
   14145 # Source file extension for f77 test sources.
   14146 ac_ext=f
   14147 
   14148 # Object file extension for compiled f77 test sources.
   14149 objext=o
   14150 objext_F77=$objext
   14151 
   14152 # Code to be used in simple compile tests
   14153 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   14154 
   14155 # Code to be used in simple link tests
   14156 lt_simple_link_test_code="      program t\n      end\n"
   14157 
   14158 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14159 
   14160 # If no C compiler was specified, use CC.
   14161 LTCC=${LTCC-"$CC"}
   14162 
   14163 # If no C compiler flags were specified, use CFLAGS.
   14164 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14165 
   14166 # Allow CC to be a program name with arguments.
   14167 compiler=$CC
   14168 
   14169 
   14170 # save warnings/boilerplate of simple test code
   14171 ac_outfile=conftest.$ac_objext
   14172 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   14173 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14174 _lt_compiler_boilerplate=`cat conftest.err`
   14175 $rm conftest*
   14176 
   14177 ac_outfile=conftest.$ac_objext
   14178 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   14179 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14180 _lt_linker_boilerplate=`cat conftest.err`
   14181 $rm conftest*
   14182 
   14183 
   14184 # Allow CC to be a program name with arguments.
   14185 lt_save_CC="$CC"
   14186 CC=${F77-"f77"}
   14187 compiler=$CC
   14188 compiler_F77=$CC
   14189 for cc_temp in $compiler""; do
   14190   case $cc_temp in
   14191     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14192     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14193     \-*) ;;
   14194     *) break;;
   14195   esac
   14196 done
   14197 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14198 
   14199 
   14200 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14201 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14202 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14203 echo "${ECHO_T}$can_build_shared" >&6; }
   14204 
   14205 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14206 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14207 test "$can_build_shared" = "no" && enable_shared=no
   14208 
   14209 # On AIX, shared libraries and static libraries use the same namespace, and
   14210 # are all built from PIC.
   14211 case $host_os in
   14212 aix3*)
   14213   test "$enable_shared" = yes && enable_static=no
   14214   if test -n "$RANLIB"; then
   14215     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14216     postinstall_cmds='$RANLIB $lib'
   14217   fi
   14218   ;;
   14219 aix4* | aix5*)
   14220   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14221     test "$enable_shared" = yes && enable_static=no
   14222   fi
   14223   ;;
   14224 esac
   14225 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14226 echo "${ECHO_T}$enable_shared" >&6; }
   14227 
   14228 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14229 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14230 # Make sure either enable_shared or enable_static is yes.
   14231 test "$enable_shared" = yes || enable_static=yes
   14232 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14233 echo "${ECHO_T}$enable_static" >&6; }
   14234 
   14235 GCC_F77="$G77"
   14236 LD_F77="$LD"
   14237 
   14238 lt_prog_compiler_wl_F77=
   14239 lt_prog_compiler_pic_F77=
   14240 lt_prog_compiler_static_F77=
   14241 
   14242 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14243 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14244 
   14245   if test "$GCC" = yes; then
   14246     lt_prog_compiler_wl_F77='-Wl,'
   14247     lt_prog_compiler_static_F77='-static'
   14248 
   14249     case $host_os in
   14250       aix*)
   14251       # All AIX code is PIC.
   14252       if test "$host_cpu" = ia64; then
   14253 	# AIX 5 now supports IA64 processor
   14254 	lt_prog_compiler_static_F77='-Bstatic'
   14255       fi
   14256       ;;
   14257 
   14258     amigaos*)
   14259       # FIXME: we need at least 68020 code to build shared libraries, but
   14260       # adding the `-m68020' flag to GCC prevents building anything better,
   14261       # like `-m68040'.
   14262       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14263       ;;
   14264 
   14265     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14266       # PIC is the default for these OSes.
   14267       ;;
   14268 
   14269     mingw* | pw32* | os2*)
   14270       # This hack is so that the source file can tell whether it is being
   14271       # built for inclusion in a dll (and should export symbols for example).
   14272       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14273       ;;
   14274 
   14275     darwin* | rhapsody*)
   14276       # PIC is the default on this platform
   14277       # Common symbols not allowed in MH_DYLIB files
   14278       lt_prog_compiler_pic_F77='-fno-common'
   14279       ;;
   14280 
   14281     interix3*)
   14282       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14283       # Instead, we relocate shared libraries at runtime.
   14284       ;;
   14285 
   14286     msdosdjgpp*)
   14287       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14288       # on systems that don't support them.
   14289       lt_prog_compiler_can_build_shared_F77=no
   14290       enable_shared=no
   14291       ;;
   14292 
   14293     sysv4*MP*)
   14294       if test -d /usr/nec; then
   14295 	lt_prog_compiler_pic_F77=-Kconform_pic
   14296       fi
   14297       ;;
   14298 
   14299     hpux*)
   14300       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14301       # not for PA HP-UX.
   14302       case $host_cpu in
   14303       hppa*64*|ia64*)
   14304 	# +Z the default
   14305 	;;
   14306       *)
   14307 	lt_prog_compiler_pic_F77='-fPIC'
   14308 	;;
   14309       esac
   14310       ;;
   14311 
   14312     *)
   14313       lt_prog_compiler_pic_F77='-fPIC'
   14314       ;;
   14315     esac
   14316   else
   14317     # PORTME Check for flag to pass linker flags through the system compiler.
   14318     case $host_os in
   14319     aix*)
   14320       lt_prog_compiler_wl_F77='-Wl,'
   14321       if test "$host_cpu" = ia64; then
   14322 	# AIX 5 now supports IA64 processor
   14323 	lt_prog_compiler_static_F77='-Bstatic'
   14324       else
   14325 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14326       fi
   14327       ;;
   14328       darwin*)
   14329         # PIC is the default on this platform
   14330         # Common symbols not allowed in MH_DYLIB files
   14331        case $cc_basename in
   14332          xlc*)
   14333          lt_prog_compiler_pic_F77='-qnocommon'
   14334          lt_prog_compiler_wl_F77='-Wl,'
   14335          ;;
   14336        esac
   14337        ;;
   14338 
   14339     mingw* | pw32* | os2*)
   14340       # This hack is so that the source file can tell whether it is being
   14341       # built for inclusion in a dll (and should export symbols for example).
   14342       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14343       ;;
   14344 
   14345     hpux9* | hpux10* | hpux11*)
   14346       lt_prog_compiler_wl_F77='-Wl,'
   14347       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14348       # not for PA HP-UX.
   14349       case $host_cpu in
   14350       hppa*64*|ia64*)
   14351 	# +Z the default
   14352 	;;
   14353       *)
   14354 	lt_prog_compiler_pic_F77='+Z'
   14355 	;;
   14356       esac
   14357       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14358       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14359       ;;
   14360 
   14361     irix5* | irix6* | nonstopux*)
   14362       lt_prog_compiler_wl_F77='-Wl,'
   14363       # PIC (with -KPIC) is the default.
   14364       lt_prog_compiler_static_F77='-non_shared'
   14365       ;;
   14366 
   14367     newsos6)
   14368       lt_prog_compiler_pic_F77='-KPIC'
   14369       lt_prog_compiler_static_F77='-Bstatic'
   14370       ;;
   14371 
   14372     linux*)
   14373       case $cc_basename in
   14374       icc* | ecc*)
   14375 	lt_prog_compiler_wl_F77='-Wl,'
   14376 	lt_prog_compiler_pic_F77='-KPIC'
   14377 	lt_prog_compiler_static_F77='-static'
   14378         ;;
   14379       pgcc* | pgf77* | pgf90* | pgf95*)
   14380         # Portland Group compilers (*not* the Pentium gcc compiler,
   14381 	# which looks to be a dead project)
   14382 	lt_prog_compiler_wl_F77='-Wl,'
   14383 	lt_prog_compiler_pic_F77='-fpic'
   14384 	lt_prog_compiler_static_F77='-Bstatic'
   14385         ;;
   14386       ccc*)
   14387         lt_prog_compiler_wl_F77='-Wl,'
   14388         # All Alpha code is PIC.
   14389         lt_prog_compiler_static_F77='-non_shared'
   14390         ;;
   14391       esac
   14392       ;;
   14393 
   14394     osf3* | osf4* | osf5*)
   14395       lt_prog_compiler_wl_F77='-Wl,'
   14396       # All OSF/1 code is PIC.
   14397       lt_prog_compiler_static_F77='-non_shared'
   14398       ;;
   14399 
   14400     solaris*)
   14401       lt_prog_compiler_pic_F77='-KPIC'
   14402       lt_prog_compiler_static_F77='-Bstatic'
   14403       case $cc_basename in
   14404       f77* | f90* | f95*)
   14405 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14406       *)
   14407 	lt_prog_compiler_wl_F77='-Wl,';;
   14408       esac
   14409       ;;
   14410 
   14411     sunos4*)
   14412       lt_prog_compiler_wl_F77='-Qoption ld '
   14413       lt_prog_compiler_pic_F77='-PIC'
   14414       lt_prog_compiler_static_F77='-Bstatic'
   14415       ;;
   14416 
   14417     sysv4 | sysv4.2uw2* | sysv4.3*)
   14418       lt_prog_compiler_wl_F77='-Wl,'
   14419       lt_prog_compiler_pic_F77='-KPIC'
   14420       lt_prog_compiler_static_F77='-Bstatic'
   14421       ;;
   14422 
   14423     sysv4*MP*)
   14424       if test -d /usr/nec ;then
   14425 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14426 	lt_prog_compiler_static_F77='-Bstatic'
   14427       fi
   14428       ;;
   14429 
   14430     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14431       lt_prog_compiler_wl_F77='-Wl,'
   14432       lt_prog_compiler_pic_F77='-KPIC'
   14433       lt_prog_compiler_static_F77='-Bstatic'
   14434       ;;
   14435 
   14436     unicos*)
   14437       lt_prog_compiler_wl_F77='-Wl,'
   14438       lt_prog_compiler_can_build_shared_F77=no
   14439       ;;
   14440 
   14441     uts4*)
   14442       lt_prog_compiler_pic_F77='-pic'
   14443       lt_prog_compiler_static_F77='-Bstatic'
   14444       ;;
   14445 
   14446     *)
   14447       lt_prog_compiler_can_build_shared_F77=no
   14448       ;;
   14449     esac
   14450   fi
   14451 
   14452 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14453 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14454 
   14455 #
   14456 # Check to make sure the PIC flag actually works.
   14457 #
   14458 if test -n "$lt_prog_compiler_pic_F77"; then
   14459 
   14460 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14461 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14462 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14463   echo $ECHO_N "(cached) $ECHO_C" >&6
   14464 else
   14465   lt_prog_compiler_pic_works_F77=no
   14466   ac_outfile=conftest.$ac_objext
   14467    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14468    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14469    # Insert the option either (1) after the last *FLAGS variable, or
   14470    # (2) before a word containing "conftest.", or (3) at the end.
   14471    # Note that $ac_compile itself does not contain backslashes and begins
   14472    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14473    # The option is referenced via a variable to avoid confusing sed.
   14474    lt_compile=`echo "$ac_compile" | $SED \
   14475    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14476    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14477    -e 's:$: $lt_compiler_flag:'`
   14478    (eval echo "\"\$as_me:14478: $lt_compile\"" >&5)
   14479    (eval "$lt_compile" 2>conftest.err)
   14480    ac_status=$?
   14481    cat conftest.err >&5
   14482    echo "$as_me:14482: \$? = $ac_status" >&5
   14483    if (exit $ac_status) && test -s "$ac_outfile"; then
   14484      # The compiler can only warn and ignore the option if not recognized
   14485      # So say no if there are warnings other than the usual output.
   14486      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14487      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14488      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14489        lt_prog_compiler_pic_works_F77=yes
   14490      fi
   14491    fi
   14492    $rm conftest*
   14493 
   14494 fi
   14495 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14496 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14497 
   14498 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14499     case $lt_prog_compiler_pic_F77 in
   14500      "" | " "*) ;;
   14501      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14502      esac
   14503 else
   14504     lt_prog_compiler_pic_F77=
   14505      lt_prog_compiler_can_build_shared_F77=no
   14506 fi
   14507 
   14508 fi
   14509 case $host_os in
   14510   # For platforms which do not support PIC, -DPIC is meaningless:
   14511   *djgpp*)
   14512     lt_prog_compiler_pic_F77=
   14513     ;;
   14514   *)
   14515     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14516     ;;
   14517 esac
   14518 
   14519 #
   14520 # Check to make sure the static flag actually works.
   14521 #
   14522 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14523 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14524 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14525 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14526   echo $ECHO_N "(cached) $ECHO_C" >&6
   14527 else
   14528   lt_prog_compiler_static_works_F77=no
   14529    save_LDFLAGS="$LDFLAGS"
   14530    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14531    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   14532    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14533      # The linker can only warn and ignore the option if not recognized
   14534      # So say no if there are warnings
   14535      if test -s conftest.err; then
   14536        # Append any errors to the config.log.
   14537        cat conftest.err 1>&5
   14538        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14539        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14540        if diff conftest.exp conftest.er2 >/dev/null; then
   14541          lt_prog_compiler_static_works_F77=yes
   14542        fi
   14543      else
   14544        lt_prog_compiler_static_works_F77=yes
   14545      fi
   14546    fi
   14547    $rm conftest*
   14548    LDFLAGS="$save_LDFLAGS"
   14549 
   14550 fi
   14551 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14552 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14553 
   14554 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14555     :
   14556 else
   14557     lt_prog_compiler_static_F77=
   14558 fi
   14559 
   14560 
   14561 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14562 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14563 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14564   echo $ECHO_N "(cached) $ECHO_C" >&6
   14565 else
   14566   lt_cv_prog_compiler_c_o_F77=no
   14567    $rm -r conftest 2>/dev/null
   14568    mkdir conftest
   14569    cd conftest
   14570    mkdir out
   14571    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14572 
   14573    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14574    # Insert the option either (1) after the last *FLAGS variable, or
   14575    # (2) before a word containing "conftest.", or (3) at the end.
   14576    # Note that $ac_compile itself does not contain backslashes and begins
   14577    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14578    lt_compile=`echo "$ac_compile" | $SED \
   14579    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14580    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14581    -e 's:$: $lt_compiler_flag:'`
   14582    (eval echo "\"\$as_me:14582: $lt_compile\"" >&5)
   14583    (eval "$lt_compile" 2>out/conftest.err)
   14584    ac_status=$?
   14585    cat out/conftest.err >&5
   14586    echo "$as_me:14586: \$? = $ac_status" >&5
   14587    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14588    then
   14589      # The compiler can only warn and ignore the option if not recognized
   14590      # So say no if there are warnings
   14591      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14592      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14593      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14594        lt_cv_prog_compiler_c_o_F77=yes
   14595      fi
   14596    fi
   14597    chmod u+w . 2>&5
   14598    $rm conftest*
   14599    # SGI C++ compiler will create directory out/ii_files/ for
   14600    # template instantiation
   14601    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14602    $rm out/* && rmdir out
   14603    cd ..
   14604    rmdir conftest
   14605    $rm conftest*
   14606 
   14607 fi
   14608 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14609 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14610 
   14611 
   14612 hard_links="nottested"
   14613 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14614   # do not overwrite the value of need_locks provided by the user
   14615   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14616 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14617   hard_links=yes
   14618   $rm conftest*
   14619   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14620   touch conftest.a
   14621   ln conftest.a conftest.b 2>&5 || hard_links=no
   14622   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14623   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14624 echo "${ECHO_T}$hard_links" >&6; }
   14625   if test "$hard_links" = no; then
   14626     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14627 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14628     need_locks=warn
   14629   fi
   14630 else
   14631   need_locks=no
   14632 fi
   14633 
   14634 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14635 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14636 
   14637   runpath_var=
   14638   allow_undefined_flag_F77=
   14639   enable_shared_with_static_runtimes_F77=no
   14640   archive_cmds_F77=
   14641   archive_expsym_cmds_F77=
   14642   old_archive_From_new_cmds_F77=
   14643   old_archive_from_expsyms_cmds_F77=
   14644   export_dynamic_flag_spec_F77=
   14645   whole_archive_flag_spec_F77=
   14646   thread_safe_flag_spec_F77=
   14647   hardcode_libdir_flag_spec_F77=
   14648   hardcode_libdir_flag_spec_ld_F77=
   14649   hardcode_libdir_separator_F77=
   14650   hardcode_direct_F77=no
   14651   hardcode_minus_L_F77=no
   14652   hardcode_shlibpath_var_F77=unsupported
   14653   link_all_deplibs_F77=unknown
   14654   hardcode_automatic_F77=no
   14655   module_cmds_F77=
   14656   module_expsym_cmds_F77=
   14657   always_export_symbols_F77=no
   14658   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14659   # include_expsyms should be a list of space-separated symbols to be *always*
   14660   # included in the symbol list
   14661   include_expsyms_F77=
   14662   # exclude_expsyms can be an extended regexp of symbols to exclude
   14663   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14664   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14665   # as well as any symbol that contains `d'.
   14666   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14667   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14668   # platforms (ab)use it in PIC code, but their linkers get confused if
   14669   # the symbol is explicitly referenced.  Since portable code cannot
   14670   # rely on this symbol name, it's probably fine to never include it in
   14671   # preloaded symbol tables.
   14672   extract_expsyms_cmds=
   14673   # Just being paranoid about ensuring that cc_basename is set.
   14674   for cc_temp in $compiler""; do
   14675   case $cc_temp in
   14676     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14677     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14678     \-*) ;;
   14679     *) break;;
   14680   esac
   14681 done
   14682 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14683 
   14684   case $host_os in
   14685   cygwin* | mingw* | pw32*)
   14686     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14687     # When not using gcc, we currently assume that we are using
   14688     # Microsoft Visual C++.
   14689     if test "$GCC" != yes; then
   14690       with_gnu_ld=no
   14691     fi
   14692     ;;
   14693   interix*)
   14694     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14695     with_gnu_ld=yes
   14696     ;;
   14697   openbsd*)
   14698     with_gnu_ld=no
   14699     ;;
   14700   esac
   14701 
   14702   ld_shlibs_F77=yes
   14703   if test "$with_gnu_ld" = yes; then
   14704     # If archive_cmds runs LD, not CC, wlarc should be empty
   14705     wlarc='${wl}'
   14706 
   14707     # Set some defaults for GNU ld with shared library support. These
   14708     # are reset later if shared libraries are not supported. Putting them
   14709     # here allows them to be overridden if necessary.
   14710     runpath_var=LD_RUN_PATH
   14711     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14712     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14713     # ancient GNU ld didn't support --whole-archive et. al.
   14714     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14715 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14716       else
   14717   	whole_archive_flag_spec_F77=
   14718     fi
   14719     supports_anon_versioning=no
   14720     case `$LD -v 2>/dev/null` in
   14721       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14722       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14723       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14724       *\ 2.11.*) ;; # other 2.11 versions
   14725       *) supports_anon_versioning=yes ;;
   14726     esac
   14727 
   14728     # See if GNU ld supports shared libraries.
   14729     case $host_os in
   14730     aix3* | aix4* | aix5*)
   14731       # On AIX/PPC, the GNU linker is very broken
   14732       if test "$host_cpu" != ia64; then
   14733 	ld_shlibs_F77=no
   14734 	cat <<EOF 1>&2
   14735 
   14736 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14737 *** to be unable to reliably create shared libraries on AIX.
   14738 *** Therefore, libtool is disabling shared libraries support.  If you
   14739 *** really care for shared libraries, you may want to modify your PATH
   14740 *** so that a non-GNU linker is found, and then restart.
   14741 
   14742 EOF
   14743       fi
   14744       ;;
   14745 
   14746     amigaos*)
   14747       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   14748       hardcode_libdir_flag_spec_F77='-L$libdir'
   14749       hardcode_minus_L_F77=yes
   14750 
   14751       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14752       # that the semantics of dynamic libraries on AmigaOS, at least up
   14753       # to version 4, is to share data among multiple programs linked
   14754       # with the same dynamic library.  Since this doesn't match the
   14755       # behavior of shared libraries on other platforms, we can't use
   14756       # them.
   14757       ld_shlibs_F77=no
   14758       ;;
   14759 
   14760     beos*)
   14761       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14762 	allow_undefined_flag_F77=unsupported
   14763 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14764 	# support --undefined.  This deserves some investigation.  FIXME
   14765 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14766       else
   14767 	ld_shlibs_F77=no
   14768       fi
   14769       ;;
   14770 
   14771     cygwin* | mingw* | pw32*)
   14772       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14773       # as there is no search path for DLLs.
   14774       hardcode_libdir_flag_spec_F77='-L$libdir'
   14775       allow_undefined_flag_F77=unsupported
   14776       always_export_symbols_F77=no
   14777       enable_shared_with_static_runtimes_F77=yes
   14778       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14779 
   14780       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14781         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14782 	# If the export-symbols file already is a .def file (1st line
   14783 	# is EXPORTS), use it as is; otherwise, prepend...
   14784 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14785 	  cp $export_symbols $output_objdir/$soname.def;
   14786 	else
   14787 	  echo EXPORTS > $output_objdir/$soname.def;
   14788 	  cat $export_symbols >> $output_objdir/$soname.def;
   14789 	fi~
   14790 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14791       else
   14792 	ld_shlibs_F77=no
   14793       fi
   14794       ;;
   14795 
   14796     interix3*)
   14797       hardcode_direct_F77=no
   14798       hardcode_shlibpath_var_F77=no
   14799       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14800       export_dynamic_flag_spec_F77='${wl}-E'
   14801       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14802       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14803       # default) and relocated if they conflict, which is a slow very memory
   14804       # consuming and fragmenting process.  To avoid this, we pick a random,
   14805       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14806       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14807       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'
   14808       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'
   14809       ;;
   14810 
   14811     linux*)
   14812       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14813 	tmp_addflag=
   14814 	case $cc_basename,$host_cpu in
   14815 	pgcc*)				# Portland Group C compiler
   14816 	  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'
   14817 	  tmp_addflag=' $pic_flag'
   14818 	  ;;
   14819 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14820 	  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'
   14821 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14822 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14823 	  tmp_addflag=' -i_dynamic' ;;
   14824 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14825 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14826 	ifc* | ifort*)			# Intel Fortran compiler
   14827 	  tmp_addflag=' -nofor_main' ;;
   14828 	esac
   14829 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14830 
   14831 	if test $supports_anon_versioning = yes; then
   14832 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14833   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14834   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14835 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14836 	fi
   14837       else
   14838 	ld_shlibs_F77=no
   14839       fi
   14840       ;;
   14841 
   14842     netbsd*)
   14843       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14844 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14845 	wlarc=
   14846       else
   14847 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14848 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14849       fi
   14850       ;;
   14851 
   14852     solaris*)
   14853       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14854 	ld_shlibs_F77=no
   14855 	cat <<EOF 1>&2
   14856 
   14857 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14858 *** create shared libraries on Solaris systems.  Therefore, libtool
   14859 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14860 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14861 *** your PATH or compiler configuration so that the native linker is
   14862 *** used, and then restart.
   14863 
   14864 EOF
   14865       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14866 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14867 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14868       else
   14869 	ld_shlibs_F77=no
   14870       fi
   14871       ;;
   14872 
   14873     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14874       case `$LD -v 2>&1` in
   14875         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14876 	ld_shlibs_F77=no
   14877 	cat <<_LT_EOF 1>&2
   14878 
   14879 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14880 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14881 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14882 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14883 *** your PATH or compiler configuration so that the native linker is
   14884 *** used, and then restart.
   14885 
   14886 _LT_EOF
   14887 	;;
   14888 	*)
   14889 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14890 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14891 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14892 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14893 	  else
   14894 	    ld_shlibs_F77=no
   14895 	  fi
   14896 	;;
   14897       esac
   14898       ;;
   14899 
   14900     sunos4*)
   14901       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14902       wlarc=
   14903       hardcode_direct_F77=yes
   14904       hardcode_shlibpath_var_F77=no
   14905       ;;
   14906 
   14907     *)
   14908       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14909 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14910 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14911       else
   14912 	ld_shlibs_F77=no
   14913       fi
   14914       ;;
   14915     esac
   14916 
   14917     if test "$ld_shlibs_F77" = no; then
   14918       runpath_var=
   14919       hardcode_libdir_flag_spec_F77=
   14920       export_dynamic_flag_spec_F77=
   14921       whole_archive_flag_spec_F77=
   14922     fi
   14923   else
   14924     # PORTME fill in a description of your system's linker (not GNU ld)
   14925     case $host_os in
   14926     aix3*)
   14927       allow_undefined_flag_F77=unsupported
   14928       always_export_symbols_F77=yes
   14929       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'
   14930       # Note: this linker hardcodes the directories in LIBPATH if there
   14931       # are no directories specified by -L.
   14932       hardcode_minus_L_F77=yes
   14933       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14934 	# Neither direct hardcoding nor static linking is supported with a
   14935 	# broken collect2.
   14936 	hardcode_direct_F77=unsupported
   14937       fi
   14938       ;;
   14939 
   14940     aix4* | aix5*)
   14941       if test "$host_cpu" = ia64; then
   14942 	# On IA64, the linker does run time linking by default, so we don't
   14943 	# have to do anything special.
   14944 	aix_use_runtimelinking=no
   14945 	exp_sym_flag='-Bexport'
   14946 	no_entry_flag=""
   14947       else
   14948 	# If we're using GNU nm, then we don't want the "-C" option.
   14949 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14950 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14951 	  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'
   14952 	else
   14953 	  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'
   14954 	fi
   14955 	aix_use_runtimelinking=no
   14956 
   14957 	# Test if we are trying to use run time linking or normal
   14958 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14959 	# need to do runtime linking.
   14960 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14961 	  for ld_flag in $LDFLAGS; do
   14962   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14963   	    aix_use_runtimelinking=yes
   14964   	    break
   14965   	  fi
   14966 	  done
   14967 	  ;;
   14968 	esac
   14969 
   14970 	exp_sym_flag='-bexport'
   14971 	no_entry_flag='-bnoentry'
   14972       fi
   14973 
   14974       # When large executables or shared objects are built, AIX ld can
   14975       # have problems creating the table of contents.  If linking a library
   14976       # or program results in "error TOC overflow" add -mminimal-toc to
   14977       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14978       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14979 
   14980       archive_cmds_F77=''
   14981       hardcode_direct_F77=yes
   14982       hardcode_libdir_separator_F77=':'
   14983       link_all_deplibs_F77=yes
   14984 
   14985       if test "$GCC" = yes; then
   14986 	case $host_os in aix4.[012]|aix4.[012].*)
   14987 	# We only want to do this on AIX 4.2 and lower, the check
   14988 	# below for broken collect2 doesn't work under 4.3+
   14989 	  collect2name=`${CC} -print-prog-name=collect2`
   14990 	  if test -f "$collect2name" && \
   14991   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14992 	  then
   14993   	  # We have reworked collect2
   14994   	  hardcode_direct_F77=yes
   14995 	  else
   14996   	  # We have old collect2
   14997   	  hardcode_direct_F77=unsupported
   14998   	  # It fails to find uninstalled libraries when the uninstalled
   14999   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15000   	  # to unsupported forces relinking
   15001   	  hardcode_minus_L_F77=yes
   15002   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15003   	  hardcode_libdir_separator_F77=
   15004 	  fi
   15005 	  ;;
   15006 	esac
   15007 	shared_flag='-shared'
   15008 	if test "$aix_use_runtimelinking" = yes; then
   15009 	  shared_flag="$shared_flag "'${wl}-G'
   15010 	fi
   15011       else
   15012 	# not using gcc
   15013 	if test "$host_cpu" = ia64; then
   15014   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15015   	# chokes on -Wl,-G. The following line is correct:
   15016 	  shared_flag='-G'
   15017 	else
   15018 	  if test "$aix_use_runtimelinking" = yes; then
   15019 	    shared_flag='${wl}-G'
   15020 	  else
   15021 	    shared_flag='${wl}-bM:SRE'
   15022 	  fi
   15023 	fi
   15024       fi
   15025 
   15026       # It seems that -bexpall does not export symbols beginning with
   15027       # underscore (_), so it is better to generate a list of symbols to export.
   15028       always_export_symbols_F77=yes
   15029       if test "$aix_use_runtimelinking" = yes; then
   15030 	# Warning - without using the other runtime loading flags (-brtl),
   15031 	# -berok will link without error, but may produce a broken library.
   15032 	allow_undefined_flag_F77='-berok'
   15033        # Determine the default libpath from the value encoded in an empty executable.
   15034        cat >conftest.$ac_ext <<_ACEOF
   15035       program main
   15036 
   15037       end
   15038 _ACEOF
   15039 rm -f conftest.$ac_objext conftest$ac_exeext
   15040 if { (ac_try="$ac_link"
   15041 case "(($ac_try" in
   15042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15043   *) ac_try_echo=$ac_try;;
   15044 esac
   15045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15046   (eval "$ac_link") 2>conftest.er1
   15047   ac_status=$?
   15048   grep -v '^ *+' conftest.er1 >conftest.err
   15049   rm -f conftest.er1
   15050   cat conftest.err >&5
   15051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15052   (exit $ac_status); } &&
   15053 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   15054   { (case "(($ac_try" in
   15055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15056   *) ac_try_echo=$ac_try;;
   15057 esac
   15058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15059   (eval "$ac_try") 2>&5
   15060   ac_status=$?
   15061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15062   (exit $ac_status); }; } &&
   15063 	 { ac_try='test -s conftest$ac_exeext'
   15064   { (case "(($ac_try" in
   15065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15066   *) ac_try_echo=$ac_try;;
   15067 esac
   15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15069   (eval "$ac_try") 2>&5
   15070   ac_status=$?
   15071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15072   (exit $ac_status); }; }; then
   15073 
   15074 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15075 }'`
   15076 # Check for a 64-bit object if we didn't find anything.
   15077 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; }
   15078 }'`; fi
   15079 else
   15080   echo "$as_me: failed program was:" >&5
   15081 sed 's/^/| /' conftest.$ac_ext >&5
   15082 
   15083 
   15084 fi
   15085 
   15086 rm -f core conftest.err conftest.$ac_objext \
   15087       conftest$ac_exeext conftest.$ac_ext
   15088 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15089 
   15090        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15091 	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"
   15092        else
   15093 	if test "$host_cpu" = ia64; then
   15094 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15095 	  allow_undefined_flag_F77="-z nodefs"
   15096 	  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"
   15097 	else
   15098 	 # Determine the default libpath from the value encoded in an empty executable.
   15099 	 cat >conftest.$ac_ext <<_ACEOF
   15100       program main
   15101 
   15102       end
   15103 _ACEOF
   15104 rm -f conftest.$ac_objext conftest$ac_exeext
   15105 if { (ac_try="$ac_link"
   15106 case "(($ac_try" in
   15107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15108   *) ac_try_echo=$ac_try;;
   15109 esac
   15110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15111   (eval "$ac_link") 2>conftest.er1
   15112   ac_status=$?
   15113   grep -v '^ *+' conftest.er1 >conftest.err
   15114   rm -f conftest.er1
   15115   cat conftest.err >&5
   15116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15117   (exit $ac_status); } &&
   15118 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
   15119   { (case "(($ac_try" in
   15120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15121   *) ac_try_echo=$ac_try;;
   15122 esac
   15123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15124   (eval "$ac_try") 2>&5
   15125   ac_status=$?
   15126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15127   (exit $ac_status); }; } &&
   15128 	 { ac_try='test -s conftest$ac_exeext'
   15129   { (case "(($ac_try" in
   15130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15131   *) ac_try_echo=$ac_try;;
   15132 esac
   15133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15134   (eval "$ac_try") 2>&5
   15135   ac_status=$?
   15136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15137   (exit $ac_status); }; }; then
   15138 
   15139 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   15140 }'`
   15141 # Check for a 64-bit object if we didn't find anything.
   15142 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; }
   15143 }'`; fi
   15144 else
   15145   echo "$as_me: failed program was:" >&5
   15146 sed 's/^/| /' conftest.$ac_ext >&5
   15147 
   15148 
   15149 fi
   15150 
   15151 rm -f core conftest.err conftest.$ac_objext \
   15152       conftest$ac_exeext conftest.$ac_ext
   15153 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15154 
   15155 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15156 	  # Warning - without using the other run time loading flags,
   15157 	  # -berok will link without error, but may produce a broken library.
   15158 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15159 	  allow_undefined_flag_F77=' ${wl}-berok'
   15160 	  # Exported symbols can be pulled into shared objects from archives
   15161 	  whole_archive_flag_spec_F77='$convenience'
   15162 	  archive_cmds_need_lc_F77=yes
   15163 	  # This is similar to how AIX traditionally builds its shared libraries.
   15164 	  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'
   15165 	fi
   15166       fi
   15167       ;;
   15168 
   15169     amigaos*)
   15170       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)'
   15171       hardcode_libdir_flag_spec_F77='-L$libdir'
   15172       hardcode_minus_L_F77=yes
   15173       # see comment about different semantics on the GNU ld section
   15174       ld_shlibs_F77=no
   15175       ;;
   15176 
   15177     bsdi[45]*)
   15178       export_dynamic_flag_spec_F77=-rdynamic
   15179       ;;
   15180 
   15181     cygwin* | mingw* | pw32*)
   15182       # When not using gcc, we currently assume that we are using
   15183       # Microsoft Visual C++.
   15184       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15185       # no search path for DLLs.
   15186       hardcode_libdir_flag_spec_F77=' '
   15187       allow_undefined_flag_F77=unsupported
   15188       # Tell ltmain to make .lib files, not .a files.
   15189       libext=lib
   15190       # Tell ltmain to make .dll files, not .so files.
   15191       shrext_cmds=".dll"
   15192       # FIXME: Setting linknames here is a bad hack.
   15193       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15194       # The linker will automatically build a .lib file if we build a DLL.
   15195       old_archive_From_new_cmds_F77='true'
   15196       # FIXME: Should let the user specify the lib program.
   15197       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   15198       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15199       enable_shared_with_static_runtimes_F77=yes
   15200       ;;
   15201 
   15202     darwin* | rhapsody*)
   15203       case $host_os in
   15204         rhapsody* | darwin1.[012])
   15205          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15206          ;;
   15207        *) # Darwin 1.3 on
   15208          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15209            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15210          else
   15211            case ${MACOSX_DEPLOYMENT_TARGET} in
   15212              10.[012])
   15213                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15214                ;;
   15215              10.*)
   15216                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15217                ;;
   15218            esac
   15219          fi
   15220          ;;
   15221       esac
   15222       archive_cmds_need_lc_F77=no
   15223       hardcode_direct_F77=no
   15224       hardcode_automatic_F77=yes
   15225       hardcode_shlibpath_var_F77=unsupported
   15226       whole_archive_flag_spec_F77=''
   15227       link_all_deplibs_F77=yes
   15228     if test "$GCC" = yes ; then
   15229     	output_verbose_link_cmd='echo'
   15230         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   15231       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15232       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15233       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}'
   15234       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}'
   15235     else
   15236       case $cc_basename in
   15237         xlc*)
   15238          output_verbose_link_cmd='echo'
   15239          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   15240          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15241           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15242          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}'
   15243           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}'
   15244           ;;
   15245        *)
   15246          ld_shlibs_F77=no
   15247           ;;
   15248       esac
   15249     fi
   15250       ;;
   15251 
   15252     dgux*)
   15253       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15254       hardcode_libdir_flag_spec_F77='-L$libdir'
   15255       hardcode_shlibpath_var_F77=no
   15256       ;;
   15257 
   15258     freebsd1*)
   15259       ld_shlibs_F77=no
   15260       ;;
   15261 
   15262     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15263     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15264     # does not break anything, and helps significantly (at the cost of a little
   15265     # extra space).
   15266     freebsd2.2*)
   15267       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15268       hardcode_libdir_flag_spec_F77='-R$libdir'
   15269       hardcode_direct_F77=yes
   15270       hardcode_shlibpath_var_F77=no
   15271       ;;
   15272 
   15273     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15274     freebsd2*)
   15275       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15276       hardcode_direct_F77=yes
   15277       hardcode_minus_L_F77=yes
   15278       hardcode_shlibpath_var_F77=no
   15279       ;;
   15280 
   15281     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15282     freebsd* | kfreebsd*-gnu | dragonfly*)
   15283       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15284       hardcode_libdir_flag_spec_F77='-R$libdir'
   15285       hardcode_direct_F77=yes
   15286       hardcode_shlibpath_var_F77=no
   15287       ;;
   15288 
   15289     hpux9*)
   15290       if test "$GCC" = yes; then
   15291 	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'
   15292       else
   15293 	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'
   15294       fi
   15295       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15296       hardcode_libdir_separator_F77=:
   15297       hardcode_direct_F77=yes
   15298 
   15299       # hardcode_minus_L: Not really in the search PATH,
   15300       # but as the default location of the library.
   15301       hardcode_minus_L_F77=yes
   15302       export_dynamic_flag_spec_F77='${wl}-E'
   15303       ;;
   15304 
   15305     hpux10*)
   15306       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15307 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15308       else
   15309 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15310       fi
   15311       if test "$with_gnu_ld" = no; then
   15312 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15313 	hardcode_libdir_separator_F77=:
   15314 
   15315 	hardcode_direct_F77=yes
   15316 	export_dynamic_flag_spec_F77='${wl}-E'
   15317 
   15318 	# hardcode_minus_L: Not really in the search PATH,
   15319 	# but as the default location of the library.
   15320 	hardcode_minus_L_F77=yes
   15321       fi
   15322       ;;
   15323 
   15324     hpux11*)
   15325       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15326 	case $host_cpu in
   15327 	hppa*64*)
   15328 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15329 	  ;;
   15330 	ia64*)
   15331 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15332 	  ;;
   15333 	*)
   15334 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15335 	  ;;
   15336 	esac
   15337       else
   15338 	case $host_cpu in
   15339 	hppa*64*)
   15340 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15341 	  ;;
   15342 	ia64*)
   15343 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15344 	  ;;
   15345 	*)
   15346 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15347 	  ;;
   15348 	esac
   15349       fi
   15350       if test "$with_gnu_ld" = no; then
   15351 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15352 	hardcode_libdir_separator_F77=:
   15353 
   15354 	case $host_cpu in
   15355 	hppa*64*|ia64*)
   15356 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15357 	  hardcode_direct_F77=no
   15358 	  hardcode_shlibpath_var_F77=no
   15359 	  ;;
   15360 	*)
   15361 	  hardcode_direct_F77=yes
   15362 	  export_dynamic_flag_spec_F77='${wl}-E'
   15363 
   15364 	  # hardcode_minus_L: Not really in the search PATH,
   15365 	  # but as the default location of the library.
   15366 	  hardcode_minus_L_F77=yes
   15367 	  ;;
   15368 	esac
   15369       fi
   15370       ;;
   15371 
   15372     irix5* | irix6* | nonstopux*)
   15373       if test "$GCC" = yes; then
   15374 	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'
   15375       else
   15376 	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'
   15377 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15378       fi
   15379       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15380       hardcode_libdir_separator_F77=:
   15381       link_all_deplibs_F77=yes
   15382       ;;
   15383 
   15384     netbsd*)
   15385       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15386 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15387       else
   15388 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15389       fi
   15390       hardcode_libdir_flag_spec_F77='-R$libdir'
   15391       hardcode_direct_F77=yes
   15392       hardcode_shlibpath_var_F77=no
   15393       ;;
   15394 
   15395     newsos6)
   15396       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15397       hardcode_direct_F77=yes
   15398       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15399       hardcode_libdir_separator_F77=:
   15400       hardcode_shlibpath_var_F77=no
   15401       ;;
   15402 
   15403     openbsd*)
   15404       hardcode_direct_F77=yes
   15405       hardcode_shlibpath_var_F77=no
   15406       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15407 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15408 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15409 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15410 	export_dynamic_flag_spec_F77='${wl}-E'
   15411       else
   15412        case $host_os in
   15413 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15414 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15415 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   15416 	   ;;
   15417 	 *)
   15418 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15419 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15420 	   ;;
   15421        esac
   15422       fi
   15423       ;;
   15424 
   15425     os2*)
   15426       hardcode_libdir_flag_spec_F77='-L$libdir'
   15427       hardcode_minus_L_F77=yes
   15428       allow_undefined_flag_F77=unsupported
   15429       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'
   15430       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15431       ;;
   15432 
   15433     osf3*)
   15434       if test "$GCC" = yes; then
   15435 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15436 	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'
   15437       else
   15438 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15439 	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'
   15440       fi
   15441       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15442       hardcode_libdir_separator_F77=:
   15443       ;;
   15444 
   15445     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15446       if test "$GCC" = yes; then
   15447 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15448 	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'
   15449 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15450       else
   15451 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15452 	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'
   15453 	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~
   15454 	$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'
   15455 
   15456 	# Both c and cxx compiler support -rpath directly
   15457 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15458       fi
   15459       hardcode_libdir_separator_F77=:
   15460       ;;
   15461 
   15462     solaris*)
   15463       no_undefined_flag_F77=' -z text'
   15464       if test "$GCC" = yes; then
   15465 	wlarc='${wl}'
   15466 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15467 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15468 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15469       else
   15470 	wlarc=''
   15471 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15472 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15473   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15474       fi
   15475       hardcode_libdir_flag_spec_F77='-R$libdir'
   15476       hardcode_shlibpath_var_F77=no
   15477       case $host_os in
   15478       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15479       *)
   15480  	# The compiler driver will combine linker options so we
   15481  	# cannot just pass the convience library names through
   15482  	# without $wl, iff we do not link with $LD.
   15483  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   15484  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15485  	case $wlarc in
   15486  	'')
   15487  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   15488  	*)
   15489  	  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' ;;
   15490  	esac ;;
   15491       esac
   15492       link_all_deplibs_F77=yes
   15493       ;;
   15494 
   15495     sunos4*)
   15496       if test "x$host_vendor" = xsequent; then
   15497 	# Use $CC to link under sequent, because it throws in some extra .o
   15498 	# files that make .init and .fini sections work.
   15499 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15500       else
   15501 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15502       fi
   15503       hardcode_libdir_flag_spec_F77='-L$libdir'
   15504       hardcode_direct_F77=yes
   15505       hardcode_minus_L_F77=yes
   15506       hardcode_shlibpath_var_F77=no
   15507       ;;
   15508 
   15509     sysv4)
   15510       case $host_vendor in
   15511 	sni)
   15512 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15513 	  hardcode_direct_F77=yes # is this really true???
   15514 	;;
   15515 	siemens)
   15516 	  ## LD is ld it makes a PLAMLIB
   15517 	  ## CC just makes a GrossModule.
   15518 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15519 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15520 	  hardcode_direct_F77=no
   15521         ;;
   15522 	motorola)
   15523 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15524 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15525 	;;
   15526       esac
   15527       runpath_var='LD_RUN_PATH'
   15528       hardcode_shlibpath_var_F77=no
   15529       ;;
   15530 
   15531     sysv4.3*)
   15532       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15533       hardcode_shlibpath_var_F77=no
   15534       export_dynamic_flag_spec_F77='-Bexport'
   15535       ;;
   15536 
   15537     sysv4*MP*)
   15538       if test -d /usr/nec; then
   15539 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15540 	hardcode_shlibpath_var_F77=no
   15541 	runpath_var=LD_RUN_PATH
   15542 	hardcode_runpath_var=yes
   15543 	ld_shlibs_F77=yes
   15544       fi
   15545       ;;
   15546 
   15547     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   15548       no_undefined_flag_F77='${wl}-z,text'
   15549       archive_cmds_need_lc_F77=no
   15550       hardcode_shlibpath_var_F77=no
   15551       runpath_var='LD_RUN_PATH'
   15552 
   15553       if test "$GCC" = yes; then
   15554 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15555 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15556       else
   15557 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15558 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15559       fi
   15560       ;;
   15561 
   15562     sysv5* | sco3.2v5* | sco5v6*)
   15563       # Note: We can NOT use -z defs as we might desire, because we do not
   15564       # link with -lc, and that would cause any symbols used from libc to
   15565       # always be unresolved, which means just about no library would
   15566       # ever link correctly.  If we're not using GNU ld we use -z text
   15567       # though, which does catch some bad symbols but isn't as heavy-handed
   15568       # as -z defs.
   15569       no_undefined_flag_F77='${wl}-z,text'
   15570       allow_undefined_flag_F77='${wl}-z,nodefs'
   15571       archive_cmds_need_lc_F77=no
   15572       hardcode_shlibpath_var_F77=no
   15573       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15574       hardcode_libdir_separator_F77=':'
   15575       link_all_deplibs_F77=yes
   15576       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15577       runpath_var='LD_RUN_PATH'
   15578 
   15579       if test "$GCC" = yes; then
   15580 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15581 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15582       else
   15583 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15584 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15585       fi
   15586       ;;
   15587 
   15588     uts4*)
   15589       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15590       hardcode_libdir_flag_spec_F77='-L$libdir'
   15591       hardcode_shlibpath_var_F77=no
   15592       ;;
   15593 
   15594     *)
   15595       ld_shlibs_F77=no
   15596       ;;
   15597     esac
   15598   fi
   15599 
   15600 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15601 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15602 test "$ld_shlibs_F77" = no && can_build_shared=no
   15603 
   15604 #
   15605 # Do we need to explicitly link libc?
   15606 #
   15607 case "x$archive_cmds_need_lc_F77" in
   15608 x|xyes)
   15609   # Assume -lc should be added
   15610   archive_cmds_need_lc_F77=yes
   15611 
   15612   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15613     case $archive_cmds_F77 in
   15614     *'~'*)
   15615       # FIXME: we may have to deal with multi-command sequences.
   15616       ;;
   15617     '$CC '*)
   15618       # Test whether the compiler implicitly links with -lc since on some
   15619       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15620       # to ld, don't add -lc before -lgcc.
   15621       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15622 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15623       $rm conftest*
   15624       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15625 
   15626       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15627   (eval $ac_compile) 2>&5
   15628   ac_status=$?
   15629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15630   (exit $ac_status); } 2>conftest.err; then
   15631         soname=conftest
   15632         lib=conftest
   15633         libobjs=conftest.$ac_objext
   15634         deplibs=
   15635         wl=$lt_prog_compiler_wl_F77
   15636 	pic_flag=$lt_prog_compiler_pic_F77
   15637         compiler_flags=-v
   15638         linker_flags=-v
   15639         verstring=
   15640         output_objdir=.
   15641         libname=conftest
   15642         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15643         allow_undefined_flag_F77=
   15644         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15645   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15646   ac_status=$?
   15647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15648   (exit $ac_status); }
   15649         then
   15650 	  archive_cmds_need_lc_F77=no
   15651         else
   15652 	  archive_cmds_need_lc_F77=yes
   15653         fi
   15654         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15655       else
   15656         cat conftest.err 1>&5
   15657       fi
   15658       $rm conftest*
   15659       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15660 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15661       ;;
   15662     esac
   15663   fi
   15664   ;;
   15665 esac
   15666 
   15667 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15668 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15669 library_names_spec=
   15670 libname_spec='lib$name'
   15671 soname_spec=
   15672 shrext_cmds=".so"
   15673 postinstall_cmds=
   15674 postuninstall_cmds=
   15675 finish_cmds=
   15676 finish_eval=
   15677 shlibpath_var=
   15678 shlibpath_overrides_runpath=unknown
   15679 version_type=none
   15680 dynamic_linker="$host_os ld.so"
   15681 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15682 if test "$GCC" = yes; then
   15683   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15684   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15685     # if the path contains ";" then we assume it to be the separator
   15686     # otherwise default to the standard path separator (i.e. ":") - it is
   15687     # assumed that no part of a normal pathname contains ";" but that should
   15688     # okay in the real world where ";" in dirpaths is itself problematic.
   15689     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15690   else
   15691     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15692   fi
   15693 else
   15694   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15695 fi
   15696 need_lib_prefix=unknown
   15697 hardcode_into_libs=no
   15698 
   15699 # when you set need_version to no, make sure it does not cause -set_version
   15700 # flags to be left without arguments
   15701 need_version=unknown
   15702 
   15703 case $host_os in
   15704 aix3*)
   15705   version_type=linux
   15706   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15707   shlibpath_var=LIBPATH
   15708 
   15709   # AIX 3 has no versioning support, so we append a major version to the name.
   15710   soname_spec='${libname}${release}${shared_ext}$major'
   15711   ;;
   15712 
   15713 aix4* | aix5*)
   15714   version_type=linux
   15715   need_lib_prefix=no
   15716   need_version=no
   15717   hardcode_into_libs=yes
   15718   if test "$host_cpu" = ia64; then
   15719     # AIX 5 supports IA64
   15720     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15721     shlibpath_var=LD_LIBRARY_PATH
   15722   else
   15723     # With GCC up to 2.95.x, collect2 would create an import file
   15724     # for dependence libraries.  The import file would start with
   15725     # the line `#! .'.  This would cause the generated library to
   15726     # depend on `.', always an invalid library.  This was fixed in
   15727     # development snapshots of GCC prior to 3.0.
   15728     case $host_os in
   15729       aix4 | aix4.[01] | aix4.[01].*)
   15730       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15731 	   echo ' yes '
   15732 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15733 	:
   15734       else
   15735 	can_build_shared=no
   15736       fi
   15737       ;;
   15738     esac
   15739     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15740     # soname into executable. Probably we can add versioning support to
   15741     # collect2, so additional links can be useful in future.
   15742     if test "$aix_use_runtimelinking" = yes; then
   15743       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15744       # instead of lib<name>.a to let people know that these are not
   15745       # typical AIX shared libraries.
   15746       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15747     else
   15748       # We preserve .a as extension for shared libraries through AIX4.2
   15749       # and later when we are not doing run time linking.
   15750       library_names_spec='${libname}${release}.a $libname.a'
   15751       soname_spec='${libname}${release}${shared_ext}$major'
   15752     fi
   15753     shlibpath_var=LIBPATH
   15754   fi
   15755   ;;
   15756 
   15757 amigaos*)
   15758   library_names_spec='$libname.ixlibrary $libname.a'
   15759   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15760   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'
   15761   ;;
   15762 
   15763 beos*)
   15764   library_names_spec='${libname}${shared_ext}'
   15765   dynamic_linker="$host_os ld.so"
   15766   shlibpath_var=LIBRARY_PATH
   15767   ;;
   15768 
   15769 bsdi[45]*)
   15770   version_type=linux
   15771   need_version=no
   15772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15773   soname_spec='${libname}${release}${shared_ext}$major'
   15774   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15775   shlibpath_var=LD_LIBRARY_PATH
   15776   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15777   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15778   # the default ld.so.conf also contains /usr/contrib/lib and
   15779   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15780   # libtool to hard-code these into programs
   15781   ;;
   15782 
   15783 cygwin* | mingw* | pw32*)
   15784   version_type=windows
   15785   shrext_cmds=".dll"
   15786   need_version=no
   15787   need_lib_prefix=no
   15788 
   15789   case $GCC,$host_os in
   15790   yes,cygwin* | yes,mingw* | yes,pw32*)
   15791     library_names_spec='$libname.dll.a'
   15792     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15793     postinstall_cmds='base_file=`basename \${file}`~
   15794       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15795       dldir=$destdir/`dirname \$dlpath`~
   15796       test -d \$dldir || mkdir -p \$dldir~
   15797       $install_prog $dir/$dlname \$dldir/$dlname~
   15798       chmod a+x \$dldir/$dlname'
   15799     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15800       dlpath=$dir/\$dldll~
   15801        $rm \$dlpath'
   15802     shlibpath_overrides_runpath=yes
   15803 
   15804     case $host_os in
   15805     cygwin*)
   15806       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15807       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15808       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15809       ;;
   15810     mingw*)
   15811       # MinGW DLLs use traditional 'lib' prefix
   15812       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15813       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15814       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15815         # It is most probably a Windows format PATH printed by
   15816         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15817         # path with ; separators, and with drive letters. We can handle the
   15818         # drive letters (cygwin fileutils understands them), so leave them,
   15819         # especially as we might pass files found there to a mingw objdump,
   15820         # which wouldn't understand a cygwinified path. Ahh.
   15821         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15822       else
   15823         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15824       fi
   15825       ;;
   15826     pw32*)
   15827       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15828       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15829       ;;
   15830     esac
   15831     ;;
   15832 
   15833   linux*)
   15834     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
   15835       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15836       supports_anon_versioning=no
   15837       case `$LD -v 2>/dev/null` in
   15838         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15839         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15840         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15841         *\ 2.11.*) ;; # other 2.11 versions
   15842         *) supports_anon_versioning=yes ;;
   15843       esac
   15844       if test $supports_anon_versioning = yes; then
   15845         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   15846 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15847 $echo "local: *; };" >> $output_objdir/$libname.ver~
   15848         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15849       else
   15850         $archive_expsym_cmds="$archive_cmds"
   15851       fi
   15852     else
   15853       ld_shlibs=no
   15854     fi
   15855     ;;
   15856 
   15857   *)
   15858     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15859     ;;
   15860   esac
   15861   dynamic_linker='Win32 ld.exe'
   15862   # FIXME: first we should search . and the directory the executable is in
   15863   shlibpath_var=PATH
   15864   ;;
   15865 
   15866 darwin* | rhapsody*)
   15867   dynamic_linker="$host_os dyld"
   15868   version_type=darwin
   15869   need_lib_prefix=no
   15870   need_version=no
   15871   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15872   soname_spec='${libname}${release}${major}$shared_ext'
   15873   shlibpath_overrides_runpath=yes
   15874   shlibpath_var=DYLD_LIBRARY_PATH
   15875   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15876   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15877   if test "$GCC" = yes; then
   15878     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"`
   15879   else
   15880     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15881   fi
   15882   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15883   ;;
   15884 
   15885 dgux*)
   15886   version_type=linux
   15887   need_lib_prefix=no
   15888   need_version=no
   15889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15890   soname_spec='${libname}${release}${shared_ext}$major'
   15891   shlibpath_var=LD_LIBRARY_PATH
   15892   ;;
   15893 
   15894 freebsd1*)
   15895   dynamic_linker=no
   15896   ;;
   15897 
   15898 kfreebsd*-gnu)
   15899   version_type=linux
   15900   need_lib_prefix=no
   15901   need_version=no
   15902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15903   soname_spec='${libname}${release}${shared_ext}$major'
   15904   shlibpath_var=LD_LIBRARY_PATH
   15905   shlibpath_overrides_runpath=no
   15906   hardcode_into_libs=yes
   15907   dynamic_linker='GNU ld.so'
   15908   ;;
   15909 
   15910 freebsd* | dragonfly*)
   15911   # DragonFly does not have aout.  When/if they implement a new
   15912   # versioning mechanism, adjust this.
   15913   if test -x /usr/bin/objformat; then
   15914     objformat=`/usr/bin/objformat`
   15915   else
   15916     case $host_os in
   15917     freebsd[123]*) objformat=aout ;;
   15918     *) objformat=elf ;;
   15919     esac
   15920   fi
   15921   # Handle Gentoo/FreeBSD as it was Linux
   15922   case $host_vendor in
   15923     gentoo)
   15924       version_type=linux ;;
   15925     *)
   15926       version_type=freebsd-$objformat ;;
   15927   esac
   15928 
   15929   case $version_type in
   15930     freebsd-elf*)
   15931       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15932       need_version=no
   15933       need_lib_prefix=no
   15934       ;;
   15935     freebsd-*)
   15936       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15937       need_version=yes
   15938       ;;
   15939     linux)
   15940       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15941       soname_spec='${libname}${release}${shared_ext}$major'
   15942       need_lib_prefix=no
   15943       need_version=no
   15944       ;;
   15945   esac
   15946   shlibpath_var=LD_LIBRARY_PATH
   15947   case $host_os in
   15948   freebsd2*)
   15949     shlibpath_overrides_runpath=yes
   15950     ;;
   15951   freebsd3.[01]* | freebsdelf3.[01]*)
   15952     shlibpath_overrides_runpath=yes
   15953     hardcode_into_libs=yes
   15954     ;;
   15955   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15956   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15957     shlibpath_overrides_runpath=no
   15958     hardcode_into_libs=yes
   15959     ;;
   15960   freebsd*) # from 4.6 on
   15961     shlibpath_overrides_runpath=yes
   15962     hardcode_into_libs=yes
   15963     ;;
   15964   esac
   15965   ;;
   15966 
   15967 gnu*)
   15968   version_type=linux
   15969   need_lib_prefix=no
   15970   need_version=no
   15971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15972   soname_spec='${libname}${release}${shared_ext}$major'
   15973   shlibpath_var=LD_LIBRARY_PATH
   15974   hardcode_into_libs=yes
   15975   ;;
   15976 
   15977 hpux9* | hpux10* | hpux11*)
   15978   # Give a soname corresponding to the major version so that dld.sl refuses to
   15979   # link against other versions.
   15980   version_type=sunos
   15981   need_lib_prefix=no
   15982   need_version=no
   15983   case $host_cpu in
   15984   ia64*)
   15985     shrext_cmds='.so'
   15986     hardcode_into_libs=yes
   15987     dynamic_linker="$host_os dld.so"
   15988     shlibpath_var=LD_LIBRARY_PATH
   15989     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15990     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15991     soname_spec='${libname}${release}${shared_ext}$major'
   15992     if test "X$HPUX_IA64_MODE" = X32; then
   15993       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15994     else
   15995       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15996     fi
   15997     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15998     ;;
   15999    hppa*64*)
   16000      shrext_cmds='.sl'
   16001      hardcode_into_libs=yes
   16002      dynamic_linker="$host_os dld.sl"
   16003      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16004      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16005      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16006      soname_spec='${libname}${release}${shared_ext}$major'
   16007      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16008      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16009      ;;
   16010    *)
   16011     shrext_cmds='.sl'
   16012     dynamic_linker="$host_os dld.sl"
   16013     shlibpath_var=SHLIB_PATH
   16014     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16015     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16016     soname_spec='${libname}${release}${shared_ext}$major'
   16017     ;;
   16018   esac
   16019   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16020   postinstall_cmds='chmod 555 $lib'
   16021   ;;
   16022 
   16023 interix3*)
   16024   version_type=linux
   16025   need_lib_prefix=no
   16026   need_version=no
   16027   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16028   soname_spec='${libname}${release}${shared_ext}$major'
   16029   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16030   shlibpath_var=LD_LIBRARY_PATH
   16031   shlibpath_overrides_runpath=no
   16032   hardcode_into_libs=yes
   16033   ;;
   16034 
   16035 irix5* | irix6* | nonstopux*)
   16036   case $host_os in
   16037     nonstopux*) version_type=nonstopux ;;
   16038     *)
   16039 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16040 		version_type=linux
   16041 	else
   16042 		version_type=irix
   16043 	fi ;;
   16044   esac
   16045   need_lib_prefix=no
   16046   need_version=no
   16047   soname_spec='${libname}${release}${shared_ext}$major'
   16048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16049   case $host_os in
   16050   irix5* | nonstopux*)
   16051     libsuff= shlibsuff=
   16052     ;;
   16053   *)
   16054     case $LD in # libtool.m4 will add one of these switches to LD
   16055     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16056       libsuff= shlibsuff= libmagic=32-bit;;
   16057     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16058       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16059     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16060       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16061     *) libsuff= shlibsuff= libmagic=never-match;;
   16062     esac
   16063     ;;
   16064   esac
   16065   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16066   shlibpath_overrides_runpath=no
   16067   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16068   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16069   hardcode_into_libs=yes
   16070   ;;
   16071 
   16072 # No shared lib support for Linux oldld, aout, or coff.
   16073 linux*oldld* | linux*aout* | linux*coff*)
   16074   dynamic_linker=no
   16075   ;;
   16076 
   16077 # This must be Linux ELF.
   16078 linux*)
   16079   version_type=linux
   16080   need_lib_prefix=no
   16081   need_version=no
   16082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16083   soname_spec='${libname}${release}${shared_ext}$major'
   16084   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16085   shlibpath_var=LD_LIBRARY_PATH
   16086   shlibpath_overrides_runpath=no
   16087   # This implies no fast_install, which is unacceptable.
   16088   # Some rework will be needed to allow for fast_install
   16089   # before this can be enabled.
   16090   hardcode_into_libs=yes
   16091 
   16092   # Append ld.so.conf contents to the search path
   16093   if test -f /etc/ld.so.conf; then
   16094     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' ' '`
   16095     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16096   fi
   16097 
   16098   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16099   # powerpc, because MkLinux only supported shared libraries with the
   16100   # GNU dynamic linker.  Since this was broken with cross compilers,
   16101   # most powerpc-linux boxes support dynamic linking these days and
   16102   # people can always --disable-shared, the test was removed, and we
   16103   # assume the GNU/Linux dynamic linker is in use.
   16104   dynamic_linker='GNU/Linux ld.so'
   16105   ;;
   16106 
   16107 knetbsd*-gnu)
   16108   version_type=linux
   16109   need_lib_prefix=no
   16110   need_version=no
   16111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16112   soname_spec='${libname}${release}${shared_ext}$major'
   16113   shlibpath_var=LD_LIBRARY_PATH
   16114   shlibpath_overrides_runpath=no
   16115   hardcode_into_libs=yes
   16116   dynamic_linker='GNU ld.so'
   16117   ;;
   16118 
   16119 netbsd*)
   16120   version_type=sunos
   16121   need_lib_prefix=no
   16122   need_version=no
   16123   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16124     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16125     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16126     dynamic_linker='NetBSD (a.out) ld.so'
   16127   else
   16128     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16129     soname_spec='${libname}${release}${shared_ext}$major'
   16130     dynamic_linker='NetBSD ld.elf_so'
   16131   fi
   16132   shlibpath_var=LD_LIBRARY_PATH
   16133   shlibpath_overrides_runpath=yes
   16134   hardcode_into_libs=yes
   16135   ;;
   16136 
   16137 newsos6)
   16138   version_type=linux
   16139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16140   shlibpath_var=LD_LIBRARY_PATH
   16141   shlibpath_overrides_runpath=yes
   16142   ;;
   16143 
   16144 nto-qnx*)
   16145   version_type=linux
   16146   need_lib_prefix=no
   16147   need_version=no
   16148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16149   soname_spec='${libname}${release}${shared_ext}$major'
   16150   shlibpath_var=LD_LIBRARY_PATH
   16151   shlibpath_overrides_runpath=yes
   16152   ;;
   16153 
   16154 openbsd*)
   16155   version_type=sunos
   16156   sys_lib_dlsearch_path_spec="/usr/lib"
   16157   need_lib_prefix=no
   16158   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16159   case $host_os in
   16160     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16161     *)                         need_version=no  ;;
   16162   esac
   16163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16164   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16165   shlibpath_var=LD_LIBRARY_PATH
   16166   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16167     case $host_os in
   16168       openbsd2.[89] | openbsd2.[89].*)
   16169 	shlibpath_overrides_runpath=no
   16170 	;;
   16171       *)
   16172 	shlibpath_overrides_runpath=yes
   16173 	;;
   16174       esac
   16175   else
   16176     shlibpath_overrides_runpath=yes
   16177   fi
   16178   ;;
   16179 
   16180 os2*)
   16181   libname_spec='$name'
   16182   shrext_cmds=".dll"
   16183   need_lib_prefix=no
   16184   library_names_spec='$libname${shared_ext} $libname.a'
   16185   dynamic_linker='OS/2 ld.exe'
   16186   shlibpath_var=LIBPATH
   16187   ;;
   16188 
   16189 osf3* | osf4* | osf5*)
   16190   version_type=osf
   16191   need_lib_prefix=no
   16192   need_version=no
   16193   soname_spec='${libname}${release}${shared_ext}$major'
   16194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16195   shlibpath_var=LD_LIBRARY_PATH
   16196   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16197   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16198   ;;
   16199 
   16200 solaris*)
   16201   version_type=linux
   16202   need_lib_prefix=no
   16203   need_version=no
   16204   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16205   soname_spec='${libname}${release}${shared_ext}$major'
   16206   shlibpath_var=LD_LIBRARY_PATH
   16207   shlibpath_overrides_runpath=yes
   16208   hardcode_into_libs=yes
   16209   # ldd complains unless libraries are executable
   16210   postinstall_cmds='chmod +x $lib'
   16211   ;;
   16212 
   16213 sunos4*)
   16214   version_type=sunos
   16215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16216   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16217   shlibpath_var=LD_LIBRARY_PATH
   16218   shlibpath_overrides_runpath=yes
   16219   if test "$with_gnu_ld" = yes; then
   16220     need_lib_prefix=no
   16221   fi
   16222   need_version=yes
   16223   ;;
   16224 
   16225 sysv4 | sysv4.3*)
   16226   version_type=linux
   16227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16228   soname_spec='${libname}${release}${shared_ext}$major'
   16229   shlibpath_var=LD_LIBRARY_PATH
   16230   case $host_vendor in
   16231     sni)
   16232       shlibpath_overrides_runpath=no
   16233       need_lib_prefix=no
   16234       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16235       runpath_var=LD_RUN_PATH
   16236       ;;
   16237     siemens)
   16238       need_lib_prefix=no
   16239       ;;
   16240     motorola)
   16241       need_lib_prefix=no
   16242       need_version=no
   16243       shlibpath_overrides_runpath=no
   16244       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16245       ;;
   16246   esac
   16247   ;;
   16248 
   16249 sysv4*MP*)
   16250   if test -d /usr/nec ;then
   16251     version_type=linux
   16252     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16253     soname_spec='$libname${shared_ext}.$major'
   16254     shlibpath_var=LD_LIBRARY_PATH
   16255   fi
   16256   ;;
   16257 
   16258 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16259   version_type=freebsd-elf
   16260   need_lib_prefix=no
   16261   need_version=no
   16262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16263   soname_spec='${libname}${release}${shared_ext}$major'
   16264   shlibpath_var=LD_LIBRARY_PATH
   16265   hardcode_into_libs=yes
   16266   if test "$with_gnu_ld" = yes; then
   16267     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16268     shlibpath_overrides_runpath=no
   16269   else
   16270     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16271     shlibpath_overrides_runpath=yes
   16272     case $host_os in
   16273       sco3.2v5*)
   16274         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16275 	;;
   16276     esac
   16277   fi
   16278   sys_lib_dlsearch_path_spec='/usr/lib'
   16279   ;;
   16280 
   16281 uts4*)
   16282   version_type=linux
   16283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16284   soname_spec='${libname}${release}${shared_ext}$major'
   16285   shlibpath_var=LD_LIBRARY_PATH
   16286   ;;
   16287 
   16288 *)
   16289   dynamic_linker=no
   16290   ;;
   16291 esac
   16292 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16293 echo "${ECHO_T}$dynamic_linker" >&6; }
   16294 test "$dynamic_linker" = no && can_build_shared=no
   16295 
   16296 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16297 if test "$GCC" = yes; then
   16298   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16299 fi
   16300 
   16301 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16302 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16303 hardcode_action_F77=
   16304 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16305    test -n "$runpath_var_F77" || \
   16306    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16307 
   16308   # We can hardcode non-existant directories.
   16309   if test "$hardcode_direct_F77" != no &&
   16310      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16311      # have to relink, otherwise we might link with an installed library
   16312      # when we should be linking with a yet-to-be-installed one
   16313      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16314      test "$hardcode_minus_L_F77" != no; then
   16315     # Linking always hardcodes the temporary library directory.
   16316     hardcode_action_F77=relink
   16317   else
   16318     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16319     hardcode_action_F77=immediate
   16320   fi
   16321 else
   16322   # We cannot hardcode anything, or else we can only hardcode existing
   16323   # directories.
   16324   hardcode_action_F77=unsupported
   16325 fi
   16326 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16327 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16328 
   16329 if test "$hardcode_action_F77" = relink; then
   16330   # Fast installation is not supported
   16331   enable_fast_install=no
   16332 elif test "$shlibpath_overrides_runpath" = yes ||
   16333      test "$enable_shared" = no; then
   16334   # Fast installation is not necessary
   16335   enable_fast_install=needless
   16336 fi
   16337 
   16338 
   16339 # The else clause should only fire when bootstrapping the
   16340 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16341 # with your package, and you will get complaints that there are
   16342 # no rules to generate ltmain.sh.
   16343 if test -f "$ltmain"; then
   16344   # See if we are running on zsh, and set the options which allow our commands through
   16345   # without removal of \ escapes.
   16346   if test -n "${ZSH_VERSION+set}" ; then
   16347     setopt NO_GLOB_SUBST
   16348   fi
   16349   # Now quote all the things that may contain metacharacters while being
   16350   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16351   # variables and quote the copies for generation of the libtool script.
   16352   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16353     SED SHELL STRIP \
   16354     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16355     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16356     deplibs_check_method reload_flag reload_cmds need_locks \
   16357     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16358     lt_cv_sys_global_symbol_to_c_name_address \
   16359     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16360     old_postinstall_cmds old_postuninstall_cmds \
   16361     compiler_F77 \
   16362     CC_F77 \
   16363     LD_F77 \
   16364     lt_prog_compiler_wl_F77 \
   16365     lt_prog_compiler_pic_F77 \
   16366     lt_prog_compiler_static_F77 \
   16367     lt_prog_compiler_no_builtin_flag_F77 \
   16368     export_dynamic_flag_spec_F77 \
   16369     thread_safe_flag_spec_F77 \
   16370     whole_archive_flag_spec_F77 \
   16371     enable_shared_with_static_runtimes_F77 \
   16372     old_archive_cmds_F77 \
   16373     old_archive_from_new_cmds_F77 \
   16374     predep_objects_F77 \
   16375     postdep_objects_F77 \
   16376     predeps_F77 \
   16377     postdeps_F77 \
   16378     compiler_lib_search_path_F77 \
   16379     archive_cmds_F77 \
   16380     archive_expsym_cmds_F77 \
   16381     postinstall_cmds_F77 \
   16382     postuninstall_cmds_F77 \
   16383     old_archive_from_expsyms_cmds_F77 \
   16384     allow_undefined_flag_F77 \
   16385     no_undefined_flag_F77 \
   16386     export_symbols_cmds_F77 \
   16387     hardcode_libdir_flag_spec_F77 \
   16388     hardcode_libdir_flag_spec_ld_F77 \
   16389     hardcode_libdir_separator_F77 \
   16390     hardcode_automatic_F77 \
   16391     module_cmds_F77 \
   16392     module_expsym_cmds_F77 \
   16393     lt_cv_prog_compiler_c_o_F77 \
   16394     exclude_expsyms_F77 \
   16395     include_expsyms_F77; do
   16396 
   16397     case $var in
   16398     old_archive_cmds_F77 | \
   16399     old_archive_from_new_cmds_F77 | \
   16400     archive_cmds_F77 | \
   16401     archive_expsym_cmds_F77 | \
   16402     module_cmds_F77 | \
   16403     module_expsym_cmds_F77 | \
   16404     old_archive_from_expsyms_cmds_F77 | \
   16405     export_symbols_cmds_F77 | \
   16406     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16407     postinstall_cmds | postuninstall_cmds | \
   16408     old_postinstall_cmds | old_postuninstall_cmds | \
   16409     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16410       # Double-quote double-evaled strings.
   16411       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16412       ;;
   16413     *)
   16414       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16415       ;;
   16416     esac
   16417   done
   16418 
   16419   case $lt_echo in
   16420   *'\$0 --fallback-echo"')
   16421     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16422     ;;
   16423   esac
   16424 
   16425 cfgfile="$ofile"
   16426 
   16427   cat <<__EOF__ >> "$cfgfile"
   16428 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16429 
   16430 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16431 
   16432 # Shell to use when invoking shell scripts.
   16433 SHELL=$lt_SHELL
   16434 
   16435 # Whether or not to build shared libraries.
   16436 build_libtool_libs=$enable_shared
   16437 
   16438 # Whether or not to build static libraries.
   16439 build_old_libs=$enable_static
   16440 
   16441 # Whether or not to add -lc for building shared libraries.
   16442 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16443 
   16444 # Whether or not to disallow shared libs when runtime libs are static
   16445 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16446 
   16447 # Whether or not to optimize for fast installation.
   16448 fast_install=$enable_fast_install
   16449 
   16450 # The host system.
   16451 host_alias=$host_alias
   16452 host=$host
   16453 host_os=$host_os
   16454 
   16455 # The build system.
   16456 build_alias=$build_alias
   16457 build=$build
   16458 build_os=$build_os
   16459 
   16460 # An echo program that does not interpret backslashes.
   16461 echo=$lt_echo
   16462 
   16463 # The archiver.
   16464 AR=$lt_AR
   16465 AR_FLAGS=$lt_AR_FLAGS
   16466 
   16467 # A C compiler.
   16468 LTCC=$lt_LTCC
   16469 
   16470 # LTCC compiler flags.
   16471 LTCFLAGS=$lt_LTCFLAGS
   16472 
   16473 # A language-specific compiler.
   16474 CC=$lt_compiler_F77
   16475 
   16476 # Is the compiler the GNU C compiler?
   16477 with_gcc=$GCC_F77
   16478 
   16479 # An ERE matcher.
   16480 EGREP=$lt_EGREP
   16481 
   16482 # The linker used to build libraries.
   16483 LD=$lt_LD_F77
   16484 
   16485 # Whether we need hard or soft links.
   16486 LN_S=$lt_LN_S
   16487 
   16488 # A BSD-compatible nm program.
   16489 NM=$lt_NM
   16490 
   16491 # A symbol stripping program
   16492 STRIP=$lt_STRIP
   16493 
   16494 # Used to examine libraries when file_magic_cmd begins "file"
   16495 MAGIC_CMD=$MAGIC_CMD
   16496 
   16497 # Used on cygwin: DLL creation program.
   16498 DLLTOOL="$DLLTOOL"
   16499 
   16500 # Used on cygwin: object dumper.
   16501 OBJDUMP="$OBJDUMP"
   16502 
   16503 # Used on cygwin: assembler.
   16504 AS="$AS"
   16505 
   16506 # The name of the directory that contains temporary libtool files.
   16507 objdir=$objdir
   16508 
   16509 # How to create reloadable object files.
   16510 reload_flag=$lt_reload_flag
   16511 reload_cmds=$lt_reload_cmds
   16512 
   16513 # How to pass a linker flag through the compiler.
   16514 wl=$lt_lt_prog_compiler_wl_F77
   16515 
   16516 # Object file suffix (normally "o").
   16517 objext="$ac_objext"
   16518 
   16519 # Old archive suffix (normally "a").
   16520 libext="$libext"
   16521 
   16522 # Shared library suffix (normally ".so").
   16523 shrext_cmds='$shrext_cmds'
   16524 
   16525 # Executable file suffix (normally "").
   16526 exeext="$exeext"
   16527 
   16528 # Additional compiler flags for building library objects.
   16529 pic_flag=$lt_lt_prog_compiler_pic_F77
   16530 pic_mode=$pic_mode
   16531 
   16532 # What is the maximum length of a command?
   16533 max_cmd_len=$lt_cv_sys_max_cmd_len
   16534 
   16535 # Does compiler simultaneously support -c and -o options?
   16536 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16537 
   16538 # Must we lock files when doing compilation?
   16539 need_locks=$lt_need_locks
   16540 
   16541 # Do we need the lib prefix for modules?
   16542 need_lib_prefix=$need_lib_prefix
   16543 
   16544 # Do we need a version for libraries?
   16545 need_version=$need_version
   16546 
   16547 # Whether dlopen is supported.
   16548 dlopen_support=$enable_dlopen
   16549 
   16550 # Whether dlopen of programs is supported.
   16551 dlopen_self=$enable_dlopen_self
   16552 
   16553 # Whether dlopen of statically linked programs is supported.
   16554 dlopen_self_static=$enable_dlopen_self_static
   16555 
   16556 # Compiler flag to prevent dynamic linking.
   16557 link_static_flag=$lt_lt_prog_compiler_static_F77
   16558 
   16559 # Compiler flag to turn off builtin functions.
   16560 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16561 
   16562 # Compiler flag to allow reflexive dlopens.
   16563 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16564 
   16565 # Compiler flag to generate shared objects directly from archives.
   16566 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16567 
   16568 # Compiler flag to generate thread-safe objects.
   16569 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16570 
   16571 # Library versioning type.
   16572 version_type=$version_type
   16573 
   16574 # Format of library name prefix.
   16575 libname_spec=$lt_libname_spec
   16576 
   16577 # List of archive names.  First name is the real one, the rest are links.
   16578 # The last name is the one that the linker finds with -lNAME.
   16579 library_names_spec=$lt_library_names_spec
   16580 
   16581 # The coded name of the library, if different from the real name.
   16582 soname_spec=$lt_soname_spec
   16583 
   16584 # Commands used to build and install an old-style archive.
   16585 RANLIB=$lt_RANLIB
   16586 old_archive_cmds=$lt_old_archive_cmds_F77
   16587 old_postinstall_cmds=$lt_old_postinstall_cmds
   16588 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16589 
   16590 # Create an old-style archive from a shared archive.
   16591 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16592 
   16593 # Create a temporary old-style archive to link instead of a shared archive.
   16594 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16595 
   16596 # Commands used to build and install a shared archive.
   16597 archive_cmds=$lt_archive_cmds_F77
   16598 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16599 postinstall_cmds=$lt_postinstall_cmds
   16600 postuninstall_cmds=$lt_postuninstall_cmds
   16601 
   16602 # Commands used to build a loadable module (assumed same as above if empty)
   16603 module_cmds=$lt_module_cmds_F77
   16604 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16605 
   16606 # Commands to strip libraries.
   16607 old_striplib=$lt_old_striplib
   16608 striplib=$lt_striplib
   16609 
   16610 # Dependencies to place before the objects being linked to create a
   16611 # shared library.
   16612 predep_objects=$lt_predep_objects_F77
   16613 
   16614 # Dependencies to place after the objects being linked to create a
   16615 # shared library.
   16616 postdep_objects=$lt_postdep_objects_F77
   16617 
   16618 # Dependencies to place before the objects being linked to create a
   16619 # shared library.
   16620 predeps=$lt_predeps_F77
   16621 
   16622 # Dependencies to place after the objects being linked to create a
   16623 # shared library.
   16624 postdeps=$lt_postdeps_F77
   16625 
   16626 # The library search path used internally by the compiler when linking
   16627 # a shared library.
   16628 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16629 
   16630 # Method to check whether dependent libraries are shared objects.
   16631 deplibs_check_method=$lt_deplibs_check_method
   16632 
   16633 # Command to use when deplibs_check_method == file_magic.
   16634 file_magic_cmd=$lt_file_magic_cmd
   16635 
   16636 # Flag that allows shared libraries with undefined symbols to be built.
   16637 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16638 
   16639 # Flag that forces no undefined symbols.
   16640 no_undefined_flag=$lt_no_undefined_flag_F77
   16641 
   16642 # Commands used to finish a libtool library installation in a directory.
   16643 finish_cmds=$lt_finish_cmds
   16644 
   16645 # Same as above, but a single script fragment to be evaled but not shown.
   16646 finish_eval=$lt_finish_eval
   16647 
   16648 # Take the output of nm and produce a listing of raw symbols and C names.
   16649 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16650 
   16651 # Transform the output of nm in a proper C declaration
   16652 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16653 
   16654 # Transform the output of nm in a C name address pair
   16655 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16656 
   16657 # This is the shared library runtime path variable.
   16658 runpath_var=$runpath_var
   16659 
   16660 # This is the shared library path variable.
   16661 shlibpath_var=$shlibpath_var
   16662 
   16663 # Is shlibpath searched before the hard-coded library search path?
   16664 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16665 
   16666 # How to hardcode a shared library path into an executable.
   16667 hardcode_action=$hardcode_action_F77
   16668 
   16669 # Whether we should hardcode library paths into libraries.
   16670 hardcode_into_libs=$hardcode_into_libs
   16671 
   16672 # Flag to hardcode \$libdir into a binary during linking.
   16673 # This must work even if \$libdir does not exist.
   16674 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16675 
   16676 # If ld is used when linking, flag to hardcode \$libdir into
   16677 # a binary during linking. This must work even if \$libdir does
   16678 # not exist.
   16679 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16680 
   16681 # Whether we need a single -rpath flag with a separated argument.
   16682 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16683 
   16684 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16685 # resulting binary.
   16686 hardcode_direct=$hardcode_direct_F77
   16687 
   16688 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16689 # resulting binary.
   16690 hardcode_minus_L=$hardcode_minus_L_F77
   16691 
   16692 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16693 # the resulting binary.
   16694 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16695 
   16696 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16697 # and all subsequent libraries and executables linked against it.
   16698 hardcode_automatic=$hardcode_automatic_F77
   16699 
   16700 # Variables whose values should be saved in libtool wrapper scripts and
   16701 # restored at relink time.
   16702 variables_saved_for_relink="$variables_saved_for_relink"
   16703 
   16704 # Whether libtool must link a program against all its dependency libraries.
   16705 link_all_deplibs=$link_all_deplibs_F77
   16706 
   16707 # Compile-time system search path for libraries
   16708 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16709 
   16710 # Run-time system search path for libraries
   16711 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16712 
   16713 # Fix the shell variable \$srcfile for the compiler.
   16714 fix_srcfile_path="$fix_srcfile_path_F77"
   16715 
   16716 # Set to yes if exported symbols are required.
   16717 always_export_symbols=$always_export_symbols_F77
   16718 
   16719 # The commands to list exported symbols.
   16720 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16721 
   16722 # The commands to extract the exported symbol list from a shared archive.
   16723 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16724 
   16725 # Symbols that should not be listed in the preloaded symbols.
   16726 exclude_expsyms=$lt_exclude_expsyms_F77
   16727 
   16728 # Symbols that must always be exported.
   16729 include_expsyms=$lt_include_expsyms_F77
   16730 
   16731 # ### END LIBTOOL TAG CONFIG: $tagname
   16732 
   16733 __EOF__
   16734 
   16735 
   16736 else
   16737   # If there is no Makefile yet, we rely on a make rule to execute
   16738   # `config.status --recheck' to rerun these tests and create the
   16739   # libtool script then.
   16740   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16741   if test -f "$ltmain_in"; then
   16742     test -f Makefile && make "$ltmain"
   16743   fi
   16744 fi
   16745 
   16746 
   16747 ac_ext=c
   16748 ac_cpp='$CPP $CPPFLAGS'
   16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16752 
   16753 CC="$lt_save_CC"
   16754 
   16755 	else
   16756 	  tagname=""
   16757 	fi
   16758 	;;
   16759 
   16760       GCJ)
   16761 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16762 
   16763 
   16764 # Source file extension for Java test sources.
   16765 ac_ext=java
   16766 
   16767 # Object file extension for compiled Java test sources.
   16768 objext=o
   16769 objext_GCJ=$objext
   16770 
   16771 # Code to be used in simple compile tests
   16772 lt_simple_compile_test_code="class foo {}\n"
   16773 
   16774 # Code to be used in simple link tests
   16775 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16776 
   16777 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16778 
   16779 # If no C compiler was specified, use CC.
   16780 LTCC=${LTCC-"$CC"}
   16781 
   16782 # If no C compiler flags were specified, use CFLAGS.
   16783 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16784 
   16785 # Allow CC to be a program name with arguments.
   16786 compiler=$CC
   16787 
   16788 
   16789 # save warnings/boilerplate of simple test code
   16790 ac_outfile=conftest.$ac_objext
   16791 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16792 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16793 _lt_compiler_boilerplate=`cat conftest.err`
   16794 $rm conftest*
   16795 
   16796 ac_outfile=conftest.$ac_objext
   16797 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16798 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16799 _lt_linker_boilerplate=`cat conftest.err`
   16800 $rm conftest*
   16801 
   16802 
   16803 # Allow CC to be a program name with arguments.
   16804 lt_save_CC="$CC"
   16805 CC=${GCJ-"gcj"}
   16806 compiler=$CC
   16807 compiler_GCJ=$CC
   16808 for cc_temp in $compiler""; do
   16809   case $cc_temp in
   16810     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16811     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16812     \-*) ;;
   16813     *) break;;
   16814   esac
   16815 done
   16816 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16817 
   16818 
   16819 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16820 archive_cmds_need_lc_GCJ=no
   16821 
   16822 old_archive_cmds_GCJ=$old_archive_cmds
   16823 
   16824 
   16825 lt_prog_compiler_no_builtin_flag_GCJ=
   16826 
   16827 if test "$GCC" = yes; then
   16828   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16829 
   16830 
   16831 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16832 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16833 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16834   echo $ECHO_N "(cached) $ECHO_C" >&6
   16835 else
   16836   lt_cv_prog_compiler_rtti_exceptions=no
   16837   ac_outfile=conftest.$ac_objext
   16838    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16839    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16840    # Insert the option either (1) after the last *FLAGS variable, or
   16841    # (2) before a word containing "conftest.", or (3) at the end.
   16842    # Note that $ac_compile itself does not contain backslashes and begins
   16843    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16844    # The option is referenced via a variable to avoid confusing sed.
   16845    lt_compile=`echo "$ac_compile" | $SED \
   16846    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16847    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16848    -e 's:$: $lt_compiler_flag:'`
   16849    (eval echo "\"\$as_me:16849: $lt_compile\"" >&5)
   16850    (eval "$lt_compile" 2>conftest.err)
   16851    ac_status=$?
   16852    cat conftest.err >&5
   16853    echo "$as_me:16853: \$? = $ac_status" >&5
   16854    if (exit $ac_status) && test -s "$ac_outfile"; then
   16855      # The compiler can only warn and ignore the option if not recognized
   16856      # So say no if there are warnings other than the usual output.
   16857      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16858      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16859      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16860        lt_cv_prog_compiler_rtti_exceptions=yes
   16861      fi
   16862    fi
   16863    $rm conftest*
   16864 
   16865 fi
   16866 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16867 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16868 
   16869 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16870     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16871 else
   16872     :
   16873 fi
   16874 
   16875 fi
   16876 
   16877 lt_prog_compiler_wl_GCJ=
   16878 lt_prog_compiler_pic_GCJ=
   16879 lt_prog_compiler_static_GCJ=
   16880 
   16881 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16882 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16883 
   16884   if test "$GCC" = yes; then
   16885     lt_prog_compiler_wl_GCJ='-Wl,'
   16886     lt_prog_compiler_static_GCJ='-static'
   16887 
   16888     case $host_os in
   16889       aix*)
   16890       # All AIX code is PIC.
   16891       if test "$host_cpu" = ia64; then
   16892 	# AIX 5 now supports IA64 processor
   16893 	lt_prog_compiler_static_GCJ='-Bstatic'
   16894       fi
   16895       ;;
   16896 
   16897     amigaos*)
   16898       # FIXME: we need at least 68020 code to build shared libraries, but
   16899       # adding the `-m68020' flag to GCC prevents building anything better,
   16900       # like `-m68040'.
   16901       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16902       ;;
   16903 
   16904     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16905       # PIC is the default for these OSes.
   16906       ;;
   16907 
   16908     mingw* | pw32* | os2*)
   16909       # This hack is so that the source file can tell whether it is being
   16910       # built for inclusion in a dll (and should export symbols for example).
   16911       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16912       ;;
   16913 
   16914     darwin* | rhapsody*)
   16915       # PIC is the default on this platform
   16916       # Common symbols not allowed in MH_DYLIB files
   16917       lt_prog_compiler_pic_GCJ='-fno-common'
   16918       ;;
   16919 
   16920     interix3*)
   16921       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16922       # Instead, we relocate shared libraries at runtime.
   16923       ;;
   16924 
   16925     msdosdjgpp*)
   16926       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16927       # on systems that don't support them.
   16928       lt_prog_compiler_can_build_shared_GCJ=no
   16929       enable_shared=no
   16930       ;;
   16931 
   16932     sysv4*MP*)
   16933       if test -d /usr/nec; then
   16934 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16935       fi
   16936       ;;
   16937 
   16938     hpux*)
   16939       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16940       # not for PA HP-UX.
   16941       case $host_cpu in
   16942       hppa*64*|ia64*)
   16943 	# +Z the default
   16944 	;;
   16945       *)
   16946 	lt_prog_compiler_pic_GCJ='-fPIC'
   16947 	;;
   16948       esac
   16949       ;;
   16950 
   16951     *)
   16952       lt_prog_compiler_pic_GCJ='-fPIC'
   16953       ;;
   16954     esac
   16955   else
   16956     # PORTME Check for flag to pass linker flags through the system compiler.
   16957     case $host_os in
   16958     aix*)
   16959       lt_prog_compiler_wl_GCJ='-Wl,'
   16960       if test "$host_cpu" = ia64; then
   16961 	# AIX 5 now supports IA64 processor
   16962 	lt_prog_compiler_static_GCJ='-Bstatic'
   16963       else
   16964 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16965       fi
   16966       ;;
   16967       darwin*)
   16968         # PIC is the default on this platform
   16969         # Common symbols not allowed in MH_DYLIB files
   16970        case $cc_basename in
   16971          xlc*)
   16972          lt_prog_compiler_pic_GCJ='-qnocommon'
   16973          lt_prog_compiler_wl_GCJ='-Wl,'
   16974          ;;
   16975        esac
   16976        ;;
   16977 
   16978     mingw* | pw32* | os2*)
   16979       # This hack is so that the source file can tell whether it is being
   16980       # built for inclusion in a dll (and should export symbols for example).
   16981       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16982       ;;
   16983 
   16984     hpux9* | hpux10* | hpux11*)
   16985       lt_prog_compiler_wl_GCJ='-Wl,'
   16986       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16987       # not for PA HP-UX.
   16988       case $host_cpu in
   16989       hppa*64*|ia64*)
   16990 	# +Z the default
   16991 	;;
   16992       *)
   16993 	lt_prog_compiler_pic_GCJ='+Z'
   16994 	;;
   16995       esac
   16996       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16997       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16998       ;;
   16999 
   17000     irix5* | irix6* | nonstopux*)
   17001       lt_prog_compiler_wl_GCJ='-Wl,'
   17002       # PIC (with -KPIC) is the default.
   17003       lt_prog_compiler_static_GCJ='-non_shared'
   17004       ;;
   17005 
   17006     newsos6)
   17007       lt_prog_compiler_pic_GCJ='-KPIC'
   17008       lt_prog_compiler_static_GCJ='-Bstatic'
   17009       ;;
   17010 
   17011     linux*)
   17012       case $cc_basename in
   17013       icc* | ecc*)
   17014 	lt_prog_compiler_wl_GCJ='-Wl,'
   17015 	lt_prog_compiler_pic_GCJ='-KPIC'
   17016 	lt_prog_compiler_static_GCJ='-static'
   17017         ;;
   17018       pgcc* | pgf77* | pgf90* | pgf95*)
   17019         # Portland Group compilers (*not* the Pentium gcc compiler,
   17020 	# which looks to be a dead project)
   17021 	lt_prog_compiler_wl_GCJ='-Wl,'
   17022 	lt_prog_compiler_pic_GCJ='-fpic'
   17023 	lt_prog_compiler_static_GCJ='-Bstatic'
   17024         ;;
   17025       ccc*)
   17026         lt_prog_compiler_wl_GCJ='-Wl,'
   17027         # All Alpha code is PIC.
   17028         lt_prog_compiler_static_GCJ='-non_shared'
   17029         ;;
   17030       esac
   17031       ;;
   17032 
   17033     osf3* | osf4* | osf5*)
   17034       lt_prog_compiler_wl_GCJ='-Wl,'
   17035       # All OSF/1 code is PIC.
   17036       lt_prog_compiler_static_GCJ='-non_shared'
   17037       ;;
   17038 
   17039     solaris*)
   17040       lt_prog_compiler_pic_GCJ='-KPIC'
   17041       lt_prog_compiler_static_GCJ='-Bstatic'
   17042       case $cc_basename in
   17043       f77* | f90* | f95*)
   17044 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17045       *)
   17046 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17047       esac
   17048       ;;
   17049 
   17050     sunos4*)
   17051       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17052       lt_prog_compiler_pic_GCJ='-PIC'
   17053       lt_prog_compiler_static_GCJ='-Bstatic'
   17054       ;;
   17055 
   17056     sysv4 | sysv4.2uw2* | sysv4.3*)
   17057       lt_prog_compiler_wl_GCJ='-Wl,'
   17058       lt_prog_compiler_pic_GCJ='-KPIC'
   17059       lt_prog_compiler_static_GCJ='-Bstatic'
   17060       ;;
   17061 
   17062     sysv4*MP*)
   17063       if test -d /usr/nec ;then
   17064 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17065 	lt_prog_compiler_static_GCJ='-Bstatic'
   17066       fi
   17067       ;;
   17068 
   17069     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17070       lt_prog_compiler_wl_GCJ='-Wl,'
   17071       lt_prog_compiler_pic_GCJ='-KPIC'
   17072       lt_prog_compiler_static_GCJ='-Bstatic'
   17073       ;;
   17074 
   17075     unicos*)
   17076       lt_prog_compiler_wl_GCJ='-Wl,'
   17077       lt_prog_compiler_can_build_shared_GCJ=no
   17078       ;;
   17079 
   17080     uts4*)
   17081       lt_prog_compiler_pic_GCJ='-pic'
   17082       lt_prog_compiler_static_GCJ='-Bstatic'
   17083       ;;
   17084 
   17085     *)
   17086       lt_prog_compiler_can_build_shared_GCJ=no
   17087       ;;
   17088     esac
   17089   fi
   17090 
   17091 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17092 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   17093 
   17094 #
   17095 # Check to make sure the PIC flag actually works.
   17096 #
   17097 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17098 
   17099 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17100 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   17101 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   17102   echo $ECHO_N "(cached) $ECHO_C" >&6
   17103 else
   17104   lt_prog_compiler_pic_works_GCJ=no
   17105   ac_outfile=conftest.$ac_objext
   17106    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17107    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17108    # Insert the option either (1) after the last *FLAGS variable, or
   17109    # (2) before a word containing "conftest.", or (3) at the end.
   17110    # Note that $ac_compile itself does not contain backslashes and begins
   17111    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17112    # The option is referenced via a variable to avoid confusing sed.
   17113    lt_compile=`echo "$ac_compile" | $SED \
   17114    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17115    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17116    -e 's:$: $lt_compiler_flag:'`
   17117    (eval echo "\"\$as_me:17117: $lt_compile\"" >&5)
   17118    (eval "$lt_compile" 2>conftest.err)
   17119    ac_status=$?
   17120    cat conftest.err >&5
   17121    echo "$as_me:17121: \$? = $ac_status" >&5
   17122    if (exit $ac_status) && test -s "$ac_outfile"; then
   17123      # The compiler can only warn and ignore the option if not recognized
   17124      # So say no if there are warnings other than the usual output.
   17125      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17126      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17127      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17128        lt_prog_compiler_pic_works_GCJ=yes
   17129      fi
   17130    fi
   17131    $rm conftest*
   17132 
   17133 fi
   17134 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   17135 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   17136 
   17137 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   17138     case $lt_prog_compiler_pic_GCJ in
   17139      "" | " "*) ;;
   17140      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17141      esac
   17142 else
   17143     lt_prog_compiler_pic_GCJ=
   17144      lt_prog_compiler_can_build_shared_GCJ=no
   17145 fi
   17146 
   17147 fi
   17148 case $host_os in
   17149   # For platforms which do not support PIC, -DPIC is meaningless:
   17150   *djgpp*)
   17151     lt_prog_compiler_pic_GCJ=
   17152     ;;
   17153   *)
   17154     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17155     ;;
   17156 esac
   17157 
   17158 #
   17159 # Check to make sure the static flag actually works.
   17160 #
   17161 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17162 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17163 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17164 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   17165   echo $ECHO_N "(cached) $ECHO_C" >&6
   17166 else
   17167   lt_prog_compiler_static_works_GCJ=no
   17168    save_LDFLAGS="$LDFLAGS"
   17169    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17170    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   17171    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17172      # The linker can only warn and ignore the option if not recognized
   17173      # So say no if there are warnings
   17174      if test -s conftest.err; then
   17175        # Append any errors to the config.log.
   17176        cat conftest.err 1>&5
   17177        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17178        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17179        if diff conftest.exp conftest.er2 >/dev/null; then
   17180          lt_prog_compiler_static_works_GCJ=yes
   17181        fi
   17182      else
   17183        lt_prog_compiler_static_works_GCJ=yes
   17184      fi
   17185    fi
   17186    $rm conftest*
   17187    LDFLAGS="$save_LDFLAGS"
   17188 
   17189 fi
   17190 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   17191 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   17192 
   17193 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   17194     :
   17195 else
   17196     lt_prog_compiler_static_GCJ=
   17197 fi
   17198 
   17199 
   17200 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17201 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17202 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17203   echo $ECHO_N "(cached) $ECHO_C" >&6
   17204 else
   17205   lt_cv_prog_compiler_c_o_GCJ=no
   17206    $rm -r conftest 2>/dev/null
   17207    mkdir conftest
   17208    cd conftest
   17209    mkdir out
   17210    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17211 
   17212    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17213    # Insert the option either (1) after the last *FLAGS variable, or
   17214    # (2) before a word containing "conftest.", or (3) at the end.
   17215    # Note that $ac_compile itself does not contain backslashes and begins
   17216    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17217    lt_compile=`echo "$ac_compile" | $SED \
   17218    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17219    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17220    -e 's:$: $lt_compiler_flag:'`
   17221    (eval echo "\"\$as_me:17221: $lt_compile\"" >&5)
   17222    (eval "$lt_compile" 2>out/conftest.err)
   17223    ac_status=$?
   17224    cat out/conftest.err >&5
   17225    echo "$as_me:17225: \$? = $ac_status" >&5
   17226    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17227    then
   17228      # The compiler can only warn and ignore the option if not recognized
   17229      # So say no if there are warnings
   17230      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17231      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17232      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17233        lt_cv_prog_compiler_c_o_GCJ=yes
   17234      fi
   17235    fi
   17236    chmod u+w . 2>&5
   17237    $rm conftest*
   17238    # SGI C++ compiler will create directory out/ii_files/ for
   17239    # template instantiation
   17240    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17241    $rm out/* && rmdir out
   17242    cd ..
   17243    rmdir conftest
   17244    $rm conftest*
   17245 
   17246 fi
   17247 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17248 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17249 
   17250 
   17251 hard_links="nottested"
   17252 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17253   # do not overwrite the value of need_locks provided by the user
   17254   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17255 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17256   hard_links=yes
   17257   $rm conftest*
   17258   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17259   touch conftest.a
   17260   ln conftest.a conftest.b 2>&5 || hard_links=no
   17261   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17262   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17263 echo "${ECHO_T}$hard_links" >&6; }
   17264   if test "$hard_links" = no; then
   17265     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17266 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17267     need_locks=warn
   17268   fi
   17269 else
   17270   need_locks=no
   17271 fi
   17272 
   17273 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17274 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17275 
   17276   runpath_var=
   17277   allow_undefined_flag_GCJ=
   17278   enable_shared_with_static_runtimes_GCJ=no
   17279   archive_cmds_GCJ=
   17280   archive_expsym_cmds_GCJ=
   17281   old_archive_From_new_cmds_GCJ=
   17282   old_archive_from_expsyms_cmds_GCJ=
   17283   export_dynamic_flag_spec_GCJ=
   17284   whole_archive_flag_spec_GCJ=
   17285   thread_safe_flag_spec_GCJ=
   17286   hardcode_libdir_flag_spec_GCJ=
   17287   hardcode_libdir_flag_spec_ld_GCJ=
   17288   hardcode_libdir_separator_GCJ=
   17289   hardcode_direct_GCJ=no
   17290   hardcode_minus_L_GCJ=no
   17291   hardcode_shlibpath_var_GCJ=unsupported
   17292   link_all_deplibs_GCJ=unknown
   17293   hardcode_automatic_GCJ=no
   17294   module_cmds_GCJ=
   17295   module_expsym_cmds_GCJ=
   17296   always_export_symbols_GCJ=no
   17297   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17298   # include_expsyms should be a list of space-separated symbols to be *always*
   17299   # included in the symbol list
   17300   include_expsyms_GCJ=
   17301   # exclude_expsyms can be an extended regexp of symbols to exclude
   17302   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17303   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17304   # as well as any symbol that contains `d'.
   17305   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   17306   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17307   # platforms (ab)use it in PIC code, but their linkers get confused if
   17308   # the symbol is explicitly referenced.  Since portable code cannot
   17309   # rely on this symbol name, it's probably fine to never include it in
   17310   # preloaded symbol tables.
   17311   extract_expsyms_cmds=
   17312   # Just being paranoid about ensuring that cc_basename is set.
   17313   for cc_temp in $compiler""; do
   17314   case $cc_temp in
   17315     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17316     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17317     \-*) ;;
   17318     *) break;;
   17319   esac
   17320 done
   17321 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17322 
   17323   case $host_os in
   17324   cygwin* | mingw* | pw32*)
   17325     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17326     # When not using gcc, we currently assume that we are using
   17327     # Microsoft Visual C++.
   17328     if test "$GCC" != yes; then
   17329       with_gnu_ld=no
   17330     fi
   17331     ;;
   17332   interix*)
   17333     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17334     with_gnu_ld=yes
   17335     ;;
   17336   openbsd*)
   17337     with_gnu_ld=no
   17338     ;;
   17339   esac
   17340 
   17341   ld_shlibs_GCJ=yes
   17342   if test "$with_gnu_ld" = yes; then
   17343     # If archive_cmds runs LD, not CC, wlarc should be empty
   17344     wlarc='${wl}'
   17345 
   17346     # Set some defaults for GNU ld with shared library support. These
   17347     # are reset later if shared libraries are not supported. Putting them
   17348     # here allows them to be overridden if necessary.
   17349     runpath_var=LD_RUN_PATH
   17350     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17351     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17352     # ancient GNU ld didn't support --whole-archive et. al.
   17353     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17354 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17355       else
   17356   	whole_archive_flag_spec_GCJ=
   17357     fi
   17358     supports_anon_versioning=no
   17359     case `$LD -v 2>/dev/null` in
   17360       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17361       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17362       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17363       *\ 2.11.*) ;; # other 2.11 versions
   17364       *) supports_anon_versioning=yes ;;
   17365     esac
   17366 
   17367     # See if GNU ld supports shared libraries.
   17368     case $host_os in
   17369     aix3* | aix4* | aix5*)
   17370       # On AIX/PPC, the GNU linker is very broken
   17371       if test "$host_cpu" != ia64; then
   17372 	ld_shlibs_GCJ=no
   17373 	cat <<EOF 1>&2
   17374 
   17375 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17376 *** to be unable to reliably create shared libraries on AIX.
   17377 *** Therefore, libtool is disabling shared libraries support.  If you
   17378 *** really care for shared libraries, you may want to modify your PATH
   17379 *** so that a non-GNU linker is found, and then restart.
   17380 
   17381 EOF
   17382       fi
   17383       ;;
   17384 
   17385     amigaos*)
   17386       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)'
   17387       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17388       hardcode_minus_L_GCJ=yes
   17389 
   17390       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17391       # that the semantics of dynamic libraries on AmigaOS, at least up
   17392       # to version 4, is to share data among multiple programs linked
   17393       # with the same dynamic library.  Since this doesn't match the
   17394       # behavior of shared libraries on other platforms, we can't use
   17395       # them.
   17396       ld_shlibs_GCJ=no
   17397       ;;
   17398 
   17399     beos*)
   17400       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17401 	allow_undefined_flag_GCJ=unsupported
   17402 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17403 	# support --undefined.  This deserves some investigation.  FIXME
   17404 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17405       else
   17406 	ld_shlibs_GCJ=no
   17407       fi
   17408       ;;
   17409 
   17410     cygwin* | mingw* | pw32*)
   17411       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17412       # as there is no search path for DLLs.
   17413       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17414       allow_undefined_flag_GCJ=unsupported
   17415       always_export_symbols_GCJ=no
   17416       enable_shared_with_static_runtimes_GCJ=yes
   17417       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   17418 
   17419       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17420         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17421 	# If the export-symbols file already is a .def file (1st line
   17422 	# is EXPORTS), use it as is; otherwise, prepend...
   17423 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17424 	  cp $export_symbols $output_objdir/$soname.def;
   17425 	else
   17426 	  echo EXPORTS > $output_objdir/$soname.def;
   17427 	  cat $export_symbols >> $output_objdir/$soname.def;
   17428 	fi~
   17429 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17430       else
   17431 	ld_shlibs_GCJ=no
   17432       fi
   17433       ;;
   17434 
   17435     interix3*)
   17436       hardcode_direct_GCJ=no
   17437       hardcode_shlibpath_var_GCJ=no
   17438       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17439       export_dynamic_flag_spec_GCJ='${wl}-E'
   17440       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17441       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17442       # default) and relocated if they conflict, which is a slow very memory
   17443       # consuming and fragmenting process.  To avoid this, we pick a random,
   17444       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17445       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17446       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'
   17447       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'
   17448       ;;
   17449 
   17450     linux*)
   17451       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17452 	tmp_addflag=
   17453 	case $cc_basename,$host_cpu in
   17454 	pgcc*)				# Portland Group C compiler
   17455 	  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'
   17456 	  tmp_addflag=' $pic_flag'
   17457 	  ;;
   17458 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17459 	  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'
   17460 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17461 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17462 	  tmp_addflag=' -i_dynamic' ;;
   17463 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17464 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17465 	ifc* | ifort*)			# Intel Fortran compiler
   17466 	  tmp_addflag=' -nofor_main' ;;
   17467 	esac
   17468 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17469 
   17470 	if test $supports_anon_versioning = yes; then
   17471 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17472   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17473   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17474 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17475 	fi
   17476       else
   17477 	ld_shlibs_GCJ=no
   17478       fi
   17479       ;;
   17480 
   17481     netbsd*)
   17482       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17483 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17484 	wlarc=
   17485       else
   17486 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17487 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17488       fi
   17489       ;;
   17490 
   17491     solaris*)
   17492       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17493 	ld_shlibs_GCJ=no
   17494 	cat <<EOF 1>&2
   17495 
   17496 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17497 *** create shared libraries on Solaris systems.  Therefore, libtool
   17498 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17499 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17500 *** your PATH or compiler configuration so that the native linker is
   17501 *** used, and then restart.
   17502 
   17503 EOF
   17504       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17505 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17506 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17507       else
   17508 	ld_shlibs_GCJ=no
   17509       fi
   17510       ;;
   17511 
   17512     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17513       case `$LD -v 2>&1` in
   17514         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17515 	ld_shlibs_GCJ=no
   17516 	cat <<_LT_EOF 1>&2
   17517 
   17518 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17519 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17520 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17521 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17522 *** your PATH or compiler configuration so that the native linker is
   17523 *** used, and then restart.
   17524 
   17525 _LT_EOF
   17526 	;;
   17527 	*)
   17528 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17529 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17530 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17531 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17532 	  else
   17533 	    ld_shlibs_GCJ=no
   17534 	  fi
   17535 	;;
   17536       esac
   17537       ;;
   17538 
   17539     sunos4*)
   17540       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17541       wlarc=
   17542       hardcode_direct_GCJ=yes
   17543       hardcode_shlibpath_var_GCJ=no
   17544       ;;
   17545 
   17546     *)
   17547       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17548 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17549 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17550       else
   17551 	ld_shlibs_GCJ=no
   17552       fi
   17553       ;;
   17554     esac
   17555 
   17556     if test "$ld_shlibs_GCJ" = no; then
   17557       runpath_var=
   17558       hardcode_libdir_flag_spec_GCJ=
   17559       export_dynamic_flag_spec_GCJ=
   17560       whole_archive_flag_spec_GCJ=
   17561     fi
   17562   else
   17563     # PORTME fill in a description of your system's linker (not GNU ld)
   17564     case $host_os in
   17565     aix3*)
   17566       allow_undefined_flag_GCJ=unsupported
   17567       always_export_symbols_GCJ=yes
   17568       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'
   17569       # Note: this linker hardcodes the directories in LIBPATH if there
   17570       # are no directories specified by -L.
   17571       hardcode_minus_L_GCJ=yes
   17572       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17573 	# Neither direct hardcoding nor static linking is supported with a
   17574 	# broken collect2.
   17575 	hardcode_direct_GCJ=unsupported
   17576       fi
   17577       ;;
   17578 
   17579     aix4* | aix5*)
   17580       if test "$host_cpu" = ia64; then
   17581 	# On IA64, the linker does run time linking by default, so we don't
   17582 	# have to do anything special.
   17583 	aix_use_runtimelinking=no
   17584 	exp_sym_flag='-Bexport'
   17585 	no_entry_flag=""
   17586       else
   17587 	# If we're using GNU nm, then we don't want the "-C" option.
   17588 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17589 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17590 	  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'
   17591 	else
   17592 	  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'
   17593 	fi
   17594 	aix_use_runtimelinking=no
   17595 
   17596 	# Test if we are trying to use run time linking or normal
   17597 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17598 	# need to do runtime linking.
   17599 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17600 	  for ld_flag in $LDFLAGS; do
   17601   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17602   	    aix_use_runtimelinking=yes
   17603   	    break
   17604   	  fi
   17605 	  done
   17606 	  ;;
   17607 	esac
   17608 
   17609 	exp_sym_flag='-bexport'
   17610 	no_entry_flag='-bnoentry'
   17611       fi
   17612 
   17613       # When large executables or shared objects are built, AIX ld can
   17614       # have problems creating the table of contents.  If linking a library
   17615       # or program results in "error TOC overflow" add -mminimal-toc to
   17616       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17617       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17618 
   17619       archive_cmds_GCJ=''
   17620       hardcode_direct_GCJ=yes
   17621       hardcode_libdir_separator_GCJ=':'
   17622       link_all_deplibs_GCJ=yes
   17623 
   17624       if test "$GCC" = yes; then
   17625 	case $host_os in aix4.[012]|aix4.[012].*)
   17626 	# We only want to do this on AIX 4.2 and lower, the check
   17627 	# below for broken collect2 doesn't work under 4.3+
   17628 	  collect2name=`${CC} -print-prog-name=collect2`
   17629 	  if test -f "$collect2name" && \
   17630   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17631 	  then
   17632   	  # We have reworked collect2
   17633   	  hardcode_direct_GCJ=yes
   17634 	  else
   17635   	  # We have old collect2
   17636   	  hardcode_direct_GCJ=unsupported
   17637   	  # It fails to find uninstalled libraries when the uninstalled
   17638   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17639   	  # to unsupported forces relinking
   17640   	  hardcode_minus_L_GCJ=yes
   17641   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17642   	  hardcode_libdir_separator_GCJ=
   17643 	  fi
   17644 	  ;;
   17645 	esac
   17646 	shared_flag='-shared'
   17647 	if test "$aix_use_runtimelinking" = yes; then
   17648 	  shared_flag="$shared_flag "'${wl}-G'
   17649 	fi
   17650       else
   17651 	# not using gcc
   17652 	if test "$host_cpu" = ia64; then
   17653   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17654   	# chokes on -Wl,-G. The following line is correct:
   17655 	  shared_flag='-G'
   17656 	else
   17657 	  if test "$aix_use_runtimelinking" = yes; then
   17658 	    shared_flag='${wl}-G'
   17659 	  else
   17660 	    shared_flag='${wl}-bM:SRE'
   17661 	  fi
   17662 	fi
   17663       fi
   17664 
   17665       # It seems that -bexpall does not export symbols beginning with
   17666       # underscore (_), so it is better to generate a list of symbols to export.
   17667       always_export_symbols_GCJ=yes
   17668       if test "$aix_use_runtimelinking" = yes; then
   17669 	# Warning - without using the other runtime loading flags (-brtl),
   17670 	# -berok will link without error, but may produce a broken library.
   17671 	allow_undefined_flag_GCJ='-berok'
   17672        # Determine the default libpath from the value encoded in an empty executable.
   17673        cat >conftest.$ac_ext <<_ACEOF
   17674 /* confdefs.h.  */
   17675 _ACEOF
   17676 cat confdefs.h >>conftest.$ac_ext
   17677 cat >>conftest.$ac_ext <<_ACEOF
   17678 /* end confdefs.h.  */
   17679 
   17680 int
   17681 main ()
   17682 {
   17683 
   17684   ;
   17685   return 0;
   17686 }
   17687 _ACEOF
   17688 rm -f conftest.$ac_objext conftest$ac_exeext
   17689 if { (ac_try="$ac_link"
   17690 case "(($ac_try" in
   17691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17692   *) ac_try_echo=$ac_try;;
   17693 esac
   17694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17695   (eval "$ac_link") 2>conftest.er1
   17696   ac_status=$?
   17697   grep -v '^ *+' conftest.er1 >conftest.err
   17698   rm -f conftest.er1
   17699   cat conftest.err >&5
   17700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17701   (exit $ac_status); } &&
   17702 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17703   { (case "(($ac_try" in
   17704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17705   *) ac_try_echo=$ac_try;;
   17706 esac
   17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17708   (eval "$ac_try") 2>&5
   17709   ac_status=$?
   17710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17711   (exit $ac_status); }; } &&
   17712 	 { ac_try='test -s conftest$ac_exeext'
   17713   { (case "(($ac_try" in
   17714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17715   *) ac_try_echo=$ac_try;;
   17716 esac
   17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17718   (eval "$ac_try") 2>&5
   17719   ac_status=$?
   17720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17721   (exit $ac_status); }; }; then
   17722 
   17723 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17724 }'`
   17725 # Check for a 64-bit object if we didn't find anything.
   17726 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; }
   17727 }'`; fi
   17728 else
   17729   echo "$as_me: failed program was:" >&5
   17730 sed 's/^/| /' conftest.$ac_ext >&5
   17731 
   17732 
   17733 fi
   17734 
   17735 rm -f core conftest.err conftest.$ac_objext \
   17736       conftest$ac_exeext conftest.$ac_ext
   17737 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17738 
   17739        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17740 	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"
   17741        else
   17742 	if test "$host_cpu" = ia64; then
   17743 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17744 	  allow_undefined_flag_GCJ="-z nodefs"
   17745 	  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"
   17746 	else
   17747 	 # Determine the default libpath from the value encoded in an empty executable.
   17748 	 cat >conftest.$ac_ext <<_ACEOF
   17749 /* confdefs.h.  */
   17750 _ACEOF
   17751 cat confdefs.h >>conftest.$ac_ext
   17752 cat >>conftest.$ac_ext <<_ACEOF
   17753 /* end confdefs.h.  */
   17754 
   17755 int
   17756 main ()
   17757 {
   17758 
   17759   ;
   17760   return 0;
   17761 }
   17762 _ACEOF
   17763 rm -f conftest.$ac_objext conftest$ac_exeext
   17764 if { (ac_try="$ac_link"
   17765 case "(($ac_try" in
   17766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17767   *) ac_try_echo=$ac_try;;
   17768 esac
   17769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17770   (eval "$ac_link") 2>conftest.er1
   17771   ac_status=$?
   17772   grep -v '^ *+' conftest.er1 >conftest.err
   17773   rm -f conftest.er1
   17774   cat conftest.err >&5
   17775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17776   (exit $ac_status); } &&
   17777 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17778   { (case "(($ac_try" in
   17779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17780   *) ac_try_echo=$ac_try;;
   17781 esac
   17782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17783   (eval "$ac_try") 2>&5
   17784   ac_status=$?
   17785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17786   (exit $ac_status); }; } &&
   17787 	 { ac_try='test -s conftest$ac_exeext'
   17788   { (case "(($ac_try" in
   17789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17790   *) ac_try_echo=$ac_try;;
   17791 esac
   17792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17793   (eval "$ac_try") 2>&5
   17794   ac_status=$?
   17795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17796   (exit $ac_status); }; }; then
   17797 
   17798 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17799 }'`
   17800 # Check for a 64-bit object if we didn't find anything.
   17801 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; }
   17802 }'`; fi
   17803 else
   17804   echo "$as_me: failed program was:" >&5
   17805 sed 's/^/| /' conftest.$ac_ext >&5
   17806 
   17807 
   17808 fi
   17809 
   17810 rm -f core conftest.err conftest.$ac_objext \
   17811       conftest$ac_exeext conftest.$ac_ext
   17812 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17813 
   17814 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17815 	  # Warning - without using the other run time loading flags,
   17816 	  # -berok will link without error, but may produce a broken library.
   17817 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17818 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17819 	  # Exported symbols can be pulled into shared objects from archives
   17820 	  whole_archive_flag_spec_GCJ='$convenience'
   17821 	  archive_cmds_need_lc_GCJ=yes
   17822 	  # This is similar to how AIX traditionally builds its shared libraries.
   17823 	  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'
   17824 	fi
   17825       fi
   17826       ;;
   17827 
   17828     amigaos*)
   17829       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)'
   17830       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17831       hardcode_minus_L_GCJ=yes
   17832       # see comment about different semantics on the GNU ld section
   17833       ld_shlibs_GCJ=no
   17834       ;;
   17835 
   17836     bsdi[45]*)
   17837       export_dynamic_flag_spec_GCJ=-rdynamic
   17838       ;;
   17839 
   17840     cygwin* | mingw* | pw32*)
   17841       # When not using gcc, we currently assume that we are using
   17842       # Microsoft Visual C++.
   17843       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17844       # no search path for DLLs.
   17845       hardcode_libdir_flag_spec_GCJ=' '
   17846       allow_undefined_flag_GCJ=unsupported
   17847       # Tell ltmain to make .lib files, not .a files.
   17848       libext=lib
   17849       # Tell ltmain to make .dll files, not .so files.
   17850       shrext_cmds=".dll"
   17851       # FIXME: Setting linknames here is a bad hack.
   17852       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17853       # The linker will automatically build a .lib file if we build a DLL.
   17854       old_archive_From_new_cmds_GCJ='true'
   17855       # FIXME: Should let the user specify the lib program.
   17856       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17857       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17858       enable_shared_with_static_runtimes_GCJ=yes
   17859       ;;
   17860 
   17861     darwin* | rhapsody*)
   17862       case $host_os in
   17863         rhapsody* | darwin1.[012])
   17864          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17865          ;;
   17866        *) # Darwin 1.3 on
   17867          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17868            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17869          else
   17870            case ${MACOSX_DEPLOYMENT_TARGET} in
   17871              10.[012])
   17872                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17873                ;;
   17874              10.*)
   17875                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17876                ;;
   17877            esac
   17878          fi
   17879          ;;
   17880       esac
   17881       archive_cmds_need_lc_GCJ=no
   17882       hardcode_direct_GCJ=no
   17883       hardcode_automatic_GCJ=yes
   17884       hardcode_shlibpath_var_GCJ=unsupported
   17885       whole_archive_flag_spec_GCJ=''
   17886       link_all_deplibs_GCJ=yes
   17887     if test "$GCC" = yes ; then
   17888     	output_verbose_link_cmd='echo'
   17889         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17890       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17891       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17892       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}'
   17893       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}'
   17894     else
   17895       case $cc_basename in
   17896         xlc*)
   17897          output_verbose_link_cmd='echo'
   17898          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17899          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17900           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17901          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}'
   17902           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}'
   17903           ;;
   17904        *)
   17905          ld_shlibs_GCJ=no
   17906           ;;
   17907       esac
   17908     fi
   17909       ;;
   17910 
   17911     dgux*)
   17912       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17913       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17914       hardcode_shlibpath_var_GCJ=no
   17915       ;;
   17916 
   17917     freebsd1*)
   17918       ld_shlibs_GCJ=no
   17919       ;;
   17920 
   17921     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17922     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17923     # does not break anything, and helps significantly (at the cost of a little
   17924     # extra space).
   17925     freebsd2.2*)
   17926       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17927       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17928       hardcode_direct_GCJ=yes
   17929       hardcode_shlibpath_var_GCJ=no
   17930       ;;
   17931 
   17932     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17933     freebsd2*)
   17934       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17935       hardcode_direct_GCJ=yes
   17936       hardcode_minus_L_GCJ=yes
   17937       hardcode_shlibpath_var_GCJ=no
   17938       ;;
   17939 
   17940     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17941     freebsd* | kfreebsd*-gnu | dragonfly*)
   17942       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17943       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17944       hardcode_direct_GCJ=yes
   17945       hardcode_shlibpath_var_GCJ=no
   17946       ;;
   17947 
   17948     hpux9*)
   17949       if test "$GCC" = yes; then
   17950 	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'
   17951       else
   17952 	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'
   17953       fi
   17954       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17955       hardcode_libdir_separator_GCJ=:
   17956       hardcode_direct_GCJ=yes
   17957 
   17958       # hardcode_minus_L: Not really in the search PATH,
   17959       # but as the default location of the library.
   17960       hardcode_minus_L_GCJ=yes
   17961       export_dynamic_flag_spec_GCJ='${wl}-E'
   17962       ;;
   17963 
   17964     hpux10*)
   17965       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17966 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17967       else
   17968 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17969       fi
   17970       if test "$with_gnu_ld" = no; then
   17971 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17972 	hardcode_libdir_separator_GCJ=:
   17973 
   17974 	hardcode_direct_GCJ=yes
   17975 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17976 
   17977 	# hardcode_minus_L: Not really in the search PATH,
   17978 	# but as the default location of the library.
   17979 	hardcode_minus_L_GCJ=yes
   17980       fi
   17981       ;;
   17982 
   17983     hpux11*)
   17984       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17985 	case $host_cpu in
   17986 	hppa*64*)
   17987 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17988 	  ;;
   17989 	ia64*)
   17990 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17991 	  ;;
   17992 	*)
   17993 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17994 	  ;;
   17995 	esac
   17996       else
   17997 	case $host_cpu in
   17998 	hppa*64*)
   17999 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18000 	  ;;
   18001 	ia64*)
   18002 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18003 	  ;;
   18004 	*)
   18005 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18006 	  ;;
   18007 	esac
   18008       fi
   18009       if test "$with_gnu_ld" = no; then
   18010 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18011 	hardcode_libdir_separator_GCJ=:
   18012 
   18013 	case $host_cpu in
   18014 	hppa*64*|ia64*)
   18015 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18016 	  hardcode_direct_GCJ=no
   18017 	  hardcode_shlibpath_var_GCJ=no
   18018 	  ;;
   18019 	*)
   18020 	  hardcode_direct_GCJ=yes
   18021 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18022 
   18023 	  # hardcode_minus_L: Not really in the search PATH,
   18024 	  # but as the default location of the library.
   18025 	  hardcode_minus_L_GCJ=yes
   18026 	  ;;
   18027 	esac
   18028       fi
   18029       ;;
   18030 
   18031     irix5* | irix6* | nonstopux*)
   18032       if test "$GCC" = yes; then
   18033 	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'
   18034       else
   18035 	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'
   18036 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18037       fi
   18038       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18039       hardcode_libdir_separator_GCJ=:
   18040       link_all_deplibs_GCJ=yes
   18041       ;;
   18042 
   18043     netbsd*)
   18044       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18045 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18046       else
   18047 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18048       fi
   18049       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18050       hardcode_direct_GCJ=yes
   18051       hardcode_shlibpath_var_GCJ=no
   18052       ;;
   18053 
   18054     newsos6)
   18055       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18056       hardcode_direct_GCJ=yes
   18057       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18058       hardcode_libdir_separator_GCJ=:
   18059       hardcode_shlibpath_var_GCJ=no
   18060       ;;
   18061 
   18062     openbsd*)
   18063       hardcode_direct_GCJ=yes
   18064       hardcode_shlibpath_var_GCJ=no
   18065       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18066 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18067 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18068 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18069 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18070       else
   18071        case $host_os in
   18072 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18073 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18074 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18075 	   ;;
   18076 	 *)
   18077 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18078 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18079 	   ;;
   18080        esac
   18081       fi
   18082       ;;
   18083 
   18084     os2*)
   18085       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18086       hardcode_minus_L_GCJ=yes
   18087       allow_undefined_flag_GCJ=unsupported
   18088       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'
   18089       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18090       ;;
   18091 
   18092     osf3*)
   18093       if test "$GCC" = yes; then
   18094 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18095 	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'
   18096       else
   18097 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18098 	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'
   18099       fi
   18100       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18101       hardcode_libdir_separator_GCJ=:
   18102       ;;
   18103 
   18104     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18105       if test "$GCC" = yes; then
   18106 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18107 	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'
   18108 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18109       else
   18110 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18111 	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'
   18112 	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~
   18113 	$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'
   18114 
   18115 	# Both c and cxx compiler support -rpath directly
   18116 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18117       fi
   18118       hardcode_libdir_separator_GCJ=:
   18119       ;;
   18120 
   18121     solaris*)
   18122       no_undefined_flag_GCJ=' -z text'
   18123       if test "$GCC" = yes; then
   18124 	wlarc='${wl}'
   18125 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18126 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18127 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18128       else
   18129 	wlarc=''
   18130 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18131 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18132   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18133       fi
   18134       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18135       hardcode_shlibpath_var_GCJ=no
   18136       case $host_os in
   18137       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18138       *)
   18139  	# The compiler driver will combine linker options so we
   18140  	# cannot just pass the convience library names through
   18141  	# without $wl, iff we do not link with $LD.
   18142  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   18143  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18144  	case $wlarc in
   18145  	'')
   18146  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   18147  	*)
   18148  	  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' ;;
   18149  	esac ;;
   18150       esac
   18151       link_all_deplibs_GCJ=yes
   18152       ;;
   18153 
   18154     sunos4*)
   18155       if test "x$host_vendor" = xsequent; then
   18156 	# Use $CC to link under sequent, because it throws in some extra .o
   18157 	# files that make .init and .fini sections work.
   18158 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18159       else
   18160 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18161       fi
   18162       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18163       hardcode_direct_GCJ=yes
   18164       hardcode_minus_L_GCJ=yes
   18165       hardcode_shlibpath_var_GCJ=no
   18166       ;;
   18167 
   18168     sysv4)
   18169       case $host_vendor in
   18170 	sni)
   18171 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18172 	  hardcode_direct_GCJ=yes # is this really true???
   18173 	;;
   18174 	siemens)
   18175 	  ## LD is ld it makes a PLAMLIB
   18176 	  ## CC just makes a GrossModule.
   18177 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18178 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18179 	  hardcode_direct_GCJ=no
   18180         ;;
   18181 	motorola)
   18182 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18183 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18184 	;;
   18185       esac
   18186       runpath_var='LD_RUN_PATH'
   18187       hardcode_shlibpath_var_GCJ=no
   18188       ;;
   18189 
   18190     sysv4.3*)
   18191       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18192       hardcode_shlibpath_var_GCJ=no
   18193       export_dynamic_flag_spec_GCJ='-Bexport'
   18194       ;;
   18195 
   18196     sysv4*MP*)
   18197       if test -d /usr/nec; then
   18198 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18199 	hardcode_shlibpath_var_GCJ=no
   18200 	runpath_var=LD_RUN_PATH
   18201 	hardcode_runpath_var=yes
   18202 	ld_shlibs_GCJ=yes
   18203       fi
   18204       ;;
   18205 
   18206     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   18207       no_undefined_flag_GCJ='${wl}-z,text'
   18208       archive_cmds_need_lc_GCJ=no
   18209       hardcode_shlibpath_var_GCJ=no
   18210       runpath_var='LD_RUN_PATH'
   18211 
   18212       if test "$GCC" = yes; then
   18213 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18214 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18215       else
   18216 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18217 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18218       fi
   18219       ;;
   18220 
   18221     sysv5* | sco3.2v5* | sco5v6*)
   18222       # Note: We can NOT use -z defs as we might desire, because we do not
   18223       # link with -lc, and that would cause any symbols used from libc to
   18224       # always be unresolved, which means just about no library would
   18225       # ever link correctly.  If we're not using GNU ld we use -z text
   18226       # though, which does catch some bad symbols but isn't as heavy-handed
   18227       # as -z defs.
   18228       no_undefined_flag_GCJ='${wl}-z,text'
   18229       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18230       archive_cmds_need_lc_GCJ=no
   18231       hardcode_shlibpath_var_GCJ=no
   18232       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18233       hardcode_libdir_separator_GCJ=':'
   18234       link_all_deplibs_GCJ=yes
   18235       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18236       runpath_var='LD_RUN_PATH'
   18237 
   18238       if test "$GCC" = yes; then
   18239 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18240 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18241       else
   18242 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18243 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18244       fi
   18245       ;;
   18246 
   18247     uts4*)
   18248       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18249       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18250       hardcode_shlibpath_var_GCJ=no
   18251       ;;
   18252 
   18253     *)
   18254       ld_shlibs_GCJ=no
   18255       ;;
   18256     esac
   18257   fi
   18258 
   18259 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18260 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18261 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18262 
   18263 #
   18264 # Do we need to explicitly link libc?
   18265 #
   18266 case "x$archive_cmds_need_lc_GCJ" in
   18267 x|xyes)
   18268   # Assume -lc should be added
   18269   archive_cmds_need_lc_GCJ=yes
   18270 
   18271   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18272     case $archive_cmds_GCJ in
   18273     *'~'*)
   18274       # FIXME: we may have to deal with multi-command sequences.
   18275       ;;
   18276     '$CC '*)
   18277       # Test whether the compiler implicitly links with -lc since on some
   18278       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18279       # to ld, don't add -lc before -lgcc.
   18280       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18281 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18282       $rm conftest*
   18283       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   18284 
   18285       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18286   (eval $ac_compile) 2>&5
   18287   ac_status=$?
   18288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18289   (exit $ac_status); } 2>conftest.err; then
   18290         soname=conftest
   18291         lib=conftest
   18292         libobjs=conftest.$ac_objext
   18293         deplibs=
   18294         wl=$lt_prog_compiler_wl_GCJ
   18295 	pic_flag=$lt_prog_compiler_pic_GCJ
   18296         compiler_flags=-v
   18297         linker_flags=-v
   18298         verstring=
   18299         output_objdir=.
   18300         libname=conftest
   18301         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18302         allow_undefined_flag_GCJ=
   18303         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18304   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18305   ac_status=$?
   18306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18307   (exit $ac_status); }
   18308         then
   18309 	  archive_cmds_need_lc_GCJ=no
   18310         else
   18311 	  archive_cmds_need_lc_GCJ=yes
   18312         fi
   18313         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18314       else
   18315         cat conftest.err 1>&5
   18316       fi
   18317       $rm conftest*
   18318       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18319 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18320       ;;
   18321     esac
   18322   fi
   18323   ;;
   18324 esac
   18325 
   18326 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18327 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18328 library_names_spec=
   18329 libname_spec='lib$name'
   18330 soname_spec=
   18331 shrext_cmds=".so"
   18332 postinstall_cmds=
   18333 postuninstall_cmds=
   18334 finish_cmds=
   18335 finish_eval=
   18336 shlibpath_var=
   18337 shlibpath_overrides_runpath=unknown
   18338 version_type=none
   18339 dynamic_linker="$host_os ld.so"
   18340 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18341 if test "$GCC" = yes; then
   18342   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18343   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   18344     # if the path contains ";" then we assume it to be the separator
   18345     # otherwise default to the standard path separator (i.e. ":") - it is
   18346     # assumed that no part of a normal pathname contains ";" but that should
   18347     # okay in the real world where ";" in dirpaths is itself problematic.
   18348     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18349   else
   18350     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18351   fi
   18352 else
   18353   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18354 fi
   18355 need_lib_prefix=unknown
   18356 hardcode_into_libs=no
   18357 
   18358 # when you set need_version to no, make sure it does not cause -set_version
   18359 # flags to be left without arguments
   18360 need_version=unknown
   18361 
   18362 case $host_os in
   18363 aix3*)
   18364   version_type=linux
   18365   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18366   shlibpath_var=LIBPATH
   18367 
   18368   # AIX 3 has no versioning support, so we append a major version to the name.
   18369   soname_spec='${libname}${release}${shared_ext}$major'
   18370   ;;
   18371 
   18372 aix4* | aix5*)
   18373   version_type=linux
   18374   need_lib_prefix=no
   18375   need_version=no
   18376   hardcode_into_libs=yes
   18377   if test "$host_cpu" = ia64; then
   18378     # AIX 5 supports IA64
   18379     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18380     shlibpath_var=LD_LIBRARY_PATH
   18381   else
   18382     # With GCC up to 2.95.x, collect2 would create an import file
   18383     # for dependence libraries.  The import file would start with
   18384     # the line `#! .'.  This would cause the generated library to
   18385     # depend on `.', always an invalid library.  This was fixed in
   18386     # development snapshots of GCC prior to 3.0.
   18387     case $host_os in
   18388       aix4 | aix4.[01] | aix4.[01].*)
   18389       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18390 	   echo ' yes '
   18391 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18392 	:
   18393       else
   18394 	can_build_shared=no
   18395       fi
   18396       ;;
   18397     esac
   18398     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18399     # soname into executable. Probably we can add versioning support to
   18400     # collect2, so additional links can be useful in future.
   18401     if test "$aix_use_runtimelinking" = yes; then
   18402       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18403       # instead of lib<name>.a to let people know that these are not
   18404       # typical AIX shared libraries.
   18405       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18406     else
   18407       # We preserve .a as extension for shared libraries through AIX4.2
   18408       # and later when we are not doing run time linking.
   18409       library_names_spec='${libname}${release}.a $libname.a'
   18410       soname_spec='${libname}${release}${shared_ext}$major'
   18411     fi
   18412     shlibpath_var=LIBPATH
   18413   fi
   18414   ;;
   18415 
   18416 amigaos*)
   18417   library_names_spec='$libname.ixlibrary $libname.a'
   18418   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18419   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'
   18420   ;;
   18421 
   18422 beos*)
   18423   library_names_spec='${libname}${shared_ext}'
   18424   dynamic_linker="$host_os ld.so"
   18425   shlibpath_var=LIBRARY_PATH
   18426   ;;
   18427 
   18428 bsdi[45]*)
   18429   version_type=linux
   18430   need_version=no
   18431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18432   soname_spec='${libname}${release}${shared_ext}$major'
   18433   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18434   shlibpath_var=LD_LIBRARY_PATH
   18435   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18436   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18437   # the default ld.so.conf also contains /usr/contrib/lib and
   18438   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18439   # libtool to hard-code these into programs
   18440   ;;
   18441 
   18442 cygwin* | mingw* | pw32*)
   18443   version_type=windows
   18444   shrext_cmds=".dll"
   18445   need_version=no
   18446   need_lib_prefix=no
   18447 
   18448   case $GCC,$host_os in
   18449   yes,cygwin* | yes,mingw* | yes,pw32*)
   18450     library_names_spec='$libname.dll.a'
   18451     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18452     postinstall_cmds='base_file=`basename \${file}`~
   18453       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18454       dldir=$destdir/`dirname \$dlpath`~
   18455       test -d \$dldir || mkdir -p \$dldir~
   18456       $install_prog $dir/$dlname \$dldir/$dlname~
   18457       chmod a+x \$dldir/$dlname'
   18458     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18459       dlpath=$dir/\$dldll~
   18460        $rm \$dlpath'
   18461     shlibpath_overrides_runpath=yes
   18462 
   18463     case $host_os in
   18464     cygwin*)
   18465       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18466       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18467       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18468       ;;
   18469     mingw*)
   18470       # MinGW DLLs use traditional 'lib' prefix
   18471       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18472       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18473       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18474         # It is most probably a Windows format PATH printed by
   18475         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18476         # path with ; separators, and with drive letters. We can handle the
   18477         # drive letters (cygwin fileutils understands them), so leave them,
   18478         # especially as we might pass files found there to a mingw objdump,
   18479         # which wouldn't understand a cygwinified path. Ahh.
   18480         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18481       else
   18482         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18483       fi
   18484       ;;
   18485     pw32*)
   18486       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18487       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18488       ;;
   18489     esac
   18490     ;;
   18491 
   18492   linux*)
   18493     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
   18494       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   18495       supports_anon_versioning=no
   18496       case `$LD -v 2>/dev/null` in
   18497         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   18498         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   18499         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   18500         *\ 2.11.*) ;; # other 2.11 versions
   18501         *) supports_anon_versioning=yes ;;
   18502       esac
   18503       if test $supports_anon_versioning = yes; then
   18504         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   18505 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   18506 $echo "local: *; };" >> $output_objdir/$libname.ver~
   18507         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   18508       else
   18509         $archive_expsym_cmds="$archive_cmds"
   18510       fi
   18511     else
   18512       ld_shlibs=no
   18513     fi
   18514     ;;
   18515 
   18516   *)
   18517     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18518     ;;
   18519   esac
   18520   dynamic_linker='Win32 ld.exe'
   18521   # FIXME: first we should search . and the directory the executable is in
   18522   shlibpath_var=PATH
   18523   ;;
   18524 
   18525 darwin* | rhapsody*)
   18526   dynamic_linker="$host_os dyld"
   18527   version_type=darwin
   18528   need_lib_prefix=no
   18529   need_version=no
   18530   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18531   soname_spec='${libname}${release}${major}$shared_ext'
   18532   shlibpath_overrides_runpath=yes
   18533   shlibpath_var=DYLD_LIBRARY_PATH
   18534   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18535   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   18536   if test "$GCC" = yes; then
   18537     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"`
   18538   else
   18539     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   18540   fi
   18541   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18542   ;;
   18543 
   18544 dgux*)
   18545   version_type=linux
   18546   need_lib_prefix=no
   18547   need_version=no
   18548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18549   soname_spec='${libname}${release}${shared_ext}$major'
   18550   shlibpath_var=LD_LIBRARY_PATH
   18551   ;;
   18552 
   18553 freebsd1*)
   18554   dynamic_linker=no
   18555   ;;
   18556 
   18557 kfreebsd*-gnu)
   18558   version_type=linux
   18559   need_lib_prefix=no
   18560   need_version=no
   18561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18562   soname_spec='${libname}${release}${shared_ext}$major'
   18563   shlibpath_var=LD_LIBRARY_PATH
   18564   shlibpath_overrides_runpath=no
   18565   hardcode_into_libs=yes
   18566   dynamic_linker='GNU ld.so'
   18567   ;;
   18568 
   18569 freebsd* | dragonfly*)
   18570   # DragonFly does not have aout.  When/if they implement a new
   18571   # versioning mechanism, adjust this.
   18572   if test -x /usr/bin/objformat; then
   18573     objformat=`/usr/bin/objformat`
   18574   else
   18575     case $host_os in
   18576     freebsd[123]*) objformat=aout ;;
   18577     *) objformat=elf ;;
   18578     esac
   18579   fi
   18580   # Handle Gentoo/FreeBSD as it was Linux
   18581   case $host_vendor in
   18582     gentoo)
   18583       version_type=linux ;;
   18584     *)
   18585       version_type=freebsd-$objformat ;;
   18586   esac
   18587 
   18588   case $version_type in
   18589     freebsd-elf*)
   18590       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18591       need_version=no
   18592       need_lib_prefix=no
   18593       ;;
   18594     freebsd-*)
   18595       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18596       need_version=yes
   18597       ;;
   18598     linux)
   18599       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18600       soname_spec='${libname}${release}${shared_ext}$major'
   18601       need_lib_prefix=no
   18602       need_version=no
   18603       ;;
   18604   esac
   18605   shlibpath_var=LD_LIBRARY_PATH
   18606   case $host_os in
   18607   freebsd2*)
   18608     shlibpath_overrides_runpath=yes
   18609     ;;
   18610   freebsd3.[01]* | freebsdelf3.[01]*)
   18611     shlibpath_overrides_runpath=yes
   18612     hardcode_into_libs=yes
   18613     ;;
   18614   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18615   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18616     shlibpath_overrides_runpath=no
   18617     hardcode_into_libs=yes
   18618     ;;
   18619   freebsd*) # from 4.6 on
   18620     shlibpath_overrides_runpath=yes
   18621     hardcode_into_libs=yes
   18622     ;;
   18623   esac
   18624   ;;
   18625 
   18626 gnu*)
   18627   version_type=linux
   18628   need_lib_prefix=no
   18629   need_version=no
   18630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18631   soname_spec='${libname}${release}${shared_ext}$major'
   18632   shlibpath_var=LD_LIBRARY_PATH
   18633   hardcode_into_libs=yes
   18634   ;;
   18635 
   18636 hpux9* | hpux10* | hpux11*)
   18637   # Give a soname corresponding to the major version so that dld.sl refuses to
   18638   # link against other versions.
   18639   version_type=sunos
   18640   need_lib_prefix=no
   18641   need_version=no
   18642   case $host_cpu in
   18643   ia64*)
   18644     shrext_cmds='.so'
   18645     hardcode_into_libs=yes
   18646     dynamic_linker="$host_os dld.so"
   18647     shlibpath_var=LD_LIBRARY_PATH
   18648     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18649     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18650     soname_spec='${libname}${release}${shared_ext}$major'
   18651     if test "X$HPUX_IA64_MODE" = X32; then
   18652       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18653     else
   18654       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18655     fi
   18656     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18657     ;;
   18658    hppa*64*)
   18659      shrext_cmds='.sl'
   18660      hardcode_into_libs=yes
   18661      dynamic_linker="$host_os dld.sl"
   18662      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18663      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18664      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18665      soname_spec='${libname}${release}${shared_ext}$major'
   18666      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18667      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18668      ;;
   18669    *)
   18670     shrext_cmds='.sl'
   18671     dynamic_linker="$host_os dld.sl"
   18672     shlibpath_var=SHLIB_PATH
   18673     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18674     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18675     soname_spec='${libname}${release}${shared_ext}$major'
   18676     ;;
   18677   esac
   18678   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18679   postinstall_cmds='chmod 555 $lib'
   18680   ;;
   18681 
   18682 interix3*)
   18683   version_type=linux
   18684   need_lib_prefix=no
   18685   need_version=no
   18686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18687   soname_spec='${libname}${release}${shared_ext}$major'
   18688   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18689   shlibpath_var=LD_LIBRARY_PATH
   18690   shlibpath_overrides_runpath=no
   18691   hardcode_into_libs=yes
   18692   ;;
   18693 
   18694 irix5* | irix6* | nonstopux*)
   18695   case $host_os in
   18696     nonstopux*) version_type=nonstopux ;;
   18697     *)
   18698 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18699 		version_type=linux
   18700 	else
   18701 		version_type=irix
   18702 	fi ;;
   18703   esac
   18704   need_lib_prefix=no
   18705   need_version=no
   18706   soname_spec='${libname}${release}${shared_ext}$major'
   18707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18708   case $host_os in
   18709   irix5* | nonstopux*)
   18710     libsuff= shlibsuff=
   18711     ;;
   18712   *)
   18713     case $LD in # libtool.m4 will add one of these switches to LD
   18714     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18715       libsuff= shlibsuff= libmagic=32-bit;;
   18716     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18717       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18718     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18719       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18720     *) libsuff= shlibsuff= libmagic=never-match;;
   18721     esac
   18722     ;;
   18723   esac
   18724   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18725   shlibpath_overrides_runpath=no
   18726   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18727   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18728   hardcode_into_libs=yes
   18729   ;;
   18730 
   18731 # No shared lib support for Linux oldld, aout, or coff.
   18732 linux*oldld* | linux*aout* | linux*coff*)
   18733   dynamic_linker=no
   18734   ;;
   18735 
   18736 # This must be Linux ELF.
   18737 linux*)
   18738   version_type=linux
   18739   need_lib_prefix=no
   18740   need_version=no
   18741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18742   soname_spec='${libname}${release}${shared_ext}$major'
   18743   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18744   shlibpath_var=LD_LIBRARY_PATH
   18745   shlibpath_overrides_runpath=no
   18746   # This implies no fast_install, which is unacceptable.
   18747   # Some rework will be needed to allow for fast_install
   18748   # before this can be enabled.
   18749   hardcode_into_libs=yes
   18750 
   18751   # Append ld.so.conf contents to the search path
   18752   if test -f /etc/ld.so.conf; then
   18753     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' ' '`
   18754     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18755   fi
   18756 
   18757   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18758   # powerpc, because MkLinux only supported shared libraries with the
   18759   # GNU dynamic linker.  Since this was broken with cross compilers,
   18760   # most powerpc-linux boxes support dynamic linking these days and
   18761   # people can always --disable-shared, the test was removed, and we
   18762   # assume the GNU/Linux dynamic linker is in use.
   18763   dynamic_linker='GNU/Linux ld.so'
   18764   ;;
   18765 
   18766 knetbsd*-gnu)
   18767   version_type=linux
   18768   need_lib_prefix=no
   18769   need_version=no
   18770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18771   soname_spec='${libname}${release}${shared_ext}$major'
   18772   shlibpath_var=LD_LIBRARY_PATH
   18773   shlibpath_overrides_runpath=no
   18774   hardcode_into_libs=yes
   18775   dynamic_linker='GNU ld.so'
   18776   ;;
   18777 
   18778 netbsd*)
   18779   version_type=sunos
   18780   need_lib_prefix=no
   18781   need_version=no
   18782   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18783     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18784     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18785     dynamic_linker='NetBSD (a.out) ld.so'
   18786   else
   18787     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18788     soname_spec='${libname}${release}${shared_ext}$major'
   18789     dynamic_linker='NetBSD ld.elf_so'
   18790   fi
   18791   shlibpath_var=LD_LIBRARY_PATH
   18792   shlibpath_overrides_runpath=yes
   18793   hardcode_into_libs=yes
   18794   ;;
   18795 
   18796 newsos6)
   18797   version_type=linux
   18798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18799   shlibpath_var=LD_LIBRARY_PATH
   18800   shlibpath_overrides_runpath=yes
   18801   ;;
   18802 
   18803 nto-qnx*)
   18804   version_type=linux
   18805   need_lib_prefix=no
   18806   need_version=no
   18807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18808   soname_spec='${libname}${release}${shared_ext}$major'
   18809   shlibpath_var=LD_LIBRARY_PATH
   18810   shlibpath_overrides_runpath=yes
   18811   ;;
   18812 
   18813 openbsd*)
   18814   version_type=sunos
   18815   sys_lib_dlsearch_path_spec="/usr/lib"
   18816   need_lib_prefix=no
   18817   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18818   case $host_os in
   18819     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18820     *)                         need_version=no  ;;
   18821   esac
   18822   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18823   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18824   shlibpath_var=LD_LIBRARY_PATH
   18825   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18826     case $host_os in
   18827       openbsd2.[89] | openbsd2.[89].*)
   18828 	shlibpath_overrides_runpath=no
   18829 	;;
   18830       *)
   18831 	shlibpath_overrides_runpath=yes
   18832 	;;
   18833       esac
   18834   else
   18835     shlibpath_overrides_runpath=yes
   18836   fi
   18837   ;;
   18838 
   18839 os2*)
   18840   libname_spec='$name'
   18841   shrext_cmds=".dll"
   18842   need_lib_prefix=no
   18843   library_names_spec='$libname${shared_ext} $libname.a'
   18844   dynamic_linker='OS/2 ld.exe'
   18845   shlibpath_var=LIBPATH
   18846   ;;
   18847 
   18848 osf3* | osf4* | osf5*)
   18849   version_type=osf
   18850   need_lib_prefix=no
   18851   need_version=no
   18852   soname_spec='${libname}${release}${shared_ext}$major'
   18853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18854   shlibpath_var=LD_LIBRARY_PATH
   18855   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18856   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18857   ;;
   18858 
   18859 solaris*)
   18860   version_type=linux
   18861   need_lib_prefix=no
   18862   need_version=no
   18863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18864   soname_spec='${libname}${release}${shared_ext}$major'
   18865   shlibpath_var=LD_LIBRARY_PATH
   18866   shlibpath_overrides_runpath=yes
   18867   hardcode_into_libs=yes
   18868   # ldd complains unless libraries are executable
   18869   postinstall_cmds='chmod +x $lib'
   18870   ;;
   18871 
   18872 sunos4*)
   18873   version_type=sunos
   18874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18875   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18876   shlibpath_var=LD_LIBRARY_PATH
   18877   shlibpath_overrides_runpath=yes
   18878   if test "$with_gnu_ld" = yes; then
   18879     need_lib_prefix=no
   18880   fi
   18881   need_version=yes
   18882   ;;
   18883 
   18884 sysv4 | sysv4.3*)
   18885   version_type=linux
   18886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18887   soname_spec='${libname}${release}${shared_ext}$major'
   18888   shlibpath_var=LD_LIBRARY_PATH
   18889   case $host_vendor in
   18890     sni)
   18891       shlibpath_overrides_runpath=no
   18892       need_lib_prefix=no
   18893       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18894       runpath_var=LD_RUN_PATH
   18895       ;;
   18896     siemens)
   18897       need_lib_prefix=no
   18898       ;;
   18899     motorola)
   18900       need_lib_prefix=no
   18901       need_version=no
   18902       shlibpath_overrides_runpath=no
   18903       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18904       ;;
   18905   esac
   18906   ;;
   18907 
   18908 sysv4*MP*)
   18909   if test -d /usr/nec ;then
   18910     version_type=linux
   18911     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18912     soname_spec='$libname${shared_ext}.$major'
   18913     shlibpath_var=LD_LIBRARY_PATH
   18914   fi
   18915   ;;
   18916 
   18917 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18918   version_type=freebsd-elf
   18919   need_lib_prefix=no
   18920   need_version=no
   18921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18922   soname_spec='${libname}${release}${shared_ext}$major'
   18923   shlibpath_var=LD_LIBRARY_PATH
   18924   hardcode_into_libs=yes
   18925   if test "$with_gnu_ld" = yes; then
   18926     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18927     shlibpath_overrides_runpath=no
   18928   else
   18929     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18930     shlibpath_overrides_runpath=yes
   18931     case $host_os in
   18932       sco3.2v5*)
   18933         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18934 	;;
   18935     esac
   18936   fi
   18937   sys_lib_dlsearch_path_spec='/usr/lib'
   18938   ;;
   18939 
   18940 uts4*)
   18941   version_type=linux
   18942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18943   soname_spec='${libname}${release}${shared_ext}$major'
   18944   shlibpath_var=LD_LIBRARY_PATH
   18945   ;;
   18946 
   18947 *)
   18948   dynamic_linker=no
   18949   ;;
   18950 esac
   18951 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18952 echo "${ECHO_T}$dynamic_linker" >&6; }
   18953 test "$dynamic_linker" = no && can_build_shared=no
   18954 
   18955 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18956 if test "$GCC" = yes; then
   18957   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18958 fi
   18959 
   18960 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18961 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18962 hardcode_action_GCJ=
   18963 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18964    test -n "$runpath_var_GCJ" || \
   18965    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18966 
   18967   # We can hardcode non-existant directories.
   18968   if test "$hardcode_direct_GCJ" != no &&
   18969      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18970      # have to relink, otherwise we might link with an installed library
   18971      # when we should be linking with a yet-to-be-installed one
   18972      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18973      test "$hardcode_minus_L_GCJ" != no; then
   18974     # Linking always hardcodes the temporary library directory.
   18975     hardcode_action_GCJ=relink
   18976   else
   18977     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18978     hardcode_action_GCJ=immediate
   18979   fi
   18980 else
   18981   # We cannot hardcode anything, or else we can only hardcode existing
   18982   # directories.
   18983   hardcode_action_GCJ=unsupported
   18984 fi
   18985 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18986 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18987 
   18988 if test "$hardcode_action_GCJ" = relink; then
   18989   # Fast installation is not supported
   18990   enable_fast_install=no
   18991 elif test "$shlibpath_overrides_runpath" = yes ||
   18992      test "$enable_shared" = no; then
   18993   # Fast installation is not necessary
   18994   enable_fast_install=needless
   18995 fi
   18996 
   18997 
   18998 # The else clause should only fire when bootstrapping the
   18999 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19000 # with your package, and you will get complaints that there are
   19001 # no rules to generate ltmain.sh.
   19002 if test -f "$ltmain"; then
   19003   # See if we are running on zsh, and set the options which allow our commands through
   19004   # without removal of \ escapes.
   19005   if test -n "${ZSH_VERSION+set}" ; then
   19006     setopt NO_GLOB_SUBST
   19007   fi
   19008   # Now quote all the things that may contain metacharacters while being
   19009   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19010   # variables and quote the copies for generation of the libtool script.
   19011   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19012     SED SHELL STRIP \
   19013     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19014     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19015     deplibs_check_method reload_flag reload_cmds need_locks \
   19016     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19017     lt_cv_sys_global_symbol_to_c_name_address \
   19018     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19019     old_postinstall_cmds old_postuninstall_cmds \
   19020     compiler_GCJ \
   19021     CC_GCJ \
   19022     LD_GCJ \
   19023     lt_prog_compiler_wl_GCJ \
   19024     lt_prog_compiler_pic_GCJ \
   19025     lt_prog_compiler_static_GCJ \
   19026     lt_prog_compiler_no_builtin_flag_GCJ \
   19027     export_dynamic_flag_spec_GCJ \
   19028     thread_safe_flag_spec_GCJ \
   19029     whole_archive_flag_spec_GCJ \
   19030     enable_shared_with_static_runtimes_GCJ \
   19031     old_archive_cmds_GCJ \
   19032     old_archive_from_new_cmds_GCJ \
   19033     predep_objects_GCJ \
   19034     postdep_objects_GCJ \
   19035     predeps_GCJ \
   19036     postdeps_GCJ \
   19037     compiler_lib_search_path_GCJ \
   19038     archive_cmds_GCJ \
   19039     archive_expsym_cmds_GCJ \
   19040     postinstall_cmds_GCJ \
   19041     postuninstall_cmds_GCJ \
   19042     old_archive_from_expsyms_cmds_GCJ \
   19043     allow_undefined_flag_GCJ \
   19044     no_undefined_flag_GCJ \
   19045     export_symbols_cmds_GCJ \
   19046     hardcode_libdir_flag_spec_GCJ \
   19047     hardcode_libdir_flag_spec_ld_GCJ \
   19048     hardcode_libdir_separator_GCJ \
   19049     hardcode_automatic_GCJ \
   19050     module_cmds_GCJ \
   19051     module_expsym_cmds_GCJ \
   19052     lt_cv_prog_compiler_c_o_GCJ \
   19053     exclude_expsyms_GCJ \
   19054     include_expsyms_GCJ; do
   19055 
   19056     case $var in
   19057     old_archive_cmds_GCJ | \
   19058     old_archive_from_new_cmds_GCJ | \
   19059     archive_cmds_GCJ | \
   19060     archive_expsym_cmds_GCJ | \
   19061     module_cmds_GCJ | \
   19062     module_expsym_cmds_GCJ | \
   19063     old_archive_from_expsyms_cmds_GCJ | \
   19064     export_symbols_cmds_GCJ | \
   19065     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19066     postinstall_cmds | postuninstall_cmds | \
   19067     old_postinstall_cmds | old_postuninstall_cmds | \
   19068     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19069       # Double-quote double-evaled strings.
   19070       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19071       ;;
   19072     *)
   19073       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19074       ;;
   19075     esac
   19076   done
   19077 
   19078   case $lt_echo in
   19079   *'\$0 --fallback-echo"')
   19080     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19081     ;;
   19082   esac
   19083 
   19084 cfgfile="$ofile"
   19085 
   19086   cat <<__EOF__ >> "$cfgfile"
   19087 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19088 
   19089 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19090 
   19091 # Shell to use when invoking shell scripts.
   19092 SHELL=$lt_SHELL
   19093 
   19094 # Whether or not to build shared libraries.
   19095 build_libtool_libs=$enable_shared
   19096 
   19097 # Whether or not to build static libraries.
   19098 build_old_libs=$enable_static
   19099 
   19100 # Whether or not to add -lc for building shared libraries.
   19101 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19102 
   19103 # Whether or not to disallow shared libs when runtime libs are static
   19104 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19105 
   19106 # Whether or not to optimize for fast installation.
   19107 fast_install=$enable_fast_install
   19108 
   19109 # The host system.
   19110 host_alias=$host_alias
   19111 host=$host
   19112 host_os=$host_os
   19113 
   19114 # The build system.
   19115 build_alias=$build_alias
   19116 build=$build
   19117 build_os=$build_os
   19118 
   19119 # An echo program that does not interpret backslashes.
   19120 echo=$lt_echo
   19121 
   19122 # The archiver.
   19123 AR=$lt_AR
   19124 AR_FLAGS=$lt_AR_FLAGS
   19125 
   19126 # A C compiler.
   19127 LTCC=$lt_LTCC
   19128 
   19129 # LTCC compiler flags.
   19130 LTCFLAGS=$lt_LTCFLAGS
   19131 
   19132 # A language-specific compiler.
   19133 CC=$lt_compiler_GCJ
   19134 
   19135 # Is the compiler the GNU C compiler?
   19136 with_gcc=$GCC_GCJ
   19137 
   19138 # An ERE matcher.
   19139 EGREP=$lt_EGREP
   19140 
   19141 # The linker used to build libraries.
   19142 LD=$lt_LD_GCJ
   19143 
   19144 # Whether we need hard or soft links.
   19145 LN_S=$lt_LN_S
   19146 
   19147 # A BSD-compatible nm program.
   19148 NM=$lt_NM
   19149 
   19150 # A symbol stripping program
   19151 STRIP=$lt_STRIP
   19152 
   19153 # Used to examine libraries when file_magic_cmd begins "file"
   19154 MAGIC_CMD=$MAGIC_CMD
   19155 
   19156 # Used on cygwin: DLL creation program.
   19157 DLLTOOL="$DLLTOOL"
   19158 
   19159 # Used on cygwin: object dumper.
   19160 OBJDUMP="$OBJDUMP"
   19161 
   19162 # Used on cygwin: assembler.
   19163 AS="$AS"
   19164 
   19165 # The name of the directory that contains temporary libtool files.
   19166 objdir=$objdir
   19167 
   19168 # How to create reloadable object files.
   19169 reload_flag=$lt_reload_flag
   19170 reload_cmds=$lt_reload_cmds
   19171 
   19172 # How to pass a linker flag through the compiler.
   19173 wl=$lt_lt_prog_compiler_wl_GCJ
   19174 
   19175 # Object file suffix (normally "o").
   19176 objext="$ac_objext"
   19177 
   19178 # Old archive suffix (normally "a").
   19179 libext="$libext"
   19180 
   19181 # Shared library suffix (normally ".so").
   19182 shrext_cmds='$shrext_cmds'
   19183 
   19184 # Executable file suffix (normally "").
   19185 exeext="$exeext"
   19186 
   19187 # Additional compiler flags for building library objects.
   19188 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19189 pic_mode=$pic_mode
   19190 
   19191 # What is the maximum length of a command?
   19192 max_cmd_len=$lt_cv_sys_max_cmd_len
   19193 
   19194 # Does compiler simultaneously support -c and -o options?
   19195 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19196 
   19197 # Must we lock files when doing compilation?
   19198 need_locks=$lt_need_locks
   19199 
   19200 # Do we need the lib prefix for modules?
   19201 need_lib_prefix=$need_lib_prefix
   19202 
   19203 # Do we need a version for libraries?
   19204 need_version=$need_version
   19205 
   19206 # Whether dlopen is supported.
   19207 dlopen_support=$enable_dlopen
   19208 
   19209 # Whether dlopen of programs is supported.
   19210 dlopen_self=$enable_dlopen_self
   19211 
   19212 # Whether dlopen of statically linked programs is supported.
   19213 dlopen_self_static=$enable_dlopen_self_static
   19214 
   19215 # Compiler flag to prevent dynamic linking.
   19216 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19217 
   19218 # Compiler flag to turn off builtin functions.
   19219 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19220 
   19221 # Compiler flag to allow reflexive dlopens.
   19222 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19223 
   19224 # Compiler flag to generate shared objects directly from archives.
   19225 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19226 
   19227 # Compiler flag to generate thread-safe objects.
   19228 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19229 
   19230 # Library versioning type.
   19231 version_type=$version_type
   19232 
   19233 # Format of library name prefix.
   19234 libname_spec=$lt_libname_spec
   19235 
   19236 # List of archive names.  First name is the real one, the rest are links.
   19237 # The last name is the one that the linker finds with -lNAME.
   19238 library_names_spec=$lt_library_names_spec
   19239 
   19240 # The coded name of the library, if different from the real name.
   19241 soname_spec=$lt_soname_spec
   19242 
   19243 # Commands used to build and install an old-style archive.
   19244 RANLIB=$lt_RANLIB
   19245 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19246 old_postinstall_cmds=$lt_old_postinstall_cmds
   19247 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19248 
   19249 # Create an old-style archive from a shared archive.
   19250 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19251 
   19252 # Create a temporary old-style archive to link instead of a shared archive.
   19253 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19254 
   19255 # Commands used to build and install a shared archive.
   19256 archive_cmds=$lt_archive_cmds_GCJ
   19257 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19258 postinstall_cmds=$lt_postinstall_cmds
   19259 postuninstall_cmds=$lt_postuninstall_cmds
   19260 
   19261 # Commands used to build a loadable module (assumed same as above if empty)
   19262 module_cmds=$lt_module_cmds_GCJ
   19263 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19264 
   19265 # Commands to strip libraries.
   19266 old_striplib=$lt_old_striplib
   19267 striplib=$lt_striplib
   19268 
   19269 # Dependencies to place before the objects being linked to create a
   19270 # shared library.
   19271 predep_objects=$lt_predep_objects_GCJ
   19272 
   19273 # Dependencies to place after the objects being linked to create a
   19274 # shared library.
   19275 postdep_objects=$lt_postdep_objects_GCJ
   19276 
   19277 # Dependencies to place before the objects being linked to create a
   19278 # shared library.
   19279 predeps=$lt_predeps_GCJ
   19280 
   19281 # Dependencies to place after the objects being linked to create a
   19282 # shared library.
   19283 postdeps=$lt_postdeps_GCJ
   19284 
   19285 # The library search path used internally by the compiler when linking
   19286 # a shared library.
   19287 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19288 
   19289 # Method to check whether dependent libraries are shared objects.
   19290 deplibs_check_method=$lt_deplibs_check_method
   19291 
   19292 # Command to use when deplibs_check_method == file_magic.
   19293 file_magic_cmd=$lt_file_magic_cmd
   19294 
   19295 # Flag that allows shared libraries with undefined symbols to be built.
   19296 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19297 
   19298 # Flag that forces no undefined symbols.
   19299 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19300 
   19301 # Commands used to finish a libtool library installation in a directory.
   19302 finish_cmds=$lt_finish_cmds
   19303 
   19304 # Same as above, but a single script fragment to be evaled but not shown.
   19305 finish_eval=$lt_finish_eval
   19306 
   19307 # Take the output of nm and produce a listing of raw symbols and C names.
   19308 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19309 
   19310 # Transform the output of nm in a proper C declaration
   19311 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19312 
   19313 # Transform the output of nm in a C name address pair
   19314 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19315 
   19316 # This is the shared library runtime path variable.
   19317 runpath_var=$runpath_var
   19318 
   19319 # This is the shared library path variable.
   19320 shlibpath_var=$shlibpath_var
   19321 
   19322 # Is shlibpath searched before the hard-coded library search path?
   19323 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19324 
   19325 # How to hardcode a shared library path into an executable.
   19326 hardcode_action=$hardcode_action_GCJ
   19327 
   19328 # Whether we should hardcode library paths into libraries.
   19329 hardcode_into_libs=$hardcode_into_libs
   19330 
   19331 # Flag to hardcode \$libdir into a binary during linking.
   19332 # This must work even if \$libdir does not exist.
   19333 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19334 
   19335 # If ld is used when linking, flag to hardcode \$libdir into
   19336 # a binary during linking. This must work even if \$libdir does
   19337 # not exist.
   19338 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19339 
   19340 # Whether we need a single -rpath flag with a separated argument.
   19341 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19342 
   19343 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19344 # resulting binary.
   19345 hardcode_direct=$hardcode_direct_GCJ
   19346 
   19347 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19348 # resulting binary.
   19349 hardcode_minus_L=$hardcode_minus_L_GCJ
   19350 
   19351 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19352 # the resulting binary.
   19353 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19354 
   19355 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19356 # and all subsequent libraries and executables linked against it.
   19357 hardcode_automatic=$hardcode_automatic_GCJ
   19358 
   19359 # Variables whose values should be saved in libtool wrapper scripts and
   19360 # restored at relink time.
   19361 variables_saved_for_relink="$variables_saved_for_relink"
   19362 
   19363 # Whether libtool must link a program against all its dependency libraries.
   19364 link_all_deplibs=$link_all_deplibs_GCJ
   19365 
   19366 # Compile-time system search path for libraries
   19367 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19368 
   19369 # Run-time system search path for libraries
   19370 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19371 
   19372 # Fix the shell variable \$srcfile for the compiler.
   19373 fix_srcfile_path="$fix_srcfile_path_GCJ"
   19374 
   19375 # Set to yes if exported symbols are required.
   19376 always_export_symbols=$always_export_symbols_GCJ
   19377 
   19378 # The commands to list exported symbols.
   19379 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19380 
   19381 # The commands to extract the exported symbol list from a shared archive.
   19382 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19383 
   19384 # Symbols that should not be listed in the preloaded symbols.
   19385 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19386 
   19387 # Symbols that must always be exported.
   19388 include_expsyms=$lt_include_expsyms_GCJ
   19389 
   19390 # ### END LIBTOOL TAG CONFIG: $tagname
   19391 
   19392 __EOF__
   19393 
   19394 
   19395 else
   19396   # If there is no Makefile yet, we rely on a make rule to execute
   19397   # `config.status --recheck' to rerun these tests and create the
   19398   # libtool script then.
   19399   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19400   if test -f "$ltmain_in"; then
   19401     test -f Makefile && make "$ltmain"
   19402   fi
   19403 fi
   19404 
   19405 
   19406 ac_ext=c
   19407 ac_cpp='$CPP $CPPFLAGS'
   19408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19411 
   19412 CC="$lt_save_CC"
   19413 
   19414 	else
   19415 	  tagname=""
   19416 	fi
   19417 	;;
   19418 
   19419       RC)
   19420 
   19421 
   19422 # Source file extension for RC test sources.
   19423 ac_ext=rc
   19424 
   19425 # Object file extension for compiled RC test sources.
   19426 objext=o
   19427 objext_RC=$objext
   19428 
   19429 # Code to be used in simple compile tests
   19430 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   19431 
   19432 # Code to be used in simple link tests
   19433 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19434 
   19435 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19436 
   19437 # If no C compiler was specified, use CC.
   19438 LTCC=${LTCC-"$CC"}
   19439 
   19440 # If no C compiler flags were specified, use CFLAGS.
   19441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19442 
   19443 # Allow CC to be a program name with arguments.
   19444 compiler=$CC
   19445 
   19446 
   19447 # save warnings/boilerplate of simple test code
   19448 ac_outfile=conftest.$ac_objext
   19449 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   19450 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19451 _lt_compiler_boilerplate=`cat conftest.err`
   19452 $rm conftest*
   19453 
   19454 ac_outfile=conftest.$ac_objext
   19455 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   19456 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19457 _lt_linker_boilerplate=`cat conftest.err`
   19458 $rm conftest*
   19459 
   19460 
   19461 # Allow CC to be a program name with arguments.
   19462 lt_save_CC="$CC"
   19463 CC=${RC-"windres"}
   19464 compiler=$CC
   19465 compiler_RC=$CC
   19466 for cc_temp in $compiler""; do
   19467   case $cc_temp in
   19468     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19469     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19470     \-*) ;;
   19471     *) break;;
   19472   esac
   19473 done
   19474 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19475 
   19476 lt_cv_prog_compiler_c_o_RC=yes
   19477 
   19478 # The else clause should only fire when bootstrapping the
   19479 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19480 # with your package, and you will get complaints that there are
   19481 # no rules to generate ltmain.sh.
   19482 if test -f "$ltmain"; then
   19483   # See if we are running on zsh, and set the options which allow our commands through
   19484   # without removal of \ escapes.
   19485   if test -n "${ZSH_VERSION+set}" ; then
   19486     setopt NO_GLOB_SUBST
   19487   fi
   19488   # Now quote all the things that may contain metacharacters while being
   19489   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19490   # variables and quote the copies for generation of the libtool script.
   19491   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19492     SED SHELL STRIP \
   19493     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19494     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19495     deplibs_check_method reload_flag reload_cmds need_locks \
   19496     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19497     lt_cv_sys_global_symbol_to_c_name_address \
   19498     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19499     old_postinstall_cmds old_postuninstall_cmds \
   19500     compiler_RC \
   19501     CC_RC \
   19502     LD_RC \
   19503     lt_prog_compiler_wl_RC \
   19504     lt_prog_compiler_pic_RC \
   19505     lt_prog_compiler_static_RC \
   19506     lt_prog_compiler_no_builtin_flag_RC \
   19507     export_dynamic_flag_spec_RC \
   19508     thread_safe_flag_spec_RC \
   19509     whole_archive_flag_spec_RC \
   19510     enable_shared_with_static_runtimes_RC \
   19511     old_archive_cmds_RC \
   19512     old_archive_from_new_cmds_RC \
   19513     predep_objects_RC \
   19514     postdep_objects_RC \
   19515     predeps_RC \
   19516     postdeps_RC \
   19517     compiler_lib_search_path_RC \
   19518     archive_cmds_RC \
   19519     archive_expsym_cmds_RC \
   19520     postinstall_cmds_RC \
   19521     postuninstall_cmds_RC \
   19522     old_archive_from_expsyms_cmds_RC \
   19523     allow_undefined_flag_RC \
   19524     no_undefined_flag_RC \
   19525     export_symbols_cmds_RC \
   19526     hardcode_libdir_flag_spec_RC \
   19527     hardcode_libdir_flag_spec_ld_RC \
   19528     hardcode_libdir_separator_RC \
   19529     hardcode_automatic_RC \
   19530     module_cmds_RC \
   19531     module_expsym_cmds_RC \
   19532     lt_cv_prog_compiler_c_o_RC \
   19533     exclude_expsyms_RC \
   19534     include_expsyms_RC; do
   19535 
   19536     case $var in
   19537     old_archive_cmds_RC | \
   19538     old_archive_from_new_cmds_RC | \
   19539     archive_cmds_RC | \
   19540     archive_expsym_cmds_RC | \
   19541     module_cmds_RC | \
   19542     module_expsym_cmds_RC | \
   19543     old_archive_from_expsyms_cmds_RC | \
   19544     export_symbols_cmds_RC | \
   19545     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19546     postinstall_cmds | postuninstall_cmds | \
   19547     old_postinstall_cmds | old_postuninstall_cmds | \
   19548     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19549       # Double-quote double-evaled strings.
   19550       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19551       ;;
   19552     *)
   19553       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19554       ;;
   19555     esac
   19556   done
   19557 
   19558   case $lt_echo in
   19559   *'\$0 --fallback-echo"')
   19560     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19561     ;;
   19562   esac
   19563 
   19564 cfgfile="$ofile"
   19565 
   19566   cat <<__EOF__ >> "$cfgfile"
   19567 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19568 
   19569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19570 
   19571 # Shell to use when invoking shell scripts.
   19572 SHELL=$lt_SHELL
   19573 
   19574 # Whether or not to build shared libraries.
   19575 build_libtool_libs=$enable_shared
   19576 
   19577 # Whether or not to build static libraries.
   19578 build_old_libs=$enable_static
   19579 
   19580 # Whether or not to add -lc for building shared libraries.
   19581 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19582 
   19583 # Whether or not to disallow shared libs when runtime libs are static
   19584 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19585 
   19586 # Whether or not to optimize for fast installation.
   19587 fast_install=$enable_fast_install
   19588 
   19589 # The host system.
   19590 host_alias=$host_alias
   19591 host=$host
   19592 host_os=$host_os
   19593 
   19594 # The build system.
   19595 build_alias=$build_alias
   19596 build=$build
   19597 build_os=$build_os
   19598 
   19599 # An echo program that does not interpret backslashes.
   19600 echo=$lt_echo
   19601 
   19602 # The archiver.
   19603 AR=$lt_AR
   19604 AR_FLAGS=$lt_AR_FLAGS
   19605 
   19606 # A C compiler.
   19607 LTCC=$lt_LTCC
   19608 
   19609 # LTCC compiler flags.
   19610 LTCFLAGS=$lt_LTCFLAGS
   19611 
   19612 # A language-specific compiler.
   19613 CC=$lt_compiler_RC
   19614 
   19615 # Is the compiler the GNU C compiler?
   19616 with_gcc=$GCC_RC
   19617 
   19618 # An ERE matcher.
   19619 EGREP=$lt_EGREP
   19620 
   19621 # The linker used to build libraries.
   19622 LD=$lt_LD_RC
   19623 
   19624 # Whether we need hard or soft links.
   19625 LN_S=$lt_LN_S
   19626 
   19627 # A BSD-compatible nm program.
   19628 NM=$lt_NM
   19629 
   19630 # A symbol stripping program
   19631 STRIP=$lt_STRIP
   19632 
   19633 # Used to examine libraries when file_magic_cmd begins "file"
   19634 MAGIC_CMD=$MAGIC_CMD
   19635 
   19636 # Used on cygwin: DLL creation program.
   19637 DLLTOOL="$DLLTOOL"
   19638 
   19639 # Used on cygwin: object dumper.
   19640 OBJDUMP="$OBJDUMP"
   19641 
   19642 # Used on cygwin: assembler.
   19643 AS="$AS"
   19644 
   19645 # The name of the directory that contains temporary libtool files.
   19646 objdir=$objdir
   19647 
   19648 # How to create reloadable object files.
   19649 reload_flag=$lt_reload_flag
   19650 reload_cmds=$lt_reload_cmds
   19651 
   19652 # How to pass a linker flag through the compiler.
   19653 wl=$lt_lt_prog_compiler_wl_RC
   19654 
   19655 # Object file suffix (normally "o").
   19656 objext="$ac_objext"
   19657 
   19658 # Old archive suffix (normally "a").
   19659 libext="$libext"
   19660 
   19661 # Shared library suffix (normally ".so").
   19662 shrext_cmds='$shrext_cmds'
   19663 
   19664 # Executable file suffix (normally "").
   19665 exeext="$exeext"
   19666 
   19667 # Additional compiler flags for building library objects.
   19668 pic_flag=$lt_lt_prog_compiler_pic_RC
   19669 pic_mode=$pic_mode
   19670 
   19671 # What is the maximum length of a command?
   19672 max_cmd_len=$lt_cv_sys_max_cmd_len
   19673 
   19674 # Does compiler simultaneously support -c and -o options?
   19675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19676 
   19677 # Must we lock files when doing compilation?
   19678 need_locks=$lt_need_locks
   19679 
   19680 # Do we need the lib prefix for modules?
   19681 need_lib_prefix=$need_lib_prefix
   19682 
   19683 # Do we need a version for libraries?
   19684 need_version=$need_version
   19685 
   19686 # Whether dlopen is supported.
   19687 dlopen_support=$enable_dlopen
   19688 
   19689 # Whether dlopen of programs is supported.
   19690 dlopen_self=$enable_dlopen_self
   19691 
   19692 # Whether dlopen of statically linked programs is supported.
   19693 dlopen_self_static=$enable_dlopen_self_static
   19694 
   19695 # Compiler flag to prevent dynamic linking.
   19696 link_static_flag=$lt_lt_prog_compiler_static_RC
   19697 
   19698 # Compiler flag to turn off builtin functions.
   19699 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19700 
   19701 # Compiler flag to allow reflexive dlopens.
   19702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19703 
   19704 # Compiler flag to generate shared objects directly from archives.
   19705 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19706 
   19707 # Compiler flag to generate thread-safe objects.
   19708 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19709 
   19710 # Library versioning type.
   19711 version_type=$version_type
   19712 
   19713 # Format of library name prefix.
   19714 libname_spec=$lt_libname_spec
   19715 
   19716 # List of archive names.  First name is the real one, the rest are links.
   19717 # The last name is the one that the linker finds with -lNAME.
   19718 library_names_spec=$lt_library_names_spec
   19719 
   19720 # The coded name of the library, if different from the real name.
   19721 soname_spec=$lt_soname_spec
   19722 
   19723 # Commands used to build and install an old-style archive.
   19724 RANLIB=$lt_RANLIB
   19725 old_archive_cmds=$lt_old_archive_cmds_RC
   19726 old_postinstall_cmds=$lt_old_postinstall_cmds
   19727 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19728 
   19729 # Create an old-style archive from a shared archive.
   19730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19731 
   19732 # Create a temporary old-style archive to link instead of a shared archive.
   19733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19734 
   19735 # Commands used to build and install a shared archive.
   19736 archive_cmds=$lt_archive_cmds_RC
   19737 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19738 postinstall_cmds=$lt_postinstall_cmds
   19739 postuninstall_cmds=$lt_postuninstall_cmds
   19740 
   19741 # Commands used to build a loadable module (assumed same as above if empty)
   19742 module_cmds=$lt_module_cmds_RC
   19743 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19744 
   19745 # Commands to strip libraries.
   19746 old_striplib=$lt_old_striplib
   19747 striplib=$lt_striplib
   19748 
   19749 # Dependencies to place before the objects being linked to create a
   19750 # shared library.
   19751 predep_objects=$lt_predep_objects_RC
   19752 
   19753 # Dependencies to place after the objects being linked to create a
   19754 # shared library.
   19755 postdep_objects=$lt_postdep_objects_RC
   19756 
   19757 # Dependencies to place before the objects being linked to create a
   19758 # shared library.
   19759 predeps=$lt_predeps_RC
   19760 
   19761 # Dependencies to place after the objects being linked to create a
   19762 # shared library.
   19763 postdeps=$lt_postdeps_RC
   19764 
   19765 # The library search path used internally by the compiler when linking
   19766 # a shared library.
   19767 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19768 
   19769 # Method to check whether dependent libraries are shared objects.
   19770 deplibs_check_method=$lt_deplibs_check_method
   19771 
   19772 # Command to use when deplibs_check_method == file_magic.
   19773 file_magic_cmd=$lt_file_magic_cmd
   19774 
   19775 # Flag that allows shared libraries with undefined symbols to be built.
   19776 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19777 
   19778 # Flag that forces no undefined symbols.
   19779 no_undefined_flag=$lt_no_undefined_flag_RC
   19780 
   19781 # Commands used to finish a libtool library installation in a directory.
   19782 finish_cmds=$lt_finish_cmds
   19783 
   19784 # Same as above, but a single script fragment to be evaled but not shown.
   19785 finish_eval=$lt_finish_eval
   19786 
   19787 # Take the output of nm and produce a listing of raw symbols and C names.
   19788 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19789 
   19790 # Transform the output of nm in a proper C declaration
   19791 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19792 
   19793 # Transform the output of nm in a C name address pair
   19794 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19795 
   19796 # This is the shared library runtime path variable.
   19797 runpath_var=$runpath_var
   19798 
   19799 # This is the shared library path variable.
   19800 shlibpath_var=$shlibpath_var
   19801 
   19802 # Is shlibpath searched before the hard-coded library search path?
   19803 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19804 
   19805 # How to hardcode a shared library path into an executable.
   19806 hardcode_action=$hardcode_action_RC
   19807 
   19808 # Whether we should hardcode library paths into libraries.
   19809 hardcode_into_libs=$hardcode_into_libs
   19810 
   19811 # Flag to hardcode \$libdir into a binary during linking.
   19812 # This must work even if \$libdir does not exist.
   19813 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19814 
   19815 # If ld is used when linking, flag to hardcode \$libdir into
   19816 # a binary during linking. This must work even if \$libdir does
   19817 # not exist.
   19818 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19819 
   19820 # Whether we need a single -rpath flag with a separated argument.
   19821 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19822 
   19823 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19824 # resulting binary.
   19825 hardcode_direct=$hardcode_direct_RC
   19826 
   19827 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19828 # resulting binary.
   19829 hardcode_minus_L=$hardcode_minus_L_RC
   19830 
   19831 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19832 # the resulting binary.
   19833 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19834 
   19835 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19836 # and all subsequent libraries and executables linked against it.
   19837 hardcode_automatic=$hardcode_automatic_RC
   19838 
   19839 # Variables whose values should be saved in libtool wrapper scripts and
   19840 # restored at relink time.
   19841 variables_saved_for_relink="$variables_saved_for_relink"
   19842 
   19843 # Whether libtool must link a program against all its dependency libraries.
   19844 link_all_deplibs=$link_all_deplibs_RC
   19845 
   19846 # Compile-time system search path for libraries
   19847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19848 
   19849 # Run-time system search path for libraries
   19850 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19851 
   19852 # Fix the shell variable \$srcfile for the compiler.
   19853 fix_srcfile_path="$fix_srcfile_path_RC"
   19854 
   19855 # Set to yes if exported symbols are required.
   19856 always_export_symbols=$always_export_symbols_RC
   19857 
   19858 # The commands to list exported symbols.
   19859 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19860 
   19861 # The commands to extract the exported symbol list from a shared archive.
   19862 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19863 
   19864 # Symbols that should not be listed in the preloaded symbols.
   19865 exclude_expsyms=$lt_exclude_expsyms_RC
   19866 
   19867 # Symbols that must always be exported.
   19868 include_expsyms=$lt_include_expsyms_RC
   19869 
   19870 # ### END LIBTOOL TAG CONFIG: $tagname
   19871 
   19872 __EOF__
   19873 
   19874 
   19875 else
   19876   # If there is no Makefile yet, we rely on a make rule to execute
   19877   # `config.status --recheck' to rerun these tests and create the
   19878   # libtool script then.
   19879   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19880   if test -f "$ltmain_in"; then
   19881     test -f Makefile && make "$ltmain"
   19882   fi
   19883 fi
   19884 
   19885 
   19886 ac_ext=c
   19887 ac_cpp='$CPP $CPPFLAGS'
   19888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19891 
   19892 CC="$lt_save_CC"
   19893 
   19894 	;;
   19895 
   19896       *)
   19897 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19898 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19899    { (exit 1); exit 1; }; }
   19900 	;;
   19901       esac
   19902 
   19903       # Append the new tag name to the list of available tags.
   19904       if test -n "$tagname" ; then
   19905       available_tags="$available_tags $tagname"
   19906     fi
   19907     fi
   19908   done
   19909   IFS="$lt_save_ifs"
   19910 
   19911   # Now substitute the updated list of available tags.
   19912   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19913     mv "${ofile}T" "$ofile"
   19914     chmod +x "$ofile"
   19915   else
   19916     rm -f "${ofile}T"
   19917     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19918 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19919    { (exit 1); exit 1; }; }
   19920   fi
   19921 fi
   19922 
   19923 
   19924 
   19925 # This can be used to rebuild libtool when needed
   19926 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19927 
   19928 # Always use our own libtool.
   19929 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19930 
   19931 # Prevent multiple expansion
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 
   19939 
   19940 
   19941 
   19942 
   19943 
   19944 
   19945 
   19946 
   19947 
   19948 
   19949 
   19950 
   19951 
   19952 ac_ext=c
   19953 ac_cpp='$CPP $CPPFLAGS'
   19954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19957 if test -n "$ac_tool_prefix"; then
   19958   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19959 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19962 if test "${ac_cv_prog_CC+set}" = set; then
   19963   echo $ECHO_N "(cached) $ECHO_C" >&6
   19964 else
   19965   if test -n "$CC"; then
   19966   ac_cv_prog_CC="$CC" # Let the user override the test.
   19967 else
   19968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19969 for as_dir in $PATH
   19970 do
   19971   IFS=$as_save_IFS
   19972   test -z "$as_dir" && as_dir=.
   19973   for ac_exec_ext in '' $ac_executable_extensions; do
   19974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   19975     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19976     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19977     break 2
   19978   fi
   19979 done
   19980 done
   19981 IFS=$as_save_IFS
   19982 
   19983 fi
   19984 fi
   19985 CC=$ac_cv_prog_CC
   19986 if test -n "$CC"; then
   19987   { echo "$as_me:$LINENO: result: $CC" >&5
   19988 echo "${ECHO_T}$CC" >&6; }
   19989 else
   19990   { echo "$as_me:$LINENO: result: no" >&5
   19991 echo "${ECHO_T}no" >&6; }
   19992 fi
   19993 
   19994 
   19995 fi
   19996 if test -z "$ac_cv_prog_CC"; then
   19997   ac_ct_CC=$CC
   19998   # Extract the first word of "gcc", so it can be a program name with args.
   19999 set dummy gcc; ac_word=$2
   20000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20003   echo $ECHO_N "(cached) $ECHO_C" >&6
   20004 else
   20005   if test -n "$ac_ct_CC"; then
   20006   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20007 else
   20008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20009 for as_dir in $PATH
   20010 do
   20011   IFS=$as_save_IFS
   20012   test -z "$as_dir" && as_dir=.
   20013   for ac_exec_ext in '' $ac_executable_extensions; do
   20014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20015     ac_cv_prog_ac_ct_CC="gcc"
   20016     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20017     break 2
   20018   fi
   20019 done
   20020 done
   20021 IFS=$as_save_IFS
   20022 
   20023 fi
   20024 fi
   20025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20026 if test -n "$ac_ct_CC"; then
   20027   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20028 echo "${ECHO_T}$ac_ct_CC" >&6; }
   20029 else
   20030   { echo "$as_me:$LINENO: result: no" >&5
   20031 echo "${ECHO_T}no" >&6; }
   20032 fi
   20033 
   20034   if test "x$ac_ct_CC" = x; then
   20035     CC=""
   20036   else
   20037     case $cross_compiling:$ac_tool_warned in
   20038 yes:)
   20039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20040 whose name does not start with the host triplet.  If you think this
   20041 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20043 whose name does not start with the host triplet.  If you think this
   20044 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20045 ac_tool_warned=yes ;;
   20046 esac
   20047     CC=$ac_ct_CC
   20048   fi
   20049 else
   20050   CC="$ac_cv_prog_CC"
   20051 fi
   20052 
   20053 if test -z "$CC"; then
   20054           if test -n "$ac_tool_prefix"; then
   20055     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20056 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20057 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20059 if test "${ac_cv_prog_CC+set}" = set; then
   20060   echo $ECHO_N "(cached) $ECHO_C" >&6
   20061 else
   20062   if test -n "$CC"; then
   20063   ac_cv_prog_CC="$CC" # Let the user override the test.
   20064 else
   20065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20066 for as_dir in $PATH
   20067 do
   20068   IFS=$as_save_IFS
   20069   test -z "$as_dir" && as_dir=.
   20070   for ac_exec_ext in '' $ac_executable_extensions; do
   20071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20072     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20073     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20074     break 2
   20075   fi
   20076 done
   20077 done
   20078 IFS=$as_save_IFS
   20079 
   20080 fi
   20081 fi
   20082 CC=$ac_cv_prog_CC
   20083 if test -n "$CC"; then
   20084   { echo "$as_me:$LINENO: result: $CC" >&5
   20085 echo "${ECHO_T}$CC" >&6; }
   20086 else
   20087   { echo "$as_me:$LINENO: result: no" >&5
   20088 echo "${ECHO_T}no" >&6; }
   20089 fi
   20090 
   20091 
   20092   fi
   20093 fi
   20094 if test -z "$CC"; then
   20095   # Extract the first word of "cc", so it can be a program name with args.
   20096 set dummy cc; ac_word=$2
   20097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20099 if test "${ac_cv_prog_CC+set}" = set; then
   20100   echo $ECHO_N "(cached) $ECHO_C" >&6
   20101 else
   20102   if test -n "$CC"; then
   20103   ac_cv_prog_CC="$CC" # Let the user override the test.
   20104 else
   20105   ac_prog_rejected=no
   20106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20107 for as_dir in $PATH
   20108 do
   20109   IFS=$as_save_IFS
   20110   test -z "$as_dir" && as_dir=.
   20111   for ac_exec_ext in '' $ac_executable_extensions; do
   20112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20113     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20114        ac_prog_rejected=yes
   20115        continue
   20116      fi
   20117     ac_cv_prog_CC="cc"
   20118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20119     break 2
   20120   fi
   20121 done
   20122 done
   20123 IFS=$as_save_IFS
   20124 
   20125 if test $ac_prog_rejected = yes; then
   20126   # We found a bogon in the path, so make sure we never use it.
   20127   set dummy $ac_cv_prog_CC
   20128   shift
   20129   if test $# != 0; then
   20130     # We chose a different compiler from the bogus one.
   20131     # However, it has the same basename, so the bogon will be chosen
   20132     # first if we set CC to just the basename; use the full file name.
   20133     shift
   20134     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20135   fi
   20136 fi
   20137 fi
   20138 fi
   20139 CC=$ac_cv_prog_CC
   20140 if test -n "$CC"; then
   20141   { echo "$as_me:$LINENO: result: $CC" >&5
   20142 echo "${ECHO_T}$CC" >&6; }
   20143 else
   20144   { echo "$as_me:$LINENO: result: no" >&5
   20145 echo "${ECHO_T}no" >&6; }
   20146 fi
   20147 
   20148 
   20149 fi
   20150 if test -z "$CC"; then
   20151   if test -n "$ac_tool_prefix"; then
   20152   for ac_prog in cl.exe
   20153   do
   20154     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20158 if test "${ac_cv_prog_CC+set}" = set; then
   20159   echo $ECHO_N "(cached) $ECHO_C" >&6
   20160 else
   20161   if test -n "$CC"; then
   20162   ac_cv_prog_CC="$CC" # Let the user override the test.
   20163 else
   20164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20165 for as_dir in $PATH
   20166 do
   20167   IFS=$as_save_IFS
   20168   test -z "$as_dir" && as_dir=.
   20169   for ac_exec_ext in '' $ac_executable_extensions; do
   20170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20171     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20172     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20173     break 2
   20174   fi
   20175 done
   20176 done
   20177 IFS=$as_save_IFS
   20178 
   20179 fi
   20180 fi
   20181 CC=$ac_cv_prog_CC
   20182 if test -n "$CC"; then
   20183   { echo "$as_me:$LINENO: result: $CC" >&5
   20184 echo "${ECHO_T}$CC" >&6; }
   20185 else
   20186   { echo "$as_me:$LINENO: result: no" >&5
   20187 echo "${ECHO_T}no" >&6; }
   20188 fi
   20189 
   20190 
   20191     test -n "$CC" && break
   20192   done
   20193 fi
   20194 if test -z "$CC"; then
   20195   ac_ct_CC=$CC
   20196   for ac_prog in cl.exe
   20197 do
   20198   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20199 set dummy $ac_prog; ac_word=$2
   20200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20203   echo $ECHO_N "(cached) $ECHO_C" >&6
   20204 else
   20205   if test -n "$ac_ct_CC"; then
   20206   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20207 else
   20208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20209 for as_dir in $PATH
   20210 do
   20211   IFS=$as_save_IFS
   20212   test -z "$as_dir" && as_dir=.
   20213   for ac_exec_ext in '' $ac_executable_extensions; do
   20214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   20215     ac_cv_prog_ac_ct_CC="$ac_prog"
   20216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20217     break 2
   20218   fi
   20219 done
   20220 done
   20221 IFS=$as_save_IFS
   20222 
   20223 fi
   20224 fi
   20225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20226 if test -n "$ac_ct_CC"; then
   20227   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20228 echo "${ECHO_T}$ac_ct_CC" >&6; }
   20229 else
   20230   { echo "$as_me:$LINENO: result: no" >&5
   20231 echo "${ECHO_T}no" >&6; }
   20232 fi
   20233 
   20234 
   20235   test -n "$ac_ct_CC" && break
   20236 done
   20237 
   20238   if test "x$ac_ct_CC" = x; then
   20239     CC=""
   20240   else
   20241     case $cross_compiling:$ac_tool_warned in
   20242 yes:)
   20243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20244 whose name does not start with the host triplet.  If you think this
   20245 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20247 whose name does not start with the host triplet.  If you think this
   20248 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20249 ac_tool_warned=yes ;;
   20250 esac
   20251     CC=$ac_ct_CC
   20252   fi
   20253 fi
   20254 
   20255 fi
   20256 
   20257 
   20258 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20259 See \`config.log' for more details." >&5
   20260 echo "$as_me: error: no acceptable C compiler found in \$PATH
   20261 See \`config.log' for more details." >&2;}
   20262    { (exit 1); exit 1; }; }
   20263 
   20264 # Provide some information about the compiler.
   20265 echo "$as_me:$LINENO: checking for C compiler version" >&5
   20266 ac_compiler=`set X $ac_compile; echo $2`
   20267 { (ac_try="$ac_compiler --version >&5"
   20268 case "(($ac_try" in
   20269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20270   *) ac_try_echo=$ac_try;;
   20271 esac
   20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20273   (eval "$ac_compiler --version >&5") 2>&5
   20274   ac_status=$?
   20275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20276   (exit $ac_status); }
   20277 { (ac_try="$ac_compiler -v >&5"
   20278 case "(($ac_try" in
   20279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20280   *) ac_try_echo=$ac_try;;
   20281 esac
   20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20283   (eval "$ac_compiler -v >&5") 2>&5
   20284   ac_status=$?
   20285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20286   (exit $ac_status); }
   20287 { (ac_try="$ac_compiler -V >&5"
   20288 case "(($ac_try" in
   20289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20290   *) ac_try_echo=$ac_try;;
   20291 esac
   20292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20293   (eval "$ac_compiler -V >&5") 2>&5
   20294   ac_status=$?
   20295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20296   (exit $ac_status); }
   20297 
   20298 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20299 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   20300 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20301   echo $ECHO_N "(cached) $ECHO_C" >&6
   20302 else
   20303   cat >conftest.$ac_ext <<_ACEOF
   20304 /* confdefs.h.  */
   20305 _ACEOF
   20306 cat confdefs.h >>conftest.$ac_ext
   20307 cat >>conftest.$ac_ext <<_ACEOF
   20308 /* end confdefs.h.  */
   20309 
   20310 int
   20311 main ()
   20312 {
   20313 #ifndef __GNUC__
   20314        choke me
   20315 #endif
   20316 
   20317   ;
   20318   return 0;
   20319 }
   20320 _ACEOF
   20321 rm -f conftest.$ac_objext
   20322 if { (ac_try="$ac_compile"
   20323 case "(($ac_try" in
   20324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20325   *) ac_try_echo=$ac_try;;
   20326 esac
   20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20328   (eval "$ac_compile") 2>conftest.er1
   20329   ac_status=$?
   20330   grep -v '^ *+' conftest.er1 >conftest.err
   20331   rm -f conftest.er1
   20332   cat conftest.err >&5
   20333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20334   (exit $ac_status); } &&
   20335 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20336   { (case "(($ac_try" in
   20337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20338   *) ac_try_echo=$ac_try;;
   20339 esac
   20340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20341   (eval "$ac_try") 2>&5
   20342   ac_status=$?
   20343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20344   (exit $ac_status); }; } &&
   20345 	 { ac_try='test -s conftest.$ac_objext'
   20346   { (case "(($ac_try" in
   20347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20348   *) ac_try_echo=$ac_try;;
   20349 esac
   20350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20351   (eval "$ac_try") 2>&5
   20352   ac_status=$?
   20353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20354   (exit $ac_status); }; }; then
   20355   ac_compiler_gnu=yes
   20356 else
   20357   echo "$as_me: failed program was:" >&5
   20358 sed 's/^/| /' conftest.$ac_ext >&5
   20359 
   20360 	ac_compiler_gnu=no
   20361 fi
   20362 
   20363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20364 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20365 
   20366 fi
   20367 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20368 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   20369 GCC=`test $ac_compiler_gnu = yes && echo yes`
   20370 ac_test_CFLAGS=${CFLAGS+set}
   20371 ac_save_CFLAGS=$CFLAGS
   20372 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20373 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   20374 if test "${ac_cv_prog_cc_g+set}" = set; then
   20375   echo $ECHO_N "(cached) $ECHO_C" >&6
   20376 else
   20377   ac_save_c_werror_flag=$ac_c_werror_flag
   20378    ac_c_werror_flag=yes
   20379    ac_cv_prog_cc_g=no
   20380    CFLAGS="-g"
   20381    cat >conftest.$ac_ext <<_ACEOF
   20382 /* confdefs.h.  */
   20383 _ACEOF
   20384 cat confdefs.h >>conftest.$ac_ext
   20385 cat >>conftest.$ac_ext <<_ACEOF
   20386 /* end confdefs.h.  */
   20387 
   20388 int
   20389 main ()
   20390 {
   20391 
   20392   ;
   20393   return 0;
   20394 }
   20395 _ACEOF
   20396 rm -f conftest.$ac_objext
   20397 if { (ac_try="$ac_compile"
   20398 case "(($ac_try" in
   20399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20400   *) ac_try_echo=$ac_try;;
   20401 esac
   20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20403   (eval "$ac_compile") 2>conftest.er1
   20404   ac_status=$?
   20405   grep -v '^ *+' conftest.er1 >conftest.err
   20406   rm -f conftest.er1
   20407   cat conftest.err >&5
   20408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20409   (exit $ac_status); } &&
   20410 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20411   { (case "(($ac_try" in
   20412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20413   *) ac_try_echo=$ac_try;;
   20414 esac
   20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20416   (eval "$ac_try") 2>&5
   20417   ac_status=$?
   20418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20419   (exit $ac_status); }; } &&
   20420 	 { ac_try='test -s conftest.$ac_objext'
   20421   { (case "(($ac_try" in
   20422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20423   *) ac_try_echo=$ac_try;;
   20424 esac
   20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20426   (eval "$ac_try") 2>&5
   20427   ac_status=$?
   20428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20429   (exit $ac_status); }; }; then
   20430   ac_cv_prog_cc_g=yes
   20431 else
   20432   echo "$as_me: failed program was:" >&5
   20433 sed 's/^/| /' conftest.$ac_ext >&5
   20434 
   20435 	CFLAGS=""
   20436       cat >conftest.$ac_ext <<_ACEOF
   20437 /* confdefs.h.  */
   20438 _ACEOF
   20439 cat confdefs.h >>conftest.$ac_ext
   20440 cat >>conftest.$ac_ext <<_ACEOF
   20441 /* end confdefs.h.  */
   20442 
   20443 int
   20444 main ()
   20445 {
   20446 
   20447   ;
   20448   return 0;
   20449 }
   20450 _ACEOF
   20451 rm -f conftest.$ac_objext
   20452 if { (ac_try="$ac_compile"
   20453 case "(($ac_try" in
   20454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20455   *) ac_try_echo=$ac_try;;
   20456 esac
   20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20458   (eval "$ac_compile") 2>conftest.er1
   20459   ac_status=$?
   20460   grep -v '^ *+' conftest.er1 >conftest.err
   20461   rm -f conftest.er1
   20462   cat conftest.err >&5
   20463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20464   (exit $ac_status); } &&
   20465 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20466   { (case "(($ac_try" in
   20467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20468   *) ac_try_echo=$ac_try;;
   20469 esac
   20470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20471   (eval "$ac_try") 2>&5
   20472   ac_status=$?
   20473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20474   (exit $ac_status); }; } &&
   20475 	 { ac_try='test -s conftest.$ac_objext'
   20476   { (case "(($ac_try" in
   20477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20478   *) ac_try_echo=$ac_try;;
   20479 esac
   20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20481   (eval "$ac_try") 2>&5
   20482   ac_status=$?
   20483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20484   (exit $ac_status); }; }; then
   20485   :
   20486 else
   20487   echo "$as_me: failed program was:" >&5
   20488 sed 's/^/| /' conftest.$ac_ext >&5
   20489 
   20490 	ac_c_werror_flag=$ac_save_c_werror_flag
   20491 	 CFLAGS="-g"
   20492 	 cat >conftest.$ac_ext <<_ACEOF
   20493 /* confdefs.h.  */
   20494 _ACEOF
   20495 cat confdefs.h >>conftest.$ac_ext
   20496 cat >>conftest.$ac_ext <<_ACEOF
   20497 /* end confdefs.h.  */
   20498 
   20499 int
   20500 main ()
   20501 {
   20502 
   20503   ;
   20504   return 0;
   20505 }
   20506 _ACEOF
   20507 rm -f conftest.$ac_objext
   20508 if { (ac_try="$ac_compile"
   20509 case "(($ac_try" in
   20510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20511   *) ac_try_echo=$ac_try;;
   20512 esac
   20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20514   (eval "$ac_compile") 2>conftest.er1
   20515   ac_status=$?
   20516   grep -v '^ *+' conftest.er1 >conftest.err
   20517   rm -f conftest.er1
   20518   cat conftest.err >&5
   20519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20520   (exit $ac_status); } &&
   20521 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20522   { (case "(($ac_try" in
   20523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20524   *) ac_try_echo=$ac_try;;
   20525 esac
   20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20527   (eval "$ac_try") 2>&5
   20528   ac_status=$?
   20529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20530   (exit $ac_status); }; } &&
   20531 	 { ac_try='test -s conftest.$ac_objext'
   20532   { (case "(($ac_try" in
   20533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20534   *) ac_try_echo=$ac_try;;
   20535 esac
   20536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20537   (eval "$ac_try") 2>&5
   20538   ac_status=$?
   20539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20540   (exit $ac_status); }; }; then
   20541   ac_cv_prog_cc_g=yes
   20542 else
   20543   echo "$as_me: failed program was:" >&5
   20544 sed 's/^/| /' conftest.$ac_ext >&5
   20545 
   20546 
   20547 fi
   20548 
   20549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20550 fi
   20551 
   20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20553 fi
   20554 
   20555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20556    ac_c_werror_flag=$ac_save_c_werror_flag
   20557 fi
   20558 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20559 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   20560 if test "$ac_test_CFLAGS" = set; then
   20561   CFLAGS=$ac_save_CFLAGS
   20562 elif test $ac_cv_prog_cc_g = yes; then
   20563   if test "$GCC" = yes; then
   20564     CFLAGS="-g -O2"
   20565   else
   20566     CFLAGS="-g"
   20567   fi
   20568 else
   20569   if test "$GCC" = yes; then
   20570     CFLAGS="-O2"
   20571   else
   20572     CFLAGS=
   20573   fi
   20574 fi
   20575 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20576 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   20577 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20578   echo $ECHO_N "(cached) $ECHO_C" >&6
   20579 else
   20580   ac_cv_prog_cc_c89=no
   20581 ac_save_CC=$CC
   20582 cat >conftest.$ac_ext <<_ACEOF
   20583 /* confdefs.h.  */
   20584 _ACEOF
   20585 cat confdefs.h >>conftest.$ac_ext
   20586 cat >>conftest.$ac_ext <<_ACEOF
   20587 /* end confdefs.h.  */
   20588 #include <stdarg.h>
   20589 #include <stdio.h>
   20590 #include <sys/types.h>
   20591 #include <sys/stat.h>
   20592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20593 struct buf { int x; };
   20594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20595 static char *e (p, i)
   20596      char **p;
   20597      int i;
   20598 {
   20599   return p[i];
   20600 }
   20601 static char *f (char * (*g) (char **, int), char **p, ...)
   20602 {
   20603   char *s;
   20604   va_list v;
   20605   va_start (v,p);
   20606   s = g (p, va_arg (v,int));
   20607   va_end (v);
   20608   return s;
   20609 }
   20610 
   20611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20612    function prototypes and stuff, but not '\xHH' hex character constants.
   20613    These don't provoke an error unfortunately, instead are silently treated
   20614    as 'x'.  The following induces an error, until -std is added to get
   20615    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20616    array size at least.  It's necessary to write '\x00'==0 to get something
   20617    that's true only with -std.  */
   20618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20619 
   20620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20621    inside strings and character constants.  */
   20622 #define FOO(x) 'x'
   20623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20624 
   20625 int test (int i, double x);
   20626 struct s1 {int (*f) (int a);};
   20627 struct s2 {int (*f) (double a);};
   20628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20629 int argc;
   20630 char **argv;
   20631 int
   20632 main ()
   20633 {
   20634 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20635   ;
   20636   return 0;
   20637 }
   20638 _ACEOF
   20639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20640 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20641 do
   20642   CC="$ac_save_CC $ac_arg"
   20643   rm -f conftest.$ac_objext
   20644 if { (ac_try="$ac_compile"
   20645 case "(($ac_try" in
   20646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20647   *) ac_try_echo=$ac_try;;
   20648 esac
   20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20650   (eval "$ac_compile") 2>conftest.er1
   20651   ac_status=$?
   20652   grep -v '^ *+' conftest.er1 >conftest.err
   20653   rm -f conftest.er1
   20654   cat conftest.err >&5
   20655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20656   (exit $ac_status); } &&
   20657 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20658   { (case "(($ac_try" in
   20659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20660   *) ac_try_echo=$ac_try;;
   20661 esac
   20662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20663   (eval "$ac_try") 2>&5
   20664   ac_status=$?
   20665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20666   (exit $ac_status); }; } &&
   20667 	 { ac_try='test -s conftest.$ac_objext'
   20668   { (case "(($ac_try" in
   20669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20670   *) ac_try_echo=$ac_try;;
   20671 esac
   20672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20673   (eval "$ac_try") 2>&5
   20674   ac_status=$?
   20675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20676   (exit $ac_status); }; }; then
   20677   ac_cv_prog_cc_c89=$ac_arg
   20678 else
   20679   echo "$as_me: failed program was:" >&5
   20680 sed 's/^/| /' conftest.$ac_ext >&5
   20681 
   20682 
   20683 fi
   20684 
   20685 rm -f core conftest.err conftest.$ac_objext
   20686   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20687 done
   20688 rm -f conftest.$ac_ext
   20689 CC=$ac_save_CC
   20690 
   20691 fi
   20692 # AC_CACHE_VAL
   20693 case "x$ac_cv_prog_cc_c89" in
   20694   x)
   20695     { echo "$as_me:$LINENO: result: none needed" >&5
   20696 echo "${ECHO_T}none needed" >&6; } ;;
   20697   xno)
   20698     { echo "$as_me:$LINENO: result: unsupported" >&5
   20699 echo "${ECHO_T}unsupported" >&6; } ;;
   20700   *)
   20701     CC="$CC $ac_cv_prog_cc_c89"
   20702     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20703 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   20704 esac
   20705 
   20706 
   20707 ac_ext=c
   20708 ac_cpp='$CPP $CPPFLAGS'
   20709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20712 
   20713 depcc="$CC"   am_compiler_list=
   20714 
   20715 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20716 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   20717 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20718   echo $ECHO_N "(cached) $ECHO_C" >&6
   20719 else
   20720   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20721   # We make a subdir and do the tests there.  Otherwise we can end up
   20722   # making bogus files that we don't know about and never remove.  For
   20723   # instance it was reported that on HP-UX the gcc test will end up
   20724   # making a dummy file named `D' -- because `-MD' means `put the output
   20725   # in D'.
   20726   mkdir conftest.dir
   20727   # Copy depcomp to subdir because otherwise we won't find it if we're
   20728   # using a relative directory.
   20729   cp "$am_depcomp" conftest.dir
   20730   cd conftest.dir
   20731   # We will build objects and dependencies in a subdirectory because
   20732   # it helps to detect inapplicable dependency modes.  For instance
   20733   # both Tru64's cc and ICC support -MD to output dependencies as a
   20734   # side effect of compilation, but ICC will put the dependencies in
   20735   # the current directory while Tru64 will put them in the object
   20736   # directory.
   20737   mkdir sub
   20738 
   20739   am_cv_CC_dependencies_compiler_type=none
   20740   if test "$am_compiler_list" = ""; then
   20741      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20742   fi
   20743   for depmode in $am_compiler_list; do
   20744     # Setup a source with many dependencies, because some compilers
   20745     # like to wrap large dependency lists on column 80 (with \), and
   20746     # we should not choose a depcomp mode which is confused by this.
   20747     #
   20748     # We need to recreate these files for each test, as the compiler may
   20749     # overwrite some of them when testing with obscure command lines.
   20750     # This happens at least with the AIX C compiler.
   20751     : > sub/conftest.c
   20752     for i in 1 2 3 4 5 6; do
   20753       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20754       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20755       # Solaris 8's {/usr,}/bin/sh.
   20756       touch sub/conftst$i.h
   20757     done
   20758     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20759 
   20760     case $depmode in
   20761     nosideeffect)
   20762       # after this tag, mechanisms are not by side-effect, so they'll
   20763       # only be used when explicitly requested
   20764       if test "x$enable_dependency_tracking" = xyes; then
   20765 	continue
   20766       else
   20767 	break
   20768       fi
   20769       ;;
   20770     none) break ;;
   20771     esac
   20772     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20773     # mode.  It turns out that the SunPro C++ compiler does not properly
   20774     # handle `-M -o', and we need to detect this.
   20775     if depmode=$depmode \
   20776        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20777        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20778        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20779          >/dev/null 2>conftest.err &&
   20780        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20781        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20782        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20783       # icc doesn't choke on unknown options, it will just issue warnings
   20784       # or remarks (even with -Werror).  So we grep stderr for any message
   20785       # that says an option was ignored or not supported.
   20786       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20787       #   icc: Command line warning: ignoring option '-M'; no argument required
   20788       # The diagnosis changed in icc 8.0:
   20789       #   icc: Command line remark: option '-MP' not supported
   20790       if (grep 'ignoring option' conftest.err ||
   20791           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20792         am_cv_CC_dependencies_compiler_type=$depmode
   20793         break
   20794       fi
   20795     fi
   20796   done
   20797 
   20798   cd ..
   20799   rm -rf conftest.dir
   20800 else
   20801   am_cv_CC_dependencies_compiler_type=none
   20802 fi
   20803 
   20804 fi
   20805 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20806 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20807 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20808 
   20809 
   20810 
   20811 if
   20812   test "x$enable_dependency_tracking" != xno \
   20813   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20814   am__fastdepCC_TRUE=
   20815   am__fastdepCC_FALSE='#'
   20816 else
   20817   am__fastdepCC_TRUE='#'
   20818   am__fastdepCC_FALSE=
   20819 fi
   20820 
   20821 
   20822 
   20823 
   20824 
   20825 
   20826 
   20827 # Check whether --with-xorg-module-dir was given.
   20828 if test "${with_xorg_module_dir+set}" = set; then
   20829   withval=$with_xorg_module_dir; moduledir="$withval"
   20830 else
   20831   moduledir="$libdir/xorg/modules"
   20832 fi
   20833 
   20834 
   20835 # Checks for extensions
   20836 
   20837 	SAVE_CFLAGS="$CFLAGS"
   20838 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20839 	cat >conftest.$ac_ext <<_ACEOF
   20840 /* confdefs.h.  */
   20841 _ACEOF
   20842 cat confdefs.h >>conftest.$ac_ext
   20843 cat >>conftest.$ac_ext <<_ACEOF
   20844 /* end confdefs.h.  */
   20845 
   20846 #include "xorg-server.h"
   20847 #if !defined RANDR
   20848 #error RANDR not defined
   20849 #endif
   20850 
   20851 int
   20852 main ()
   20853 {
   20854 
   20855   ;
   20856   return 0;
   20857 }
   20858 _ACEOF
   20859 rm -f conftest.$ac_objext
   20860 if { (ac_try="$ac_compile"
   20861 case "(($ac_try" in
   20862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20863   *) ac_try_echo=$ac_try;;
   20864 esac
   20865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20866   (eval "$ac_compile") 2>conftest.er1
   20867   ac_status=$?
   20868   grep -v '^ *+' conftest.er1 >conftest.err
   20869   rm -f conftest.er1
   20870   cat conftest.err >&5
   20871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20872   (exit $ac_status); } &&
   20873 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20874   { (case "(($ac_try" in
   20875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20876   *) ac_try_echo=$ac_try;;
   20877 esac
   20878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20879   (eval "$ac_try") 2>&5
   20880   ac_status=$?
   20881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20882   (exit $ac_status); }; } &&
   20883 	 { ac_try='test -s conftest.$ac_objext'
   20884   { (case "(($ac_try" in
   20885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20886   *) ac_try_echo=$ac_try;;
   20887 esac
   20888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20889   (eval "$ac_try") 2>&5
   20890   ac_status=$?
   20891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20892   (exit $ac_status); }; }; then
   20893   _EXT_CHECK=yes
   20894 else
   20895   echo "$as_me: failed program was:" >&5
   20896 sed 's/^/| /' conftest.$ac_ext >&5
   20897 
   20898 	_EXT_CHECK=no
   20899 fi
   20900 
   20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20902 	CFLAGS="$SAVE_CFLAGS"
   20903 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20904 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20905 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20906 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20907 	if test "$_EXT_CHECK" != no; then
   20908 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20909 	fi
   20910 
   20911 
   20912 	SAVE_CFLAGS="$CFLAGS"
   20913 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20914 	cat >conftest.$ac_ext <<_ACEOF
   20915 /* confdefs.h.  */
   20916 _ACEOF
   20917 cat confdefs.h >>conftest.$ac_ext
   20918 cat >>conftest.$ac_ext <<_ACEOF
   20919 /* end confdefs.h.  */
   20920 
   20921 #include "xorg-server.h"
   20922 #if !defined RENDER
   20923 #error RENDER not defined
   20924 #endif
   20925 
   20926 int
   20927 main ()
   20928 {
   20929 
   20930   ;
   20931   return 0;
   20932 }
   20933 _ACEOF
   20934 rm -f conftest.$ac_objext
   20935 if { (ac_try="$ac_compile"
   20936 case "(($ac_try" in
   20937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20938   *) ac_try_echo=$ac_try;;
   20939 esac
   20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20941   (eval "$ac_compile") 2>conftest.er1
   20942   ac_status=$?
   20943   grep -v '^ *+' conftest.er1 >conftest.err
   20944   rm -f conftest.er1
   20945   cat conftest.err >&5
   20946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20947   (exit $ac_status); } &&
   20948 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20949   { (case "(($ac_try" in
   20950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20951   *) ac_try_echo=$ac_try;;
   20952 esac
   20953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20954   (eval "$ac_try") 2>&5
   20955   ac_status=$?
   20956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20957   (exit $ac_status); }; } &&
   20958 	 { ac_try='test -s conftest.$ac_objext'
   20959   { (case "(($ac_try" in
   20960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20961   *) ac_try_echo=$ac_try;;
   20962 esac
   20963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20964   (eval "$ac_try") 2>&5
   20965   ac_status=$?
   20966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20967   (exit $ac_status); }; }; then
   20968   _EXT_CHECK=yes
   20969 else
   20970   echo "$as_me: failed program was:" >&5
   20971 sed 's/^/| /' conftest.$ac_ext >&5
   20972 
   20973 	_EXT_CHECK=no
   20974 fi
   20975 
   20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20977 	CFLAGS="$SAVE_CFLAGS"
   20978 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20979 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20980 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20981 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20982 	if test "$_EXT_CHECK" != no; then
   20983 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20984 	fi
   20985 
   20986 
   20987 	SAVE_CFLAGS="$CFLAGS"
   20988 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20989 	cat >conftest.$ac_ext <<_ACEOF
   20990 /* confdefs.h.  */
   20991 _ACEOF
   20992 cat confdefs.h >>conftest.$ac_ext
   20993 cat >>conftest.$ac_ext <<_ACEOF
   20994 /* end confdefs.h.  */
   20995 
   20996 #include "xorg-server.h"
   20997 #if !defined XV
   20998 #error XV not defined
   20999 #endif
   21000 
   21001 int
   21002 main ()
   21003 {
   21004 
   21005   ;
   21006   return 0;
   21007 }
   21008 _ACEOF
   21009 rm -f conftest.$ac_objext
   21010 if { (ac_try="$ac_compile"
   21011 case "(($ac_try" in
   21012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21013   *) ac_try_echo=$ac_try;;
   21014 esac
   21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21016   (eval "$ac_compile") 2>conftest.er1
   21017   ac_status=$?
   21018   grep -v '^ *+' conftest.er1 >conftest.err
   21019   rm -f conftest.er1
   21020   cat conftest.err >&5
   21021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21022   (exit $ac_status); } &&
   21023 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   21024   { (case "(($ac_try" in
   21025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21026   *) ac_try_echo=$ac_try;;
   21027 esac
   21028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21029   (eval "$ac_try") 2>&5
   21030   ac_status=$?
   21031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21032   (exit $ac_status); }; } &&
   21033 	 { ac_try='test -s conftest.$ac_objext'
   21034   { (case "(($ac_try" in
   21035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21036   *) ac_try_echo=$ac_try;;
   21037 esac
   21038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21039   (eval "$ac_try") 2>&5
   21040   ac_status=$?
   21041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21042   (exit $ac_status); }; }; then
   21043   _EXT_CHECK=yes
   21044 else
   21045   echo "$as_me: failed program was:" >&5
   21046 sed 's/^/| /' conftest.$ac_ext >&5
   21047 
   21048 	_EXT_CHECK=no
   21049 fi
   21050 
   21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21052 	CFLAGS="$SAVE_CFLAGS"
   21053 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   21054 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   21055 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21056 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21057 	if test "$_EXT_CHECK" != no; then
   21058 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   21059 	fi
   21060 
   21061 
   21062 	SAVE_CFLAGS="$CFLAGS"
   21063 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21064 	cat >conftest.$ac_ext <<_ACEOF
   21065 /* confdefs.h.  */
   21066 _ACEOF
   21067 cat confdefs.h >>conftest.$ac_ext
   21068 cat >>conftest.$ac_ext <<_ACEOF
   21069 /* end confdefs.h.  */
   21070 
   21071 #include "xorg-server.h"
   21072 #if !defined DPMSExtension
   21073 #error DPMSExtension not defined
   21074 #endif
   21075 
   21076 int
   21077 main ()
   21078 {
   21079 
   21080   ;
   21081   return 0;
   21082 }
   21083 _ACEOF
   21084 rm -f conftest.$ac_objext
   21085 if { (ac_try="$ac_compile"
   21086 case "(($ac_try" in
   21087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21088   *) ac_try_echo=$ac_try;;
   21089 esac
   21090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21091   (eval "$ac_compile") 2>conftest.er1
   21092   ac_status=$?
   21093   grep -v '^ *+' conftest.er1 >conftest.err
   21094   rm -f conftest.er1
   21095   cat conftest.err >&5
   21096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21097   (exit $ac_status); } &&
   21098 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   21099   { (case "(($ac_try" in
   21100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21101   *) ac_try_echo=$ac_try;;
   21102 esac
   21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21104   (eval "$ac_try") 2>&5
   21105   ac_status=$?
   21106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21107   (exit $ac_status); }; } &&
   21108 	 { ac_try='test -s conftest.$ac_objext'
   21109   { (case "(($ac_try" in
   21110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21111   *) ac_try_echo=$ac_try;;
   21112 esac
   21113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21114   (eval "$ac_try") 2>&5
   21115   ac_status=$?
   21116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21117   (exit $ac_status); }; }; then
   21118   _EXT_CHECK=yes
   21119 else
   21120   echo "$as_me: failed program was:" >&5
   21121 sed 's/^/| /' conftest.$ac_ext >&5
   21122 
   21123 	_EXT_CHECK=no
   21124 fi
   21125 
   21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21127 	CFLAGS="$SAVE_CFLAGS"
   21128 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21129 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   21130 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21131 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21132 	if test "$_EXT_CHECK" != no; then
   21133 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21134 	fi
   21135 
   21136 
   21137 	SAVE_CFLAGS="$CFLAGS"
   21138 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21139 	cat >conftest.$ac_ext <<_ACEOF
   21140 /* confdefs.h.  */
   21141 _ACEOF
   21142 cat confdefs.h >>conftest.$ac_ext
   21143 cat >>conftest.$ac_ext <<_ACEOF
   21144 /* end confdefs.h.  */
   21145 
   21146 #include "xorg-server.h"
   21147 #if !defined XFreeXDGA
   21148 #error XFreeXDGA not defined
   21149 #endif
   21150 
   21151 int
   21152 main ()
   21153 {
   21154 
   21155   ;
   21156   return 0;
   21157 }
   21158 _ACEOF
   21159 rm -f conftest.$ac_objext
   21160 if { (ac_try="$ac_compile"
   21161 case "(($ac_try" in
   21162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21163   *) ac_try_echo=$ac_try;;
   21164 esac
   21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21166   (eval "$ac_compile") 2>conftest.er1
   21167   ac_status=$?
   21168   grep -v '^ *+' conftest.er1 >conftest.err
   21169   rm -f conftest.er1
   21170   cat conftest.err >&5
   21171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21172   (exit $ac_status); } &&
   21173 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   21174   { (case "(($ac_try" in
   21175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21176   *) ac_try_echo=$ac_try;;
   21177 esac
   21178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21179   (eval "$ac_try") 2>&5
   21180   ac_status=$?
   21181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21182   (exit $ac_status); }; } &&
   21183 	 { ac_try='test -s conftest.$ac_objext'
   21184   { (case "(($ac_try" in
   21185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21186   *) ac_try_echo=$ac_try;;
   21187 esac
   21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21189   (eval "$ac_try") 2>&5
   21190   ac_status=$?
   21191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21192   (exit $ac_status); }; }; then
   21193   _EXT_CHECK=yes
   21194 else
   21195   echo "$as_me: failed program was:" >&5
   21196 sed 's/^/| /' conftest.$ac_ext >&5
   21197 
   21198 	_EXT_CHECK=no
   21199 fi
   21200 
   21201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21202 	CFLAGS="$SAVE_CFLAGS"
   21203 	{ echo "$as_me:$LINENO: checking if XFreeXDGA is defined" >&5
   21204 echo $ECHO_N "checking if XFreeXDGA is defined... $ECHO_C" >&6; }
   21205 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21206 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21207 	if test "$_EXT_CHECK" != no; then
   21208 		REQUIRED_MODULES="$REQUIRED_MODULES xf86dgaproto"
   21209 	fi
   21210 
   21211 
   21212 # Checks for pkg-config packages
   21213 
   21214 
   21215 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21216 	if test -n "$ac_tool_prefix"; then
   21217   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21218 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21222   echo $ECHO_N "(cached) $ECHO_C" >&6
   21223 else
   21224   case $PKG_CONFIG in
   21225   [\\/]* | ?:[\\/]*)
   21226   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21227   ;;
   21228   *)
   21229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21230 for as_dir in $PATH
   21231 do
   21232   IFS=$as_save_IFS
   21233   test -z "$as_dir" && as_dir=.
   21234   for ac_exec_ext in '' $ac_executable_extensions; do
   21235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   21236     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21237     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21238     break 2
   21239   fi
   21240 done
   21241 done
   21242 IFS=$as_save_IFS
   21243 
   21244   ;;
   21245 esac
   21246 fi
   21247 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21248 if test -n "$PKG_CONFIG"; then
   21249   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21250 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   21251 else
   21252   { echo "$as_me:$LINENO: result: no" >&5
   21253 echo "${ECHO_T}no" >&6; }
   21254 fi
   21255 
   21256 
   21257 fi
   21258 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21259   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21260   # Extract the first word of "pkg-config", so it can be a program name with args.
   21261 set dummy pkg-config; ac_word=$2
   21262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21264 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21265   echo $ECHO_N "(cached) $ECHO_C" >&6
   21266 else
   21267   case $ac_pt_PKG_CONFIG in
   21268   [\\/]* | ?:[\\/]*)
   21269   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21270   ;;
   21271   *)
   21272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21273 for as_dir in $PATH
   21274 do
   21275   IFS=$as_save_IFS
   21276   test -z "$as_dir" && as_dir=.
   21277   for ac_exec_ext in '' $ac_executable_extensions; do
   21278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   21279     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21280     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21281     break 2
   21282   fi
   21283 done
   21284 done
   21285 IFS=$as_save_IFS
   21286 
   21287   ;;
   21288 esac
   21289 fi
   21290 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21291 if test -n "$ac_pt_PKG_CONFIG"; then
   21292   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21293 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   21294 else
   21295   { echo "$as_me:$LINENO: result: no" >&5
   21296 echo "${ECHO_T}no" >&6; }
   21297 fi
   21298 
   21299   if test "x$ac_pt_PKG_CONFIG" = x; then
   21300     PKG_CONFIG=""
   21301   else
   21302     case $cross_compiling:$ac_tool_warned in
   21303 yes:)
   21304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   21305 whose name does not start with the host triplet.  If you think this
   21306 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   21307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   21308 whose name does not start with the host triplet.  If you think this
   21309 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   21310 ac_tool_warned=yes ;;
   21311 esac
   21312     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21313   fi
   21314 else
   21315   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21316 fi
   21317 
   21318 fi
   21319 if test -n "$PKG_CONFIG"; then
   21320 	_pkg_min_version=0.9.0
   21321 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21322 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   21323 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21324 		{ echo "$as_me:$LINENO: result: yes" >&5
   21325 echo "${ECHO_T}yes" >&6; }
   21326 	else
   21327 		{ echo "$as_me:$LINENO: result: no" >&5
   21328 echo "${ECHO_T}no" >&6; }
   21329 		PKG_CONFIG=""
   21330 	fi
   21331 
   21332 fi
   21333 
   21334 pkg_failed=no
   21335 { echo "$as_me:$LINENO: checking for XORG" >&5
   21336 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   21337 
   21338 if test -n "$PKG_CONFIG"; then
   21339     if test -n "$XORG_CFLAGS"; then
   21340         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21341     else
   21342         if test -n "$PKG_CONFIG" && \
   21343     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21344   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21345   ac_status=$?
   21346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21347   (exit $ac_status); }; then
   21348   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21349 else
   21350   pkg_failed=yes
   21351 fi
   21352     fi
   21353 else
   21354 	pkg_failed=untried
   21355 fi
   21356 if test -n "$PKG_CONFIG"; then
   21357     if test -n "$XORG_LIBS"; then
   21358         pkg_cv_XORG_LIBS="$XORG_LIBS"
   21359     else
   21360         if test -n "$PKG_CONFIG" && \
   21361     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21362   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21363   ac_status=$?
   21364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21365   (exit $ac_status); }; then
   21366   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21367 else
   21368   pkg_failed=yes
   21369 fi
   21370     fi
   21371 else
   21372 	pkg_failed=untried
   21373 fi
   21374 
   21375 
   21376 
   21377 if test $pkg_failed = yes; then
   21378 
   21379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21380         _pkg_short_errors_supported=yes
   21381 else
   21382         _pkg_short_errors_supported=no
   21383 fi
   21384         if test $_pkg_short_errors_supported = yes; then
   21385 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES"`
   21386         else
   21387 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES"`
   21388         fi
   21389 	# Put the nasty error message in config.log where it belongs
   21390 	echo "$XORG_PKG_ERRORS" >&5
   21391 
   21392 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21393 
   21394 $XORG_PKG_ERRORS
   21395 
   21396 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21397 installed software in a non-standard prefix.
   21398 
   21399 Alternatively, you may set the environment variables XORG_CFLAGS
   21400 and XORG_LIBS to avoid the need to call pkg-config.
   21401 See the pkg-config man page for more details.
   21402 " >&5
   21403 echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21404 
   21405 $XORG_PKG_ERRORS
   21406 
   21407 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21408 installed software in a non-standard prefix.
   21409 
   21410 Alternatively, you may set the environment variables XORG_CFLAGS
   21411 and XORG_LIBS to avoid the need to call pkg-config.
   21412 See the pkg-config man page for more details.
   21413 " >&2;}
   21414    { (exit 1); exit 1; }; }
   21415 elif test $pkg_failed = untried; then
   21416 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21417 is in your PATH or set the PKG_CONFIG environment variable to the full
   21418 path to pkg-config.
   21419 
   21420 Alternatively, you may set the environment variables XORG_CFLAGS
   21421 and XORG_LIBS to avoid the need to call pkg-config.
   21422 See the pkg-config man page for more details.
   21423 
   21424 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   21425 See \`config.log' for more details." >&5
   21426 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21427 is in your PATH or set the PKG_CONFIG environment variable to the full
   21428 path to pkg-config.
   21429 
   21430 Alternatively, you may set the environment variables XORG_CFLAGS
   21431 and XORG_LIBS to avoid the need to call pkg-config.
   21432 See the pkg-config man page for more details.
   21433 
   21434 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   21435 See \`config.log' for more details." >&2;}
   21436    { (exit 1); exit 1; }; }
   21437 else
   21438 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21439 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21440         { echo "$as_me:$LINENO: result: yes" >&5
   21441 echo "${ECHO_T}yes" >&6; }
   21442 	:
   21443 fi
   21444 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21445 
   21446 # Checks for libraries.
   21447 
   21448 # Checks for header files.
   21449 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21450 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   21451 if test "${ac_cv_header_stdc+set}" = set; then
   21452   echo $ECHO_N "(cached) $ECHO_C" >&6
   21453 else
   21454   cat >conftest.$ac_ext <<_ACEOF
   21455 /* confdefs.h.  */
   21456 _ACEOF
   21457 cat confdefs.h >>conftest.$ac_ext
   21458 cat >>conftest.$ac_ext <<_ACEOF
   21459 /* end confdefs.h.  */
   21460 #include <stdlib.h>
   21461 #include <stdarg.h>
   21462 #include <string.h>
   21463 #include <float.h>
   21464 
   21465 int
   21466 main ()
   21467 {
   21468 
   21469   ;
   21470   return 0;
   21471 }
   21472 _ACEOF
   21473 rm -f conftest.$ac_objext
   21474 if { (ac_try="$ac_compile"
   21475 case "(($ac_try" in
   21476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21477   *) ac_try_echo=$ac_try;;
   21478 esac
   21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21480   (eval "$ac_compile") 2>conftest.er1
   21481   ac_status=$?
   21482   grep -v '^ *+' conftest.er1 >conftest.err
   21483   rm -f conftest.er1
   21484   cat conftest.err >&5
   21485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21486   (exit $ac_status); } &&
   21487 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   21488   { (case "(($ac_try" in
   21489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21490   *) ac_try_echo=$ac_try;;
   21491 esac
   21492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21493   (eval "$ac_try") 2>&5
   21494   ac_status=$?
   21495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21496   (exit $ac_status); }; } &&
   21497 	 { ac_try='test -s conftest.$ac_objext'
   21498   { (case "(($ac_try" in
   21499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21500   *) ac_try_echo=$ac_try;;
   21501 esac
   21502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21503   (eval "$ac_try") 2>&5
   21504   ac_status=$?
   21505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21506   (exit $ac_status); }; }; then
   21507   ac_cv_header_stdc=yes
   21508 else
   21509   echo "$as_me: failed program was:" >&5
   21510 sed 's/^/| /' conftest.$ac_ext >&5
   21511 
   21512 	ac_cv_header_stdc=no
   21513 fi
   21514 
   21515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21516 
   21517 if test $ac_cv_header_stdc = yes; then
   21518   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21519   cat >conftest.$ac_ext <<_ACEOF
   21520 /* confdefs.h.  */
   21521 _ACEOF
   21522 cat confdefs.h >>conftest.$ac_ext
   21523 cat >>conftest.$ac_ext <<_ACEOF
   21524 /* end confdefs.h.  */
   21525 #include <string.h>
   21526 
   21527 _ACEOF
   21528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21529   $EGREP "memchr" >/dev/null 2>&1; then
   21530   :
   21531 else
   21532   ac_cv_header_stdc=no
   21533 fi
   21534 rm -f conftest*
   21535 
   21536 fi
   21537 
   21538 if test $ac_cv_header_stdc = yes; then
   21539   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21540   cat >conftest.$ac_ext <<_ACEOF
   21541 /* confdefs.h.  */
   21542 _ACEOF
   21543 cat confdefs.h >>conftest.$ac_ext
   21544 cat >>conftest.$ac_ext <<_ACEOF
   21545 /* end confdefs.h.  */
   21546 #include <stdlib.h>
   21547 
   21548 _ACEOF
   21549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21550   $EGREP "free" >/dev/null 2>&1; then
   21551   :
   21552 else
   21553   ac_cv_header_stdc=no
   21554 fi
   21555 rm -f conftest*
   21556 
   21557 fi
   21558 
   21559 if test $ac_cv_header_stdc = yes; then
   21560   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21561   if test "$cross_compiling" = yes; then
   21562   :
   21563 else
   21564   cat >conftest.$ac_ext <<_ACEOF
   21565 /* confdefs.h.  */
   21566 _ACEOF
   21567 cat confdefs.h >>conftest.$ac_ext
   21568 cat >>conftest.$ac_ext <<_ACEOF
   21569 /* end confdefs.h.  */
   21570 #include <ctype.h>
   21571 #include <stdlib.h>
   21572 #if ((' ' & 0x0FF) == 0x020)
   21573 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21574 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21575 #else
   21576 # define ISLOWER(c) \
   21577 		   (('a' <= (c) && (c) <= 'i') \
   21578 		     || ('j' <= (c) && (c) <= 'r') \
   21579 		     || ('s' <= (c) && (c) <= 'z'))
   21580 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21581 #endif
   21582 
   21583 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21584 int
   21585 main ()
   21586 {
   21587   int i;
   21588   for (i = 0; i < 256; i++)
   21589     if (XOR (islower (i), ISLOWER (i))
   21590 	|| toupper (i) != TOUPPER (i))
   21591       return 2;
   21592   return 0;
   21593 }
   21594 _ACEOF
   21595 rm -f conftest$ac_exeext
   21596 if { (ac_try="$ac_link"
   21597 case "(($ac_try" in
   21598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21599   *) ac_try_echo=$ac_try;;
   21600 esac
   21601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21602   (eval "$ac_link") 2>&5
   21603   ac_status=$?
   21604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21605   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21606   { (case "(($ac_try" in
   21607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21608   *) ac_try_echo=$ac_try;;
   21609 esac
   21610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21611   (eval "$ac_try") 2>&5
   21612   ac_status=$?
   21613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21614   (exit $ac_status); }; }; then
   21615   :
   21616 else
   21617   echo "$as_me: program exited with status $ac_status" >&5
   21618 echo "$as_me: failed program was:" >&5
   21619 sed 's/^/| /' conftest.$ac_ext >&5
   21620 
   21621 ( exit $ac_status )
   21622 ac_cv_header_stdc=no
   21623 fi
   21624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21625 fi
   21626 
   21627 
   21628 fi
   21629 fi
   21630 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21631 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   21632 if test $ac_cv_header_stdc = yes; then
   21633 
   21634 cat >>confdefs.h <<\_ACEOF
   21635 #define STDC_HEADERS 1
   21636 _ACEOF
   21637 
   21638 fi
   21639 
   21640 
   21641 
   21642 
   21643 
   21644 DRIVER_NAME=trident
   21645 
   21646 
   21647 
   21648 
   21649 
   21650 if test x$APP_MAN_SUFFIX = x    ; then
   21651     case $host_os in
   21652 	linux* | gnu* | k*bsd*-gnu)	APP_MAN_SUFFIX=1x ;;
   21653 	*)	APP_MAN_SUFFIX=1  ;;
   21654     esac
   21655 fi
   21656 if test x$APP_MAN_DIR = x    ; then
   21657     case $host_os in
   21658 	linux* | gnu* | k*bsd*-gnu)	APP_MAN_DIR='$(mandir)/man1' ;;
   21659 	*)	APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
   21660     esac
   21661 fi
   21662 
   21663 if test x$LIB_MAN_SUFFIX = x    ; then
   21664     case $host_os in
   21665 	linux* | gnu* | k*bsd*-gnu)	LIB_MAN_SUFFIX=3x ;;
   21666 	*)	LIB_MAN_SUFFIX=3  ;;
   21667     esac
   21668 fi
   21669 if test x$LIB_MAN_DIR = x    ; then
   21670     case $host_os in
   21671 	linux* | gnu* | k*bsd*-gnu)	LIB_MAN_DIR='$(mandir)/man3' ;;
   21672 	*)	LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
   21673     esac
   21674 fi
   21675 
   21676 if test x$FILE_MAN_SUFFIX = x    ; then
   21677     case $host_os in
   21678 	linux* | gnu* | k*bsd*-gnu)		FILE_MAN_SUFFIX=5x ;;
   21679 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21680 	*)		FILE_MAN_SUFFIX=5  ;;
   21681     esac
   21682 fi
   21683 if test x$FILE_MAN_DIR = x    ; then
   21684     case $host_os in
   21685 	linux* | gnu* | k*bsd*-gnu)	FILE_MAN_DIR='$(mandir)/man5' ;;
   21686 	*)	FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
   21687     esac
   21688 fi
   21689 
   21690 # In Imake's linux.cf, the misc man suffix & dir was only changed for
   21691 # LinuxDebian, not other Linuxes, so we leave it unchanged here
   21692 if test x$MISC_MAN_SUFFIX = x    ; then
   21693     case $host_os in
   21694 #	linux* | gnu* | k*bsd*-gnu)		MISC_MAN_SUFFIX=7x ;;
   21695 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21696 	*)		MISC_MAN_SUFFIX=7  ;;
   21697     esac
   21698 fi
   21699 if test x$MISC_MAN_DIR = x    ; then
   21700     case $host_os in
   21701 #	linux* | gnu* | k*bsd*-gnu)	MISC_MAN_DIR='$(mandir)/man7' ;;
   21702 	*)	MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
   21703     esac
   21704 fi
   21705 
   21706 # In Imake's linux.cf, the driver man suffix & dir was only changed for
   21707 # LinuxDebian, not other Linuxes, so we leave it unchanged here
   21708 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21709     case $host_os in
   21710 #	linux* | gnu* | k*bsd*-gnu)		DRIVER_MAN_SUFFIX=4x ;;
   21711 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21712 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21713     esac
   21714 fi
   21715 if test x$DRIVER_MAN_DIR = x    ; then
   21716     case $host_os in
   21717 #	linux* | gnu* | k*bsd*-gnu)	DRIVER_MAN_DIR='$(mandir)/man4' ;;
   21718 	*)	DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
   21719     esac
   21720 fi
   21721 
   21722 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21723     case $host_os in
   21724 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21725 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21726     esac
   21727 fi
   21728 if test x$ADMIN_MAN_DIR = x    ; then
   21729     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21730 fi
   21731 
   21732 
   21733 
   21734 
   21735 
   21736 
   21737 
   21738 
   21739 
   21740 
   21741 
   21742 
   21743 
   21744 
   21745 
   21746 
   21747 
   21748 # Check whether --with-release-version was given.
   21749 if test "${with_release_version+set}" = set; then
   21750   withval=$with_release_version; RELEASE_VERSION="$withval"
   21751 else
   21752   RELEASE_VERSION=""
   21753 fi
   21754 
   21755 	if test "x$RELEASE_VERSION" != "x"; then
   21756 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21757 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21758 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21759 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21760 	fi
   21761 
   21762 
   21763 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21764 
   21765 cat >confcache <<\_ACEOF
   21766 # This file is a shell script that caches the results of configure
   21767 # tests run on this system so they can be shared between configure
   21768 # scripts and configure runs, see configure's option --config-cache.
   21769 # It is not useful on other systems.  If it contains results you don't
   21770 # want to keep, you may remove or edit it.
   21771 #
   21772 # config.status only pays attention to the cache file if you give it
   21773 # the --recheck option to rerun configure.
   21774 #
   21775 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21776 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21777 # following values.
   21778 
   21779 _ACEOF
   21780 
   21781 # The following way of writing the cache mishandles newlines in values,
   21782 # but we know of no workaround that is simple, portable, and efficient.
   21783 # So, we kill variables containing newlines.
   21784 # Ultrix sh set writes to stderr and can't be redirected directly,
   21785 # and sets the high bit in the cache file unless we assign to the vars.
   21786 (
   21787   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21788     eval ac_val=\$$ac_var
   21789     case $ac_val in #(
   21790     *${as_nl}*)
   21791       case $ac_var in #(
   21792       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   21793 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21794       esac
   21795       case $ac_var in #(
   21796       _ | IFS | as_nl) ;; #(
   21797       *) $as_unset $ac_var ;;
   21798       esac ;;
   21799     esac
   21800   done
   21801 
   21802   (set) 2>&1 |
   21803     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21804     *${as_nl}ac_space=\ *)
   21805       # `set' does not quote correctly, so add quotes (double-quote
   21806       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21807       sed -n \
   21808 	"s/'/'\\\\''/g;
   21809 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21810       ;; #(
   21811     *)
   21812       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21813       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21814       ;;
   21815     esac |
   21816     sort
   21817 ) |
   21818   sed '
   21819      /^ac_cv_env_/b end
   21820      t clear
   21821      :clear
   21822      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21823      t end
   21824      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21825      :end' >>confcache
   21826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21827   if test -w "$cache_file"; then
   21828     test "x$cache_file" != "x/dev/null" &&
   21829       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21830 echo "$as_me: updating cache $cache_file" >&6;}
   21831     cat confcache >$cache_file
   21832   else
   21833     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21834 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21835   fi
   21836 fi
   21837 rm -f confcache
   21838 
   21839 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21840 # Let make expand exec_prefix.
   21841 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21842 
   21843 DEFS=-DHAVE_CONFIG_H
   21844 
   21845 ac_libobjs=
   21846 ac_ltlibobjs=
   21847 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21848   # 1. Remove the extension, and $U if already installed.
   21849   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21850   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21851   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21852   #    will be set to the directory where LIBOBJS objects are built.
   21853   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21854   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21855 done
   21856 LIBOBJS=$ac_libobjs
   21857 
   21858 LTLIBOBJS=$ac_ltlibobjs
   21859 
   21860 
   21861 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21862   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21863 Usually this means the macro was only invoked conditionally." >&5
   21864 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21865 Usually this means the macro was only invoked conditionally." >&2;}
   21866    { (exit 1); exit 1; }; }
   21867 fi
   21868 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21869   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21870 Usually this means the macro was only invoked conditionally." >&5
   21871 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21872 Usually this means the macro was only invoked conditionally." >&2;}
   21873    { (exit 1); exit 1; }; }
   21874 fi
   21875 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21876   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21877 Usually this means the macro was only invoked conditionally." >&5
   21878 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21879 Usually this means the macro was only invoked conditionally." >&2;}
   21880    { (exit 1); exit 1; }; }
   21881 fi
   21882 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21883   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21884 Usually this means the macro was only invoked conditionally." >&5
   21885 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21886 Usually this means the macro was only invoked conditionally." >&2;}
   21887    { (exit 1); exit 1; }; }
   21888 fi
   21889 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21890   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21891 Usually this means the macro was only invoked conditionally." >&5
   21892 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21893 Usually this means the macro was only invoked conditionally." >&2;}
   21894    { (exit 1); exit 1; }; }
   21895 fi
   21896 
   21897 : ${CONFIG_STATUS=./config.status}
   21898 ac_clean_files_save=$ac_clean_files
   21899 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21900 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21901 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21902 cat >$CONFIG_STATUS <<_ACEOF
   21903 #! $SHELL
   21904 # Generated by $as_me.
   21905 # Run this file to recreate the current configuration.
   21906 # Compiler output produced by configure, useful for debugging
   21907 # configure, is in config.log if it exists.
   21908 
   21909 debug=false
   21910 ac_cs_recheck=false
   21911 ac_cs_silent=false
   21912 SHELL=\${CONFIG_SHELL-$SHELL}
   21913 _ACEOF
   21914 
   21915 cat >>$CONFIG_STATUS <<\_ACEOF
   21916 ## --------------------- ##
   21917 ## M4sh Initialization.  ##
   21918 ## --------------------- ##
   21919 
   21920 # Be Bourne compatible
   21921 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21922   emulate sh
   21923   NULLCMD=:
   21924   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21925   # is contrary to our usage.  Disable this feature.
   21926   alias -g '${1+"$@"}'='"$@"'
   21927   setopt NO_GLOB_SUBST
   21928 else
   21929   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   21930 fi
   21931 BIN_SH=xpg4; export BIN_SH # for Tru64
   21932 DUALCASE=1; export DUALCASE # for MKS sh
   21933 
   21934 
   21935 # PATH needs CR
   21936 # Avoid depending upon Character Ranges.
   21937 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21938 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21939 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21940 as_cr_digits='0123456789'
   21941 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21942 
   21943 # The user is always right.
   21944 if test "${PATH_SEPARATOR+set}" != set; then
   21945   echo "#! /bin/sh" >conf$$.sh
   21946   echo  "exit 0"   >>conf$$.sh
   21947   chmod +x conf$$.sh
   21948   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21949     PATH_SEPARATOR=';'
   21950   else
   21951     PATH_SEPARATOR=:
   21952   fi
   21953   rm -f conf$$.sh
   21954 fi
   21955 
   21956 # Support unset when possible.
   21957 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21958   as_unset=unset
   21959 else
   21960   as_unset=false
   21961 fi
   21962 
   21963 
   21964 # IFS
   21965 # We need space, tab and new line, in precisely that order.  Quoting is
   21966 # there to prevent editors from complaining about space-tab.
   21967 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21968 # splitting by setting IFS to empty value.)
   21969 as_nl='
   21970 '
   21971 IFS=" ""	$as_nl"
   21972 
   21973 # Find who we are.  Look in the path if we contain no directory separator.
   21974 case $0 in
   21975   *[\\/]* ) as_myself=$0 ;;
   21976   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21977 for as_dir in $PATH
   21978 do
   21979   IFS=$as_save_IFS
   21980   test -z "$as_dir" && as_dir=.
   21981   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21982 done
   21983 IFS=$as_save_IFS
   21984 
   21985      ;;
   21986 esac
   21987 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21988 # in which case we are not to be found in the path.
   21989 if test "x$as_myself" = x; then
   21990   as_myself=$0
   21991 fi
   21992 if test ! -f "$as_myself"; then
   21993   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21994   { (exit 1); exit 1; }
   21995 fi
   21996 
   21997 # Work around bugs in pre-3.0 UWIN ksh.
   21998 for as_var in ENV MAIL MAILPATH
   21999 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22000 done
   22001 PS1='$ '
   22002 PS2='> '
   22003 PS4='+ '
   22004 
   22005 # NLS nuisances.
   22006 for as_var in \
   22007   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   22008   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   22009   LC_TELEPHONE LC_TIME
   22010 do
   22011   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   22012     eval $as_var=C; export $as_var
   22013   else
   22014     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22015   fi
   22016 done
   22017 
   22018 # Required to use basename.
   22019 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22020    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22021   as_expr=expr
   22022 else
   22023   as_expr=false
   22024 fi
   22025 
   22026 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22027   as_basename=basename
   22028 else
   22029   as_basename=false
   22030 fi
   22031 
   22032 
   22033 # Name of the executable.
   22034 as_me=`$as_basename -- "$0" ||
   22035 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22036 	 X"$0" : 'X\(//\)$' \| \
   22037 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22038 echo X/"$0" |
   22039     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22040 	    s//\1/
   22041 	    q
   22042 	  }
   22043 	  /^X\/\(\/\/\)$/{
   22044 	    s//\1/
   22045 	    q
   22046 	  }
   22047 	  /^X\/\(\/\).*/{
   22048 	    s//\1/
   22049 	    q
   22050 	  }
   22051 	  s/.*/./; q'`
   22052 
   22053 # CDPATH.
   22054 $as_unset CDPATH
   22055 
   22056 
   22057 
   22058   as_lineno_1=$LINENO
   22059   as_lineno_2=$LINENO
   22060   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22061   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22062 
   22063   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22064   # uniformly replaced by the line number.  The first 'sed' inserts a
   22065   # line-number line after each line using $LINENO; the second 'sed'
   22066   # does the real work.  The second script uses 'N' to pair each
   22067   # line-number line with the line containing $LINENO, and appends
   22068   # trailing '-' during substitution so that $LINENO is not a special
   22069   # case at line end.
   22070   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22071   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22072   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22073   sed -n '
   22074     p
   22075     /[$]LINENO/=
   22076   ' <$as_myself |
   22077     sed '
   22078       s/[$]LINENO.*/&-/
   22079       t lineno
   22080       b
   22081       :lineno
   22082       N
   22083       :loop
   22084       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22085       t loop
   22086       s/-\n.*//
   22087     ' >$as_me.lineno &&
   22088   chmod +x "$as_me.lineno" ||
   22089     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22090    { (exit 1); exit 1; }; }
   22091 
   22092   # Don't try to exec as it changes $[0], causing all sort of problems
   22093   # (the dirname of $[0] is not the place where we might find the
   22094   # original and so on.  Autoconf is especially sensitive to this).
   22095   . "./$as_me.lineno"
   22096   # Exit status is that of the last command.
   22097   exit
   22098 }
   22099 
   22100 
   22101 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22102   as_dirname=dirname
   22103 else
   22104   as_dirname=false
   22105 fi
   22106 
   22107 ECHO_C= ECHO_N= ECHO_T=
   22108 case `echo -n x` in
   22109 -n*)
   22110   case `echo 'x\c'` in
   22111   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22112   *)   ECHO_C='\c';;
   22113   esac;;
   22114 *)
   22115   ECHO_N='-n';;
   22116 esac
   22117 
   22118 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22120   as_expr=expr
   22121 else
   22122   as_expr=false
   22123 fi
   22124 
   22125 rm -f conf$$ conf$$.exe conf$$.file
   22126 if test -d conf$$.dir; then
   22127   rm -f conf$$.dir/conf$$.file
   22128 else
   22129   rm -f conf$$.dir
   22130   mkdir conf$$.dir
   22131 fi
   22132 echo >conf$$.file
   22133 if ln -s conf$$.file conf$$ 2>/dev/null; then
   22134   as_ln_s='ln -s'
   22135   # ... but there are two gotchas:
   22136   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22137   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22138   # In both cases, we have to default to `cp -p'.
   22139   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22140     as_ln_s='cp -p'
   22141 elif ln conf$$.file conf$$ 2>/dev/null; then
   22142   as_ln_s=ln
   22143 else
   22144   as_ln_s='cp -p'
   22145 fi
   22146 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22147 rmdir conf$$.dir 2>/dev/null
   22148 
   22149 if mkdir -p . 2>/dev/null; then
   22150   as_mkdir_p=:
   22151 else
   22152   test -d ./-p && rmdir ./-p
   22153   as_mkdir_p=false
   22154 fi
   22155 
   22156 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   22157 # systems may use methods other than mode bits to determine executability.
   22158 cat >conf$$.file <<_ASEOF
   22159 #! /bin/sh
   22160 exit 0
   22161 _ASEOF
   22162 chmod +x conf$$.file
   22163 if test -x conf$$.file >/dev/null 2>&1; then
   22164   as_executable_p="test -x"
   22165 else
   22166   as_executable_p=:
   22167 fi
   22168 rm -f conf$$.file
   22169 
   22170 # Sed expression to map a string onto a valid CPP name.
   22171 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22172 
   22173 # Sed expression to map a string onto a valid variable name.
   22174 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22175 
   22176 
   22177 exec 6>&1
   22178 
   22179 # Save the log message, to keep $[0] and so on meaningful, and to
   22180 # report actual input values of CONFIG_FILES etc. instead of their
   22181 # values after options handling.
   22182 ac_log="
   22183 This file was extended by xf86-video-trident $as_me 1.2.3, which was
   22184 generated by GNU Autoconf 2.60.  Invocation command line was
   22185 
   22186   CONFIG_FILES    = $CONFIG_FILES
   22187   CONFIG_HEADERS  = $CONFIG_HEADERS
   22188   CONFIG_LINKS    = $CONFIG_LINKS
   22189   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22190   $ $0 $@
   22191 
   22192 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22193 "
   22194 
   22195 _ACEOF
   22196 
   22197 cat >>$CONFIG_STATUS <<_ACEOF
   22198 # Files that config.status was made for.
   22199 config_files="$ac_config_files"
   22200 config_headers="$ac_config_headers"
   22201 config_commands="$ac_config_commands"
   22202 
   22203 _ACEOF
   22204 
   22205 cat >>$CONFIG_STATUS <<\_ACEOF
   22206 ac_cs_usage="\
   22207 \`$as_me' instantiates files from templates according to the
   22208 current configuration.
   22209 
   22210 Usage: $0 [OPTIONS] [FILE]...
   22211 
   22212   -h, --help       print this help, then exit
   22213   -V, --version    print version number, then exit
   22214   -q, --quiet      do not print progress messages
   22215   -d, --debug      don't remove temporary files
   22216       --recheck    update $as_me by reconfiguring in the same conditions
   22217   --file=FILE[:TEMPLATE]
   22218 		   instantiate the configuration file FILE
   22219   --header=FILE[:TEMPLATE]
   22220 		   instantiate the configuration header FILE
   22221 
   22222 Configuration files:
   22223 $config_files
   22224 
   22225 Configuration headers:
   22226 $config_headers
   22227 
   22228 Configuration commands:
   22229 $config_commands
   22230 
   22231 Report bugs to <bug-autoconf@gnu.org>."
   22232 
   22233 _ACEOF
   22234 cat >>$CONFIG_STATUS <<_ACEOF
   22235 ac_cs_version="\\
   22236 xf86-video-trident config.status 1.2.3
   22237 configured by $0, generated by GNU Autoconf 2.60,
   22238   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22239 
   22240 Copyright (C) 2006 Free Software Foundation, Inc.
   22241 This config.status script is free software; the Free Software Foundation
   22242 gives unlimited permission to copy, distribute and modify it."
   22243 
   22244 ac_pwd='$ac_pwd'
   22245 srcdir='$srcdir'
   22246 INSTALL='$INSTALL'
   22247 _ACEOF
   22248 
   22249 cat >>$CONFIG_STATUS <<\_ACEOF
   22250 # If no file are specified by the user, then we need to provide default
   22251 # value.  By we need to know if files were specified by the user.
   22252 ac_need_defaults=:
   22253 while test $# != 0
   22254 do
   22255   case $1 in
   22256   --*=*)
   22257     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22258     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22259     ac_shift=:
   22260     ;;
   22261   *)
   22262     ac_option=$1
   22263     ac_optarg=$2
   22264     ac_shift=shift
   22265     ;;
   22266   esac
   22267 
   22268   case $ac_option in
   22269   # Handling of the options.
   22270   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22271     ac_cs_recheck=: ;;
   22272   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22273     echo "$ac_cs_version"; exit ;;
   22274   --debug | --debu | --deb | --de | --d | -d )
   22275     debug=: ;;
   22276   --file | --fil | --fi | --f )
   22277     $ac_shift
   22278     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   22279     ac_need_defaults=false;;
   22280   --header | --heade | --head | --hea )
   22281     $ac_shift
   22282     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   22283     ac_need_defaults=false;;
   22284   --he | --h)
   22285     # Conflict between --help and --header
   22286     { echo "$as_me: error: ambiguous option: $1
   22287 Try \`$0 --help' for more information." >&2
   22288    { (exit 1); exit 1; }; };;
   22289   --help | --hel | -h )
   22290     echo "$ac_cs_usage"; exit ;;
   22291   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22292   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22293     ac_cs_silent=: ;;
   22294 
   22295   # This is an error.
   22296   -*) { echo "$as_me: error: unrecognized option: $1
   22297 Try \`$0 --help' for more information." >&2
   22298    { (exit 1); exit 1; }; } ;;
   22299 
   22300   *) ac_config_targets="$ac_config_targets $1"
   22301      ac_need_defaults=false ;;
   22302 
   22303   esac
   22304   shift
   22305 done
   22306 
   22307 ac_configure_extra_args=
   22308 
   22309 if $ac_cs_silent; then
   22310   exec 6>/dev/null
   22311   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22312 fi
   22313 
   22314 _ACEOF
   22315 cat >>$CONFIG_STATUS <<_ACEOF
   22316 if \$ac_cs_recheck; then
   22317   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   22318   CONFIG_SHELL=$SHELL
   22319   export CONFIG_SHELL
   22320   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22321 fi
   22322 
   22323 _ACEOF
   22324 cat >>$CONFIG_STATUS <<\_ACEOF
   22325 exec 5>>config.log
   22326 {
   22327   echo
   22328   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22329 ## Running $as_me. ##
   22330 _ASBOX
   22331   echo "$ac_log"
   22332 } >&5
   22333 
   22334 _ACEOF
   22335 cat >>$CONFIG_STATUS <<_ACEOF
   22336 #
   22337 # INIT-COMMANDS
   22338 #
   22339 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22340 
   22341 _ACEOF
   22342 
   22343 cat >>$CONFIG_STATUS <<\_ACEOF
   22344 
   22345 # Handling of arguments.
   22346 for ac_config_target in $ac_config_targets
   22347 do
   22348   case $ac_config_target in
   22349     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22350     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22351     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22352     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22353     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22354 
   22355   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22356 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22357    { (exit 1); exit 1; }; };;
   22358   esac
   22359 done
   22360 
   22361 
   22362 # If the user did not use the arguments to specify the items to instantiate,
   22363 # then the envvar interface is used.  Set only those that are not.
   22364 # We use the long form for the default assignment because of an extremely
   22365 # bizarre bug on SunOS 4.1.3.
   22366 if $ac_need_defaults; then
   22367   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22368   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22369   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22370 fi
   22371 
   22372 # Have a temporary directory for convenience.  Make it in the build tree
   22373 # simply because there is no reason against having it here, and in addition,
   22374 # creating and moving files from /tmp can sometimes cause problems.
   22375 # Hook for its removal unless debugging.
   22376 # Note that there is a small window in which the directory will not be cleaned:
   22377 # after its creation but before its name has been assigned to `$tmp'.
   22378 $debug ||
   22379 {
   22380   tmp=
   22381   trap 'exit_status=$?
   22382   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22383 ' 0
   22384   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22385 }
   22386 # Create a (secure) tmp directory for tmp files.
   22387 
   22388 {
   22389   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22390   test -n "$tmp" && test -d "$tmp"
   22391 }  ||
   22392 {
   22393   tmp=./conf$$-$RANDOM
   22394   (umask 077 && mkdir "$tmp")
   22395 } ||
   22396 {
   22397    echo "$me: cannot create a temporary directory in ." >&2
   22398    { (exit 1); exit 1; }
   22399 }
   22400 
   22401 #
   22402 # Set up the sed scripts for CONFIG_FILES section.
   22403 #
   22404 
   22405 # No need to generate the scripts if there are no CONFIG_FILES.
   22406 # This happens for instance when ./config.status config.h
   22407 if test -n "$CONFIG_FILES"; then
   22408 
   22409 _ACEOF
   22410 
   22411 
   22412 
   22413 ac_delim='%!_!# '
   22414 for ac_last_try in false false false false false :; do
   22415   cat >conf$$subs.sed <<_ACEOF
   22416 SHELL!$SHELL$ac_delim
   22417 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   22418 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   22419 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   22420 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   22421 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   22422 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   22423 exec_prefix!$exec_prefix$ac_delim
   22424 prefix!$prefix$ac_delim
   22425 program_transform_name!$program_transform_name$ac_delim
   22426 bindir!$bindir$ac_delim
   22427 sbindir!$sbindir$ac_delim
   22428 libexecdir!$libexecdir$ac_delim
   22429 datarootdir!$datarootdir$ac_delim
   22430 datadir!$datadir$ac_delim
   22431 sysconfdir!$sysconfdir$ac_delim
   22432 sharedstatedir!$sharedstatedir$ac_delim
   22433 localstatedir!$localstatedir$ac_delim
   22434 includedir!$includedir$ac_delim
   22435 oldincludedir!$oldincludedir$ac_delim
   22436 docdir!$docdir$ac_delim
   22437 infodir!$infodir$ac_delim
   22438 htmldir!$htmldir$ac_delim
   22439 dvidir!$dvidir$ac_delim
   22440 pdfdir!$pdfdir$ac_delim
   22441 psdir!$psdir$ac_delim
   22442 libdir!$libdir$ac_delim
   22443 localedir!$localedir$ac_delim
   22444 mandir!$mandir$ac_delim
   22445 DEFS!$DEFS$ac_delim
   22446 ECHO_C!$ECHO_C$ac_delim
   22447 ECHO_N!$ECHO_N$ac_delim
   22448 ECHO_T!$ECHO_T$ac_delim
   22449 LIBS!$LIBS$ac_delim
   22450 build_alias!$build_alias$ac_delim
   22451 host_alias!$host_alias$ac_delim
   22452 target_alias!$target_alias$ac_delim
   22453 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   22454 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   22455 INSTALL_DATA!$INSTALL_DATA$ac_delim
   22456 CYGPATH_W!$CYGPATH_W$ac_delim
   22457 PACKAGE!$PACKAGE$ac_delim
   22458 VERSION!$VERSION$ac_delim
   22459 ACLOCAL!$ACLOCAL$ac_delim
   22460 AUTOCONF!$AUTOCONF$ac_delim
   22461 AUTOMAKE!$AUTOMAKE$ac_delim
   22462 AUTOHEADER!$AUTOHEADER$ac_delim
   22463 MAKEINFO!$MAKEINFO$ac_delim
   22464 install_sh!$install_sh$ac_delim
   22465 STRIP!$STRIP$ac_delim
   22466 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   22467 mkdir_p!$mkdir_p$ac_delim
   22468 AWK!$AWK$ac_delim
   22469 SET_MAKE!$SET_MAKE$ac_delim
   22470 am__leading_dot!$am__leading_dot$ac_delim
   22471 AMTAR!$AMTAR$ac_delim
   22472 am__tar!$am__tar$ac_delim
   22473 am__untar!$am__untar$ac_delim
   22474 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   22475 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   22476 MAINT!$MAINT$ac_delim
   22477 build!$build$ac_delim
   22478 build_cpu!$build_cpu$ac_delim
   22479 build_vendor!$build_vendor$ac_delim
   22480 build_os!$build_os$ac_delim
   22481 host!$host$ac_delim
   22482 host_cpu!$host_cpu$ac_delim
   22483 host_vendor!$host_vendor$ac_delim
   22484 host_os!$host_os$ac_delim
   22485 CC!$CC$ac_delim
   22486 CFLAGS!$CFLAGS$ac_delim
   22487 LDFLAGS!$LDFLAGS$ac_delim
   22488 CPPFLAGS!$CPPFLAGS$ac_delim
   22489 ac_ct_CC!$ac_ct_CC$ac_delim
   22490 EXEEXT!$EXEEXT$ac_delim
   22491 OBJEXT!$OBJEXT$ac_delim
   22492 DEPDIR!$DEPDIR$ac_delim
   22493 am__include!$am__include$ac_delim
   22494 am__quote!$am__quote$ac_delim
   22495 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   22496 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   22497 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   22498 CCDEPMODE!$CCDEPMODE$ac_delim
   22499 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   22500 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   22501 GREP!$GREP$ac_delim
   22502 EGREP!$EGREP$ac_delim
   22503 LN_S!$LN_S$ac_delim
   22504 ECHO!$ECHO$ac_delim
   22505 AR!$AR$ac_delim
   22506 RANLIB!$RANLIB$ac_delim
   22507 CPP!$CPP$ac_delim
   22508 CXX!$CXX$ac_delim
   22509 CXXFLAGS!$CXXFLAGS$ac_delim
   22510 ac_ct_CXX!$ac_ct_CXX$ac_delim
   22511 CXXDEPMODE!$CXXDEPMODE$ac_delim
   22512 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   22513 _ACEOF
   22514 
   22515   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   22516     break
   22517   elif $ac_last_try; then
   22518     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22519 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22520    { (exit 1); exit 1; }; }
   22521   else
   22522     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22523   fi
   22524 done
   22525 
   22526 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22527 if test -n "$ac_eof"; then
   22528   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22529   ac_eof=`expr $ac_eof + 1`
   22530 fi
   22531 
   22532 cat >>$CONFIG_STATUS <<_ACEOF
   22533 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   22534 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22535 _ACEOF
   22536 sed '
   22537 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22538 s/^/s,@/; s/!/@,|#_!!_#|/
   22539 :n
   22540 t n
   22541 s/'"$ac_delim"'$/,g/; t
   22542 s/$/\\/; p
   22543 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22544 ' >>$CONFIG_STATUS <conf$$subs.sed
   22545 rm -f conf$$subs.sed
   22546 cat >>$CONFIG_STATUS <<_ACEOF
   22547 CEOF$ac_eof
   22548 _ACEOF
   22549 
   22550 
   22551 ac_delim='%!_!# '
   22552 for ac_last_try in false false false false false :; do
   22553   cat >conf$$subs.sed <<_ACEOF
   22554 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   22555 CXXCPP!$CXXCPP$ac_delim
   22556 F77!$F77$ac_delim
   22557 FFLAGS!$FFLAGS$ac_delim
   22558 ac_ct_F77!$ac_ct_F77$ac_delim
   22559 LIBTOOL!$LIBTOOL$ac_delim
   22560 PKG_CONFIG!$PKG_CONFIG$ac_delim
   22561 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   22562 XORG_LIBS!$XORG_LIBS$ac_delim
   22563 moduledir!$moduledir$ac_delim
   22564 DRIVER_NAME!$DRIVER_NAME$ac_delim
   22565 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   22566 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   22567 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   22568 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   22569 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   22570 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   22571 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   22572 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   22573 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   22574 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   22575 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   22576 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   22577 LIBOBJS!$LIBOBJS$ac_delim
   22578 LTLIBOBJS!$LTLIBOBJS$ac_delim
   22579 _ACEOF
   22580 
   22581   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
   22582     break
   22583   elif $ac_last_try; then
   22584     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22585 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22586    { (exit 1); exit 1; }; }
   22587   else
   22588     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22589   fi
   22590 done
   22591 
   22592 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22593 if test -n "$ac_eof"; then
   22594   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22595   ac_eof=`expr $ac_eof + 1`
   22596 fi
   22597 
   22598 cat >>$CONFIG_STATUS <<_ACEOF
   22599 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   22600 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   22601 _ACEOF
   22602 sed '
   22603 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22604 s/^/s,@/; s/!/@,|#_!!_#|/
   22605 :n
   22606 t n
   22607 s/'"$ac_delim"'$/,g/; t
   22608 s/$/\\/; p
   22609 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22610 ' >>$CONFIG_STATUS <conf$$subs.sed
   22611 rm -f conf$$subs.sed
   22612 cat >>$CONFIG_STATUS <<_ACEOF
   22613 :end
   22614 s/|#_!!_#|//g
   22615 CEOF$ac_eof
   22616 _ACEOF
   22617 
   22618 
   22619 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22620 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22621 # trailing colons and then remove the whole line if VPATH becomes empty
   22622 # (actually we leave an empty line to preserve line numbers).
   22623 if test "x$srcdir" = x.; then
   22624   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22625 s/:*\$(srcdir):*/:/
   22626 s/:*\${srcdir}:*/:/
   22627 s/:*@srcdir@:*/:/
   22628 s/^\([^=]*=[	 ]*\):*/\1/
   22629 s/:*$//
   22630 s/^[^=]*=[	 ]*$//
   22631 }'
   22632 fi
   22633 
   22634 cat >>$CONFIG_STATUS <<\_ACEOF
   22635 fi # test -n "$CONFIG_FILES"
   22636 
   22637 
   22638 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   22639 do
   22640   case $ac_tag in
   22641   :[FHLC]) ac_mode=$ac_tag; continue;;
   22642   esac
   22643   case $ac_mode$ac_tag in
   22644   :[FHL]*:*);;
   22645   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   22646 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   22647    { (exit 1); exit 1; }; };;
   22648   :[FH]-) ac_tag=-:-;;
   22649   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22650   esac
   22651   ac_save_IFS=$IFS
   22652   IFS=:
   22653   set x $ac_tag
   22654   IFS=$ac_save_IFS
   22655   shift
   22656   ac_file=$1
   22657   shift
   22658 
   22659   case $ac_mode in
   22660   :L) ac_source=$1;;
   22661   :[FH])
   22662     ac_file_inputs=
   22663     for ac_f
   22664     do
   22665       case $ac_f in
   22666       -) ac_f="$tmp/stdin";;
   22667       *) # Look for the file first in the build tree, then in the source tree
   22668 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22669 	 # because $ac_f cannot contain `:'.
   22670 	 test -f "$ac_f" ||
   22671 	   case $ac_f in
   22672 	   [\\/$]*) false;;
   22673 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22674 	   esac ||
   22675 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22676 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22677    { (exit 1); exit 1; }; };;
   22678       esac
   22679       ac_file_inputs="$ac_file_inputs $ac_f"
   22680     done
   22681 
   22682     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22683     # use $as_me), people would be surprised to read:
   22684     #    /* config.h.  Generated by config.status.  */
   22685     configure_input="Generated from "`IFS=:
   22686 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   22687     if test x"$ac_file" != x-; then
   22688       configure_input="$ac_file.  $configure_input"
   22689       { echo "$as_me:$LINENO: creating $ac_file" >&5
   22690 echo "$as_me: creating $ac_file" >&6;}
   22691     fi
   22692 
   22693     case $ac_tag in
   22694     *:-:* | *:-) cat >"$tmp/stdin";;
   22695     esac
   22696     ;;
   22697   esac
   22698 
   22699   ac_dir=`$as_dirname -- "$ac_file" ||
   22700 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22701 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22702 	 X"$ac_file" : 'X\(//\)$' \| \
   22703 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22704 echo X"$ac_file" |
   22705     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22706 	    s//\1/
   22707 	    q
   22708 	  }
   22709 	  /^X\(\/\/\)[^/].*/{
   22710 	    s//\1/
   22711 	    q
   22712 	  }
   22713 	  /^X\(\/\/\)$/{
   22714 	    s//\1/
   22715 	    q
   22716 	  }
   22717 	  /^X\(\/\).*/{
   22718 	    s//\1/
   22719 	    q
   22720 	  }
   22721 	  s/.*/./; q'`
   22722   { as_dir="$ac_dir"
   22723   case $as_dir in #(
   22724   -*) as_dir=./$as_dir;;
   22725   esac
   22726   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22727     as_dirs=
   22728     while :; do
   22729       case $as_dir in #(
   22730       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22731       *) as_qdir=$as_dir;;
   22732       esac
   22733       as_dirs="'$as_qdir' $as_dirs"
   22734       as_dir=`$as_dirname -- "$as_dir" ||
   22735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22736 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22737 	 X"$as_dir" : 'X\(//\)$' \| \
   22738 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22739 echo X"$as_dir" |
   22740     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22741 	    s//\1/
   22742 	    q
   22743 	  }
   22744 	  /^X\(\/\/\)[^/].*/{
   22745 	    s//\1/
   22746 	    q
   22747 	  }
   22748 	  /^X\(\/\/\)$/{
   22749 	    s//\1/
   22750 	    q
   22751 	  }
   22752 	  /^X\(\/\).*/{
   22753 	    s//\1/
   22754 	    q
   22755 	  }
   22756 	  s/.*/./; q'`
   22757       test -d "$as_dir" && break
   22758     done
   22759     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22760   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22761 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22762    { (exit 1); exit 1; }; }; }
   22763   ac_builddir=.
   22764 
   22765 case "$ac_dir" in
   22766 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22767 *)
   22768   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22769   # A ".." for each directory in $ac_dir_suffix.
   22770   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22771   case $ac_top_builddir_sub in
   22772   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22773   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22774   esac ;;
   22775 esac
   22776 ac_abs_top_builddir=$ac_pwd
   22777 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22778 # for backward compatibility:
   22779 ac_top_builddir=$ac_top_build_prefix
   22780 
   22781 case $srcdir in
   22782   .)  # We are building in place.
   22783     ac_srcdir=.
   22784     ac_top_srcdir=$ac_top_builddir_sub
   22785     ac_abs_top_srcdir=$ac_pwd ;;
   22786   [\\/]* | ?:[\\/]* )  # Absolute name.
   22787     ac_srcdir=$srcdir$ac_dir_suffix;
   22788     ac_top_srcdir=$srcdir
   22789     ac_abs_top_srcdir=$srcdir ;;
   22790   *) # Relative name.
   22791     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22792     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22793     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22794 esac
   22795 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22796 
   22797 
   22798   case $ac_mode in
   22799   :F)
   22800   #
   22801   # CONFIG_FILE
   22802   #
   22803 
   22804   case $INSTALL in
   22805   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22806   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22807   esac
   22808 _ACEOF
   22809 
   22810 cat >>$CONFIG_STATUS <<\_ACEOF
   22811 # If the template does not know about datarootdir, expand it.
   22812 # FIXME: This hack should be removed a few years after 2.60.
   22813 ac_datarootdir_hack=; ac_datarootdir_seen=
   22814 
   22815 case `sed -n '/datarootdir/ {
   22816   p
   22817   q
   22818 }
   22819 /@datadir@/p
   22820 /@docdir@/p
   22821 /@infodir@/p
   22822 /@localedir@/p
   22823 /@mandir@/p
   22824 ' $ac_file_inputs` in
   22825 *datarootdir*) ac_datarootdir_seen=yes;;
   22826 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22827   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22828 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22829 _ACEOF
   22830 cat >>$CONFIG_STATUS <<_ACEOF
   22831   ac_datarootdir_hack='
   22832   s&@datadir@&$datadir&g
   22833   s&@docdir@&$docdir&g
   22834   s&@infodir@&$infodir&g
   22835   s&@localedir@&$localedir&g
   22836   s&@mandir@&$mandir&g
   22837     s&\\\${datarootdir}&$datarootdir&g' ;;
   22838 esac
   22839 _ACEOF
   22840 
   22841 # Neutralize VPATH when `$srcdir' = `.'.
   22842 # Shell code in configure.ac might set extrasub.
   22843 # FIXME: do we really want to maintain this feature?
   22844 cat >>$CONFIG_STATUS <<_ACEOF
   22845   sed "$ac_vpsub
   22846 $extrasub
   22847 _ACEOF
   22848 cat >>$CONFIG_STATUS <<\_ACEOF
   22849 :t
   22850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22851 s&@configure_input@&$configure_input&;t t
   22852 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22853 s&@srcdir@&$ac_srcdir&;t t
   22854 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22855 s&@top_srcdir@&$ac_top_srcdir&;t t
   22856 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22857 s&@builddir@&$ac_builddir&;t t
   22858 s&@abs_builddir@&$ac_abs_builddir&;t t
   22859 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22860 s&@INSTALL@&$ac_INSTALL&;t t
   22861 $ac_datarootdir_hack
   22862 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   22863 
   22864 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22865   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22866   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22867   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22868 which seems to be undefined.  Please make sure it is defined." >&5
   22869 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22870 which seems to be undefined.  Please make sure it is defined." >&2;}
   22871 
   22872   rm -f "$tmp/stdin"
   22873   case $ac_file in
   22874   -) cat "$tmp/out"; rm -f "$tmp/out";;
   22875   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   22876   esac
   22877  ;;
   22878   :H)
   22879   #
   22880   # CONFIG_HEADER
   22881   #
   22882 _ACEOF
   22883 
   22884 # Transform confdefs.h into a sed script `conftest.defines', that
   22885 # substitutes the proper values into config.h.in to produce config.h.
   22886 rm -f conftest.defines conftest.tail
   22887 # First, append a space to every undef/define line, to ease matching.
   22888 echo 's/$/ /' >conftest.defines
   22889 # Then, protect against being on the right side of a sed subst, or in
   22890 # an unquoted here document, in config.status.  If some macros were
   22891 # called several times there might be several #defines for the same
   22892 # symbol, which is useless.  But do not sort them, since the last
   22893 # AC_DEFINE must be honored.
   22894 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22895 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   22896 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   22897 # PARAMS is the parameter list in the macro definition--in most cases, it's
   22898 # just an empty string.
   22899 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   22900 ac_dB='\\)[	 (].*,\\1define\\2'
   22901 ac_dC=' '
   22902 ac_dD=' ,'
   22903 
   22904 uniq confdefs.h |
   22905   sed -n '
   22906 	t rset
   22907 	:rset
   22908 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   22909 	t ok
   22910 	d
   22911 	:ok
   22912 	s/[\\&,]/\\&/g
   22913 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   22914 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   22915   ' >>conftest.defines
   22916 
   22917 # Remove the space that was appended to ease matching.
   22918 # Then replace #undef with comments.  This is necessary, for
   22919 # example, in the case of _POSIX_SOURCE, which is predefined and required
   22920 # on some systems where configure will not decide to define it.
   22921 # (The regexp can be short, since the line contains either #define or #undef.)
   22922 echo 's/ $//
   22923 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   22924 
   22925 # Break up conftest.defines:
   22926 ac_max_sed_lines=50
   22927 
   22928 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   22929 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   22930 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   22931 # et cetera.
   22932 ac_in='$ac_file_inputs'
   22933 ac_out='"$tmp/out1"'
   22934 ac_nxt='"$tmp/out2"'
   22935 
   22936 while :
   22937 do
   22938   # Write a here document:
   22939     cat >>$CONFIG_STATUS <<_ACEOF
   22940     # First, check the format of the line:
   22941     cat >"\$tmp/defines.sed" <<\\CEOF
   22942 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   22943 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   22944 b
   22945 :def
   22946 _ACEOF
   22947   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   22948   echo 'CEOF
   22949     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   22950   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   22951   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   22952   grep . conftest.tail >/dev/null || break
   22953   rm -f conftest.defines
   22954   mv conftest.tail conftest.defines
   22955 done
   22956 rm -f conftest.defines conftest.tail
   22957 
   22958 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   22959 cat >>$CONFIG_STATUS <<\_ACEOF
   22960   if test x"$ac_file" != x-; then
   22961     echo "/* $configure_input  */" >"$tmp/config.h"
   22962     cat "$ac_result" >>"$tmp/config.h"
   22963     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   22964       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22965 echo "$as_me: $ac_file is unchanged" >&6;}
   22966     else
   22967       rm -f $ac_file
   22968       mv "$tmp/config.h" $ac_file
   22969     fi
   22970   else
   22971     echo "/* $configure_input  */"
   22972     cat "$ac_result"
   22973   fi
   22974   rm -f "$tmp/out12"
   22975 # Compute $ac_file's index in $config_headers.
   22976 _am_stamp_count=1
   22977 for _am_header in $config_headers :; do
   22978   case $_am_header in
   22979     $ac_file | $ac_file:* )
   22980       break ;;
   22981     * )
   22982       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22983   esac
   22984 done
   22985 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   22986 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22987 	 X$ac_file : 'X\(//\)[^/]' \| \
   22988 	 X$ac_file : 'X\(//\)$' \| \
   22989 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   22990 echo X$ac_file |
   22991     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22992 	    s//\1/
   22993 	    q
   22994 	  }
   22995 	  /^X\(\/\/\)[^/].*/{
   22996 	    s//\1/
   22997 	    q
   22998 	  }
   22999 	  /^X\(\/\/\)$/{
   23000 	    s//\1/
   23001 	    q
   23002 	  }
   23003 	  /^X\(\/\).*/{
   23004 	    s//\1/
   23005 	    q
   23006 	  }
   23007 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23008  ;;
   23009 
   23010   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23011 echo "$as_me: executing $ac_file commands" >&6;}
   23012  ;;
   23013   esac
   23014 
   23015 
   23016   case $ac_file$ac_mode in
   23017     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23018   # Strip MF so we end up with the name of the file.
   23019   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23020   # Check whether this is an Automake generated Makefile or not.
   23021   # We used to match only the files named `Makefile.in', but
   23022   # some people rename them; so instead we look at the file content.
   23023   # Grep'ing the first line is not enough: some people post-process
   23024   # each Makefile.in and add a new line on top of each file to say so.
   23025   # So let's grep whole file.
   23026   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   23027     dirpart=`$as_dirname -- "$mf" ||
   23028 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23029 	 X"$mf" : 'X\(//\)[^/]' \| \
   23030 	 X"$mf" : 'X\(//\)$' \| \
   23031 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23032 echo X"$mf" |
   23033     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23034 	    s//\1/
   23035 	    q
   23036 	  }
   23037 	  /^X\(\/\/\)[^/].*/{
   23038 	    s//\1/
   23039 	    q
   23040 	  }
   23041 	  /^X\(\/\/\)$/{
   23042 	    s//\1/
   23043 	    q
   23044 	  }
   23045 	  /^X\(\/\).*/{
   23046 	    s//\1/
   23047 	    q
   23048 	  }
   23049 	  s/.*/./; q'`
   23050   else
   23051     continue
   23052   fi
   23053   # Extract the definition of DEPDIR, am__include, and am__quote
   23054   # from the Makefile without running `make'.
   23055   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23056   test -z "$DEPDIR" && continue
   23057   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23058   test -z "am__include" && continue
   23059   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23060   # When using ansi2knr, U may be empty or an underscore; expand it
   23061   U=`sed -n 's/^U = //p' < "$mf"`
   23062   # Find all dependency output files, they are included files with
   23063   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23064   # simplest approach to changing $(DEPDIR) to its actual value in the
   23065   # expansion.
   23066   for file in `sed -n "
   23067     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23068        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23069     # Make sure the directory exists.
   23070     test -f "$dirpart/$file" && continue
   23071     fdir=`$as_dirname -- "$file" ||
   23072 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23073 	 X"$file" : 'X\(//\)[^/]' \| \
   23074 	 X"$file" : 'X\(//\)$' \| \
   23075 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23076 echo X"$file" |
   23077     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23078 	    s//\1/
   23079 	    q
   23080 	  }
   23081 	  /^X\(\/\/\)[^/].*/{
   23082 	    s//\1/
   23083 	    q
   23084 	  }
   23085 	  /^X\(\/\/\)$/{
   23086 	    s//\1/
   23087 	    q
   23088 	  }
   23089 	  /^X\(\/\).*/{
   23090 	    s//\1/
   23091 	    q
   23092 	  }
   23093 	  s/.*/./; q'`
   23094     { as_dir=$dirpart/$fdir
   23095   case $as_dir in #(
   23096   -*) as_dir=./$as_dir;;
   23097   esac
   23098   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23099     as_dirs=
   23100     while :; do
   23101       case $as_dir in #(
   23102       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23103       *) as_qdir=$as_dir;;
   23104       esac
   23105       as_dirs="'$as_qdir' $as_dirs"
   23106       as_dir=`$as_dirname -- "$as_dir" ||
   23107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23108 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23109 	 X"$as_dir" : 'X\(//\)$' \| \
   23110 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23111 echo X"$as_dir" |
   23112     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23113 	    s//\1/
   23114 	    q
   23115 	  }
   23116 	  /^X\(\/\/\)[^/].*/{
   23117 	    s//\1/
   23118 	    q
   23119 	  }
   23120 	  /^X\(\/\/\)$/{
   23121 	    s//\1/
   23122 	    q
   23123 	  }
   23124 	  /^X\(\/\).*/{
   23125 	    s//\1/
   23126 	    q
   23127 	  }
   23128 	  s/.*/./; q'`
   23129       test -d "$as_dir" && break
   23130     done
   23131     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23132   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23133 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23134    { (exit 1); exit 1; }; }; }
   23135     # echo "creating $dirpart/$file"
   23136     echo '# dummy' > "$dirpart/$file"
   23137   done
   23138 done
   23139  ;;
   23140 
   23141   esac
   23142 done # for ac_tag
   23143 
   23144 
   23145 { (exit 0); exit 0; }
   23146 _ACEOF
   23147 chmod +x $CONFIG_STATUS
   23148 ac_clean_files=$ac_clean_files_save
   23149 
   23150 
   23151 # configure is writing to config.log, and then calls config.status.
   23152 # config.status does its own redirection, appending to config.log.
   23153 # Unfortunately, on DOS this fails, as config.log is still kept open
   23154 # by configure, so config.status won't be able to write to it; its
   23155 # output is simply discarded.  So we exec the FD to /dev/null,
   23156 # effectively closing config.log, so it can be properly (re)opened and
   23157 # appended to by config.status.  When coming back to configure, we
   23158 # need to make the FD available again.
   23159 if test "$no_create" != yes; then
   23160   ac_cs_success=:
   23161   ac_config_status_args=
   23162   test "$silent" = yes &&
   23163     ac_config_status_args="$ac_config_status_args --quiet"
   23164   exec 5>/dev/null
   23165   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23166   exec 5>>config.log
   23167   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23168   # would make configure fail if this is the last instruction.
   23169   $ac_cs_success || { (exit 1); exit 1; }
   23170 fi
   23171 
   23172