Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-mach64 6.8.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 echo=${ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $echo works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<EOF
    584 $*
    585 EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$ECHO"; then
    594 if test "X${echo_test_string+set}" != Xset; then
    595 # find a string as large as possible, as long as the shell can cope with it
    596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    599        echo_test_string=`eval $cmd` &&
    600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    601     then
    602       break
    603     fi
    604   done
    605 fi
    606 
    607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    609    test "X$echo_testing_string" = "X$echo_test_string"; then
    610   :
    611 else
    612   # The Solaris, AIX, and Digital Unix default echo programs unquote
    613   # backslashes.  This makes it impossible to quote backslashes using
    614   #   echo "$something" | sed 's/\\/\\\\/g'
    615   #
    616   # So, first we look for a working echo in the user's PATH.
    617 
    618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    619   for dir in $PATH /usr/ucb; do
    620     IFS="$lt_save_ifs"
    621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    624        test "X$echo_testing_string" = "X$echo_test_string"; then
    625       echo="$dir/echo"
    626       break
    627     fi
    628   done
    629   IFS="$lt_save_ifs"
    630 
    631   if test "X$echo" = Xecho; then
    632     # We didn't find a better echo, so look for alternatives.
    633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    635        test "X$echo_testing_string" = "X$echo_test_string"; then
    636       # This shell has a builtin print -r that does the trick.
    637       echo='print -r'
    638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    639 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    640       # If we have ksh, try running configure again with it.
    641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    642       export ORIGINAL_CONFIG_SHELL
    643       CONFIG_SHELL=/bin/ksh
    644       export CONFIG_SHELL
    645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    646     else
    647       # Try using printf.
    648       echo='printf %s\n'
    649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    650 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    651 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	# Cool, printf works
    653 	:
    654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = 'X\t' &&
    656 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    657 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    658 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    659 	export CONFIG_SHELL
    660 	SHELL="$CONFIG_SHELL"
    661 	export SHELL
    662 	echo="$CONFIG_SHELL $0 --fallback-echo"
    663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = 'X\t' &&
    665 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    666 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    667 	echo="$CONFIG_SHELL $0 --fallback-echo"
    668       else
    669 	# maybe with a smaller string...
    670 	prev=:
    671 
    672 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    673 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    674 	  then
    675 	    break
    676 	  fi
    677 	  prev="$cmd"
    678 	done
    679 
    680 	if test "$prev" != 'sed 50q "$0"'; then
    681 	  echo_test_string=`eval $prev`
    682 	  export echo_test_string
    683 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    684 	else
    685 	  # Oops.  We lost completely, so just stick with echo.
    686 	  echo=echo
    687 	fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 fi
    693 
    694 # Copy echo and quote the copy suitably for passing to libtool from
    695 # the Makefile, instead of quoting the original, which is used later.
    696 ECHO=$echo
    697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    699 fi
    700 
    701 
    702 
    703 
    704 tagnames=${tagnames+${tagnames},}CXX
    705 
    706 tagnames=${tagnames+${tagnames},}F77
    707 
    708 exec 7<&0 </dev/null 6>&1
    709 
    710 # Name of the host.
    711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    712 # so uname gets run too.
    713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    714 
    715 #
    716 # Initializations.
    717 #
    718 ac_default_prefix=/usr/local
    719 ac_clean_files=
    720 ac_config_libobj_dir=.
    721 LIBOBJS=
    722 cross_compiling=no
    723 subdirs=
    724 MFLAGS=
    725 MAKEFLAGS=
    726 SHELL=${CONFIG_SHELL-/bin/sh}
    727 
    728 # Identity of this package.
    729 PACKAGE_NAME='xf86-video-mach64'
    730 PACKAGE_TARNAME='xf86-video-mach64'
    731 PACKAGE_VERSION='6.8.1'
    732 PACKAGE_STRING='xf86-video-mach64 6.8.1'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 ac_unique_file="Makefile.am"
    736 # Factoring default headers for most tests.
    737 ac_includes_default="\
    738 #include <stdio.h>
    739 #ifdef HAVE_SYS_TYPES_H
    740 # include <sys/types.h>
    741 #endif
    742 #ifdef HAVE_SYS_STAT_H
    743 # include <sys/stat.h>
    744 #endif
    745 #ifdef STDC_HEADERS
    746 # include <stdlib.h>
    747 # include <stddef.h>
    748 #else
    749 # ifdef HAVE_STDLIB_H
    750 #  include <stdlib.h>
    751 # endif
    752 #endif
    753 #ifdef HAVE_STRING_H
    754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    755 #  include <memory.h>
    756 # endif
    757 # include <string.h>
    758 #endif
    759 #ifdef HAVE_STRINGS_H
    760 # include <strings.h>
    761 #endif
    762 #ifdef HAVE_INTTYPES_H
    763 # include <inttypes.h>
    764 #endif
    765 #ifdef HAVE_STDINT_H
    766 # include <stdint.h>
    767 #endif
    768 #ifdef HAVE_UNISTD_H
    769 # include <unistd.h>
    770 #endif"
    771 
    772 ac_subst_vars='SHELL
    773 PATH_SEPARATOR
    774 PACKAGE_NAME
    775 PACKAGE_TARNAME
    776 PACKAGE_VERSION
    777 PACKAGE_STRING
    778 PACKAGE_BUGREPORT
    779 exec_prefix
    780 prefix
    781 program_transform_name
    782 bindir
    783 sbindir
    784 libexecdir
    785 datarootdir
    786 datadir
    787 sysconfdir
    788 sharedstatedir
    789 localstatedir
    790 includedir
    791 oldincludedir
    792 docdir
    793 infodir
    794 htmldir
    795 dvidir
    796 pdfdir
    797 psdir
    798 libdir
    799 localedir
    800 mandir
    801 DEFS
    802 ECHO_C
    803 ECHO_N
    804 ECHO_T
    805 LIBS
    806 build_alias
    807 host_alias
    808 target_alias
    809 INSTALL_PROGRAM
    810 INSTALL_SCRIPT
    811 INSTALL_DATA
    812 am__isrc
    813 CYGPATH_W
    814 PACKAGE
    815 VERSION
    816 ACLOCAL
    817 AUTOCONF
    818 AUTOMAKE
    819 AUTOHEADER
    820 MAKEINFO
    821 install_sh
    822 STRIP
    823 INSTALL_STRIP_PROGRAM
    824 mkdir_p
    825 AWK
    826 SET_MAKE
    827 am__leading_dot
    828 AMTAR
    829 am__tar
    830 am__untar
    831 MAINTAINER_MODE_TRUE
    832 MAINTAINER_MODE_FALSE
    833 MAINT
    834 build
    835 build_cpu
    836 build_vendor
    837 build_os
    838 host
    839 host_cpu
    840 host_vendor
    841 host_os
    842 CC
    843 CFLAGS
    844 LDFLAGS
    845 CPPFLAGS
    846 ac_ct_CC
    847 EXEEXT
    848 OBJEXT
    849 DEPDIR
    850 am__include
    851 am__quote
    852 AMDEP_TRUE
    853 AMDEP_FALSE
    854 AMDEPBACKSLASH
    855 CCDEPMODE
    856 am__fastdepCC_TRUE
    857 am__fastdepCC_FALSE
    858 GREP
    859 EGREP
    860 LN_S
    861 ECHO
    862 AR
    863 RANLIB
    864 CPP
    865 CXX
    866 CXXFLAGS
    867 ac_ct_CXX
    868 CXXDEPMODE
    869 am__fastdepCXX_TRUE
    870 am__fastdepCXX_FALSE
    871 CXXCPP
    872 F77
    873 FFLAGS
    874 ac_ct_F77
    875 LIBTOOL
    876 CWARNFLAGS
    877 PKG_CONFIG
    878 XORG_CFLAGS
    879 XORG_LIBS
    880 DRI_TRUE
    881 DRI_FALSE
    882 DRI_CFLAGS
    883 DRI_LIBS
    884 ATIMISC_CPIO_TRUE
    885 ATIMISC_CPIO_FALSE
    886 ATIMISC_DGA_TRUE
    887 ATIMISC_DGA_FALSE
    888 ATIMISC_TV_OUT_TRUE
    889 ATIMISC_TV_OUT_FALSE
    890 USE_EXA_TRUE
    891 USE_EXA_FALSE
    892 PCIACCESS_CFLAGS
    893 PCIACCESS_LIBS
    894 XSERVER_LIBPCIACCESS_TRUE
    895 XSERVER_LIBPCIACCESS_FALSE
    896 moduledir
    897 DRIVER_NAME
    898 APP_MAN_SUFFIX
    899 LIB_MAN_SUFFIX
    900 FILE_MAN_SUFFIX
    901 MISC_MAN_SUFFIX
    902 DRIVER_MAN_SUFFIX
    903 ADMIN_MAN_SUFFIX
    904 APP_MAN_DIR
    905 LIB_MAN_DIR
    906 FILE_MAN_DIR
    907 MISC_MAN_DIR
    908 DRIVER_MAN_DIR
    909 ADMIN_MAN_DIR
    910 LINUXDOC
    911 PS2PDF
    912 BUILD_LINUXDOC_TRUE
    913 BUILD_LINUXDOC_FALSE
    914 BUILD_PDFDOC_TRUE
    915 BUILD_PDFDOC_FALSE
    916 MAKE_TEXT
    917 MAKE_PS
    918 MAKE_PDF
    919 MAKE_HTML
    920 CHANGELOG_CMD
    921 distcleancheck_listfiles
    922 LIBOBJS
    923 LTLIBOBJS'
    924 ac_subst_files=''
    925       ac_precious_vars='build_alias
    926 host_alias
    927 target_alias
    928 CC
    929 CFLAGS
    930 LDFLAGS
    931 LIBS
    932 CPPFLAGS
    933 CPP
    934 CXX
    935 CXXFLAGS
    936 CCC
    937 CXXCPP
    938 F77
    939 FFLAGS
    940 PKG_CONFIG
    941 XORG_CFLAGS
    942 XORG_LIBS
    943 DRI_CFLAGS
    944 DRI_LIBS
    945 PCIACCESS_CFLAGS
    946 PCIACCESS_LIBS'
    947 
    948 
    949 # Initialize some variables set by options.
    950 ac_init_help=
    951 ac_init_version=false
    952 # The variables have the same names as the options, with
    953 # dashes changed to underlines.
    954 cache_file=/dev/null
    955 exec_prefix=NONE
    956 no_create=
    957 no_recursion=
    958 prefix=NONE
    959 program_prefix=NONE
    960 program_suffix=NONE
    961 program_transform_name=s,x,x,
    962 silent=
    963 site=
    964 srcdir=
    965 verbose=
    966 x_includes=NONE
    967 x_libraries=NONE
    968 
    969 # Installation directory options.
    970 # These are left unexpanded so users can "make install exec_prefix=/foo"
    971 # and all the variables that are supposed to be based on exec_prefix
    972 # by default will actually change.
    973 # Use braces instead of parens because sh, perl, etc. also accept them.
    974 # (The list follows the same order as the GNU Coding Standards.)
    975 bindir='${exec_prefix}/bin'
    976 sbindir='${exec_prefix}/sbin'
    977 libexecdir='${exec_prefix}/libexec'
    978 datarootdir='${prefix}/share'
    979 datadir='${datarootdir}'
    980 sysconfdir='${prefix}/etc'
    981 sharedstatedir='${prefix}/com'
    982 localstatedir='${prefix}/var'
    983 includedir='${prefix}/include'
    984 oldincludedir='/usr/include'
    985 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    986 infodir='${datarootdir}/info'
    987 htmldir='${docdir}'
    988 dvidir='${docdir}'
    989 pdfdir='${docdir}'
    990 psdir='${docdir}'
    991 libdir='${exec_prefix}/lib'
    992 localedir='${datarootdir}/locale'
    993 mandir='${datarootdir}/man'
    994 
    995 ac_prev=
    996 ac_dashdash=
    997 for ac_option
    998 do
    999   # If the previous option needs an argument, assign it.
   1000   if test -n "$ac_prev"; then
   1001     eval $ac_prev=\$ac_option
   1002     ac_prev=
   1003     continue
   1004   fi
   1005 
   1006   case $ac_option in
   1007   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1008   *)	ac_optarg=yes ;;
   1009   esac
   1010 
   1011   # Accept the important Cygnus configure options, so we can diagnose typos.
   1012 
   1013   case $ac_dashdash$ac_option in
   1014   --)
   1015     ac_dashdash=yes ;;
   1016 
   1017   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1018     ac_prev=bindir ;;
   1019   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1020     bindir=$ac_optarg ;;
   1021 
   1022   -build | --build | --buil | --bui | --bu)
   1023     ac_prev=build_alias ;;
   1024   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1025     build_alias=$ac_optarg ;;
   1026 
   1027   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1028   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1029     ac_prev=cache_file ;;
   1030   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1031   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1032     cache_file=$ac_optarg ;;
   1033 
   1034   --config-cache | -C)
   1035     cache_file=config.cache ;;
   1036 
   1037   -datadir | --datadir | --datadi | --datad)
   1038     ac_prev=datadir ;;
   1039   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1040     datadir=$ac_optarg ;;
   1041 
   1042   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1043   | --dataroo | --dataro | --datar)
   1044     ac_prev=datarootdir ;;
   1045   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1046   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1047     datarootdir=$ac_optarg ;;
   1048 
   1049   -disable-* | --disable-*)
   1050     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1051     # Reject names that are not valid shell variable names.
   1052     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1053       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1054    { (exit 1); exit 1; }; }
   1055     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1056     eval enable_$ac_feature=no ;;
   1057 
   1058   -docdir | --docdir | --docdi | --doc | --do)
   1059     ac_prev=docdir ;;
   1060   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1061     docdir=$ac_optarg ;;
   1062 
   1063   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1064     ac_prev=dvidir ;;
   1065   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1066     dvidir=$ac_optarg ;;
   1067 
   1068   -enable-* | --enable-*)
   1069     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1070     # Reject names that are not valid shell variable names.
   1071     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1072       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1073    { (exit 1); exit 1; }; }
   1074     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1075     eval enable_$ac_feature=\$ac_optarg ;;
   1076 
   1077   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1078   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1079   | --exec | --exe | --ex)
   1080     ac_prev=exec_prefix ;;
   1081   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1082   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1083   | --exec=* | --exe=* | --ex=*)
   1084     exec_prefix=$ac_optarg ;;
   1085 
   1086   -gas | --gas | --ga | --g)
   1087     # Obsolete; use --with-gas.
   1088     with_gas=yes ;;
   1089 
   1090   -help | --help | --hel | --he | -h)
   1091     ac_init_help=long ;;
   1092   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1093     ac_init_help=recursive ;;
   1094   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1095     ac_init_help=short ;;
   1096 
   1097   -host | --host | --hos | --ho)
   1098     ac_prev=host_alias ;;
   1099   -host=* | --host=* | --hos=* | --ho=*)
   1100     host_alias=$ac_optarg ;;
   1101 
   1102   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1103     ac_prev=htmldir ;;
   1104   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1105   | --ht=*)
   1106     htmldir=$ac_optarg ;;
   1107 
   1108   -includedir | --includedir | --includedi | --included | --include \
   1109   | --includ | --inclu | --incl | --inc)
   1110     ac_prev=includedir ;;
   1111   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1112   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1113     includedir=$ac_optarg ;;
   1114 
   1115   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1116     ac_prev=infodir ;;
   1117   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1118     infodir=$ac_optarg ;;
   1119 
   1120   -libdir | --libdir | --libdi | --libd)
   1121     ac_prev=libdir ;;
   1122   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1123     libdir=$ac_optarg ;;
   1124 
   1125   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1126   | --libexe | --libex | --libe)
   1127     ac_prev=libexecdir ;;
   1128   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1129   | --libexe=* | --libex=* | --libe=*)
   1130     libexecdir=$ac_optarg ;;
   1131 
   1132   -localedir | --localedir | --localedi | --localed | --locale)
   1133     ac_prev=localedir ;;
   1134   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1135     localedir=$ac_optarg ;;
   1136 
   1137   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1138   | --localstate | --localstat | --localsta | --localst | --locals)
   1139     ac_prev=localstatedir ;;
   1140   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1141   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1142     localstatedir=$ac_optarg ;;
   1143 
   1144   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1145     ac_prev=mandir ;;
   1146   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1147     mandir=$ac_optarg ;;
   1148 
   1149   -nfp | --nfp | --nf)
   1150     # Obsolete; use --without-fp.
   1151     with_fp=no ;;
   1152 
   1153   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1154   | --no-cr | --no-c | -n)
   1155     no_create=yes ;;
   1156 
   1157   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1158   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1159     no_recursion=yes ;;
   1160 
   1161   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1162   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1163   | --oldin | --oldi | --old | --ol | --o)
   1164     ac_prev=oldincludedir ;;
   1165   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1166   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1167   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1168     oldincludedir=$ac_optarg ;;
   1169 
   1170   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1171     ac_prev=prefix ;;
   1172   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1173     prefix=$ac_optarg ;;
   1174 
   1175   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1176   | --program-pre | --program-pr | --program-p)
   1177     ac_prev=program_prefix ;;
   1178   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1179   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1180     program_prefix=$ac_optarg ;;
   1181 
   1182   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1183   | --program-suf | --program-su | --program-s)
   1184     ac_prev=program_suffix ;;
   1185   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1186   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1187     program_suffix=$ac_optarg ;;
   1188 
   1189   -program-transform-name | --program-transform-name \
   1190   | --program-transform-nam | --program-transform-na \
   1191   | --program-transform-n | --program-transform- \
   1192   | --program-transform | --program-transfor \
   1193   | --program-transfo | --program-transf \
   1194   | --program-trans | --program-tran \
   1195   | --progr-tra | --program-tr | --program-t)
   1196     ac_prev=program_transform_name ;;
   1197   -program-transform-name=* | --program-transform-name=* \
   1198   | --program-transform-nam=* | --program-transform-na=* \
   1199   | --program-transform-n=* | --program-transform-=* \
   1200   | --program-transform=* | --program-transfor=* \
   1201   | --program-transfo=* | --program-transf=* \
   1202   | --program-trans=* | --program-tran=* \
   1203   | --progr-tra=* | --program-tr=* | --program-t=*)
   1204     program_transform_name=$ac_optarg ;;
   1205 
   1206   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1207     ac_prev=pdfdir ;;
   1208   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1209     pdfdir=$ac_optarg ;;
   1210 
   1211   -psdir | --psdir | --psdi | --psd | --ps)
   1212     ac_prev=psdir ;;
   1213   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1214     psdir=$ac_optarg ;;
   1215 
   1216   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1217   | -silent | --silent | --silen | --sile | --sil)
   1218     silent=yes ;;
   1219 
   1220   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1221     ac_prev=sbindir ;;
   1222   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1223   | --sbi=* | --sb=*)
   1224     sbindir=$ac_optarg ;;
   1225 
   1226   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1227   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1228   | --sharedst | --shareds | --shared | --share | --shar \
   1229   | --sha | --sh)
   1230     ac_prev=sharedstatedir ;;
   1231   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1232   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1233   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1234   | --sha=* | --sh=*)
   1235     sharedstatedir=$ac_optarg ;;
   1236 
   1237   -site | --site | --sit)
   1238     ac_prev=site ;;
   1239   -site=* | --site=* | --sit=*)
   1240     site=$ac_optarg ;;
   1241 
   1242   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1243     ac_prev=srcdir ;;
   1244   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1245     srcdir=$ac_optarg ;;
   1246 
   1247   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1248   | --syscon | --sysco | --sysc | --sys | --sy)
   1249     ac_prev=sysconfdir ;;
   1250   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1251   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1252     sysconfdir=$ac_optarg ;;
   1253 
   1254   -target | --target | --targe | --targ | --tar | --ta | --t)
   1255     ac_prev=target_alias ;;
   1256   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1257     target_alias=$ac_optarg ;;
   1258 
   1259   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1260     verbose=yes ;;
   1261 
   1262   -version | --version | --versio | --versi | --vers | -V)
   1263     ac_init_version=: ;;
   1264 
   1265   -with-* | --with-*)
   1266     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1267     # Reject names that are not valid shell variable names.
   1268     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1269       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1270    { (exit 1); exit 1; }; }
   1271     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1272     eval with_$ac_package=\$ac_optarg ;;
   1273 
   1274   -without-* | --without-*)
   1275     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1276     # Reject names that are not valid shell variable names.
   1277     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1278       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1279    { (exit 1); exit 1; }; }
   1280     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1281     eval with_$ac_package=no ;;
   1282 
   1283   --x)
   1284     # Obsolete; use --with-x.
   1285     with_x=yes ;;
   1286 
   1287   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1288   | --x-incl | --x-inc | --x-in | --x-i)
   1289     ac_prev=x_includes ;;
   1290   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1291   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1292     x_includes=$ac_optarg ;;
   1293 
   1294   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1295   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1296     ac_prev=x_libraries ;;
   1297   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1298   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1299     x_libraries=$ac_optarg ;;
   1300 
   1301   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1302 Try \`$0 --help' for more information." >&2
   1303    { (exit 1); exit 1; }; }
   1304     ;;
   1305 
   1306   *=*)
   1307     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1308     # Reject names that are not valid shell variable names.
   1309     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1310       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1311    { (exit 1); exit 1; }; }
   1312     eval $ac_envvar=\$ac_optarg
   1313     export $ac_envvar ;;
   1314 
   1315   *)
   1316     # FIXME: should be removed in autoconf 3.0.
   1317     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1318     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1319       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1320     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1321     ;;
   1322 
   1323   esac
   1324 done
   1325 
   1326 if test -n "$ac_prev"; then
   1327   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1328   { echo "$as_me: error: missing argument to $ac_option" >&2
   1329    { (exit 1); exit 1; }; }
   1330 fi
   1331 
   1332 # Be sure to have absolute directory names.
   1333 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1334 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1335 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1336 		libdir localedir mandir
   1337 do
   1338   eval ac_val=\$$ac_var
   1339   case $ac_val in
   1340     [\\/$]* | ?:[\\/]* )  continue;;
   1341     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1342   esac
   1343   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1344    { (exit 1); exit 1; }; }
   1345 done
   1346 
   1347 # There might be people who depend on the old broken behavior: `$host'
   1348 # used to hold the argument of --host etc.
   1349 # FIXME: To remove some day.
   1350 build=$build_alias
   1351 host=$host_alias
   1352 target=$target_alias
   1353 
   1354 # FIXME: To remove some day.
   1355 if test "x$host_alias" != x; then
   1356   if test "x$build_alias" = x; then
   1357     cross_compiling=maybe
   1358     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1359     If a cross compiler is detected then cross compile mode will be used." >&2
   1360   elif test "x$build_alias" != "x$host_alias"; then
   1361     cross_compiling=yes
   1362   fi
   1363 fi
   1364 
   1365 ac_tool_prefix=
   1366 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1367 
   1368 test "$silent" = yes && exec 6>/dev/null
   1369 
   1370 
   1371 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1372 ac_ls_di=`ls -di .` &&
   1373 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1374   { echo "$as_me: error: Working directory cannot be determined" >&2
   1375    { (exit 1); exit 1; }; }
   1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1377   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1378    { (exit 1); exit 1; }; }
   1379 
   1380 
   1381 # Find the source files, if location was not specified.
   1382 if test -z "$srcdir"; then
   1383   ac_srcdir_defaulted=yes
   1384   # Try the directory containing this script, then the parent directory.
   1385   ac_confdir=`$as_dirname -- "$0" ||
   1386 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1387 	 X"$0" : 'X\(//\)[^/]' \| \
   1388 	 X"$0" : 'X\(//\)$' \| \
   1389 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1390 echo X"$0" |
   1391     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1392 	    s//\1/
   1393 	    q
   1394 	  }
   1395 	  /^X\(\/\/\)[^/].*/{
   1396 	    s//\1/
   1397 	    q
   1398 	  }
   1399 	  /^X\(\/\/\)$/{
   1400 	    s//\1/
   1401 	    q
   1402 	  }
   1403 	  /^X\(\/\).*/{
   1404 	    s//\1/
   1405 	    q
   1406 	  }
   1407 	  s/.*/./; q'`
   1408   srcdir=$ac_confdir
   1409   if test ! -r "$srcdir/$ac_unique_file"; then
   1410     srcdir=..
   1411   fi
   1412 else
   1413   ac_srcdir_defaulted=no
   1414 fi
   1415 if test ! -r "$srcdir/$ac_unique_file"; then
   1416   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1417   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1418    { (exit 1); exit 1; }; }
   1419 fi
   1420 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1421 ac_abs_confdir=`(
   1422 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1423    { (exit 1); exit 1; }; }
   1424 	pwd)`
   1425 # When building in place, set srcdir=.
   1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1427   srcdir=.
   1428 fi
   1429 # Remove unnecessary trailing slashes from srcdir.
   1430 # Double slashes in file names in object file debugging info
   1431 # mess up M-x gdb in Emacs.
   1432 case $srcdir in
   1433 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1434 esac
   1435 for ac_var in $ac_precious_vars; do
   1436   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1437   eval ac_env_${ac_var}_value=\$${ac_var}
   1438   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1439   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1440 done
   1441 
   1442 #
   1443 # Report the --help message.
   1444 #
   1445 if test "$ac_init_help" = "long"; then
   1446   # Omit some internal or obsolete options to make the list less imposing.
   1447   # This message is too long to be a string in the A/UX 3.1 sh.
   1448   cat <<_ACEOF
   1449 \`configure' configures xf86-video-mach64 6.8.1 to adapt to many kinds of systems.
   1450 
   1451 Usage: $0 [OPTION]... [VAR=VALUE]...
   1452 
   1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1454 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1455 
   1456 Defaults for the options are specified in brackets.
   1457 
   1458 Configuration:
   1459   -h, --help              display this help and exit
   1460       --help=short        display options specific to this package
   1461       --help=recursive    display the short help of all the included packages
   1462   -V, --version           display version information and exit
   1463   -q, --quiet, --silent   do not print \`checking...' messages
   1464       --cache-file=FILE   cache test results in FILE [disabled]
   1465   -C, --config-cache      alias for \`--cache-file=config.cache'
   1466   -n, --no-create         do not create output files
   1467       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1468 
   1469 Installation directories:
   1470   --prefix=PREFIX         install architecture-independent files in PREFIX
   1471 			  [$ac_default_prefix]
   1472   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1473 			  [PREFIX]
   1474 
   1475 By default, \`make install' will install all the files in
   1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1478 for instance \`--prefix=\$HOME'.
   1479 
   1480 For better control, use the options below.
   1481 
   1482 Fine tuning of the installation directories:
   1483   --bindir=DIR           user executables [EPREFIX/bin]
   1484   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1485   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1486   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1487   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1488   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1489   --libdir=DIR           object code libraries [EPREFIX/lib]
   1490   --includedir=DIR       C header files [PREFIX/include]
   1491   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1492   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1493   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1494   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1495   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1496   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1497   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-mach64]
   1498   --htmldir=DIR          html documentation [DOCDIR]
   1499   --dvidir=DIR           dvi documentation [DOCDIR]
   1500   --pdfdir=DIR           pdf documentation [DOCDIR]
   1501   --psdir=DIR            ps documentation [DOCDIR]
   1502 _ACEOF
   1503 
   1504   cat <<\_ACEOF
   1505 
   1506 Program names:
   1507   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1508   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1509   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1510 
   1511 System types:
   1512   --build=BUILD     configure for building on BUILD [guessed]
   1513   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1514 _ACEOF
   1515 fi
   1516 
   1517 if test -n "$ac_init_help"; then
   1518   case $ac_init_help in
   1519      short | recursive ) echo "Configuration of xf86-video-mach64 6.8.1:";;
   1520    esac
   1521   cat <<\_ACEOF
   1522 
   1523 Optional Features:
   1524   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1525   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1526   --enable-maintainer-mode  enable make rules and dependencies not useful
   1527 			  (and sometimes confusing) to the casual installer
   1528   --enable-static[=PKGS]  build static libraries [default=no]
   1529   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1530   --enable-fast-install[=PKGS]
   1531                           optimize for fast installation [default=yes]
   1532   --disable-dependency-tracking  speeds up one-time build
   1533   --enable-dependency-tracking   do not reject slow dependency extractors
   1534   --disable-libtool-lock  avoid locking (might break parallel builds)
   1535   --disable-dri           Disable DRI support [default=auto]
   1536   --disable-exa           Disable EXA support [default=enabled]
   1537 
   1538 Optional Packages:
   1539   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1540   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1541   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1542   --with-pic              try to use only PIC/non-PIC objects [default=use
   1543                           both]
   1544   --with-tags[=TAGS]      include additional configurations [automatic]
   1545   --with-xorg-module-dir=DIR
   1546                           Default xorg module directory
   1547                           [default=$libdir/xorg/modules]
   1548   --with-release-version=STRING
   1549                           Use release version string in package name
   1550 
   1551 Some influential environment variables:
   1552   CC          C compiler command
   1553   CFLAGS      C compiler flags
   1554   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1555               nonstandard directory <lib dir>
   1556   LIBS        libraries to pass to the linker, e.g. -l<library>
   1557   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1558               you have headers in a nonstandard directory <include dir>
   1559   CPP         C preprocessor
   1560   CXX         C++ compiler command
   1561   CXXFLAGS    C++ compiler flags
   1562   CXXCPP      C++ preprocessor
   1563   F77         Fortran 77 compiler command
   1564   FFLAGS      Fortran 77 compiler flags
   1565   PKG_CONFIG  path to pkg-config utility
   1566   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1567   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1568   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1569   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1570   PCIACCESS_CFLAGS
   1571               C compiler flags for PCIACCESS, overriding pkg-config
   1572   PCIACCESS_LIBS
   1573               linker flags for PCIACCESS, overriding pkg-config
   1574 
   1575 Use these variables to override the choices made by `configure' or to help
   1576 it to find libraries and programs with nonstandard names/locations.
   1577 
   1578 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1579 _ACEOF
   1580 ac_status=$?
   1581 fi
   1582 
   1583 if test "$ac_init_help" = "recursive"; then
   1584   # If there are subdirs, report their specific --help.
   1585   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1586     test -d "$ac_dir" || continue
   1587     ac_builddir=.
   1588 
   1589 case "$ac_dir" in
   1590 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1591 *)
   1592   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1593   # A ".." for each directory in $ac_dir_suffix.
   1594   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1595   case $ac_top_builddir_sub in
   1596   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1597   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1598   esac ;;
   1599 esac
   1600 ac_abs_top_builddir=$ac_pwd
   1601 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1602 # for backward compatibility:
   1603 ac_top_builddir=$ac_top_build_prefix
   1604 
   1605 case $srcdir in
   1606   .)  # We are building in place.
   1607     ac_srcdir=.
   1608     ac_top_srcdir=$ac_top_builddir_sub
   1609     ac_abs_top_srcdir=$ac_pwd ;;
   1610   [\\/]* | ?:[\\/]* )  # Absolute name.
   1611     ac_srcdir=$srcdir$ac_dir_suffix;
   1612     ac_top_srcdir=$srcdir
   1613     ac_abs_top_srcdir=$srcdir ;;
   1614   *) # Relative name.
   1615     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1616     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1617     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1618 esac
   1619 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1620 
   1621     cd "$ac_dir" || { ac_status=$?; continue; }
   1622     # Check for guested configure.
   1623     if test -f "$ac_srcdir/configure.gnu"; then
   1624       echo &&
   1625       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1626     elif test -f "$ac_srcdir/configure"; then
   1627       echo &&
   1628       $SHELL "$ac_srcdir/configure" --help=recursive
   1629     else
   1630       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1631     fi || ac_status=$?
   1632     cd "$ac_pwd" || { ac_status=$?; break; }
   1633   done
   1634 fi
   1635 
   1636 test -n "$ac_init_help" && exit $ac_status
   1637 if $ac_init_version; then
   1638   cat <<\_ACEOF
   1639 xf86-video-mach64 configure 6.8.1
   1640 generated by GNU Autoconf 2.61
   1641 
   1642 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1643 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1644 This configure script is free software; the Free Software Foundation
   1645 gives unlimited permission to copy, distribute and modify it.
   1646 _ACEOF
   1647   exit
   1648 fi
   1649 cat >config.log <<_ACEOF
   1650 This file contains any messages produced by compilers while
   1651 running configure, to aid debugging if configure makes a mistake.
   1652 
   1653 It was created by xf86-video-mach64 $as_me 6.8.1, which was
   1654 generated by GNU Autoconf 2.61.  Invocation command line was
   1655 
   1656   $ $0 $@
   1657 
   1658 _ACEOF
   1659 exec 5>>config.log
   1660 {
   1661 cat <<_ASUNAME
   1662 ## --------- ##
   1663 ## Platform. ##
   1664 ## --------- ##
   1665 
   1666 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1667 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1668 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1669 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1670 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1671 
   1672 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1673 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1674 
   1675 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1676 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1677 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1678 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1679 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1680 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1681 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1682 
   1683 _ASUNAME
   1684 
   1685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1686 for as_dir in $PATH
   1687 do
   1688   IFS=$as_save_IFS
   1689   test -z "$as_dir" && as_dir=.
   1690   echo "PATH: $as_dir"
   1691 done
   1692 IFS=$as_save_IFS
   1693 
   1694 } >&5
   1695 
   1696 cat >&5 <<_ACEOF
   1697 
   1698 
   1699 ## ----------- ##
   1700 ## Core tests. ##
   1701 ## ----------- ##
   1702 
   1703 _ACEOF
   1704 
   1705 
   1706 # Keep a trace of the command line.
   1707 # Strip out --no-create and --no-recursion so they do not pile up.
   1708 # Strip out --silent because we don't want to record it for future runs.
   1709 # Also quote any args containing shell meta-characters.
   1710 # Make two passes to allow for proper duplicate-argument suppression.
   1711 ac_configure_args=
   1712 ac_configure_args0=
   1713 ac_configure_args1=
   1714 ac_must_keep_next=false
   1715 for ac_pass in 1 2
   1716 do
   1717   for ac_arg
   1718   do
   1719     case $ac_arg in
   1720     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1721     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1722     | -silent | --silent | --silen | --sile | --sil)
   1723       continue ;;
   1724     *\'*)
   1725       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1726     esac
   1727     case $ac_pass in
   1728     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1729     2)
   1730       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1731       if test $ac_must_keep_next = true; then
   1732 	ac_must_keep_next=false # Got value, back to normal.
   1733       else
   1734 	case $ac_arg in
   1735 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1736 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1737 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1738 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1739 	    case "$ac_configure_args0 " in
   1740 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1741 	    esac
   1742 	    ;;
   1743 	  -* ) ac_must_keep_next=true ;;
   1744 	esac
   1745       fi
   1746       ac_configure_args="$ac_configure_args '$ac_arg'"
   1747       ;;
   1748     esac
   1749   done
   1750 done
   1751 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1752 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1753 
   1754 # When interrupted or exit'd, cleanup temporary files, and complete
   1755 # config.log.  We remove comments because anyway the quotes in there
   1756 # would cause problems or look ugly.
   1757 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1758 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1759 trap 'exit_status=$?
   1760   # Save into config.log some information that might help in debugging.
   1761   {
   1762     echo
   1763 
   1764     cat <<\_ASBOX
   1765 ## ---------------- ##
   1766 ## Cache variables. ##
   1767 ## ---------------- ##
   1768 _ASBOX
   1769     echo
   1770     # The following way of writing the cache mishandles newlines in values,
   1771 (
   1772   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1773     eval ac_val=\$$ac_var
   1774     case $ac_val in #(
   1775     *${as_nl}*)
   1776       case $ac_var in #(
   1777       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1778 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1779       esac
   1780       case $ac_var in #(
   1781       _ | IFS | as_nl) ;; #(
   1782       *) $as_unset $ac_var ;;
   1783       esac ;;
   1784     esac
   1785   done
   1786   (set) 2>&1 |
   1787     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1788     *${as_nl}ac_space=\ *)
   1789       sed -n \
   1790 	"s/'\''/'\''\\\\'\'''\''/g;
   1791 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1792       ;; #(
   1793     *)
   1794       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1795       ;;
   1796     esac |
   1797     sort
   1798 )
   1799     echo
   1800 
   1801     cat <<\_ASBOX
   1802 ## ----------------- ##
   1803 ## Output variables. ##
   1804 ## ----------------- ##
   1805 _ASBOX
   1806     echo
   1807     for ac_var in $ac_subst_vars
   1808     do
   1809       eval ac_val=\$$ac_var
   1810       case $ac_val in
   1811       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1812       esac
   1813       echo "$ac_var='\''$ac_val'\''"
   1814     done | sort
   1815     echo
   1816 
   1817     if test -n "$ac_subst_files"; then
   1818       cat <<\_ASBOX
   1819 ## ------------------- ##
   1820 ## File substitutions. ##
   1821 ## ------------------- ##
   1822 _ASBOX
   1823       echo
   1824       for ac_var in $ac_subst_files
   1825       do
   1826 	eval ac_val=\$$ac_var
   1827 	case $ac_val in
   1828 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1829 	esac
   1830 	echo "$ac_var='\''$ac_val'\''"
   1831       done | sort
   1832       echo
   1833     fi
   1834 
   1835     if test -s confdefs.h; then
   1836       cat <<\_ASBOX
   1837 ## ----------- ##
   1838 ## confdefs.h. ##
   1839 ## ----------- ##
   1840 _ASBOX
   1841       echo
   1842       cat confdefs.h
   1843       echo
   1844     fi
   1845     test "$ac_signal" != 0 &&
   1846       echo "$as_me: caught signal $ac_signal"
   1847     echo "$as_me: exit $exit_status"
   1848   } >&5
   1849   rm -f core *.core core.conftest.* &&
   1850     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1851     exit $exit_status
   1852 ' 0
   1853 for ac_signal in 1 2 13 15; do
   1854   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1855 done
   1856 ac_signal=0
   1857 
   1858 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1859 rm -f -r conftest* confdefs.h
   1860 
   1861 # Predefined preprocessor variables.
   1862 
   1863 cat >>confdefs.h <<_ACEOF
   1864 #define PACKAGE_NAME "$PACKAGE_NAME"
   1865 _ACEOF
   1866 
   1867 
   1868 cat >>confdefs.h <<_ACEOF
   1869 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1870 _ACEOF
   1871 
   1872 
   1873 cat >>confdefs.h <<_ACEOF
   1874 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1875 _ACEOF
   1876 
   1877 
   1878 cat >>confdefs.h <<_ACEOF
   1879 #define PACKAGE_STRING "$PACKAGE_STRING"
   1880 _ACEOF
   1881 
   1882 
   1883 cat >>confdefs.h <<_ACEOF
   1884 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1885 _ACEOF
   1886 
   1887 
   1888 # Let the site file select an alternate cache file if it wants to.
   1889 # Prefer explicitly selected file to automatically selected ones.
   1890 if test -n "$CONFIG_SITE"; then
   1891   set x "$CONFIG_SITE"
   1892 elif test "x$prefix" != xNONE; then
   1893   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1894 else
   1895   set x "$ac_default_prefix/share/config.site" \
   1896 	"$ac_default_prefix/etc/config.site"
   1897 fi
   1898 shift
   1899 for ac_site_file
   1900 do
   1901   if test -r "$ac_site_file"; then
   1902     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1903 echo "$as_me: loading site script $ac_site_file" >&6;}
   1904     sed 's/^/| /' "$ac_site_file" >&5
   1905     . "$ac_site_file"
   1906   fi
   1907 done
   1908 
   1909 if test -r "$cache_file"; then
   1910   # Some versions of bash will fail to source /dev/null (special
   1911   # files actually), so we avoid doing that.
   1912   if test -f "$cache_file"; then
   1913     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1914 echo "$as_me: loading cache $cache_file" >&6;}
   1915     case $cache_file in
   1916       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1917       *)                      . "./$cache_file";;
   1918     esac
   1919   fi
   1920 else
   1921   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1922 echo "$as_me: creating cache $cache_file" >&6;}
   1923   >$cache_file
   1924 fi
   1925 
   1926 # Check that the precious variables saved in the cache have kept the same
   1927 # value.
   1928 ac_cache_corrupted=false
   1929 for ac_var in $ac_precious_vars; do
   1930   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1931   eval ac_new_set=\$ac_env_${ac_var}_set
   1932   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1933   eval ac_new_val=\$ac_env_${ac_var}_value
   1934   case $ac_old_set,$ac_new_set in
   1935     set,)
   1936       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1937 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1938       ac_cache_corrupted=: ;;
   1939     ,set)
   1940       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1941 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1942       ac_cache_corrupted=: ;;
   1943     ,);;
   1944     *)
   1945       if test "x$ac_old_val" != "x$ac_new_val"; then
   1946 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1947 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1948 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1949 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1950 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1951 echo "$as_me:   current value: $ac_new_val" >&2;}
   1952 	ac_cache_corrupted=:
   1953       fi;;
   1954   esac
   1955   # Pass precious variables to config.status.
   1956   if test "$ac_new_set" = set; then
   1957     case $ac_new_val in
   1958     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1959     *) ac_arg=$ac_var=$ac_new_val ;;
   1960     esac
   1961     case " $ac_configure_args " in
   1962       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1963       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1964     esac
   1965   fi
   1966 done
   1967 if $ac_cache_corrupted; then
   1968   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1969 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1970   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1971 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1972    { (exit 1); exit 1; }; }
   1973 fi
   1974 
   1975 
   1976 
   1977 
   1978 
   1979 
   1980 
   1981 
   1982 
   1983 
   1984 
   1985 
   1986 
   1987 
   1988 
   1989 
   1990 
   1991 
   1992 
   1993 
   1994 
   1995 
   1996 
   1997 
   1998 
   1999 ac_ext=c
   2000 ac_cpp='$CPP $CPPFLAGS'
   2001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2004 
   2005 
   2006 
   2007 
   2008 ac_config_headers="$ac_config_headers config.h"
   2009 
   2010 ac_aux_dir=
   2011 for ac_dir in . "$srcdir"/.; do
   2012   if test -f "$ac_dir/install-sh"; then
   2013     ac_aux_dir=$ac_dir
   2014     ac_install_sh="$ac_aux_dir/install-sh -c"
   2015     break
   2016   elif test -f "$ac_dir/install.sh"; then
   2017     ac_aux_dir=$ac_dir
   2018     ac_install_sh="$ac_aux_dir/install.sh -c"
   2019     break
   2020   elif test -f "$ac_dir/shtool"; then
   2021     ac_aux_dir=$ac_dir
   2022     ac_install_sh="$ac_aux_dir/shtool install -c"
   2023     break
   2024   fi
   2025 done
   2026 if test -z "$ac_aux_dir"; then
   2027   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2028 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2029    { (exit 1); exit 1; }; }
   2030 fi
   2031 
   2032 # These three variables are undocumented and unsupported,
   2033 # and are intended to be withdrawn in a future Autoconf release.
   2034 # They can cause serious problems if a builder's source tree is in a directory
   2035 # whose full name contains unusual characters.
   2036 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2037 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2038 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2039 
   2040 
   2041 
   2042 am__api_version='1.10'
   2043 
   2044 # Find a good install program.  We prefer a C program (faster),
   2045 # so one script is as good as another.  But avoid the broken or
   2046 # incompatible versions:
   2047 # SysV /etc/install, /usr/sbin/install
   2048 # SunOS /usr/etc/install
   2049 # IRIX /sbin/install
   2050 # AIX /bin/install
   2051 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2052 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2053 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2054 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2055 # OS/2's system install, which has a completely different semantic
   2056 # ./install, which can be erroneously created by make from ./install.sh.
   2057 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2058 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2059 if test -z "$INSTALL"; then
   2060 if test "${ac_cv_path_install+set}" = set; then
   2061   echo $ECHO_N "(cached) $ECHO_C" >&6
   2062 else
   2063   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2064 for as_dir in $PATH
   2065 do
   2066   IFS=$as_save_IFS
   2067   test -z "$as_dir" && as_dir=.
   2068   # Account for people who put trailing slashes in PATH elements.
   2069 case $as_dir/ in
   2070   ./ | .// | /cC/* | \
   2071   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2072   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2073   /usr/ucb/* ) ;;
   2074   *)
   2075     # OSF1 and SCO ODT 3.0 have their own names for install.
   2076     # Don't use installbsd from OSF since it installs stuff as root
   2077     # by default.
   2078     for ac_prog in ginstall scoinst install; do
   2079       for ac_exec_ext in '' $ac_executable_extensions; do
   2080 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2081 	  if test $ac_prog = install &&
   2082 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2083 	    # AIX install.  It has an incompatible calling convention.
   2084 	    :
   2085 	  elif test $ac_prog = install &&
   2086 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2087 	    # program-specific install script used by HP pwplus--don't use.
   2088 	    :
   2089 	  else
   2090 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2091 	    break 3
   2092 	  fi
   2093 	fi
   2094       done
   2095     done
   2096     ;;
   2097 esac
   2098 done
   2099 IFS=$as_save_IFS
   2100 
   2101 
   2102 fi
   2103   if test "${ac_cv_path_install+set}" = set; then
   2104     INSTALL=$ac_cv_path_install
   2105   else
   2106     # As a last resort, use the slow shell script.  Don't cache a
   2107     # value for INSTALL within a source directory, because that will
   2108     # break other packages using the cache if that directory is
   2109     # removed, or if the value is a relative name.
   2110     INSTALL=$ac_install_sh
   2111   fi
   2112 fi
   2113 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2114 echo "${ECHO_T}$INSTALL" >&6; }
   2115 
   2116 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2117 # It thinks the first close brace ends the variable substitution.
   2118 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2119 
   2120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2121 
   2122 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2123 
   2124 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2125 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2126 # Just in case
   2127 sleep 1
   2128 echo timestamp > conftest.file
   2129 # Do `set' in a subshell so we don't clobber the current shell's
   2130 # arguments.  Must try -L first in case configure is actually a
   2131 # symlink; some systems play weird games with the mod time of symlinks
   2132 # (eg FreeBSD returns the mod time of the symlink's containing
   2133 # directory).
   2134 if (
   2135    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2136    if test "$*" = "X"; then
   2137       # -L didn't work.
   2138       set X `ls -t $srcdir/configure conftest.file`
   2139    fi
   2140    rm -f conftest.file
   2141    if test "$*" != "X $srcdir/configure conftest.file" \
   2142       && test "$*" != "X conftest.file $srcdir/configure"; then
   2143 
   2144       # If neither matched, then we have a broken ls.  This can happen
   2145       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2146       # broken ls alias from the environment.  This has actually
   2147       # happened.  Such a system could not be considered "sane".
   2148       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2149 alias in your environment" >&5
   2150 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2151 alias in your environment" >&2;}
   2152    { (exit 1); exit 1; }; }
   2153    fi
   2154 
   2155    test "$2" = conftest.file
   2156    )
   2157 then
   2158    # Ok.
   2159    :
   2160 else
   2161    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2162 Check your system clock" >&5
   2163 echo "$as_me: error: newly created file is older than distributed files!
   2164 Check your system clock" >&2;}
   2165    { (exit 1); exit 1; }; }
   2166 fi
   2167 { echo "$as_me:$LINENO: result: yes" >&5
   2168 echo "${ECHO_T}yes" >&6; }
   2169 test "$program_prefix" != NONE &&
   2170   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2171 # Use a double $ so make ignores it.
   2172 test "$program_suffix" != NONE &&
   2173   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2174 # Double any \ or $.  echo might interpret backslashes.
   2175 # By default was `s,x,x', remove it if useless.
   2176 cat <<\_ACEOF >conftest.sed
   2177 s/[\\$]/&&/g;s/;s,x,x,$//
   2178 _ACEOF
   2179 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2180 rm -f conftest.sed
   2181 
   2182 # expand $ac_aux_dir to an absolute path
   2183 am_aux_dir=`cd $ac_aux_dir && pwd`
   2184 
   2185 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2186 # Use eval to expand $SHELL
   2187 if eval "$MISSING --run true"; then
   2188   am_missing_run="$MISSING --run "
   2189 else
   2190   am_missing_run=
   2191   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2192 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2193 fi
   2194 
   2195 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2196 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2197 if test -z "$MKDIR_P"; then
   2198   if test "${ac_cv_path_mkdir+set}" = set; then
   2199   echo $ECHO_N "(cached) $ECHO_C" >&6
   2200 else
   2201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2202 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2203 do
   2204   IFS=$as_save_IFS
   2205   test -z "$as_dir" && as_dir=.
   2206   for ac_prog in mkdir gmkdir; do
   2207 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2208 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2209 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2210 	     'mkdir (GNU coreutils) '* | \
   2211 	     'mkdir (coreutils) '* | \
   2212 	     'mkdir (fileutils) '4.1*)
   2213 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2214 	       break 3;;
   2215 	   esac
   2216 	 done
   2217        done
   2218 done
   2219 IFS=$as_save_IFS
   2220 
   2221 fi
   2222 
   2223   if test "${ac_cv_path_mkdir+set}" = set; then
   2224     MKDIR_P="$ac_cv_path_mkdir -p"
   2225   else
   2226     # As a last resort, use the slow shell script.  Don't cache a
   2227     # value for MKDIR_P within a source directory, because that will
   2228     # break other packages using the cache if that directory is
   2229     # removed, or if the value is a relative name.
   2230     test -d ./--version && rmdir ./--version
   2231     MKDIR_P="$ac_install_sh -d"
   2232   fi
   2233 fi
   2234 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2235 echo "${ECHO_T}$MKDIR_P" >&6; }
   2236 
   2237 mkdir_p="$MKDIR_P"
   2238 case $mkdir_p in
   2239   [\\/$]* | ?:[\\/]*) ;;
   2240   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2241 esac
   2242 
   2243 for ac_prog in gawk mawk nawk awk
   2244 do
   2245   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2246 set dummy $ac_prog; ac_word=$2
   2247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2249 if test "${ac_cv_prog_AWK+set}" = set; then
   2250   echo $ECHO_N "(cached) $ECHO_C" >&6
   2251 else
   2252   if test -n "$AWK"; then
   2253   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2254 else
   2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2256 for as_dir in $PATH
   2257 do
   2258   IFS=$as_save_IFS
   2259   test -z "$as_dir" && as_dir=.
   2260   for ac_exec_ext in '' $ac_executable_extensions; do
   2261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2262     ac_cv_prog_AWK="$ac_prog"
   2263     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2264     break 2
   2265   fi
   2266 done
   2267 done
   2268 IFS=$as_save_IFS
   2269 
   2270 fi
   2271 fi
   2272 AWK=$ac_cv_prog_AWK
   2273 if test -n "$AWK"; then
   2274   { echo "$as_me:$LINENO: result: $AWK" >&5
   2275 echo "${ECHO_T}$AWK" >&6; }
   2276 else
   2277   { echo "$as_me:$LINENO: result: no" >&5
   2278 echo "${ECHO_T}no" >&6; }
   2279 fi
   2280 
   2281 
   2282   test -n "$AWK" && break
   2283 done
   2284 
   2285 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2286 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2287 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2288 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2289   echo $ECHO_N "(cached) $ECHO_C" >&6
   2290 else
   2291   cat >conftest.make <<\_ACEOF
   2292 SHELL = /bin/sh
   2293 all:
   2294 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2295 _ACEOF
   2296 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2297 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2298   *@@@%%%=?*=@@@%%%*)
   2299     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2300   *)
   2301     eval ac_cv_prog_make_${ac_make}_set=no;;
   2302 esac
   2303 rm -f conftest.make
   2304 fi
   2305 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2306   { echo "$as_me:$LINENO: result: yes" >&5
   2307 echo "${ECHO_T}yes" >&6; }
   2308   SET_MAKE=
   2309 else
   2310   { echo "$as_me:$LINENO: result: no" >&5
   2311 echo "${ECHO_T}no" >&6; }
   2312   SET_MAKE="MAKE=${MAKE-make}"
   2313 fi
   2314 
   2315 rm -rf .tst 2>/dev/null
   2316 mkdir .tst 2>/dev/null
   2317 if test -d .tst; then
   2318   am__leading_dot=.
   2319 else
   2320   am__leading_dot=_
   2321 fi
   2322 rmdir .tst 2>/dev/null
   2323 
   2324 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2325   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2326   # is not polluted with repeated "-I."
   2327   am__isrc=' -I$(srcdir)'
   2328   # test to see if srcdir already configured
   2329   if test -f $srcdir/config.status; then
   2330     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2331 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2332    { (exit 1); exit 1; }; }
   2333   fi
   2334 fi
   2335 
   2336 # test whether we have cygpath
   2337 if test -z "$CYGPATH_W"; then
   2338   if (cygpath --version) >/dev/null 2>/dev/null; then
   2339     CYGPATH_W='cygpath -w'
   2340   else
   2341     CYGPATH_W=echo
   2342   fi
   2343 fi
   2344 
   2345 
   2346 # Define the identity of the package.
   2347  PACKAGE='xf86-video-mach64'
   2348  VERSION='6.8.1'
   2349 
   2350 
   2351 cat >>confdefs.h <<_ACEOF
   2352 #define PACKAGE "$PACKAGE"
   2353 _ACEOF
   2354 
   2355 
   2356 cat >>confdefs.h <<_ACEOF
   2357 #define VERSION "$VERSION"
   2358 _ACEOF
   2359 
   2360 # Some tools Automake needs.
   2361 
   2362 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2363 
   2364 
   2365 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2366 
   2367 
   2368 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2369 
   2370 
   2371 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2372 
   2373 
   2374 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2375 
   2376 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2377 
   2378 # Installed binaries are usually stripped using `strip' when the user
   2379 # run `make install-strip'.  However `strip' might not be the right
   2380 # tool to use in cross-compilation environments, therefore Automake
   2381 # will honor the `STRIP' environment variable to overrule this program.
   2382 if test "$cross_compiling" != no; then
   2383   if test -n "$ac_tool_prefix"; then
   2384   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2385 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2388 if test "${ac_cv_prog_STRIP+set}" = set; then
   2389   echo $ECHO_N "(cached) $ECHO_C" >&6
   2390 else
   2391   if test -n "$STRIP"; then
   2392   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2393 else
   2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2395 for as_dir in $PATH
   2396 do
   2397   IFS=$as_save_IFS
   2398   test -z "$as_dir" && as_dir=.
   2399   for ac_exec_ext in '' $ac_executable_extensions; do
   2400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2401     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2402     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2403     break 2
   2404   fi
   2405 done
   2406 done
   2407 IFS=$as_save_IFS
   2408 
   2409 fi
   2410 fi
   2411 STRIP=$ac_cv_prog_STRIP
   2412 if test -n "$STRIP"; then
   2413   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2414 echo "${ECHO_T}$STRIP" >&6; }
   2415 else
   2416   { echo "$as_me:$LINENO: result: no" >&5
   2417 echo "${ECHO_T}no" >&6; }
   2418 fi
   2419 
   2420 
   2421 fi
   2422 if test -z "$ac_cv_prog_STRIP"; then
   2423   ac_ct_STRIP=$STRIP
   2424   # Extract the first word of "strip", so it can be a program name with args.
   2425 set dummy strip; ac_word=$2
   2426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2428 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2429   echo $ECHO_N "(cached) $ECHO_C" >&6
   2430 else
   2431   if test -n "$ac_ct_STRIP"; then
   2432   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2433 else
   2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2435 for as_dir in $PATH
   2436 do
   2437   IFS=$as_save_IFS
   2438   test -z "$as_dir" && as_dir=.
   2439   for ac_exec_ext in '' $ac_executable_extensions; do
   2440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2441     ac_cv_prog_ac_ct_STRIP="strip"
   2442     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2443     break 2
   2444   fi
   2445 done
   2446 done
   2447 IFS=$as_save_IFS
   2448 
   2449 fi
   2450 fi
   2451 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2452 if test -n "$ac_ct_STRIP"; then
   2453   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2454 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2455 else
   2456   { echo "$as_me:$LINENO: result: no" >&5
   2457 echo "${ECHO_T}no" >&6; }
   2458 fi
   2459 
   2460   if test "x$ac_ct_STRIP" = x; then
   2461     STRIP=":"
   2462   else
   2463     case $cross_compiling:$ac_tool_warned in
   2464 yes:)
   2465 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2466 whose name does not start with the host triplet.  If you think this
   2467 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2468 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2469 whose name does not start with the host triplet.  If you think this
   2470 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2471 ac_tool_warned=yes ;;
   2472 esac
   2473     STRIP=$ac_ct_STRIP
   2474   fi
   2475 else
   2476   STRIP="$ac_cv_prog_STRIP"
   2477 fi
   2478 
   2479 fi
   2480 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2481 
   2482 # We need awk for the "check" target.  The system "awk" is bad on
   2483 # some platforms.
   2484 # Always define AMTAR for backward compatibility.
   2485 
   2486 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2487 
   2488 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2489 
   2490 
   2491 
   2492 
   2493 
   2494 
   2495 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2496 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2497     # Check whether --enable-maintainer-mode was given.
   2498 if test "${enable_maintainer_mode+set}" = set; then
   2499   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2500 else
   2501   USE_MAINTAINER_MODE=no
   2502 fi
   2503 
   2504   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2505 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2506    if test $USE_MAINTAINER_MODE = yes; then
   2507   MAINTAINER_MODE_TRUE=
   2508   MAINTAINER_MODE_FALSE='#'
   2509 else
   2510   MAINTAINER_MODE_TRUE='#'
   2511   MAINTAINER_MODE_FALSE=
   2512 fi
   2513 
   2514   MAINT=$MAINTAINER_MODE_TRUE
   2515 
   2516 
   2517 
   2518 # Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
   2519 
   2520 
   2521 
   2522 
   2523 
   2524 
   2525 
   2526 
   2527 
   2528 
   2529 
   2530 
   2531 # Checks for programs.
   2532 # Check whether --enable-static was given.
   2533 if test "${enable_static+set}" = set; then
   2534   enableval=$enable_static; p=${PACKAGE-default}
   2535     case $enableval in
   2536     yes) enable_static=yes ;;
   2537     no) enable_static=no ;;
   2538     *)
   2539      enable_static=no
   2540       # Look at the argument we got.  We use all the common list separators.
   2541       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2542       for pkg in $enableval; do
   2543 	IFS="$lt_save_ifs"
   2544 	if test "X$pkg" = "X$p"; then
   2545 	  enable_static=yes
   2546 	fi
   2547       done
   2548       IFS="$lt_save_ifs"
   2549       ;;
   2550     esac
   2551 else
   2552   enable_static=no
   2553 fi
   2554 
   2555 
   2556 
   2557 # Check whether --enable-shared was given.
   2558 if test "${enable_shared+set}" = set; then
   2559   enableval=$enable_shared; p=${PACKAGE-default}
   2560     case $enableval in
   2561     yes) enable_shared=yes ;;
   2562     no) enable_shared=no ;;
   2563     *)
   2564       enable_shared=no
   2565       # Look at the argument we got.  We use all the common list separators.
   2566       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2567       for pkg in $enableval; do
   2568 	IFS="$lt_save_ifs"
   2569 	if test "X$pkg" = "X$p"; then
   2570 	  enable_shared=yes
   2571 	fi
   2572       done
   2573       IFS="$lt_save_ifs"
   2574       ;;
   2575     esac
   2576 else
   2577   enable_shared=yes
   2578 fi
   2579 
   2580 
   2581 # Check whether --enable-fast-install was given.
   2582 if test "${enable_fast_install+set}" = set; then
   2583   enableval=$enable_fast_install; p=${PACKAGE-default}
   2584     case $enableval in
   2585     yes) enable_fast_install=yes ;;
   2586     no) enable_fast_install=no ;;
   2587     *)
   2588       enable_fast_install=no
   2589       # Look at the argument we got.  We use all the common list separators.
   2590       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2591       for pkg in $enableval; do
   2592 	IFS="$lt_save_ifs"
   2593 	if test "X$pkg" = "X$p"; then
   2594 	  enable_fast_install=yes
   2595 	fi
   2596       done
   2597       IFS="$lt_save_ifs"
   2598       ;;
   2599     esac
   2600 else
   2601   enable_fast_install=yes
   2602 fi
   2603 
   2604 
   2605 # Make sure we can run config.sub.
   2606 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2607   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2608 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2609    { (exit 1); exit 1; }; }
   2610 
   2611 { echo "$as_me:$LINENO: checking build system type" >&5
   2612 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2613 if test "${ac_cv_build+set}" = set; then
   2614   echo $ECHO_N "(cached) $ECHO_C" >&6
   2615 else
   2616   ac_build_alias=$build_alias
   2617 test "x$ac_build_alias" = x &&
   2618   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2619 test "x$ac_build_alias" = x &&
   2620   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2621 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2622    { (exit 1); exit 1; }; }
   2623 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2624   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2625 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2626    { (exit 1); exit 1; }; }
   2627 
   2628 fi
   2629 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2630 echo "${ECHO_T}$ac_cv_build" >&6; }
   2631 case $ac_cv_build in
   2632 *-*-*) ;;
   2633 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2634 echo "$as_me: error: invalid value of canonical build" >&2;}
   2635    { (exit 1); exit 1; }; };;
   2636 esac
   2637 build=$ac_cv_build
   2638 ac_save_IFS=$IFS; IFS='-'
   2639 set x $ac_cv_build
   2640 shift
   2641 build_cpu=$1
   2642 build_vendor=$2
   2643 shift; shift
   2644 # Remember, the first character of IFS is used to create $*,
   2645 # except with old shells:
   2646 build_os=$*
   2647 IFS=$ac_save_IFS
   2648 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2649 
   2650 
   2651 { echo "$as_me:$LINENO: checking host system type" >&5
   2652 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2653 if test "${ac_cv_host+set}" = set; then
   2654   echo $ECHO_N "(cached) $ECHO_C" >&6
   2655 else
   2656   if test "x$host_alias" = x; then
   2657   ac_cv_host=$ac_cv_build
   2658 else
   2659   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2660     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2661 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2662    { (exit 1); exit 1; }; }
   2663 fi
   2664 
   2665 fi
   2666 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2667 echo "${ECHO_T}$ac_cv_host" >&6; }
   2668 case $ac_cv_host in
   2669 *-*-*) ;;
   2670 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2671 echo "$as_me: error: invalid value of canonical host" >&2;}
   2672    { (exit 1); exit 1; }; };;
   2673 esac
   2674 host=$ac_cv_host
   2675 ac_save_IFS=$IFS; IFS='-'
   2676 set x $ac_cv_host
   2677 shift
   2678 host_cpu=$1
   2679 host_vendor=$2
   2680 shift; shift
   2681 # Remember, the first character of IFS is used to create $*,
   2682 # except with old shells:
   2683 host_os=$*
   2684 IFS=$ac_save_IFS
   2685 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2686 
   2687 
   2688 DEPDIR="${am__leading_dot}deps"
   2689 
   2690 ac_config_commands="$ac_config_commands depfiles"
   2691 
   2692 
   2693 am_make=${MAKE-make}
   2694 cat > confinc << 'END'
   2695 am__doit:
   2696 	@echo done
   2697 .PHONY: am__doit
   2698 END
   2699 # If we don't find an include directive, just comment out the code.
   2700 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2701 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2702 am__include="#"
   2703 am__quote=
   2704 _am_result=none
   2705 # First try GNU make style include.
   2706 echo "include confinc" > confmf
   2707 # We grep out `Entering directory' and `Leaving directory'
   2708 # messages which can occur if `w' ends up in MAKEFLAGS.
   2709 # In particular we don't look at `^make:' because GNU make might
   2710 # be invoked under some other name (usually "gmake"), in which
   2711 # case it prints its new name instead of `make'.
   2712 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2713    am__include=include
   2714    am__quote=
   2715    _am_result=GNU
   2716 fi
   2717 # Now try BSD make style include.
   2718 if test "$am__include" = "#"; then
   2719    echo '.include "confinc"' > confmf
   2720    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2721       am__include=.include
   2722       am__quote="\""
   2723       _am_result=BSD
   2724    fi
   2725 fi
   2726 
   2727 
   2728 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2729 echo "${ECHO_T}$_am_result" >&6; }
   2730 rm -f confinc confmf
   2731 
   2732 # Check whether --enable-dependency-tracking was given.
   2733 if test "${enable_dependency_tracking+set}" = set; then
   2734   enableval=$enable_dependency_tracking;
   2735 fi
   2736 
   2737 if test "x$enable_dependency_tracking" != xno; then
   2738   am_depcomp="$ac_aux_dir/depcomp"
   2739   AMDEPBACKSLASH='\'
   2740 fi
   2741  if test "x$enable_dependency_tracking" != xno; then
   2742   AMDEP_TRUE=
   2743   AMDEP_FALSE='#'
   2744 else
   2745   AMDEP_TRUE='#'
   2746   AMDEP_FALSE=
   2747 fi
   2748 
   2749 
   2750 ac_ext=c
   2751 ac_cpp='$CPP $CPPFLAGS'
   2752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2755 if test -n "$ac_tool_prefix"; then
   2756   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2757 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2760 if test "${ac_cv_prog_CC+set}" = set; then
   2761   echo $ECHO_N "(cached) $ECHO_C" >&6
   2762 else
   2763   if test -n "$CC"; then
   2764   ac_cv_prog_CC="$CC" # Let the user override the test.
   2765 else
   2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2767 for as_dir in $PATH
   2768 do
   2769   IFS=$as_save_IFS
   2770   test -z "$as_dir" && as_dir=.
   2771   for ac_exec_ext in '' $ac_executable_extensions; do
   2772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2773     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2774     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2775     break 2
   2776   fi
   2777 done
   2778 done
   2779 IFS=$as_save_IFS
   2780 
   2781 fi
   2782 fi
   2783 CC=$ac_cv_prog_CC
   2784 if test -n "$CC"; then
   2785   { echo "$as_me:$LINENO: result: $CC" >&5
   2786 echo "${ECHO_T}$CC" >&6; }
   2787 else
   2788   { echo "$as_me:$LINENO: result: no" >&5
   2789 echo "${ECHO_T}no" >&6; }
   2790 fi
   2791 
   2792 
   2793 fi
   2794 if test -z "$ac_cv_prog_CC"; then
   2795   ac_ct_CC=$CC
   2796   # Extract the first word of "gcc", so it can be a program name with args.
   2797 set dummy gcc; ac_word=$2
   2798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2800 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2801   echo $ECHO_N "(cached) $ECHO_C" >&6
   2802 else
   2803   if test -n "$ac_ct_CC"; then
   2804   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2805 else
   2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2807 for as_dir in $PATH
   2808 do
   2809   IFS=$as_save_IFS
   2810   test -z "$as_dir" && as_dir=.
   2811   for ac_exec_ext in '' $ac_executable_extensions; do
   2812   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2813     ac_cv_prog_ac_ct_CC="gcc"
   2814     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2815     break 2
   2816   fi
   2817 done
   2818 done
   2819 IFS=$as_save_IFS
   2820 
   2821 fi
   2822 fi
   2823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2824 if test -n "$ac_ct_CC"; then
   2825   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2826 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2827 else
   2828   { echo "$as_me:$LINENO: result: no" >&5
   2829 echo "${ECHO_T}no" >&6; }
   2830 fi
   2831 
   2832   if test "x$ac_ct_CC" = x; then
   2833     CC=""
   2834   else
   2835     case $cross_compiling:$ac_tool_warned in
   2836 yes:)
   2837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2838 whose name does not start with the host triplet.  If you think this
   2839 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2841 whose name does not start with the host triplet.  If you think this
   2842 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2843 ac_tool_warned=yes ;;
   2844 esac
   2845     CC=$ac_ct_CC
   2846   fi
   2847 else
   2848   CC="$ac_cv_prog_CC"
   2849 fi
   2850 
   2851 if test -z "$CC"; then
   2852           if test -n "$ac_tool_prefix"; then
   2853     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2854 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2857 if test "${ac_cv_prog_CC+set}" = set; then
   2858   echo $ECHO_N "(cached) $ECHO_C" >&6
   2859 else
   2860   if test -n "$CC"; then
   2861   ac_cv_prog_CC="$CC" # Let the user override the test.
   2862 else
   2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2864 for as_dir in $PATH
   2865 do
   2866   IFS=$as_save_IFS
   2867   test -z "$as_dir" && as_dir=.
   2868   for ac_exec_ext in '' $ac_executable_extensions; do
   2869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2870     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2871     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2872     break 2
   2873   fi
   2874 done
   2875 done
   2876 IFS=$as_save_IFS
   2877 
   2878 fi
   2879 fi
   2880 CC=$ac_cv_prog_CC
   2881 if test -n "$CC"; then
   2882   { echo "$as_me:$LINENO: result: $CC" >&5
   2883 echo "${ECHO_T}$CC" >&6; }
   2884 else
   2885   { echo "$as_me:$LINENO: result: no" >&5
   2886 echo "${ECHO_T}no" >&6; }
   2887 fi
   2888 
   2889 
   2890   fi
   2891 fi
   2892 if test -z "$CC"; then
   2893   # Extract the first word of "cc", so it can be a program name with args.
   2894 set dummy cc; ac_word=$2
   2895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2897 if test "${ac_cv_prog_CC+set}" = set; then
   2898   echo $ECHO_N "(cached) $ECHO_C" >&6
   2899 else
   2900   if test -n "$CC"; then
   2901   ac_cv_prog_CC="$CC" # Let the user override the test.
   2902 else
   2903   ac_prog_rejected=no
   2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2905 for as_dir in $PATH
   2906 do
   2907   IFS=$as_save_IFS
   2908   test -z "$as_dir" && as_dir=.
   2909   for ac_exec_ext in '' $ac_executable_extensions; do
   2910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2911     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2912        ac_prog_rejected=yes
   2913        continue
   2914      fi
   2915     ac_cv_prog_CC="cc"
   2916     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2917     break 2
   2918   fi
   2919 done
   2920 done
   2921 IFS=$as_save_IFS
   2922 
   2923 if test $ac_prog_rejected = yes; then
   2924   # We found a bogon in the path, so make sure we never use it.
   2925   set dummy $ac_cv_prog_CC
   2926   shift
   2927   if test $# != 0; then
   2928     # We chose a different compiler from the bogus one.
   2929     # However, it has the same basename, so the bogon will be chosen
   2930     # first if we set CC to just the basename; use the full file name.
   2931     shift
   2932     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2933   fi
   2934 fi
   2935 fi
   2936 fi
   2937 CC=$ac_cv_prog_CC
   2938 if test -n "$CC"; then
   2939   { echo "$as_me:$LINENO: result: $CC" >&5
   2940 echo "${ECHO_T}$CC" >&6; }
   2941 else
   2942   { echo "$as_me:$LINENO: result: no" >&5
   2943 echo "${ECHO_T}no" >&6; }
   2944 fi
   2945 
   2946 
   2947 fi
   2948 if test -z "$CC"; then
   2949   if test -n "$ac_tool_prefix"; then
   2950   for ac_prog in cl.exe
   2951   do
   2952     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2953 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2956 if test "${ac_cv_prog_CC+set}" = set; then
   2957   echo $ECHO_N "(cached) $ECHO_C" >&6
   2958 else
   2959   if test -n "$CC"; then
   2960   ac_cv_prog_CC="$CC" # Let the user override the test.
   2961 else
   2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2963 for as_dir in $PATH
   2964 do
   2965   IFS=$as_save_IFS
   2966   test -z "$as_dir" && as_dir=.
   2967   for ac_exec_ext in '' $ac_executable_extensions; do
   2968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2969     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2970     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2971     break 2
   2972   fi
   2973 done
   2974 done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi
   2978 fi
   2979 CC=$ac_cv_prog_CC
   2980 if test -n "$CC"; then
   2981   { echo "$as_me:$LINENO: result: $CC" >&5
   2982 echo "${ECHO_T}$CC" >&6; }
   2983 else
   2984   { echo "$as_me:$LINENO: result: no" >&5
   2985 echo "${ECHO_T}no" >&6; }
   2986 fi
   2987 
   2988 
   2989     test -n "$CC" && break
   2990   done
   2991 fi
   2992 if test -z "$CC"; then
   2993   ac_ct_CC=$CC
   2994   for ac_prog in cl.exe
   2995 do
   2996   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2997 set dummy $ac_prog; ac_word=$2
   2998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3000 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3001   echo $ECHO_N "(cached) $ECHO_C" >&6
   3002 else
   3003   if test -n "$ac_ct_CC"; then
   3004   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3005 else
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 for as_dir in $PATH
   3008 do
   3009   IFS=$as_save_IFS
   3010   test -z "$as_dir" && as_dir=.
   3011   for ac_exec_ext in '' $ac_executable_extensions; do
   3012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3013     ac_cv_prog_ac_ct_CC="$ac_prog"
   3014     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3015     break 2
   3016   fi
   3017 done
   3018 done
   3019 IFS=$as_save_IFS
   3020 
   3021 fi
   3022 fi
   3023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3024 if test -n "$ac_ct_CC"; then
   3025   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3026 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3027 else
   3028   { echo "$as_me:$LINENO: result: no" >&5
   3029 echo "${ECHO_T}no" >&6; }
   3030 fi
   3031 
   3032 
   3033   test -n "$ac_ct_CC" && break
   3034 done
   3035 
   3036   if test "x$ac_ct_CC" = x; then
   3037     CC=""
   3038   else
   3039     case $cross_compiling:$ac_tool_warned in
   3040 yes:)
   3041 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3042 whose name does not start with the host triplet.  If you think this
   3043 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3044 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3045 whose name does not start with the host triplet.  If you think this
   3046 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3047 ac_tool_warned=yes ;;
   3048 esac
   3049     CC=$ac_ct_CC
   3050   fi
   3051 fi
   3052 
   3053 fi
   3054 
   3055 
   3056 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3057 See \`config.log' for more details." >&5
   3058 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3059 See \`config.log' for more details." >&2;}
   3060    { (exit 1); exit 1; }; }
   3061 
   3062 # Provide some information about the compiler.
   3063 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3064 ac_compiler=`set X $ac_compile; echo $2`
   3065 { (ac_try="$ac_compiler --version >&5"
   3066 case "(($ac_try" in
   3067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3068   *) ac_try_echo=$ac_try;;
   3069 esac
   3070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3071   (eval "$ac_compiler --version >&5") 2>&5
   3072   ac_status=$?
   3073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3074   (exit $ac_status); }
   3075 { (ac_try="$ac_compiler -v >&5"
   3076 case "(($ac_try" in
   3077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3078   *) ac_try_echo=$ac_try;;
   3079 esac
   3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3081   (eval "$ac_compiler -v >&5") 2>&5
   3082   ac_status=$?
   3083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3084   (exit $ac_status); }
   3085 { (ac_try="$ac_compiler -V >&5"
   3086 case "(($ac_try" in
   3087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3088   *) ac_try_echo=$ac_try;;
   3089 esac
   3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3091   (eval "$ac_compiler -V >&5") 2>&5
   3092   ac_status=$?
   3093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3094   (exit $ac_status); }
   3095 
   3096 cat >conftest.$ac_ext <<_ACEOF
   3097 /* confdefs.h.  */
   3098 _ACEOF
   3099 cat confdefs.h >>conftest.$ac_ext
   3100 cat >>conftest.$ac_ext <<_ACEOF
   3101 /* end confdefs.h.  */
   3102 
   3103 int
   3104 main ()
   3105 {
   3106 
   3107   ;
   3108   return 0;
   3109 }
   3110 _ACEOF
   3111 ac_clean_files_save=$ac_clean_files
   3112 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3113 # Try to create an executable without -o first, disregard a.out.
   3114 # It will help us diagnose broken compilers, and finding out an intuition
   3115 # of exeext.
   3116 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3117 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3118 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3119 #
   3120 # List of possible output files, starting from the most likely.
   3121 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3122 # only as a last resort.  b.out is created by i960 compilers.
   3123 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3124 #
   3125 # The IRIX 6 linker writes into existing files which may not be
   3126 # executable, retaining their permissions.  Remove them first so a
   3127 # subsequent execution test works.
   3128 ac_rmfiles=
   3129 for ac_file in $ac_files
   3130 do
   3131   case $ac_file in
   3132     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3133     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3134   esac
   3135 done
   3136 rm -f $ac_rmfiles
   3137 
   3138 if { (ac_try="$ac_link_default"
   3139 case "(($ac_try" in
   3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3141   *) ac_try_echo=$ac_try;;
   3142 esac
   3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3144   (eval "$ac_link_default") 2>&5
   3145   ac_status=$?
   3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3147   (exit $ac_status); }; then
   3148   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3150 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3151 # so that the user can short-circuit this test for compilers unknown to
   3152 # Autoconf.
   3153 for ac_file in $ac_files ''
   3154 do
   3155   test -f "$ac_file" || continue
   3156   case $ac_file in
   3157     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3158 	;;
   3159     [ab].out )
   3160 	# We found the default executable, but exeext='' is most
   3161 	# certainly right.
   3162 	break;;
   3163     *.* )
   3164         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3165 	then :; else
   3166 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3167 	fi
   3168 	# We set ac_cv_exeext here because the later test for it is not
   3169 	# safe: cross compilers may not add the suffix if given an `-o'
   3170 	# argument, so we may need to know it at that point already.
   3171 	# Even if this section looks crufty: it has the advantage of
   3172 	# actually working.
   3173 	break;;
   3174     * )
   3175 	break;;
   3176   esac
   3177 done
   3178 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3179 
   3180 else
   3181   ac_file=''
   3182 fi
   3183 
   3184 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3185 echo "${ECHO_T}$ac_file" >&6; }
   3186 if test -z "$ac_file"; then
   3187   echo "$as_me: failed program was:" >&5
   3188 sed 's/^/| /' conftest.$ac_ext >&5
   3189 
   3190 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3191 See \`config.log' for more details." >&5
   3192 echo "$as_me: error: C compiler cannot create executables
   3193 See \`config.log' for more details." >&2;}
   3194    { (exit 77); exit 77; }; }
   3195 fi
   3196 
   3197 ac_exeext=$ac_cv_exeext
   3198 
   3199 # Check that the compiler produces executables we can run.  If not, either
   3200 # the compiler is broken, or we cross compile.
   3201 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3202 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3203 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3204 # If not cross compiling, check that we can run a simple program.
   3205 if test "$cross_compiling" != yes; then
   3206   if { ac_try='./$ac_file'
   3207   { (case "(($ac_try" in
   3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3209   *) ac_try_echo=$ac_try;;
   3210 esac
   3211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3212   (eval "$ac_try") 2>&5
   3213   ac_status=$?
   3214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3215   (exit $ac_status); }; }; then
   3216     cross_compiling=no
   3217   else
   3218     if test "$cross_compiling" = maybe; then
   3219 	cross_compiling=yes
   3220     else
   3221 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3222 If you meant to cross compile, use \`--host'.
   3223 See \`config.log' for more details." >&5
   3224 echo "$as_me: error: cannot run C compiled programs.
   3225 If you meant to cross compile, use \`--host'.
   3226 See \`config.log' for more details." >&2;}
   3227    { (exit 1); exit 1; }; }
   3228     fi
   3229   fi
   3230 fi
   3231 { echo "$as_me:$LINENO: result: yes" >&5
   3232 echo "${ECHO_T}yes" >&6; }
   3233 
   3234 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3235 ac_clean_files=$ac_clean_files_save
   3236 # Check that the compiler produces executables we can run.  If not, either
   3237 # the compiler is broken, or we cross compile.
   3238 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3239 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3240 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3241 echo "${ECHO_T}$cross_compiling" >&6; }
   3242 
   3243 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3244 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3245 if { (ac_try="$ac_link"
   3246 case "(($ac_try" in
   3247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3248   *) ac_try_echo=$ac_try;;
   3249 esac
   3250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3251   (eval "$ac_link") 2>&5
   3252   ac_status=$?
   3253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3254   (exit $ac_status); }; then
   3255   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3256 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3257 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3258 # `rm'.
   3259 for ac_file in conftest.exe conftest conftest.*; do
   3260   test -f "$ac_file" || continue
   3261   case $ac_file in
   3262     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3263     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3264 	  break;;
   3265     * ) break;;
   3266   esac
   3267 done
   3268 else
   3269   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3270 See \`config.log' for more details." >&5
   3271 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3272 See \`config.log' for more details." >&2;}
   3273    { (exit 1); exit 1; }; }
   3274 fi
   3275 
   3276 rm -f conftest$ac_cv_exeext
   3277 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3278 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3279 
   3280 rm -f conftest.$ac_ext
   3281 EXEEXT=$ac_cv_exeext
   3282 ac_exeext=$EXEEXT
   3283 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3284 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3285 if test "${ac_cv_objext+set}" = set; then
   3286   echo $ECHO_N "(cached) $ECHO_C" >&6
   3287 else
   3288   cat >conftest.$ac_ext <<_ACEOF
   3289 /* confdefs.h.  */
   3290 _ACEOF
   3291 cat confdefs.h >>conftest.$ac_ext
   3292 cat >>conftest.$ac_ext <<_ACEOF
   3293 /* end confdefs.h.  */
   3294 
   3295 int
   3296 main ()
   3297 {
   3298 
   3299   ;
   3300   return 0;
   3301 }
   3302 _ACEOF
   3303 rm -f conftest.o conftest.obj
   3304 if { (ac_try="$ac_compile"
   3305 case "(($ac_try" in
   3306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3307   *) ac_try_echo=$ac_try;;
   3308 esac
   3309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3310   (eval "$ac_compile") 2>&5
   3311   ac_status=$?
   3312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3313   (exit $ac_status); }; then
   3314   for ac_file in conftest.o conftest.obj conftest.*; do
   3315   test -f "$ac_file" || continue;
   3316   case $ac_file in
   3317     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3318     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3319        break;;
   3320   esac
   3321 done
   3322 else
   3323   echo "$as_me: failed program was:" >&5
   3324 sed 's/^/| /' conftest.$ac_ext >&5
   3325 
   3326 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3327 See \`config.log' for more details." >&5
   3328 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3329 See \`config.log' for more details." >&2;}
   3330    { (exit 1); exit 1; }; }
   3331 fi
   3332 
   3333 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3334 fi
   3335 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3336 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3337 OBJEXT=$ac_cv_objext
   3338 ac_objext=$OBJEXT
   3339 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3340 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3341 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3342   echo $ECHO_N "(cached) $ECHO_C" >&6
   3343 else
   3344   cat >conftest.$ac_ext <<_ACEOF
   3345 /* confdefs.h.  */
   3346 _ACEOF
   3347 cat confdefs.h >>conftest.$ac_ext
   3348 cat >>conftest.$ac_ext <<_ACEOF
   3349 /* end confdefs.h.  */
   3350 
   3351 int
   3352 main ()
   3353 {
   3354 #ifndef __GNUC__
   3355        choke me
   3356 #endif
   3357 
   3358   ;
   3359   return 0;
   3360 }
   3361 _ACEOF
   3362 rm -f conftest.$ac_objext
   3363 if { (ac_try="$ac_compile"
   3364 case "(($ac_try" in
   3365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3366   *) ac_try_echo=$ac_try;;
   3367 esac
   3368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3369   (eval "$ac_compile") 2>conftest.er1
   3370   ac_status=$?
   3371   grep -v '^ *+' conftest.er1 >conftest.err
   3372   rm -f conftest.er1
   3373   cat conftest.err >&5
   3374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3375   (exit $ac_status); } && {
   3376 	 test -z "$ac_c_werror_flag" ||
   3377 	 test ! -s conftest.err
   3378        } && test -s conftest.$ac_objext; then
   3379   ac_compiler_gnu=yes
   3380 else
   3381   echo "$as_me: failed program was:" >&5
   3382 sed 's/^/| /' conftest.$ac_ext >&5
   3383 
   3384 	ac_compiler_gnu=no
   3385 fi
   3386 
   3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3388 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3389 
   3390 fi
   3391 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3392 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3393 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3394 ac_test_CFLAGS=${CFLAGS+set}
   3395 ac_save_CFLAGS=$CFLAGS
   3396 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3397 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3398 if test "${ac_cv_prog_cc_g+set}" = set; then
   3399   echo $ECHO_N "(cached) $ECHO_C" >&6
   3400 else
   3401   ac_save_c_werror_flag=$ac_c_werror_flag
   3402    ac_c_werror_flag=yes
   3403    ac_cv_prog_cc_g=no
   3404    CFLAGS="-g"
   3405    cat >conftest.$ac_ext <<_ACEOF
   3406 /* confdefs.h.  */
   3407 _ACEOF
   3408 cat confdefs.h >>conftest.$ac_ext
   3409 cat >>conftest.$ac_ext <<_ACEOF
   3410 /* end confdefs.h.  */
   3411 
   3412 int
   3413 main ()
   3414 {
   3415 
   3416   ;
   3417   return 0;
   3418 }
   3419 _ACEOF
   3420 rm -f conftest.$ac_objext
   3421 if { (ac_try="$ac_compile"
   3422 case "(($ac_try" in
   3423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3424   *) ac_try_echo=$ac_try;;
   3425 esac
   3426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3427   (eval "$ac_compile") 2>conftest.er1
   3428   ac_status=$?
   3429   grep -v '^ *+' conftest.er1 >conftest.err
   3430   rm -f conftest.er1
   3431   cat conftest.err >&5
   3432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3433   (exit $ac_status); } && {
   3434 	 test -z "$ac_c_werror_flag" ||
   3435 	 test ! -s conftest.err
   3436        } && test -s conftest.$ac_objext; then
   3437   ac_cv_prog_cc_g=yes
   3438 else
   3439   echo "$as_me: failed program was:" >&5
   3440 sed 's/^/| /' conftest.$ac_ext >&5
   3441 
   3442 	CFLAGS=""
   3443       cat >conftest.$ac_ext <<_ACEOF
   3444 /* confdefs.h.  */
   3445 _ACEOF
   3446 cat confdefs.h >>conftest.$ac_ext
   3447 cat >>conftest.$ac_ext <<_ACEOF
   3448 /* end confdefs.h.  */
   3449 
   3450 int
   3451 main ()
   3452 {
   3453 
   3454   ;
   3455   return 0;
   3456 }
   3457 _ACEOF
   3458 rm -f conftest.$ac_objext
   3459 if { (ac_try="$ac_compile"
   3460 case "(($ac_try" in
   3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3462   *) ac_try_echo=$ac_try;;
   3463 esac
   3464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3465   (eval "$ac_compile") 2>conftest.er1
   3466   ac_status=$?
   3467   grep -v '^ *+' conftest.er1 >conftest.err
   3468   rm -f conftest.er1
   3469   cat conftest.err >&5
   3470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3471   (exit $ac_status); } && {
   3472 	 test -z "$ac_c_werror_flag" ||
   3473 	 test ! -s conftest.err
   3474        } && test -s conftest.$ac_objext; then
   3475   :
   3476 else
   3477   echo "$as_me: failed program was:" >&5
   3478 sed 's/^/| /' conftest.$ac_ext >&5
   3479 
   3480 	ac_c_werror_flag=$ac_save_c_werror_flag
   3481 	 CFLAGS="-g"
   3482 	 cat >conftest.$ac_ext <<_ACEOF
   3483 /* confdefs.h.  */
   3484 _ACEOF
   3485 cat confdefs.h >>conftest.$ac_ext
   3486 cat >>conftest.$ac_ext <<_ACEOF
   3487 /* end confdefs.h.  */
   3488 
   3489 int
   3490 main ()
   3491 {
   3492 
   3493   ;
   3494   return 0;
   3495 }
   3496 _ACEOF
   3497 rm -f conftest.$ac_objext
   3498 if { (ac_try="$ac_compile"
   3499 case "(($ac_try" in
   3500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3501   *) ac_try_echo=$ac_try;;
   3502 esac
   3503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3504   (eval "$ac_compile") 2>conftest.er1
   3505   ac_status=$?
   3506   grep -v '^ *+' conftest.er1 >conftest.err
   3507   rm -f conftest.er1
   3508   cat conftest.err >&5
   3509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3510   (exit $ac_status); } && {
   3511 	 test -z "$ac_c_werror_flag" ||
   3512 	 test ! -s conftest.err
   3513        } && test -s conftest.$ac_objext; then
   3514   ac_cv_prog_cc_g=yes
   3515 else
   3516   echo "$as_me: failed program was:" >&5
   3517 sed 's/^/| /' conftest.$ac_ext >&5
   3518 
   3519 
   3520 fi
   3521 
   3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3523 fi
   3524 
   3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3526 fi
   3527 
   3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3529    ac_c_werror_flag=$ac_save_c_werror_flag
   3530 fi
   3531 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3532 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3533 if test "$ac_test_CFLAGS" = set; then
   3534   CFLAGS=$ac_save_CFLAGS
   3535 elif test $ac_cv_prog_cc_g = yes; then
   3536   if test "$GCC" = yes; then
   3537     CFLAGS="-g -O2"
   3538   else
   3539     CFLAGS="-g"
   3540   fi
   3541 else
   3542   if test "$GCC" = yes; then
   3543     CFLAGS="-O2"
   3544   else
   3545     CFLAGS=
   3546   fi
   3547 fi
   3548 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3549 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3550 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3551   echo $ECHO_N "(cached) $ECHO_C" >&6
   3552 else
   3553   ac_cv_prog_cc_c89=no
   3554 ac_save_CC=$CC
   3555 cat >conftest.$ac_ext <<_ACEOF
   3556 /* confdefs.h.  */
   3557 _ACEOF
   3558 cat confdefs.h >>conftest.$ac_ext
   3559 cat >>conftest.$ac_ext <<_ACEOF
   3560 /* end confdefs.h.  */
   3561 #include <stdarg.h>
   3562 #include <stdio.h>
   3563 #include <sys/types.h>
   3564 #include <sys/stat.h>
   3565 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3566 struct buf { int x; };
   3567 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3568 static char *e (p, i)
   3569      char **p;
   3570      int i;
   3571 {
   3572   return p[i];
   3573 }
   3574 static char *f (char * (*g) (char **, int), char **p, ...)
   3575 {
   3576   char *s;
   3577   va_list v;
   3578   va_start (v,p);
   3579   s = g (p, va_arg (v,int));
   3580   va_end (v);
   3581   return s;
   3582 }
   3583 
   3584 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3585    function prototypes and stuff, but not '\xHH' hex character constants.
   3586    These don't provoke an error unfortunately, instead are silently treated
   3587    as 'x'.  The following induces an error, until -std is added to get
   3588    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3589    array size at least.  It's necessary to write '\x00'==0 to get something
   3590    that's true only with -std.  */
   3591 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3592 
   3593 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3594    inside strings and character constants.  */
   3595 #define FOO(x) 'x'
   3596 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3597 
   3598 int test (int i, double x);
   3599 struct s1 {int (*f) (int a);};
   3600 struct s2 {int (*f) (double a);};
   3601 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3602 int argc;
   3603 char **argv;
   3604 int
   3605 main ()
   3606 {
   3607 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3608   ;
   3609   return 0;
   3610 }
   3611 _ACEOF
   3612 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3613 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3614 do
   3615   CC="$ac_save_CC $ac_arg"
   3616   rm -f conftest.$ac_objext
   3617 if { (ac_try="$ac_compile"
   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_compile") 2>conftest.er1
   3624   ac_status=$?
   3625   grep -v '^ *+' conftest.er1 >conftest.err
   3626   rm -f conftest.er1
   3627   cat conftest.err >&5
   3628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3629   (exit $ac_status); } && {
   3630 	 test -z "$ac_c_werror_flag" ||
   3631 	 test ! -s conftest.err
   3632        } && test -s conftest.$ac_objext; then
   3633   ac_cv_prog_cc_c89=$ac_arg
   3634 else
   3635   echo "$as_me: failed program was:" >&5
   3636 sed 's/^/| /' conftest.$ac_ext >&5
   3637 
   3638 
   3639 fi
   3640 
   3641 rm -f core conftest.err conftest.$ac_objext
   3642   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3643 done
   3644 rm -f conftest.$ac_ext
   3645 CC=$ac_save_CC
   3646 
   3647 fi
   3648 # AC_CACHE_VAL
   3649 case "x$ac_cv_prog_cc_c89" in
   3650   x)
   3651     { echo "$as_me:$LINENO: result: none needed" >&5
   3652 echo "${ECHO_T}none needed" >&6; } ;;
   3653   xno)
   3654     { echo "$as_me:$LINENO: result: unsupported" >&5
   3655 echo "${ECHO_T}unsupported" >&6; } ;;
   3656   *)
   3657     CC="$CC $ac_cv_prog_cc_c89"
   3658     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3659 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3660 esac
   3661 
   3662 
   3663 ac_ext=c
   3664 ac_cpp='$CPP $CPPFLAGS'
   3665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3668 
   3669 depcc="$CC"   am_compiler_list=
   3670 
   3671 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3672 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3673 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3674   echo $ECHO_N "(cached) $ECHO_C" >&6
   3675 else
   3676   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3677   # We make a subdir and do the tests there.  Otherwise we can end up
   3678   # making bogus files that we don't know about and never remove.  For
   3679   # instance it was reported that on HP-UX the gcc test will end up
   3680   # making a dummy file named `D' -- because `-MD' means `put the output
   3681   # in D'.
   3682   mkdir conftest.dir
   3683   # Copy depcomp to subdir because otherwise we won't find it if we're
   3684   # using a relative directory.
   3685   cp "$am_depcomp" conftest.dir
   3686   cd conftest.dir
   3687   # We will build objects and dependencies in a subdirectory because
   3688   # it helps to detect inapplicable dependency modes.  For instance
   3689   # both Tru64's cc and ICC support -MD to output dependencies as a
   3690   # side effect of compilation, but ICC will put the dependencies in
   3691   # the current directory while Tru64 will put them in the object
   3692   # directory.
   3693   mkdir sub
   3694 
   3695   am_cv_CC_dependencies_compiler_type=none
   3696   if test "$am_compiler_list" = ""; then
   3697      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3698   fi
   3699   for depmode in $am_compiler_list; do
   3700     # Setup a source with many dependencies, because some compilers
   3701     # like to wrap large dependency lists on column 80 (with \), and
   3702     # we should not choose a depcomp mode which is confused by this.
   3703     #
   3704     # We need to recreate these files for each test, as the compiler may
   3705     # overwrite some of them when testing with obscure command lines.
   3706     # This happens at least with the AIX C compiler.
   3707     : > sub/conftest.c
   3708     for i in 1 2 3 4 5 6; do
   3709       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3710       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3711       # Solaris 8's {/usr,}/bin/sh.
   3712       touch sub/conftst$i.h
   3713     done
   3714     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3715 
   3716     case $depmode in
   3717     nosideeffect)
   3718       # after this tag, mechanisms are not by side-effect, so they'll
   3719       # only be used when explicitly requested
   3720       if test "x$enable_dependency_tracking" = xyes; then
   3721 	continue
   3722       else
   3723 	break
   3724       fi
   3725       ;;
   3726     none) break ;;
   3727     esac
   3728     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3729     # mode.  It turns out that the SunPro C++ compiler does not properly
   3730     # handle `-M -o', and we need to detect this.
   3731     if depmode=$depmode \
   3732        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3733        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3734        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3735          >/dev/null 2>conftest.err &&
   3736        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3737        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3738        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3739        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3740       # icc doesn't choke on unknown options, it will just issue warnings
   3741       # or remarks (even with -Werror).  So we grep stderr for any message
   3742       # that says an option was ignored or not supported.
   3743       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3744       #   icc: Command line warning: ignoring option '-M'; no argument required
   3745       # The diagnosis changed in icc 8.0:
   3746       #   icc: Command line remark: option '-MP' not supported
   3747       if (grep 'ignoring option' conftest.err ||
   3748           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3749         am_cv_CC_dependencies_compiler_type=$depmode
   3750         break
   3751       fi
   3752     fi
   3753   done
   3754 
   3755   cd ..
   3756   rm -rf conftest.dir
   3757 else
   3758   am_cv_CC_dependencies_compiler_type=none
   3759 fi
   3760 
   3761 fi
   3762 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3763 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3764 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3765 
   3766  if
   3767   test "x$enable_dependency_tracking" != xno \
   3768   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3769   am__fastdepCC_TRUE=
   3770   am__fastdepCC_FALSE='#'
   3771 else
   3772   am__fastdepCC_TRUE='#'
   3773   am__fastdepCC_FALSE=
   3774 fi
   3775 
   3776 
   3777 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3778 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3779 if test "${lt_cv_path_SED+set}" = set; then
   3780   echo $ECHO_N "(cached) $ECHO_C" >&6
   3781 else
   3782   # Loop through the user's path and test for sed and gsed.
   3783 # Then use that list of sed's as ones to test for truncation.
   3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3785 for as_dir in $PATH
   3786 do
   3787   IFS=$as_save_IFS
   3788   test -z "$as_dir" && as_dir=.
   3789   for lt_ac_prog in sed gsed; do
   3790     for ac_exec_ext in '' $ac_executable_extensions; do
   3791       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3792         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3793       fi
   3794     done
   3795   done
   3796 done
   3797 lt_ac_max=0
   3798 lt_ac_count=0
   3799 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3800 # along with /bin/sed that truncates output.
   3801 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3802   test ! -f $lt_ac_sed && continue
   3803   cat /dev/null > conftest.in
   3804   lt_ac_count=0
   3805   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3806   # Check for GNU sed and select it if it is found.
   3807   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3808     lt_cv_path_SED=$lt_ac_sed
   3809     break
   3810   fi
   3811   while true; do
   3812     cat conftest.in conftest.in >conftest.tmp
   3813     mv conftest.tmp conftest.in
   3814     cp conftest.in conftest.nl
   3815     echo >>conftest.nl
   3816     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3817     cmp -s conftest.out conftest.nl || break
   3818     # 10000 chars as input seems more than enough
   3819     test $lt_ac_count -gt 10 && break
   3820     lt_ac_count=`expr $lt_ac_count + 1`
   3821     if test $lt_ac_count -gt $lt_ac_max; then
   3822       lt_ac_max=$lt_ac_count
   3823       lt_cv_path_SED=$lt_ac_sed
   3824     fi
   3825   done
   3826 done
   3827 
   3828 fi
   3829 
   3830 SED=$lt_cv_path_SED
   3831 { echo "$as_me:$LINENO: result: $SED" >&5
   3832 echo "${ECHO_T}$SED" >&6; }
   3833 
   3834 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3835 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3836 if test "${ac_cv_path_GREP+set}" = set; then
   3837   echo $ECHO_N "(cached) $ECHO_C" >&6
   3838 else
   3839   # Extract the first word of "grep ggrep" to use in msg output
   3840 if test -z "$GREP"; then
   3841 set dummy grep ggrep; ac_prog_name=$2
   3842 if test "${ac_cv_path_GREP+set}" = set; then
   3843   echo $ECHO_N "(cached) $ECHO_C" >&6
   3844 else
   3845   ac_path_GREP_found=false
   3846 # Loop through the user's path and test for each of PROGNAME-LIST
   3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3848 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3849 do
   3850   IFS=$as_save_IFS
   3851   test -z "$as_dir" && as_dir=.
   3852   for ac_prog in grep ggrep; do
   3853   for ac_exec_ext in '' $ac_executable_extensions; do
   3854     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3855     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3856     # Check for GNU ac_path_GREP and select it if it is found.
   3857   # Check for GNU $ac_path_GREP
   3858 case `"$ac_path_GREP" --version 2>&1` in
   3859 *GNU*)
   3860   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3861 *)
   3862   ac_count=0
   3863   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3864   while :
   3865   do
   3866     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3867     mv "conftest.tmp" "conftest.in"
   3868     cp "conftest.in" "conftest.nl"
   3869     echo 'GREP' >> "conftest.nl"
   3870     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3871     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3872     ac_count=`expr $ac_count + 1`
   3873     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3874       # Best one so far, save it but keep looking for a better one
   3875       ac_cv_path_GREP="$ac_path_GREP"
   3876       ac_path_GREP_max=$ac_count
   3877     fi
   3878     # 10*(2^10) chars as input seems more than enough
   3879     test $ac_count -gt 10 && break
   3880   done
   3881   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3882 esac
   3883 
   3884 
   3885     $ac_path_GREP_found && break 3
   3886   done
   3887 done
   3888 
   3889 done
   3890 IFS=$as_save_IFS
   3891 
   3892 
   3893 fi
   3894 
   3895 GREP="$ac_cv_path_GREP"
   3896 if test -z "$GREP"; then
   3897   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3898 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3899    { (exit 1); exit 1; }; }
   3900 fi
   3901 
   3902 else
   3903   ac_cv_path_GREP=$GREP
   3904 fi
   3905 
   3906 
   3907 fi
   3908 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3909 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3910  GREP="$ac_cv_path_GREP"
   3911 
   3912 
   3913 { echo "$as_me:$LINENO: checking for egrep" >&5
   3914 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3915 if test "${ac_cv_path_EGREP+set}" = set; then
   3916   echo $ECHO_N "(cached) $ECHO_C" >&6
   3917 else
   3918   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3919    then ac_cv_path_EGREP="$GREP -E"
   3920    else
   3921      # Extract the first word of "egrep" to use in msg output
   3922 if test -z "$EGREP"; then
   3923 set dummy egrep; ac_prog_name=$2
   3924 if test "${ac_cv_path_EGREP+set}" = set; then
   3925   echo $ECHO_N "(cached) $ECHO_C" >&6
   3926 else
   3927   ac_path_EGREP_found=false
   3928 # Loop through the user's path and test for each of PROGNAME-LIST
   3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3931 do
   3932   IFS=$as_save_IFS
   3933   test -z "$as_dir" && as_dir=.
   3934   for ac_prog in egrep; do
   3935   for ac_exec_ext in '' $ac_executable_extensions; do
   3936     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3937     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3938     # Check for GNU ac_path_EGREP and select it if it is found.
   3939   # Check for GNU $ac_path_EGREP
   3940 case `"$ac_path_EGREP" --version 2>&1` in
   3941 *GNU*)
   3942   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3943 *)
   3944   ac_count=0
   3945   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3946   while :
   3947   do
   3948     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3949     mv "conftest.tmp" "conftest.in"
   3950     cp "conftest.in" "conftest.nl"
   3951     echo 'EGREP' >> "conftest.nl"
   3952     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3953     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3954     ac_count=`expr $ac_count + 1`
   3955     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3956       # Best one so far, save it but keep looking for a better one
   3957       ac_cv_path_EGREP="$ac_path_EGREP"
   3958       ac_path_EGREP_max=$ac_count
   3959     fi
   3960     # 10*(2^10) chars as input seems more than enough
   3961     test $ac_count -gt 10 && break
   3962   done
   3963   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3964 esac
   3965 
   3966 
   3967     $ac_path_EGREP_found && break 3
   3968   done
   3969 done
   3970 
   3971 done
   3972 IFS=$as_save_IFS
   3973 
   3974 
   3975 fi
   3976 
   3977 EGREP="$ac_cv_path_EGREP"
   3978 if test -z "$EGREP"; then
   3979   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3981    { (exit 1); exit 1; }; }
   3982 fi
   3983 
   3984 else
   3985   ac_cv_path_EGREP=$EGREP
   3986 fi
   3987 
   3988 
   3989    fi
   3990 fi
   3991 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3992 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3993  EGREP="$ac_cv_path_EGREP"
   3994 
   3995 
   3996 
   3997 # Check whether --with-gnu-ld was given.
   3998 if test "${with_gnu_ld+set}" = set; then
   3999   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4000 else
   4001   with_gnu_ld=no
   4002 fi
   4003 
   4004 ac_prog=ld
   4005 if test "$GCC" = yes; then
   4006   # Check if gcc -print-prog-name=ld gives a path.
   4007   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4008 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4009   case $host in
   4010   *-*-mingw*)
   4011     # gcc leaves a trailing carriage return which upsets mingw
   4012     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4013   *)
   4014     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4015   esac
   4016   case $ac_prog in
   4017     # Accept absolute paths.
   4018     [\\/]* | ?:[\\/]*)
   4019       re_direlt='/[^/][^/]*/\.\./'
   4020       # Canonicalize the pathname of ld
   4021       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4022       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4023 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4024       done
   4025       test -z "$LD" && LD="$ac_prog"
   4026       ;;
   4027   "")
   4028     # If it fails, then pretend we aren't using GCC.
   4029     ac_prog=ld
   4030     ;;
   4031   *)
   4032     # If it is relative, then search for the first ld in PATH.
   4033     with_gnu_ld=unknown
   4034     ;;
   4035   esac
   4036 elif test "$with_gnu_ld" = yes; then
   4037   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4038 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4039 else
   4040   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4041 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4042 fi
   4043 if test "${lt_cv_path_LD+set}" = set; then
   4044   echo $ECHO_N "(cached) $ECHO_C" >&6
   4045 else
   4046   if test -z "$LD"; then
   4047   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4048   for ac_dir in $PATH; do
   4049     IFS="$lt_save_ifs"
   4050     test -z "$ac_dir" && ac_dir=.
   4051     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4052       lt_cv_path_LD="$ac_dir/$ac_prog"
   4053       # Check to see if the program is GNU ld.  I'd rather use --version,
   4054       # but apparently some variants of GNU ld only accept -v.
   4055       # Break only if it was the GNU/non-GNU ld that we prefer.
   4056       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4057       *GNU* | *'with BFD'*)
   4058 	test "$with_gnu_ld" != no && break
   4059 	;;
   4060       *)
   4061 	test "$with_gnu_ld" != yes && break
   4062 	;;
   4063       esac
   4064     fi
   4065   done
   4066   IFS="$lt_save_ifs"
   4067 else
   4068   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4069 fi
   4070 fi
   4071 
   4072 LD="$lt_cv_path_LD"
   4073 if test -n "$LD"; then
   4074   { echo "$as_me:$LINENO: result: $LD" >&5
   4075 echo "${ECHO_T}$LD" >&6; }
   4076 else
   4077   { echo "$as_me:$LINENO: result: no" >&5
   4078 echo "${ECHO_T}no" >&6; }
   4079 fi
   4080 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4081 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4082    { (exit 1); exit 1; }; }
   4083 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4084 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4085 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4086   echo $ECHO_N "(cached) $ECHO_C" >&6
   4087 else
   4088   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4089 case `$LD -v 2>&1 </dev/null` in
   4090 *GNU* | *'with BFD'*)
   4091   lt_cv_prog_gnu_ld=yes
   4092   ;;
   4093 *)
   4094   lt_cv_prog_gnu_ld=no
   4095   ;;
   4096 esac
   4097 fi
   4098 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4099 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4100 with_gnu_ld=$lt_cv_prog_gnu_ld
   4101 
   4102 
   4103 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4104 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4105 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4106   echo $ECHO_N "(cached) $ECHO_C" >&6
   4107 else
   4108   lt_cv_ld_reload_flag='-r'
   4109 fi
   4110 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4111 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4112 reload_flag=$lt_cv_ld_reload_flag
   4113 case $reload_flag in
   4114 "" | " "*) ;;
   4115 *) reload_flag=" $reload_flag" ;;
   4116 esac
   4117 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4118 case $host_os in
   4119   darwin*)
   4120     if test "$GCC" = yes; then
   4121       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4122     else
   4123       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4124     fi
   4125     ;;
   4126 esac
   4127 
   4128 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4129 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4130 if test "${lt_cv_path_NM+set}" = set; then
   4131   echo $ECHO_N "(cached) $ECHO_C" >&6
   4132 else
   4133   if test -n "$NM"; then
   4134   # Let the user override the test.
   4135   lt_cv_path_NM="$NM"
   4136 else
   4137   lt_nm_to_check="${ac_tool_prefix}nm"
   4138   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4139     lt_nm_to_check="$lt_nm_to_check nm"
   4140   fi
   4141   for lt_tmp_nm in $lt_nm_to_check; do
   4142     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4143     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4144       IFS="$lt_save_ifs"
   4145       test -z "$ac_dir" && ac_dir=.
   4146       tmp_nm="$ac_dir/$lt_tmp_nm"
   4147       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4148 	# Check to see if the nm accepts a BSD-compat flag.
   4149 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4150 	#   nm: unknown option "B" ignored
   4151 	# Tru64's nm complains that /dev/null is an invalid object file
   4152 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4153 	*/dev/null* | *'Invalid file or object type'*)
   4154 	  lt_cv_path_NM="$tmp_nm -B"
   4155 	  break
   4156 	  ;;
   4157 	*)
   4158 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4159 	  */dev/null*)
   4160 	    lt_cv_path_NM="$tmp_nm -p"
   4161 	    break
   4162 	    ;;
   4163 	  *)
   4164 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4165 	    continue # so that we can try to find one that supports BSD flags
   4166 	    ;;
   4167 	  esac
   4168 	  ;;
   4169 	esac
   4170       fi
   4171     done
   4172     IFS="$lt_save_ifs"
   4173   done
   4174   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4175 fi
   4176 fi
   4177 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4178 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4179 NM="$lt_cv_path_NM"
   4180 
   4181 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4182 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4183 LN_S=$as_ln_s
   4184 if test "$LN_S" = "ln -s"; then
   4185   { echo "$as_me:$LINENO: result: yes" >&5
   4186 echo "${ECHO_T}yes" >&6; }
   4187 else
   4188   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4189 echo "${ECHO_T}no, using $LN_S" >&6; }
   4190 fi
   4191 
   4192 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4193 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4194 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4195   echo $ECHO_N "(cached) $ECHO_C" >&6
   4196 else
   4197   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4198 lt_cv_file_magic_test_file=
   4199 lt_cv_deplibs_check_method='unknown'
   4200 # Need to set the preceding variable on all platforms that support
   4201 # interlibrary dependencies.
   4202 # 'none' -- dependencies not supported.
   4203 # `unknown' -- same as none, but documents that we really don't know.
   4204 # 'pass_all' -- all dependencies passed with no checks.
   4205 # 'test_compile' -- check by making test program.
   4206 # 'file_magic [[regex]]' -- check by looking for files in library path
   4207 # which responds to the $file_magic_cmd with a given extended regex.
   4208 # If you have `file' or equivalent on your system and you're not sure
   4209 # whether `pass_all' will *always* work, you probably want this one.
   4210 
   4211 case $host_os in
   4212 aix4* | aix5*)
   4213   lt_cv_deplibs_check_method=pass_all
   4214   ;;
   4215 
   4216 beos*)
   4217   lt_cv_deplibs_check_method=pass_all
   4218   ;;
   4219 
   4220 bsdi[45]*)
   4221   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4222   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4223   lt_cv_file_magic_test_file=/shlib/libc.so
   4224   ;;
   4225 
   4226 cygwin*)
   4227   # func_win32_libid is a shell function defined in ltmain.sh
   4228   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4229   lt_cv_file_magic_cmd='func_win32_libid'
   4230   ;;
   4231 
   4232 mingw* | pw32*)
   4233   # Base MSYS/MinGW do not provide the 'file' command needed by
   4234   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4235   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4236   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4237   ;;
   4238 
   4239 darwin* | rhapsody*)
   4240   lt_cv_deplibs_check_method=pass_all
   4241   ;;
   4242 
   4243 freebsd* | kfreebsd*-gnu | dragonfly*)
   4244   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4245     case $host_cpu in
   4246     i*86 )
   4247       # Not sure whether the presence of OpenBSD here was a mistake.
   4248       # Let's accept both of them until this is cleared up.
   4249       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4250       lt_cv_file_magic_cmd=/usr/bin/file
   4251       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4252       ;;
   4253     esac
   4254   else
   4255     lt_cv_deplibs_check_method=pass_all
   4256   fi
   4257   ;;
   4258 
   4259 gnu*)
   4260   lt_cv_deplibs_check_method=pass_all
   4261   ;;
   4262 
   4263 hpux10.20* | hpux11*)
   4264   lt_cv_file_magic_cmd=/usr/bin/file
   4265   case $host_cpu in
   4266   ia64*)
   4267     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4268     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4269     ;;
   4270   hppa*64*)
   4271     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]'
   4272     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4273     ;;
   4274   *)
   4275     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4276     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4277     ;;
   4278   esac
   4279   ;;
   4280 
   4281 interix3*)
   4282   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4283   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4284   ;;
   4285 
   4286 irix5* | irix6* | nonstopux*)
   4287   case $LD in
   4288   *-32|*"-32 ") libmagic=32-bit;;
   4289   *-n32|*"-n32 ") libmagic=N32;;
   4290   *-64|*"-64 ") libmagic=64-bit;;
   4291   *) libmagic=never-match;;
   4292   esac
   4293   lt_cv_deplibs_check_method=pass_all
   4294   ;;
   4295 
   4296 # This must be Linux ELF.
   4297 linux*)
   4298   lt_cv_deplibs_check_method=pass_all
   4299   ;;
   4300 
   4301 netbsd*)
   4302   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4303     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4304   else
   4305     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4306   fi
   4307   ;;
   4308 
   4309 newos6*)
   4310   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4311   lt_cv_file_magic_cmd=/usr/bin/file
   4312   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4313   ;;
   4314 
   4315 nto-qnx*)
   4316   lt_cv_deplibs_check_method=unknown
   4317   ;;
   4318 
   4319 openbsd*)
   4320   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4321     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4322   else
   4323     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4324   fi
   4325   ;;
   4326 
   4327 osf3* | osf4* | osf5*)
   4328   lt_cv_deplibs_check_method=pass_all
   4329   ;;
   4330 
   4331 solaris*)
   4332   lt_cv_deplibs_check_method=pass_all
   4333   ;;
   4334 
   4335 sysv4 | sysv4.3*)
   4336   case $host_vendor in
   4337   motorola)
   4338     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]'
   4339     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4340     ;;
   4341   ncr)
   4342     lt_cv_deplibs_check_method=pass_all
   4343     ;;
   4344   sequent)
   4345     lt_cv_file_magic_cmd='/bin/file'
   4346     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4347     ;;
   4348   sni)
   4349     lt_cv_file_magic_cmd='/bin/file'
   4350     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4351     lt_cv_file_magic_test_file=/lib/libc.so
   4352     ;;
   4353   siemens)
   4354     lt_cv_deplibs_check_method=pass_all
   4355     ;;
   4356   pc)
   4357     lt_cv_deplibs_check_method=pass_all
   4358     ;;
   4359   esac
   4360   ;;
   4361 
   4362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4363   lt_cv_deplibs_check_method=pass_all
   4364   ;;
   4365 esac
   4366 
   4367 fi
   4368 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4369 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4370 file_magic_cmd=$lt_cv_file_magic_cmd
   4371 deplibs_check_method=$lt_cv_deplibs_check_method
   4372 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4373 
   4374 
   4375 
   4376 
   4377 # If no C compiler was specified, use CC.
   4378 LTCC=${LTCC-"$CC"}
   4379 
   4380 # If no C compiler flags were specified, use CFLAGS.
   4381 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4382 
   4383 # Allow CC to be a program name with arguments.
   4384 compiler=$CC
   4385 
   4386 
   4387 # Check whether --enable-libtool-lock was given.
   4388 if test "${enable_libtool_lock+set}" = set; then
   4389   enableval=$enable_libtool_lock;
   4390 fi
   4391 
   4392 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4393 
   4394 # Some flags need to be propagated to the compiler or linker for good
   4395 # libtool support.
   4396 case $host in
   4397 ia64-*-hpux*)
   4398   # Find out which ABI we are using.
   4399   echo 'int i;' > conftest.$ac_ext
   4400   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4401   (eval $ac_compile) 2>&5
   4402   ac_status=$?
   4403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4404   (exit $ac_status); }; then
   4405     case `/usr/bin/file conftest.$ac_objext` in
   4406     *ELF-32*)
   4407       HPUX_IA64_MODE="32"
   4408       ;;
   4409     *ELF-64*)
   4410       HPUX_IA64_MODE="64"
   4411       ;;
   4412     esac
   4413   fi
   4414   rm -rf conftest*
   4415   ;;
   4416 *-*-irix6*)
   4417   # Find out which ABI we are using.
   4418   echo '#line 4418 "configure"' > conftest.$ac_ext
   4419   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4420   (eval $ac_compile) 2>&5
   4421   ac_status=$?
   4422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4423   (exit $ac_status); }; then
   4424    if test "$lt_cv_prog_gnu_ld" = yes; then
   4425     case `/usr/bin/file conftest.$ac_objext` in
   4426     *32-bit*)
   4427       LD="${LD-ld} -melf32bsmip"
   4428       ;;
   4429     *N32*)
   4430       LD="${LD-ld} -melf32bmipn32"
   4431       ;;
   4432     *64-bit*)
   4433       LD="${LD-ld} -melf64bmip"
   4434       ;;
   4435     esac
   4436    else
   4437     case `/usr/bin/file conftest.$ac_objext` in
   4438     *32-bit*)
   4439       LD="${LD-ld} -32"
   4440       ;;
   4441     *N32*)
   4442       LD="${LD-ld} -n32"
   4443       ;;
   4444     *64-bit*)
   4445       LD="${LD-ld} -64"
   4446       ;;
   4447     esac
   4448    fi
   4449   fi
   4450   rm -rf conftest*
   4451   ;;
   4452 
   4453 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4454   # Find out which ABI we are using.
   4455   echo 'int i;' > conftest.$ac_ext
   4456   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4457   (eval $ac_compile) 2>&5
   4458   ac_status=$?
   4459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4460   (exit $ac_status); }; then
   4461     case `/usr/bin/file conftest.o` in
   4462     *32-bit*)
   4463       case $host in
   4464         x86_64-*linux*)
   4465           LD="${LD-ld} -m elf_i386"
   4466           ;;
   4467         ppc64-*linux*|powerpc64-*linux*)
   4468           LD="${LD-ld} -m elf32ppclinux"
   4469           ;;
   4470         s390x-*linux*)
   4471           LD="${LD-ld} -m elf_s390"
   4472           ;;
   4473         sparc64-*linux*)
   4474           LD="${LD-ld} -m elf32_sparc"
   4475           ;;
   4476       esac
   4477       ;;
   4478     *64-bit*)
   4479       case $host in
   4480         x86_64-*linux*)
   4481           LD="${LD-ld} -m elf_x86_64"
   4482           ;;
   4483         ppc*-*linux*|powerpc*-*linux*)
   4484           LD="${LD-ld} -m elf64ppc"
   4485           ;;
   4486         s390*-*linux*)
   4487           LD="${LD-ld} -m elf64_s390"
   4488           ;;
   4489         sparc*-*linux*)
   4490           LD="${LD-ld} -m elf64_sparc"
   4491           ;;
   4492       esac
   4493       ;;
   4494     esac
   4495   fi
   4496   rm -rf conftest*
   4497   ;;
   4498 
   4499 *-*-sco3.2v5*)
   4500   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4501   SAVE_CFLAGS="$CFLAGS"
   4502   CFLAGS="$CFLAGS -belf"
   4503   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4504 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4505 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4506   echo $ECHO_N "(cached) $ECHO_C" >&6
   4507 else
   4508   ac_ext=c
   4509 ac_cpp='$CPP $CPPFLAGS'
   4510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4513 
   4514      cat >conftest.$ac_ext <<_ACEOF
   4515 /* confdefs.h.  */
   4516 _ACEOF
   4517 cat confdefs.h >>conftest.$ac_ext
   4518 cat >>conftest.$ac_ext <<_ACEOF
   4519 /* end confdefs.h.  */
   4520 
   4521 int
   4522 main ()
   4523 {
   4524 
   4525   ;
   4526   return 0;
   4527 }
   4528 _ACEOF
   4529 rm -f conftest.$ac_objext conftest$ac_exeext
   4530 if { (ac_try="$ac_link"
   4531 case "(($ac_try" in
   4532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4533   *) ac_try_echo=$ac_try;;
   4534 esac
   4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4536   (eval "$ac_link") 2>conftest.er1
   4537   ac_status=$?
   4538   grep -v '^ *+' conftest.er1 >conftest.err
   4539   rm -f conftest.er1
   4540   cat conftest.err >&5
   4541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4542   (exit $ac_status); } && {
   4543 	 test -z "$ac_c_werror_flag" ||
   4544 	 test ! -s conftest.err
   4545        } && test -s conftest$ac_exeext &&
   4546        $as_test_x conftest$ac_exeext; then
   4547   lt_cv_cc_needs_belf=yes
   4548 else
   4549   echo "$as_me: failed program was:" >&5
   4550 sed 's/^/| /' conftest.$ac_ext >&5
   4551 
   4552 	lt_cv_cc_needs_belf=no
   4553 fi
   4554 
   4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4556       conftest$ac_exeext conftest.$ac_ext
   4557      ac_ext=c
   4558 ac_cpp='$CPP $CPPFLAGS'
   4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4562 
   4563 fi
   4564 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4565 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4566   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4567     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4568     CFLAGS="$SAVE_CFLAGS"
   4569   fi
   4570   ;;
   4571 sparc*-*solaris*)
   4572   # Find out which ABI we are using.
   4573   echo 'int i;' > conftest.$ac_ext
   4574   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4575   (eval $ac_compile) 2>&5
   4576   ac_status=$?
   4577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4578   (exit $ac_status); }; then
   4579     case `/usr/bin/file conftest.o` in
   4580     *64-bit*)
   4581       case $lt_cv_prog_gnu_ld in
   4582       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4583       *)    LD="${LD-ld} -64" ;;
   4584       esac
   4585       ;;
   4586     esac
   4587   fi
   4588   rm -rf conftest*
   4589   ;;
   4590 
   4591 
   4592 esac
   4593 
   4594 need_locks="$enable_libtool_lock"
   4595 
   4596 
   4597 ac_ext=c
   4598 ac_cpp='$CPP $CPPFLAGS'
   4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4602 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4603 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4604 # On Suns, sometimes $CPP names a directory.
   4605 if test -n "$CPP" && test -d "$CPP"; then
   4606   CPP=
   4607 fi
   4608 if test -z "$CPP"; then
   4609   if test "${ac_cv_prog_CPP+set}" = set; then
   4610   echo $ECHO_N "(cached) $ECHO_C" >&6
   4611 else
   4612       # Double quotes because CPP needs to be expanded
   4613     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4614     do
   4615       ac_preproc_ok=false
   4616 for ac_c_preproc_warn_flag in '' yes
   4617 do
   4618   # Use a header file that comes with gcc, so configuring glibc
   4619   # with a fresh cross-compiler works.
   4620   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4621   # <limits.h> exists even on freestanding compilers.
   4622   # On the NeXT, cc -E runs the code through the compiler's parser,
   4623   # not just through cpp. "Syntax error" is here to catch this case.
   4624   cat >conftest.$ac_ext <<_ACEOF
   4625 /* confdefs.h.  */
   4626 _ACEOF
   4627 cat confdefs.h >>conftest.$ac_ext
   4628 cat >>conftest.$ac_ext <<_ACEOF
   4629 /* end confdefs.h.  */
   4630 #ifdef __STDC__
   4631 # include <limits.h>
   4632 #else
   4633 # include <assert.h>
   4634 #endif
   4635 		     Syntax error
   4636 _ACEOF
   4637 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4638 case "(($ac_try" in
   4639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4640   *) ac_try_echo=$ac_try;;
   4641 esac
   4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4643   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4644   ac_status=$?
   4645   grep -v '^ *+' conftest.er1 >conftest.err
   4646   rm -f conftest.er1
   4647   cat conftest.err >&5
   4648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4649   (exit $ac_status); } >/dev/null && {
   4650 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4651 	 test ! -s conftest.err
   4652        }; then
   4653   :
   4654 else
   4655   echo "$as_me: failed program was:" >&5
   4656 sed 's/^/| /' conftest.$ac_ext >&5
   4657 
   4658   # Broken: fails on valid input.
   4659 continue
   4660 fi
   4661 
   4662 rm -f conftest.err conftest.$ac_ext
   4663 
   4664   # OK, works on sane cases.  Now check whether nonexistent headers
   4665   # can be detected and how.
   4666   cat >conftest.$ac_ext <<_ACEOF
   4667 /* confdefs.h.  */
   4668 _ACEOF
   4669 cat confdefs.h >>conftest.$ac_ext
   4670 cat >>conftest.$ac_ext <<_ACEOF
   4671 /* end confdefs.h.  */
   4672 #include <ac_nonexistent.h>
   4673 _ACEOF
   4674 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4675 case "(($ac_try" in
   4676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4677   *) ac_try_echo=$ac_try;;
   4678 esac
   4679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4680   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4681   ac_status=$?
   4682   grep -v '^ *+' conftest.er1 >conftest.err
   4683   rm -f conftest.er1
   4684   cat conftest.err >&5
   4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4686   (exit $ac_status); } >/dev/null && {
   4687 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4688 	 test ! -s conftest.err
   4689        }; then
   4690   # Broken: success on invalid input.
   4691 continue
   4692 else
   4693   echo "$as_me: failed program was:" >&5
   4694 sed 's/^/| /' conftest.$ac_ext >&5
   4695 
   4696   # Passes both tests.
   4697 ac_preproc_ok=:
   4698 break
   4699 fi
   4700 
   4701 rm -f conftest.err conftest.$ac_ext
   4702 
   4703 done
   4704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4705 rm -f conftest.err conftest.$ac_ext
   4706 if $ac_preproc_ok; then
   4707   break
   4708 fi
   4709 
   4710     done
   4711     ac_cv_prog_CPP=$CPP
   4712 
   4713 fi
   4714   CPP=$ac_cv_prog_CPP
   4715 else
   4716   ac_cv_prog_CPP=$CPP
   4717 fi
   4718 { echo "$as_me:$LINENO: result: $CPP" >&5
   4719 echo "${ECHO_T}$CPP" >&6; }
   4720 ac_preproc_ok=false
   4721 for ac_c_preproc_warn_flag in '' yes
   4722 do
   4723   # Use a header file that comes with gcc, so configuring glibc
   4724   # with a fresh cross-compiler works.
   4725   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4726   # <limits.h> exists even on freestanding compilers.
   4727   # On the NeXT, cc -E runs the code through the compiler's parser,
   4728   # not just through cpp. "Syntax error" is here to catch this case.
   4729   cat >conftest.$ac_ext <<_ACEOF
   4730 /* confdefs.h.  */
   4731 _ACEOF
   4732 cat confdefs.h >>conftest.$ac_ext
   4733 cat >>conftest.$ac_ext <<_ACEOF
   4734 /* end confdefs.h.  */
   4735 #ifdef __STDC__
   4736 # include <limits.h>
   4737 #else
   4738 # include <assert.h>
   4739 #endif
   4740 		     Syntax error
   4741 _ACEOF
   4742 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4743 case "(($ac_try" in
   4744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4745   *) ac_try_echo=$ac_try;;
   4746 esac
   4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4748   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4749   ac_status=$?
   4750   grep -v '^ *+' conftest.er1 >conftest.err
   4751   rm -f conftest.er1
   4752   cat conftest.err >&5
   4753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4754   (exit $ac_status); } >/dev/null && {
   4755 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4756 	 test ! -s conftest.err
   4757        }; then
   4758   :
   4759 else
   4760   echo "$as_me: failed program was:" >&5
   4761 sed 's/^/| /' conftest.$ac_ext >&5
   4762 
   4763   # Broken: fails on valid input.
   4764 continue
   4765 fi
   4766 
   4767 rm -f conftest.err conftest.$ac_ext
   4768 
   4769   # OK, works on sane cases.  Now check whether nonexistent headers
   4770   # can be detected and how.
   4771   cat >conftest.$ac_ext <<_ACEOF
   4772 /* confdefs.h.  */
   4773 _ACEOF
   4774 cat confdefs.h >>conftest.$ac_ext
   4775 cat >>conftest.$ac_ext <<_ACEOF
   4776 /* end confdefs.h.  */
   4777 #include <ac_nonexistent.h>
   4778 _ACEOF
   4779 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4780 case "(($ac_try" in
   4781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4782   *) ac_try_echo=$ac_try;;
   4783 esac
   4784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4785   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4786   ac_status=$?
   4787   grep -v '^ *+' conftest.er1 >conftest.err
   4788   rm -f conftest.er1
   4789   cat conftest.err >&5
   4790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4791   (exit $ac_status); } >/dev/null && {
   4792 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4793 	 test ! -s conftest.err
   4794        }; then
   4795   # Broken: success on invalid input.
   4796 continue
   4797 else
   4798   echo "$as_me: failed program was:" >&5
   4799 sed 's/^/| /' conftest.$ac_ext >&5
   4800 
   4801   # Passes both tests.
   4802 ac_preproc_ok=:
   4803 break
   4804 fi
   4805 
   4806 rm -f conftest.err conftest.$ac_ext
   4807 
   4808 done
   4809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4810 rm -f conftest.err conftest.$ac_ext
   4811 if $ac_preproc_ok; then
   4812   :
   4813 else
   4814   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4815 See \`config.log' for more details." >&5
   4816 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4817 See \`config.log' for more details." >&2;}
   4818    { (exit 1); exit 1; }; }
   4819 fi
   4820 
   4821 ac_ext=c
   4822 ac_cpp='$CPP $CPPFLAGS'
   4823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4826 
   4827 
   4828 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4829 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4830 if test "${ac_cv_header_stdc+set}" = set; then
   4831   echo $ECHO_N "(cached) $ECHO_C" >&6
   4832 else
   4833   cat >conftest.$ac_ext <<_ACEOF
   4834 /* confdefs.h.  */
   4835 _ACEOF
   4836 cat confdefs.h >>conftest.$ac_ext
   4837 cat >>conftest.$ac_ext <<_ACEOF
   4838 /* end confdefs.h.  */
   4839 #include <stdlib.h>
   4840 #include <stdarg.h>
   4841 #include <string.h>
   4842 #include <float.h>
   4843 
   4844 int
   4845 main ()
   4846 {
   4847 
   4848   ;
   4849   return 0;
   4850 }
   4851 _ACEOF
   4852 rm -f conftest.$ac_objext
   4853 if { (ac_try="$ac_compile"
   4854 case "(($ac_try" in
   4855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4856   *) ac_try_echo=$ac_try;;
   4857 esac
   4858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4859   (eval "$ac_compile") 2>conftest.er1
   4860   ac_status=$?
   4861   grep -v '^ *+' conftest.er1 >conftest.err
   4862   rm -f conftest.er1
   4863   cat conftest.err >&5
   4864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4865   (exit $ac_status); } && {
   4866 	 test -z "$ac_c_werror_flag" ||
   4867 	 test ! -s conftest.err
   4868        } && test -s conftest.$ac_objext; then
   4869   ac_cv_header_stdc=yes
   4870 else
   4871   echo "$as_me: failed program was:" >&5
   4872 sed 's/^/| /' conftest.$ac_ext >&5
   4873 
   4874 	ac_cv_header_stdc=no
   4875 fi
   4876 
   4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4878 
   4879 if test $ac_cv_header_stdc = yes; then
   4880   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4881   cat >conftest.$ac_ext <<_ACEOF
   4882 /* confdefs.h.  */
   4883 _ACEOF
   4884 cat confdefs.h >>conftest.$ac_ext
   4885 cat >>conftest.$ac_ext <<_ACEOF
   4886 /* end confdefs.h.  */
   4887 #include <string.h>
   4888 
   4889 _ACEOF
   4890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4891   $EGREP "memchr" >/dev/null 2>&1; then
   4892   :
   4893 else
   4894   ac_cv_header_stdc=no
   4895 fi
   4896 rm -f conftest*
   4897 
   4898 fi
   4899 
   4900 if test $ac_cv_header_stdc = yes; then
   4901   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4902   cat >conftest.$ac_ext <<_ACEOF
   4903 /* confdefs.h.  */
   4904 _ACEOF
   4905 cat confdefs.h >>conftest.$ac_ext
   4906 cat >>conftest.$ac_ext <<_ACEOF
   4907 /* end confdefs.h.  */
   4908 #include <stdlib.h>
   4909 
   4910 _ACEOF
   4911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4912   $EGREP "free" >/dev/null 2>&1; then
   4913   :
   4914 else
   4915   ac_cv_header_stdc=no
   4916 fi
   4917 rm -f conftest*
   4918 
   4919 fi
   4920 
   4921 if test $ac_cv_header_stdc = yes; then
   4922   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4923   if test "$cross_compiling" = yes; then
   4924   :
   4925 else
   4926   cat >conftest.$ac_ext <<_ACEOF
   4927 /* confdefs.h.  */
   4928 _ACEOF
   4929 cat confdefs.h >>conftest.$ac_ext
   4930 cat >>conftest.$ac_ext <<_ACEOF
   4931 /* end confdefs.h.  */
   4932 #include <ctype.h>
   4933 #include <stdlib.h>
   4934 #if ((' ' & 0x0FF) == 0x020)
   4935 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4936 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4937 #else
   4938 # define ISLOWER(c) \
   4939 		   (('a' <= (c) && (c) <= 'i') \
   4940 		     || ('j' <= (c) && (c) <= 'r') \
   4941 		     || ('s' <= (c) && (c) <= 'z'))
   4942 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4943 #endif
   4944 
   4945 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4946 int
   4947 main ()
   4948 {
   4949   int i;
   4950   for (i = 0; i < 256; i++)
   4951     if (XOR (islower (i), ISLOWER (i))
   4952 	|| toupper (i) != TOUPPER (i))
   4953       return 2;
   4954   return 0;
   4955 }
   4956 _ACEOF
   4957 rm -f conftest$ac_exeext
   4958 if { (ac_try="$ac_link"
   4959 case "(($ac_try" in
   4960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4961   *) ac_try_echo=$ac_try;;
   4962 esac
   4963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4964   (eval "$ac_link") 2>&5
   4965   ac_status=$?
   4966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4967   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4968   { (case "(($ac_try" in
   4969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4970   *) ac_try_echo=$ac_try;;
   4971 esac
   4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4973   (eval "$ac_try") 2>&5
   4974   ac_status=$?
   4975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4976   (exit $ac_status); }; }; then
   4977   :
   4978 else
   4979   echo "$as_me: program exited with status $ac_status" >&5
   4980 echo "$as_me: failed program was:" >&5
   4981 sed 's/^/| /' conftest.$ac_ext >&5
   4982 
   4983 ( exit $ac_status )
   4984 ac_cv_header_stdc=no
   4985 fi
   4986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4987 fi
   4988 
   4989 
   4990 fi
   4991 fi
   4992 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4993 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4994 if test $ac_cv_header_stdc = yes; then
   4995 
   4996 cat >>confdefs.h <<\_ACEOF
   4997 #define STDC_HEADERS 1
   4998 _ACEOF
   4999 
   5000 fi
   5001 
   5002 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5013 		  inttypes.h stdint.h unistd.h
   5014 do
   5015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5016 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5019   echo $ECHO_N "(cached) $ECHO_C" >&6
   5020 else
   5021   cat >conftest.$ac_ext <<_ACEOF
   5022 /* confdefs.h.  */
   5023 _ACEOF
   5024 cat confdefs.h >>conftest.$ac_ext
   5025 cat >>conftest.$ac_ext <<_ACEOF
   5026 /* end confdefs.h.  */
   5027 $ac_includes_default
   5028 
   5029 #include <$ac_header>
   5030 _ACEOF
   5031 rm -f conftest.$ac_objext
   5032 if { (ac_try="$ac_compile"
   5033 case "(($ac_try" in
   5034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5035   *) ac_try_echo=$ac_try;;
   5036 esac
   5037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5038   (eval "$ac_compile") 2>conftest.er1
   5039   ac_status=$?
   5040   grep -v '^ *+' conftest.er1 >conftest.err
   5041   rm -f conftest.er1
   5042   cat conftest.err >&5
   5043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5044   (exit $ac_status); } && {
   5045 	 test -z "$ac_c_werror_flag" ||
   5046 	 test ! -s conftest.err
   5047        } && test -s conftest.$ac_objext; then
   5048   eval "$as_ac_Header=yes"
   5049 else
   5050   echo "$as_me: failed program was:" >&5
   5051 sed 's/^/| /' conftest.$ac_ext >&5
   5052 
   5053 	eval "$as_ac_Header=no"
   5054 fi
   5055 
   5056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5057 fi
   5058 ac_res=`eval echo '${'$as_ac_Header'}'`
   5059 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5060 echo "${ECHO_T}$ac_res" >&6; }
   5061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5062   cat >>confdefs.h <<_ACEOF
   5063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5064 _ACEOF
   5065 
   5066 fi
   5067 
   5068 done
   5069 
   5070 
   5071 
   5072 for ac_header in dlfcn.h
   5073 do
   5074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5075 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5076   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5079   echo $ECHO_N "(cached) $ECHO_C" >&6
   5080 fi
   5081 ac_res=`eval echo '${'$as_ac_Header'}'`
   5082 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5083 echo "${ECHO_T}$ac_res" >&6; }
   5084 else
   5085   # Is the header compilable?
   5086 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5088 cat >conftest.$ac_ext <<_ACEOF
   5089 /* confdefs.h.  */
   5090 _ACEOF
   5091 cat confdefs.h >>conftest.$ac_ext
   5092 cat >>conftest.$ac_ext <<_ACEOF
   5093 /* end confdefs.h.  */
   5094 $ac_includes_default
   5095 #include <$ac_header>
   5096 _ACEOF
   5097 rm -f conftest.$ac_objext
   5098 if { (ac_try="$ac_compile"
   5099 case "(($ac_try" in
   5100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5101   *) ac_try_echo=$ac_try;;
   5102 esac
   5103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5104   (eval "$ac_compile") 2>conftest.er1
   5105   ac_status=$?
   5106   grep -v '^ *+' conftest.er1 >conftest.err
   5107   rm -f conftest.er1
   5108   cat conftest.err >&5
   5109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5110   (exit $ac_status); } && {
   5111 	 test -z "$ac_c_werror_flag" ||
   5112 	 test ! -s conftest.err
   5113        } && test -s conftest.$ac_objext; then
   5114   ac_header_compiler=yes
   5115 else
   5116   echo "$as_me: failed program was:" >&5
   5117 sed 's/^/| /' conftest.$ac_ext >&5
   5118 
   5119 	ac_header_compiler=no
   5120 fi
   5121 
   5122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5123 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5124 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5125 
   5126 # Is the header present?
   5127 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5129 cat >conftest.$ac_ext <<_ACEOF
   5130 /* confdefs.h.  */
   5131 _ACEOF
   5132 cat confdefs.h >>conftest.$ac_ext
   5133 cat >>conftest.$ac_ext <<_ACEOF
   5134 /* end confdefs.h.  */
   5135 #include <$ac_header>
   5136 _ACEOF
   5137 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5138 case "(($ac_try" in
   5139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5140   *) ac_try_echo=$ac_try;;
   5141 esac
   5142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5143   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5144   ac_status=$?
   5145   grep -v '^ *+' conftest.er1 >conftest.err
   5146   rm -f conftest.er1
   5147   cat conftest.err >&5
   5148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5149   (exit $ac_status); } >/dev/null && {
   5150 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5151 	 test ! -s conftest.err
   5152        }; then
   5153   ac_header_preproc=yes
   5154 else
   5155   echo "$as_me: failed program was:" >&5
   5156 sed 's/^/| /' conftest.$ac_ext >&5
   5157 
   5158   ac_header_preproc=no
   5159 fi
   5160 
   5161 rm -f conftest.err conftest.$ac_ext
   5162 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5163 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5164 
   5165 # So?  What about this header?
   5166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5167   yes:no: )
   5168     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5170     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5172     ac_header_preproc=yes
   5173     ;;
   5174   no:yes:* )
   5175     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5177     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5178 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5179     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5181     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5182 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5183     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5185     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5187     ( cat <<\_ASBOX
   5188 ## ---------------------------------------------------------------------- ##
   5189 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5190 ## ---------------------------------------------------------------------- ##
   5191 _ASBOX
   5192      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5193     ;;
   5194 esac
   5195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5198   echo $ECHO_N "(cached) $ECHO_C" >&6
   5199 else
   5200   eval "$as_ac_Header=\$ac_header_preproc"
   5201 fi
   5202 ac_res=`eval echo '${'$as_ac_Header'}'`
   5203 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5204 echo "${ECHO_T}$ac_res" >&6; }
   5205 
   5206 fi
   5207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5208   cat >>confdefs.h <<_ACEOF
   5209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5210 _ACEOF
   5211 
   5212 fi
   5213 
   5214 done
   5215 
   5216 ac_ext=cpp
   5217 ac_cpp='$CXXCPP $CPPFLAGS'
   5218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5221 if test -z "$CXX"; then
   5222   if test -n "$CCC"; then
   5223     CXX=$CCC
   5224   else
   5225     if test -n "$ac_tool_prefix"; then
   5226   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5227   do
   5228     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5232 if test "${ac_cv_prog_CXX+set}" = set; then
   5233   echo $ECHO_N "(cached) $ECHO_C" >&6
   5234 else
   5235   if test -n "$CXX"; then
   5236   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5237 else
   5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5239 for as_dir in $PATH
   5240 do
   5241   IFS=$as_save_IFS
   5242   test -z "$as_dir" && as_dir=.
   5243   for ac_exec_ext in '' $ac_executable_extensions; do
   5244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5245     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5246     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5247     break 2
   5248   fi
   5249 done
   5250 done
   5251 IFS=$as_save_IFS
   5252 
   5253 fi
   5254 fi
   5255 CXX=$ac_cv_prog_CXX
   5256 if test -n "$CXX"; then
   5257   { echo "$as_me:$LINENO: result: $CXX" >&5
   5258 echo "${ECHO_T}$CXX" >&6; }
   5259 else
   5260   { echo "$as_me:$LINENO: result: no" >&5
   5261 echo "${ECHO_T}no" >&6; }
   5262 fi
   5263 
   5264 
   5265     test -n "$CXX" && break
   5266   done
   5267 fi
   5268 if test -z "$CXX"; then
   5269   ac_ct_CXX=$CXX
   5270   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5271 do
   5272   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5273 set dummy $ac_prog; ac_word=$2
   5274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5276 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5277   echo $ECHO_N "(cached) $ECHO_C" >&6
   5278 else
   5279   if test -n "$ac_ct_CXX"; then
   5280   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5281 else
   5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5283 for as_dir in $PATH
   5284 do
   5285   IFS=$as_save_IFS
   5286   test -z "$as_dir" && as_dir=.
   5287   for ac_exec_ext in '' $ac_executable_extensions; do
   5288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5289     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5291     break 2
   5292   fi
   5293 done
   5294 done
   5295 IFS=$as_save_IFS
   5296 
   5297 fi
   5298 fi
   5299 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5300 if test -n "$ac_ct_CXX"; then
   5301   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5302 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5303 else
   5304   { echo "$as_me:$LINENO: result: no" >&5
   5305 echo "${ECHO_T}no" >&6; }
   5306 fi
   5307 
   5308 
   5309   test -n "$ac_ct_CXX" && break
   5310 done
   5311 
   5312   if test "x$ac_ct_CXX" = x; then
   5313     CXX="g++"
   5314   else
   5315     case $cross_compiling:$ac_tool_warned in
   5316 yes:)
   5317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5318 whose name does not start with the host triplet.  If you think this
   5319 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5321 whose name does not start with the host triplet.  If you think this
   5322 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5323 ac_tool_warned=yes ;;
   5324 esac
   5325     CXX=$ac_ct_CXX
   5326   fi
   5327 fi
   5328 
   5329   fi
   5330 fi
   5331 # Provide some information about the compiler.
   5332 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5333 ac_compiler=`set X $ac_compile; echo $2`
   5334 { (ac_try="$ac_compiler --version >&5"
   5335 case "(($ac_try" in
   5336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5337   *) ac_try_echo=$ac_try;;
   5338 esac
   5339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5340   (eval "$ac_compiler --version >&5") 2>&5
   5341   ac_status=$?
   5342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5343   (exit $ac_status); }
   5344 { (ac_try="$ac_compiler -v >&5"
   5345 case "(($ac_try" in
   5346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5347   *) ac_try_echo=$ac_try;;
   5348 esac
   5349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5350   (eval "$ac_compiler -v >&5") 2>&5
   5351   ac_status=$?
   5352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5353   (exit $ac_status); }
   5354 { (ac_try="$ac_compiler -V >&5"
   5355 case "(($ac_try" in
   5356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5357   *) ac_try_echo=$ac_try;;
   5358 esac
   5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5360   (eval "$ac_compiler -V >&5") 2>&5
   5361   ac_status=$?
   5362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5363   (exit $ac_status); }
   5364 
   5365 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5366 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5367 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5368   echo $ECHO_N "(cached) $ECHO_C" >&6
   5369 else
   5370   cat >conftest.$ac_ext <<_ACEOF
   5371 /* confdefs.h.  */
   5372 _ACEOF
   5373 cat confdefs.h >>conftest.$ac_ext
   5374 cat >>conftest.$ac_ext <<_ACEOF
   5375 /* end confdefs.h.  */
   5376 
   5377 int
   5378 main ()
   5379 {
   5380 #ifndef __GNUC__
   5381        choke me
   5382 #endif
   5383 
   5384   ;
   5385   return 0;
   5386 }
   5387 _ACEOF
   5388 rm -f conftest.$ac_objext
   5389 if { (ac_try="$ac_compile"
   5390 case "(($ac_try" in
   5391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5392   *) ac_try_echo=$ac_try;;
   5393 esac
   5394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5395   (eval "$ac_compile") 2>conftest.er1
   5396   ac_status=$?
   5397   grep -v '^ *+' conftest.er1 >conftest.err
   5398   rm -f conftest.er1
   5399   cat conftest.err >&5
   5400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5401   (exit $ac_status); } && {
   5402 	 test -z "$ac_cxx_werror_flag" ||
   5403 	 test ! -s conftest.err
   5404        } && test -s conftest.$ac_objext; then
   5405   ac_compiler_gnu=yes
   5406 else
   5407   echo "$as_me: failed program was:" >&5
   5408 sed 's/^/| /' conftest.$ac_ext >&5
   5409 
   5410 	ac_compiler_gnu=no
   5411 fi
   5412 
   5413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5414 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5415 
   5416 fi
   5417 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5418 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5419 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5420 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5421 ac_save_CXXFLAGS=$CXXFLAGS
   5422 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5423 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5424 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5425   echo $ECHO_N "(cached) $ECHO_C" >&6
   5426 else
   5427   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5428    ac_cxx_werror_flag=yes
   5429    ac_cv_prog_cxx_g=no
   5430    CXXFLAGS="-g"
   5431    cat >conftest.$ac_ext <<_ACEOF
   5432 /* confdefs.h.  */
   5433 _ACEOF
   5434 cat confdefs.h >>conftest.$ac_ext
   5435 cat >>conftest.$ac_ext <<_ACEOF
   5436 /* end confdefs.h.  */
   5437 
   5438 int
   5439 main ()
   5440 {
   5441 
   5442   ;
   5443   return 0;
   5444 }
   5445 _ACEOF
   5446 rm -f conftest.$ac_objext
   5447 if { (ac_try="$ac_compile"
   5448 case "(($ac_try" in
   5449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5450   *) ac_try_echo=$ac_try;;
   5451 esac
   5452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5453   (eval "$ac_compile") 2>conftest.er1
   5454   ac_status=$?
   5455   grep -v '^ *+' conftest.er1 >conftest.err
   5456   rm -f conftest.er1
   5457   cat conftest.err >&5
   5458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5459   (exit $ac_status); } && {
   5460 	 test -z "$ac_cxx_werror_flag" ||
   5461 	 test ! -s conftest.err
   5462        } && test -s conftest.$ac_objext; then
   5463   ac_cv_prog_cxx_g=yes
   5464 else
   5465   echo "$as_me: failed program was:" >&5
   5466 sed 's/^/| /' conftest.$ac_ext >&5
   5467 
   5468 	CXXFLAGS=""
   5469       cat >conftest.$ac_ext <<_ACEOF
   5470 /* confdefs.h.  */
   5471 _ACEOF
   5472 cat confdefs.h >>conftest.$ac_ext
   5473 cat >>conftest.$ac_ext <<_ACEOF
   5474 /* end confdefs.h.  */
   5475 
   5476 int
   5477 main ()
   5478 {
   5479 
   5480   ;
   5481   return 0;
   5482 }
   5483 _ACEOF
   5484 rm -f conftest.$ac_objext
   5485 if { (ac_try="$ac_compile"
   5486 case "(($ac_try" in
   5487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5488   *) ac_try_echo=$ac_try;;
   5489 esac
   5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5491   (eval "$ac_compile") 2>conftest.er1
   5492   ac_status=$?
   5493   grep -v '^ *+' conftest.er1 >conftest.err
   5494   rm -f conftest.er1
   5495   cat conftest.err >&5
   5496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5497   (exit $ac_status); } && {
   5498 	 test -z "$ac_cxx_werror_flag" ||
   5499 	 test ! -s conftest.err
   5500        } && test -s conftest.$ac_objext; then
   5501   :
   5502 else
   5503   echo "$as_me: failed program was:" >&5
   5504 sed 's/^/| /' conftest.$ac_ext >&5
   5505 
   5506 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5507 	 CXXFLAGS="-g"
   5508 	 cat >conftest.$ac_ext <<_ACEOF
   5509 /* confdefs.h.  */
   5510 _ACEOF
   5511 cat confdefs.h >>conftest.$ac_ext
   5512 cat >>conftest.$ac_ext <<_ACEOF
   5513 /* end confdefs.h.  */
   5514 
   5515 int
   5516 main ()
   5517 {
   5518 
   5519   ;
   5520   return 0;
   5521 }
   5522 _ACEOF
   5523 rm -f conftest.$ac_objext
   5524 if { (ac_try="$ac_compile"
   5525 case "(($ac_try" in
   5526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5527   *) ac_try_echo=$ac_try;;
   5528 esac
   5529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5530   (eval "$ac_compile") 2>conftest.er1
   5531   ac_status=$?
   5532   grep -v '^ *+' conftest.er1 >conftest.err
   5533   rm -f conftest.er1
   5534   cat conftest.err >&5
   5535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5536   (exit $ac_status); } && {
   5537 	 test -z "$ac_cxx_werror_flag" ||
   5538 	 test ! -s conftest.err
   5539        } && test -s conftest.$ac_objext; then
   5540   ac_cv_prog_cxx_g=yes
   5541 else
   5542   echo "$as_me: failed program was:" >&5
   5543 sed 's/^/| /' conftest.$ac_ext >&5
   5544 
   5545 
   5546 fi
   5547 
   5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5549 fi
   5550 
   5551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5552 fi
   5553 
   5554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5555    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5556 fi
   5557 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5558 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5559 if test "$ac_test_CXXFLAGS" = set; then
   5560   CXXFLAGS=$ac_save_CXXFLAGS
   5561 elif test $ac_cv_prog_cxx_g = yes; then
   5562   if test "$GXX" = yes; then
   5563     CXXFLAGS="-g -O2"
   5564   else
   5565     CXXFLAGS="-g"
   5566   fi
   5567 else
   5568   if test "$GXX" = yes; then
   5569     CXXFLAGS="-O2"
   5570   else
   5571     CXXFLAGS=
   5572   fi
   5573 fi
   5574 ac_ext=cpp
   5575 ac_cpp='$CXXCPP $CPPFLAGS'
   5576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5579 
   5580 depcc="$CXX"  am_compiler_list=
   5581 
   5582 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5583 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5584 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5585   echo $ECHO_N "(cached) $ECHO_C" >&6
   5586 else
   5587   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5588   # We make a subdir and do the tests there.  Otherwise we can end up
   5589   # making bogus files that we don't know about and never remove.  For
   5590   # instance it was reported that on HP-UX the gcc test will end up
   5591   # making a dummy file named `D' -- because `-MD' means `put the output
   5592   # in D'.
   5593   mkdir conftest.dir
   5594   # Copy depcomp to subdir because otherwise we won't find it if we're
   5595   # using a relative directory.
   5596   cp "$am_depcomp" conftest.dir
   5597   cd conftest.dir
   5598   # We will build objects and dependencies in a subdirectory because
   5599   # it helps to detect inapplicable dependency modes.  For instance
   5600   # both Tru64's cc and ICC support -MD to output dependencies as a
   5601   # side effect of compilation, but ICC will put the dependencies in
   5602   # the current directory while Tru64 will put them in the object
   5603   # directory.
   5604   mkdir sub
   5605 
   5606   am_cv_CXX_dependencies_compiler_type=none
   5607   if test "$am_compiler_list" = ""; then
   5608      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5609   fi
   5610   for depmode in $am_compiler_list; do
   5611     # Setup a source with many dependencies, because some compilers
   5612     # like to wrap large dependency lists on column 80 (with \), and
   5613     # we should not choose a depcomp mode which is confused by this.
   5614     #
   5615     # We need to recreate these files for each test, as the compiler may
   5616     # overwrite some of them when testing with obscure command lines.
   5617     # This happens at least with the AIX C compiler.
   5618     : > sub/conftest.c
   5619     for i in 1 2 3 4 5 6; do
   5620       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5621       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5622       # Solaris 8's {/usr,}/bin/sh.
   5623       touch sub/conftst$i.h
   5624     done
   5625     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5626 
   5627     case $depmode in
   5628     nosideeffect)
   5629       # after this tag, mechanisms are not by side-effect, so they'll
   5630       # only be used when explicitly requested
   5631       if test "x$enable_dependency_tracking" = xyes; then
   5632 	continue
   5633       else
   5634 	break
   5635       fi
   5636       ;;
   5637     none) break ;;
   5638     esac
   5639     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5640     # mode.  It turns out that the SunPro C++ compiler does not properly
   5641     # handle `-M -o', and we need to detect this.
   5642     if depmode=$depmode \
   5643        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5644        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5645        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5646          >/dev/null 2>conftest.err &&
   5647        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5648        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5649        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5650        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5651       # icc doesn't choke on unknown options, it will just issue warnings
   5652       # or remarks (even with -Werror).  So we grep stderr for any message
   5653       # that says an option was ignored or not supported.
   5654       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5655       #   icc: Command line warning: ignoring option '-M'; no argument required
   5656       # The diagnosis changed in icc 8.0:
   5657       #   icc: Command line remark: option '-MP' not supported
   5658       if (grep 'ignoring option' conftest.err ||
   5659           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5660         am_cv_CXX_dependencies_compiler_type=$depmode
   5661         break
   5662       fi
   5663     fi
   5664   done
   5665 
   5666   cd ..
   5667   rm -rf conftest.dir
   5668 else
   5669   am_cv_CXX_dependencies_compiler_type=none
   5670 fi
   5671 
   5672 fi
   5673 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5674 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5675 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5676 
   5677  if
   5678   test "x$enable_dependency_tracking" != xno \
   5679   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5680   am__fastdepCXX_TRUE=
   5681   am__fastdepCXX_FALSE='#'
   5682 else
   5683   am__fastdepCXX_TRUE='#'
   5684   am__fastdepCXX_FALSE=
   5685 fi
   5686 
   5687 
   5688 
   5689 
   5690 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5691     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5692     (test "X$CXX" != "Xg++"))) ; then
   5693   ac_ext=cpp
   5694 ac_cpp='$CXXCPP $CPPFLAGS'
   5695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5698 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5699 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5700 if test -z "$CXXCPP"; then
   5701   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5702   echo $ECHO_N "(cached) $ECHO_C" >&6
   5703 else
   5704       # Double quotes because CXXCPP needs to be expanded
   5705     for CXXCPP in "$CXX -E" "/lib/cpp"
   5706     do
   5707       ac_preproc_ok=false
   5708 for ac_cxx_preproc_warn_flag in '' yes
   5709 do
   5710   # Use a header file that comes with gcc, so configuring glibc
   5711   # with a fresh cross-compiler works.
   5712   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5713   # <limits.h> exists even on freestanding compilers.
   5714   # On the NeXT, cc -E runs the code through the compiler's parser,
   5715   # not just through cpp. "Syntax error" is here to catch this case.
   5716   cat >conftest.$ac_ext <<_ACEOF
   5717 /* confdefs.h.  */
   5718 _ACEOF
   5719 cat confdefs.h >>conftest.$ac_ext
   5720 cat >>conftest.$ac_ext <<_ACEOF
   5721 /* end confdefs.h.  */
   5722 #ifdef __STDC__
   5723 # include <limits.h>
   5724 #else
   5725 # include <assert.h>
   5726 #endif
   5727 		     Syntax error
   5728 _ACEOF
   5729 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5730 case "(($ac_try" in
   5731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5732   *) ac_try_echo=$ac_try;;
   5733 esac
   5734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5735   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5736   ac_status=$?
   5737   grep -v '^ *+' conftest.er1 >conftest.err
   5738   rm -f conftest.er1
   5739   cat conftest.err >&5
   5740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5741   (exit $ac_status); } >/dev/null && {
   5742 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5743 	 test ! -s conftest.err
   5744        }; then
   5745   :
   5746 else
   5747   echo "$as_me: failed program was:" >&5
   5748 sed 's/^/| /' conftest.$ac_ext >&5
   5749 
   5750   # Broken: fails on valid input.
   5751 continue
   5752 fi
   5753 
   5754 rm -f conftest.err conftest.$ac_ext
   5755 
   5756   # OK, works on sane cases.  Now check whether nonexistent headers
   5757   # can be detected and how.
   5758   cat >conftest.$ac_ext <<_ACEOF
   5759 /* confdefs.h.  */
   5760 _ACEOF
   5761 cat confdefs.h >>conftest.$ac_ext
   5762 cat >>conftest.$ac_ext <<_ACEOF
   5763 /* end confdefs.h.  */
   5764 #include <ac_nonexistent.h>
   5765 _ACEOF
   5766 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5767 case "(($ac_try" in
   5768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5769   *) ac_try_echo=$ac_try;;
   5770 esac
   5771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5772   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5773   ac_status=$?
   5774   grep -v '^ *+' conftest.er1 >conftest.err
   5775   rm -f conftest.er1
   5776   cat conftest.err >&5
   5777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5778   (exit $ac_status); } >/dev/null && {
   5779 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5780 	 test ! -s conftest.err
   5781        }; then
   5782   # Broken: success on invalid input.
   5783 continue
   5784 else
   5785   echo "$as_me: failed program was:" >&5
   5786 sed 's/^/| /' conftest.$ac_ext >&5
   5787 
   5788   # Passes both tests.
   5789 ac_preproc_ok=:
   5790 break
   5791 fi
   5792 
   5793 rm -f conftest.err conftest.$ac_ext
   5794 
   5795 done
   5796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5797 rm -f conftest.err conftest.$ac_ext
   5798 if $ac_preproc_ok; then
   5799   break
   5800 fi
   5801 
   5802     done
   5803     ac_cv_prog_CXXCPP=$CXXCPP
   5804 
   5805 fi
   5806   CXXCPP=$ac_cv_prog_CXXCPP
   5807 else
   5808   ac_cv_prog_CXXCPP=$CXXCPP
   5809 fi
   5810 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5811 echo "${ECHO_T}$CXXCPP" >&6; }
   5812 ac_preproc_ok=false
   5813 for ac_cxx_preproc_warn_flag in '' yes
   5814 do
   5815   # Use a header file that comes with gcc, so configuring glibc
   5816   # with a fresh cross-compiler works.
   5817   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5818   # <limits.h> exists even on freestanding compilers.
   5819   # On the NeXT, cc -E runs the code through the compiler's parser,
   5820   # not just through cpp. "Syntax error" is here to catch this case.
   5821   cat >conftest.$ac_ext <<_ACEOF
   5822 /* confdefs.h.  */
   5823 _ACEOF
   5824 cat confdefs.h >>conftest.$ac_ext
   5825 cat >>conftest.$ac_ext <<_ACEOF
   5826 /* end confdefs.h.  */
   5827 #ifdef __STDC__
   5828 # include <limits.h>
   5829 #else
   5830 # include <assert.h>
   5831 #endif
   5832 		     Syntax error
   5833 _ACEOF
   5834 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5835 case "(($ac_try" in
   5836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5837   *) ac_try_echo=$ac_try;;
   5838 esac
   5839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5840   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5841   ac_status=$?
   5842   grep -v '^ *+' conftest.er1 >conftest.err
   5843   rm -f conftest.er1
   5844   cat conftest.err >&5
   5845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5846   (exit $ac_status); } >/dev/null && {
   5847 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5848 	 test ! -s conftest.err
   5849        }; then
   5850   :
   5851 else
   5852   echo "$as_me: failed program was:" >&5
   5853 sed 's/^/| /' conftest.$ac_ext >&5
   5854 
   5855   # Broken: fails on valid input.
   5856 continue
   5857 fi
   5858 
   5859 rm -f conftest.err conftest.$ac_ext
   5860 
   5861   # OK, works on sane cases.  Now check whether nonexistent headers
   5862   # can be detected and how.
   5863   cat >conftest.$ac_ext <<_ACEOF
   5864 /* confdefs.h.  */
   5865 _ACEOF
   5866 cat confdefs.h >>conftest.$ac_ext
   5867 cat >>conftest.$ac_ext <<_ACEOF
   5868 /* end confdefs.h.  */
   5869 #include <ac_nonexistent.h>
   5870 _ACEOF
   5871 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5872 case "(($ac_try" in
   5873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5874   *) ac_try_echo=$ac_try;;
   5875 esac
   5876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5877   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5878   ac_status=$?
   5879   grep -v '^ *+' conftest.er1 >conftest.err
   5880   rm -f conftest.er1
   5881   cat conftest.err >&5
   5882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5883   (exit $ac_status); } >/dev/null && {
   5884 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5885 	 test ! -s conftest.err
   5886        }; then
   5887   # Broken: success on invalid input.
   5888 continue
   5889 else
   5890   echo "$as_me: failed program was:" >&5
   5891 sed 's/^/| /' conftest.$ac_ext >&5
   5892 
   5893   # Passes both tests.
   5894 ac_preproc_ok=:
   5895 break
   5896 fi
   5897 
   5898 rm -f conftest.err conftest.$ac_ext
   5899 
   5900 done
   5901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5902 rm -f conftest.err conftest.$ac_ext
   5903 if $ac_preproc_ok; then
   5904   :
   5905 else
   5906   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5907 See \`config.log' for more details." >&5
   5908 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5909 See \`config.log' for more details." >&2;}
   5910    { (exit 1); exit 1; }; }
   5911 fi
   5912 
   5913 ac_ext=cpp
   5914 ac_cpp='$CXXCPP $CPPFLAGS'
   5915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5918 
   5919 fi
   5920 
   5921 
   5922 ac_ext=f
   5923 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5924 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5925 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5926 if test -n "$ac_tool_prefix"; then
   5927   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   5928   do
   5929     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5933 if test "${ac_cv_prog_F77+set}" = set; then
   5934   echo $ECHO_N "(cached) $ECHO_C" >&6
   5935 else
   5936   if test -n "$F77"; then
   5937   ac_cv_prog_F77="$F77" # Let the user override the test.
   5938 else
   5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5940 for as_dir in $PATH
   5941 do
   5942   IFS=$as_save_IFS
   5943   test -z "$as_dir" && as_dir=.
   5944   for ac_exec_ext in '' $ac_executable_extensions; do
   5945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5946     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5948     break 2
   5949   fi
   5950 done
   5951 done
   5952 IFS=$as_save_IFS
   5953 
   5954 fi
   5955 fi
   5956 F77=$ac_cv_prog_F77
   5957 if test -n "$F77"; then
   5958   { echo "$as_me:$LINENO: result: $F77" >&5
   5959 echo "${ECHO_T}$F77" >&6; }
   5960 else
   5961   { echo "$as_me:$LINENO: result: no" >&5
   5962 echo "${ECHO_T}no" >&6; }
   5963 fi
   5964 
   5965 
   5966     test -n "$F77" && break
   5967   done
   5968 fi
   5969 if test -z "$F77"; then
   5970   ac_ct_F77=$F77
   5971   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   5972 do
   5973   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5974 set dummy $ac_prog; ac_word=$2
   5975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5977 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5978   echo $ECHO_N "(cached) $ECHO_C" >&6
   5979 else
   5980   if test -n "$ac_ct_F77"; then
   5981   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5982 else
   5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5984 for as_dir in $PATH
   5985 do
   5986   IFS=$as_save_IFS
   5987   test -z "$as_dir" && as_dir=.
   5988   for ac_exec_ext in '' $ac_executable_extensions; do
   5989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5990     ac_cv_prog_ac_ct_F77="$ac_prog"
   5991     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5992     break 2
   5993   fi
   5994 done
   5995 done
   5996 IFS=$as_save_IFS
   5997 
   5998 fi
   5999 fi
   6000 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6001 if test -n "$ac_ct_F77"; then
   6002   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6003 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6004 else
   6005   { echo "$as_me:$LINENO: result: no" >&5
   6006 echo "${ECHO_T}no" >&6; }
   6007 fi
   6008 
   6009 
   6010   test -n "$ac_ct_F77" && break
   6011 done
   6012 
   6013   if test "x$ac_ct_F77" = x; then
   6014     F77=""
   6015   else
   6016     case $cross_compiling:$ac_tool_warned in
   6017 yes:)
   6018 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6019 whose name does not start with the host triplet.  If you think this
   6020 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6021 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6022 whose name does not start with the host triplet.  If you think this
   6023 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6024 ac_tool_warned=yes ;;
   6025 esac
   6026     F77=$ac_ct_F77
   6027   fi
   6028 fi
   6029 
   6030 
   6031 # Provide some information about the compiler.
   6032 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6033 ac_compiler=`set X $ac_compile; echo $2`
   6034 { (ac_try="$ac_compiler --version >&5"
   6035 case "(($ac_try" in
   6036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6037   *) ac_try_echo=$ac_try;;
   6038 esac
   6039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6040   (eval "$ac_compiler --version >&5") 2>&5
   6041   ac_status=$?
   6042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6043   (exit $ac_status); }
   6044 { (ac_try="$ac_compiler -v >&5"
   6045 case "(($ac_try" in
   6046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6047   *) ac_try_echo=$ac_try;;
   6048 esac
   6049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6050   (eval "$ac_compiler -v >&5") 2>&5
   6051   ac_status=$?
   6052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6053   (exit $ac_status); }
   6054 { (ac_try="$ac_compiler -V >&5"
   6055 case "(($ac_try" in
   6056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6057   *) ac_try_echo=$ac_try;;
   6058 esac
   6059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6060   (eval "$ac_compiler -V >&5") 2>&5
   6061   ac_status=$?
   6062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6063   (exit $ac_status); }
   6064 rm -f a.out
   6065 
   6066 # If we don't use `.F' as extension, the preprocessor is not run on the
   6067 # input file.  (Note that this only needs to work for GNU compilers.)
   6068 ac_save_ext=$ac_ext
   6069 ac_ext=F
   6070 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6071 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6072 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6073   echo $ECHO_N "(cached) $ECHO_C" >&6
   6074 else
   6075   cat >conftest.$ac_ext <<_ACEOF
   6076       program main
   6077 #ifndef __GNUC__
   6078        choke me
   6079 #endif
   6080 
   6081       end
   6082 _ACEOF
   6083 rm -f conftest.$ac_objext
   6084 if { (ac_try="$ac_compile"
   6085 case "(($ac_try" in
   6086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6087   *) ac_try_echo=$ac_try;;
   6088 esac
   6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6090   (eval "$ac_compile") 2>conftest.er1
   6091   ac_status=$?
   6092   grep -v '^ *+' conftest.er1 >conftest.err
   6093   rm -f conftest.er1
   6094   cat conftest.err >&5
   6095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6096   (exit $ac_status); } && {
   6097 	 test -z "$ac_f77_werror_flag" ||
   6098 	 test ! -s conftest.err
   6099        } && test -s conftest.$ac_objext; then
   6100   ac_compiler_gnu=yes
   6101 else
   6102   echo "$as_me: failed program was:" >&5
   6103 sed 's/^/| /' conftest.$ac_ext >&5
   6104 
   6105 	ac_compiler_gnu=no
   6106 fi
   6107 
   6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6109 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6110 
   6111 fi
   6112 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6113 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6114 ac_ext=$ac_save_ext
   6115 ac_test_FFLAGS=${FFLAGS+set}
   6116 ac_save_FFLAGS=$FFLAGS
   6117 FFLAGS=
   6118 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6119 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6120 if test "${ac_cv_prog_f77_g+set}" = set; then
   6121   echo $ECHO_N "(cached) $ECHO_C" >&6
   6122 else
   6123   FFLAGS=-g
   6124 cat >conftest.$ac_ext <<_ACEOF
   6125       program main
   6126 
   6127       end
   6128 _ACEOF
   6129 rm -f conftest.$ac_objext
   6130 if { (ac_try="$ac_compile"
   6131 case "(($ac_try" in
   6132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6133   *) ac_try_echo=$ac_try;;
   6134 esac
   6135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6136   (eval "$ac_compile") 2>conftest.er1
   6137   ac_status=$?
   6138   grep -v '^ *+' conftest.er1 >conftest.err
   6139   rm -f conftest.er1
   6140   cat conftest.err >&5
   6141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6142   (exit $ac_status); } && {
   6143 	 test -z "$ac_f77_werror_flag" ||
   6144 	 test ! -s conftest.err
   6145        } && test -s conftest.$ac_objext; then
   6146   ac_cv_prog_f77_g=yes
   6147 else
   6148   echo "$as_me: failed program was:" >&5
   6149 sed 's/^/| /' conftest.$ac_ext >&5
   6150 
   6151 	ac_cv_prog_f77_g=no
   6152 fi
   6153 
   6154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6155 
   6156 fi
   6157 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6158 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6159 if test "$ac_test_FFLAGS" = set; then
   6160   FFLAGS=$ac_save_FFLAGS
   6161 elif test $ac_cv_prog_f77_g = yes; then
   6162   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6163     FFLAGS="-g -O2"
   6164   else
   6165     FFLAGS="-g"
   6166   fi
   6167 else
   6168   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6169     FFLAGS="-O2"
   6170   else
   6171     FFLAGS=
   6172   fi
   6173 fi
   6174 
   6175 G77=`test $ac_compiler_gnu = yes && echo yes`
   6176 ac_ext=c
   6177 ac_cpp='$CPP $CPPFLAGS'
   6178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6181 
   6182 
   6183 
   6184 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6185 
   6186 # find the maximum length of command line arguments
   6187 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6188 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6189 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6190   echo $ECHO_N "(cached) $ECHO_C" >&6
   6191 else
   6192     i=0
   6193   teststring="ABCD"
   6194 
   6195   case $build_os in
   6196   msdosdjgpp*)
   6197     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6198     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6199     # during glob expansion).  Even if it were fixed, the result of this
   6200     # check would be larger than it should be.
   6201     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6202     ;;
   6203 
   6204   gnu*)
   6205     # Under GNU Hurd, this test is not required because there is
   6206     # no limit to the length of command line arguments.
   6207     # Libtool will interpret -1 as no limit whatsoever
   6208     lt_cv_sys_max_cmd_len=-1;
   6209     ;;
   6210 
   6211   cygwin* | mingw*)
   6212     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6213     # about 5 minutes as the teststring grows exponentially.
   6214     # Worse, since 9x/ME are not pre-emptively multitasking,
   6215     # you end up with a "frozen" computer, even though with patience
   6216     # the test eventually succeeds (with a max line length of 256k).
   6217     # Instead, let's just punt: use the minimum linelength reported by
   6218     # all of the supported platforms: 8192 (on NT/2K/XP).
   6219     lt_cv_sys_max_cmd_len=8192;
   6220     ;;
   6221 
   6222   amigaos*)
   6223     # On AmigaOS with pdksh, this test takes hours, literally.
   6224     # So we just punt and use a minimum line length of 8192.
   6225     lt_cv_sys_max_cmd_len=8192;
   6226     ;;
   6227 
   6228   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6229     # This has been around since 386BSD, at least.  Likely further.
   6230     if test -x /sbin/sysctl; then
   6231       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6232     elif test -x /usr/sbin/sysctl; then
   6233       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6234     else
   6235       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6236     fi
   6237     # And add a safety zone
   6238     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6239     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6240     ;;
   6241 
   6242   interix*)
   6243     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6244     lt_cv_sys_max_cmd_len=196608
   6245     ;;
   6246 
   6247   osf*)
   6248     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6249     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6250     # nice to cause kernel panics so lets avoid the loop below.
   6251     # First set a reasonable default.
   6252     lt_cv_sys_max_cmd_len=16384
   6253     #
   6254     if test -x /sbin/sysconfig; then
   6255       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6256         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6257       esac
   6258     fi
   6259     ;;
   6260   sco3.2v5*)
   6261     lt_cv_sys_max_cmd_len=102400
   6262     ;;
   6263   sysv5* | sco5v6* | sysv4.2uw2*)
   6264     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6265     if test -n "$kargmax"; then
   6266       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6267     else
   6268       lt_cv_sys_max_cmd_len=32768
   6269     fi
   6270     ;;
   6271   *)
   6272     # If test is not a shell built-in, we'll probably end up computing a
   6273     # maximum length that is only half of the actual maximum length, but
   6274     # we can't tell.
   6275     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6276     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6277 	       = "XX$teststring") >/dev/null 2>&1 &&
   6278 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6279 	    lt_cv_sys_max_cmd_len=$new_result &&
   6280 	    test $i != 17 # 1/2 MB should be enough
   6281     do
   6282       i=`expr $i + 1`
   6283       teststring=$teststring$teststring
   6284     done
   6285     teststring=
   6286     # Add a significant safety factor because C++ compilers can tack on massive
   6287     # amounts of additional arguments before passing them to the linker.
   6288     # It appears as though 1/2 is a usable value.
   6289     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6290     ;;
   6291   esac
   6292 
   6293 fi
   6294 
   6295 if test -n $lt_cv_sys_max_cmd_len ; then
   6296   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6297 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6298 else
   6299   { echo "$as_me:$LINENO: result: none" >&5
   6300 echo "${ECHO_T}none" >&6; }
   6301 fi
   6302 
   6303 
   6304 
   6305 
   6306 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6307 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6308 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6309 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6310   echo $ECHO_N "(cached) $ECHO_C" >&6
   6311 else
   6312 
   6313 # These are sane defaults that work on at least a few old systems.
   6314 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6315 
   6316 # Character class describing NM global symbol codes.
   6317 symcode='[BCDEGRST]'
   6318 
   6319 # Regexp to match symbols that can be accessed directly from C.
   6320 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6321 
   6322 # Transform an extracted symbol line into a proper C declaration
   6323 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6324 
   6325 # Transform an extracted symbol line into symbol name and symbol address
   6326 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'"
   6327 
   6328 # Define system-specific variables.
   6329 case $host_os in
   6330 aix*)
   6331   symcode='[BCDT]'
   6332   ;;
   6333 cygwin* | mingw* | pw32*)
   6334   symcode='[ABCDGISTW]'
   6335   ;;
   6336 hpux*) # Its linker distinguishes data from code symbols
   6337   if test "$host_cpu" = ia64; then
   6338     symcode='[ABCDEGRST]'
   6339   fi
   6340   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6341   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'"
   6342   ;;
   6343 linux*)
   6344   if test "$host_cpu" = ia64; then
   6345     symcode='[ABCDGIRSTW]'
   6346     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6347     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'"
   6348   fi
   6349   ;;
   6350 irix* | nonstopux*)
   6351   symcode='[BCDEGRST]'
   6352   ;;
   6353 osf*)
   6354   symcode='[BCDEGQRST]'
   6355   ;;
   6356 solaris*)
   6357   symcode='[BDRT]'
   6358   ;;
   6359 sco3.2v5*)
   6360   symcode='[DT]'
   6361   ;;
   6362 sysv4.2uw2*)
   6363   symcode='[DT]'
   6364   ;;
   6365 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6366   symcode='[ABDT]'
   6367   ;;
   6368 sysv4)
   6369   symcode='[DFNSTU]'
   6370   ;;
   6371 esac
   6372 
   6373 # Handle CRLF in mingw tool chain
   6374 opt_cr=
   6375 case $build_os in
   6376 mingw*)
   6377   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6378   ;;
   6379 esac
   6380 
   6381 # If we're using GNU nm, then use its standard symbol codes.
   6382 case `$NM -V 2>&1` in
   6383 *GNU* | *'with BFD'*)
   6384   symcode='[ABCDGIRSTW]' ;;
   6385 esac
   6386 
   6387 # Try without a prefix undercore, then with it.
   6388 for ac_symprfx in "" "_"; do
   6389 
   6390   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6391   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6392 
   6393   # Write the raw and C identifiers.
   6394   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6395 
   6396   # Check to see that the pipe works correctly.
   6397   pipe_works=no
   6398 
   6399   rm -f conftest*
   6400   cat > conftest.$ac_ext <<EOF
   6401 #ifdef __cplusplus
   6402 extern "C" {
   6403 #endif
   6404 char nm_test_var;
   6405 void nm_test_func(){}
   6406 #ifdef __cplusplus
   6407 }
   6408 #endif
   6409 int main(){nm_test_var='a';nm_test_func();return(0);}
   6410 EOF
   6411 
   6412   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6413   (eval $ac_compile) 2>&5
   6414   ac_status=$?
   6415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6416   (exit $ac_status); }; then
   6417     # Now try to grab the symbols.
   6418     nlist=conftest.nm
   6419     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6420   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6421   ac_status=$?
   6422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6423   (exit $ac_status); } && test -s "$nlist"; then
   6424       # Try sorting and uniquifying the output.
   6425       if sort "$nlist" | uniq > "$nlist"T; then
   6426 	mv -f "$nlist"T "$nlist"
   6427       else
   6428 	rm -f "$nlist"T
   6429       fi
   6430 
   6431       # Make sure that we snagged all the symbols we need.
   6432       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6433 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6434 	  cat <<EOF > conftest.$ac_ext
   6435 #ifdef __cplusplus
   6436 extern "C" {
   6437 #endif
   6438 
   6439 EOF
   6440 	  # Now generate the symbol file.
   6441 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6442 
   6443 	  cat <<EOF >> conftest.$ac_ext
   6444 #if defined (__STDC__) && __STDC__
   6445 # define lt_ptr_t void *
   6446 #else
   6447 # define lt_ptr_t char *
   6448 # define const
   6449 #endif
   6450 
   6451 /* The mapping between symbol names and symbols. */
   6452 const struct {
   6453   const char *name;
   6454   lt_ptr_t address;
   6455 }
   6456 lt_preloaded_symbols[] =
   6457 {
   6458 EOF
   6459 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6460 	  cat <<\EOF >> conftest.$ac_ext
   6461   {0, (lt_ptr_t) 0}
   6462 };
   6463 
   6464 #ifdef __cplusplus
   6465 }
   6466 #endif
   6467 EOF
   6468 	  # Now try linking the two files.
   6469 	  mv conftest.$ac_objext conftstm.$ac_objext
   6470 	  lt_save_LIBS="$LIBS"
   6471 	  lt_save_CFLAGS="$CFLAGS"
   6472 	  LIBS="conftstm.$ac_objext"
   6473 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6474 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6475   (eval $ac_link) 2>&5
   6476   ac_status=$?
   6477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6478   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6479 	    pipe_works=yes
   6480 	  fi
   6481 	  LIBS="$lt_save_LIBS"
   6482 	  CFLAGS="$lt_save_CFLAGS"
   6483 	else
   6484 	  echo "cannot find nm_test_func in $nlist" >&5
   6485 	fi
   6486       else
   6487 	echo "cannot find nm_test_var in $nlist" >&5
   6488       fi
   6489     else
   6490       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6491     fi
   6492   else
   6493     echo "$progname: failed program was:" >&5
   6494     cat conftest.$ac_ext >&5
   6495   fi
   6496   rm -f conftest* conftst*
   6497 
   6498   # Do not use the global_symbol_pipe unless it works.
   6499   if test "$pipe_works" = yes; then
   6500     break
   6501   else
   6502     lt_cv_sys_global_symbol_pipe=
   6503   fi
   6504 done
   6505 
   6506 fi
   6507 
   6508 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6509   lt_cv_sys_global_symbol_to_cdecl=
   6510 fi
   6511 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6512   { echo "$as_me:$LINENO: result: failed" >&5
   6513 echo "${ECHO_T}failed" >&6; }
   6514 else
   6515   { echo "$as_me:$LINENO: result: ok" >&5
   6516 echo "${ECHO_T}ok" >&6; }
   6517 fi
   6518 
   6519 { echo "$as_me:$LINENO: checking for objdir" >&5
   6520 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6521 if test "${lt_cv_objdir+set}" = set; then
   6522   echo $ECHO_N "(cached) $ECHO_C" >&6
   6523 else
   6524   rm -f .libs 2>/dev/null
   6525 mkdir .libs 2>/dev/null
   6526 if test -d .libs; then
   6527   lt_cv_objdir=.libs
   6528 else
   6529   # MS-DOS does not allow filenames that begin with a dot.
   6530   lt_cv_objdir=_libs
   6531 fi
   6532 rmdir .libs 2>/dev/null
   6533 fi
   6534 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6535 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6536 objdir=$lt_cv_objdir
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 case $host_os in
   6543 aix3*)
   6544   # AIX sometimes has problems with the GCC collect2 program.  For some
   6545   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6546   # vanish in a puff of smoke.
   6547   if test "X${COLLECT_NAMES+set}" != Xset; then
   6548     COLLECT_NAMES=
   6549     export COLLECT_NAMES
   6550   fi
   6551   ;;
   6552 esac
   6553 
   6554 # Sed substitution that helps us do robust quoting.  It backslashifies
   6555 # metacharacters that are still active within double-quoted strings.
   6556 Xsed='sed -e 1s/^X//'
   6557 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6558 
   6559 # Same as above, but do not quote variable references.
   6560 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6561 
   6562 # Sed substitution to delay expansion of an escaped shell variable in a
   6563 # double_quote_subst'ed string.
   6564 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6565 
   6566 # Sed substitution to avoid accidental globbing in evaled expressions
   6567 no_glob_subst='s/\*/\\\*/g'
   6568 
   6569 # Constants:
   6570 rm="rm -f"
   6571 
   6572 # Global variables:
   6573 default_ofile=libtool
   6574 can_build_shared=yes
   6575 
   6576 # All known linkers require a `.a' archive for static linking (except MSVC,
   6577 # which needs '.lib').
   6578 libext=a
   6579 ltmain="$ac_aux_dir/ltmain.sh"
   6580 ofile="$default_ofile"
   6581 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6582 
   6583 if test -n "$ac_tool_prefix"; then
   6584   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6585 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6588 if test "${ac_cv_prog_AR+set}" = set; then
   6589   echo $ECHO_N "(cached) $ECHO_C" >&6
   6590 else
   6591   if test -n "$AR"; then
   6592   ac_cv_prog_AR="$AR" # Let the user override the test.
   6593 else
   6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6595 for as_dir in $PATH
   6596 do
   6597   IFS=$as_save_IFS
   6598   test -z "$as_dir" && as_dir=.
   6599   for ac_exec_ext in '' $ac_executable_extensions; do
   6600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6601     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6602     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6603     break 2
   6604   fi
   6605 done
   6606 done
   6607 IFS=$as_save_IFS
   6608 
   6609 fi
   6610 fi
   6611 AR=$ac_cv_prog_AR
   6612 if test -n "$AR"; then
   6613   { echo "$as_me:$LINENO: result: $AR" >&5
   6614 echo "${ECHO_T}$AR" >&6; }
   6615 else
   6616   { echo "$as_me:$LINENO: result: no" >&5
   6617 echo "${ECHO_T}no" >&6; }
   6618 fi
   6619 
   6620 
   6621 fi
   6622 if test -z "$ac_cv_prog_AR"; then
   6623   ac_ct_AR=$AR
   6624   # Extract the first word of "ar", so it can be a program name with args.
   6625 set dummy ar; ac_word=$2
   6626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6628 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6629   echo $ECHO_N "(cached) $ECHO_C" >&6
   6630 else
   6631   if test -n "$ac_ct_AR"; then
   6632   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6633 else
   6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6635 for as_dir in $PATH
   6636 do
   6637   IFS=$as_save_IFS
   6638   test -z "$as_dir" && as_dir=.
   6639   for ac_exec_ext in '' $ac_executable_extensions; do
   6640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6641     ac_cv_prog_ac_ct_AR="ar"
   6642     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6643     break 2
   6644   fi
   6645 done
   6646 done
   6647 IFS=$as_save_IFS
   6648 
   6649 fi
   6650 fi
   6651 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6652 if test -n "$ac_ct_AR"; then
   6653   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6654 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6655 else
   6656   { echo "$as_me:$LINENO: result: no" >&5
   6657 echo "${ECHO_T}no" >&6; }
   6658 fi
   6659 
   6660   if test "x$ac_ct_AR" = x; then
   6661     AR="false"
   6662   else
   6663     case $cross_compiling:$ac_tool_warned in
   6664 yes:)
   6665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6666 whose name does not start with the host triplet.  If you think this
   6667 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6669 whose name does not start with the host triplet.  If you think this
   6670 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6671 ac_tool_warned=yes ;;
   6672 esac
   6673     AR=$ac_ct_AR
   6674   fi
   6675 else
   6676   AR="$ac_cv_prog_AR"
   6677 fi
   6678 
   6679 if test -n "$ac_tool_prefix"; then
   6680   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6681 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6684 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6685   echo $ECHO_N "(cached) $ECHO_C" >&6
   6686 else
   6687   if test -n "$RANLIB"; then
   6688   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6689 else
   6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6691 for as_dir in $PATH
   6692 do
   6693   IFS=$as_save_IFS
   6694   test -z "$as_dir" && as_dir=.
   6695   for ac_exec_ext in '' $ac_executable_extensions; do
   6696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6697     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6699     break 2
   6700   fi
   6701 done
   6702 done
   6703 IFS=$as_save_IFS
   6704 
   6705 fi
   6706 fi
   6707 RANLIB=$ac_cv_prog_RANLIB
   6708 if test -n "$RANLIB"; then
   6709   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6710 echo "${ECHO_T}$RANLIB" >&6; }
   6711 else
   6712   { echo "$as_me:$LINENO: result: no" >&5
   6713 echo "${ECHO_T}no" >&6; }
   6714 fi
   6715 
   6716 
   6717 fi
   6718 if test -z "$ac_cv_prog_RANLIB"; then
   6719   ac_ct_RANLIB=$RANLIB
   6720   # Extract the first word of "ranlib", so it can be a program name with args.
   6721 set dummy ranlib; ac_word=$2
   6722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6724 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6725   echo $ECHO_N "(cached) $ECHO_C" >&6
   6726 else
   6727   if test -n "$ac_ct_RANLIB"; then
   6728   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6729 else
   6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6731 for as_dir in $PATH
   6732 do
   6733   IFS=$as_save_IFS
   6734   test -z "$as_dir" && as_dir=.
   6735   for ac_exec_ext in '' $ac_executable_extensions; do
   6736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6737     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6738     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6739     break 2
   6740   fi
   6741 done
   6742 done
   6743 IFS=$as_save_IFS
   6744 
   6745 fi
   6746 fi
   6747 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6748 if test -n "$ac_ct_RANLIB"; then
   6749   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6750 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6751 else
   6752   { echo "$as_me:$LINENO: result: no" >&5
   6753 echo "${ECHO_T}no" >&6; }
   6754 fi
   6755 
   6756   if test "x$ac_ct_RANLIB" = x; then
   6757     RANLIB=":"
   6758   else
   6759     case $cross_compiling:$ac_tool_warned in
   6760 yes:)
   6761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6762 whose name does not start with the host triplet.  If you think this
   6763 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6765 whose name does not start with the host triplet.  If you think this
   6766 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6767 ac_tool_warned=yes ;;
   6768 esac
   6769     RANLIB=$ac_ct_RANLIB
   6770   fi
   6771 else
   6772   RANLIB="$ac_cv_prog_RANLIB"
   6773 fi
   6774 
   6775 if test -n "$ac_tool_prefix"; then
   6776   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6777 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6780 if test "${ac_cv_prog_STRIP+set}" = set; then
   6781   echo $ECHO_N "(cached) $ECHO_C" >&6
   6782 else
   6783   if test -n "$STRIP"; then
   6784   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6785 else
   6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6787 for as_dir in $PATH
   6788 do
   6789   IFS=$as_save_IFS
   6790   test -z "$as_dir" && as_dir=.
   6791   for ac_exec_ext in '' $ac_executable_extensions; do
   6792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6793     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6794     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6795     break 2
   6796   fi
   6797 done
   6798 done
   6799 IFS=$as_save_IFS
   6800 
   6801 fi
   6802 fi
   6803 STRIP=$ac_cv_prog_STRIP
   6804 if test -n "$STRIP"; then
   6805   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6806 echo "${ECHO_T}$STRIP" >&6; }
   6807 else
   6808   { echo "$as_me:$LINENO: result: no" >&5
   6809 echo "${ECHO_T}no" >&6; }
   6810 fi
   6811 
   6812 
   6813 fi
   6814 if test -z "$ac_cv_prog_STRIP"; then
   6815   ac_ct_STRIP=$STRIP
   6816   # Extract the first word of "strip", so it can be a program name with args.
   6817 set dummy strip; ac_word=$2
   6818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6820 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6821   echo $ECHO_N "(cached) $ECHO_C" >&6
   6822 else
   6823   if test -n "$ac_ct_STRIP"; then
   6824   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6825 else
   6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6827 for as_dir in $PATH
   6828 do
   6829   IFS=$as_save_IFS
   6830   test -z "$as_dir" && as_dir=.
   6831   for ac_exec_ext in '' $ac_executable_extensions; do
   6832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6833     ac_cv_prog_ac_ct_STRIP="strip"
   6834     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6835     break 2
   6836   fi
   6837 done
   6838 done
   6839 IFS=$as_save_IFS
   6840 
   6841 fi
   6842 fi
   6843 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6844 if test -n "$ac_ct_STRIP"; then
   6845   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6846 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6847 else
   6848   { echo "$as_me:$LINENO: result: no" >&5
   6849 echo "${ECHO_T}no" >&6; }
   6850 fi
   6851 
   6852   if test "x$ac_ct_STRIP" = x; then
   6853     STRIP=":"
   6854   else
   6855     case $cross_compiling:$ac_tool_warned in
   6856 yes:)
   6857 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6858 whose name does not start with the host triplet.  If you think this
   6859 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6860 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6861 whose name does not start with the host triplet.  If you think this
   6862 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6863 ac_tool_warned=yes ;;
   6864 esac
   6865     STRIP=$ac_ct_STRIP
   6866   fi
   6867 else
   6868   STRIP="$ac_cv_prog_STRIP"
   6869 fi
   6870 
   6871 
   6872 old_CC="$CC"
   6873 old_CFLAGS="$CFLAGS"
   6874 
   6875 # Set sane defaults for various variables
   6876 test -z "$AR" && AR=ar
   6877 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6878 test -z "$AS" && AS=as
   6879 test -z "$CC" && CC=cc
   6880 test -z "$LTCC" && LTCC=$CC
   6881 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6882 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6883 test -z "$LD" && LD=ld
   6884 test -z "$LN_S" && LN_S="ln -s"
   6885 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6886 test -z "$NM" && NM=nm
   6887 test -z "$SED" && SED=sed
   6888 test -z "$OBJDUMP" && OBJDUMP=objdump
   6889 test -z "$RANLIB" && RANLIB=:
   6890 test -z "$STRIP" && STRIP=:
   6891 test -z "$ac_objext" && ac_objext=o
   6892 
   6893 # Determine commands to create old-style static archives.
   6894 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6895 old_postinstall_cmds='chmod 644 $oldlib'
   6896 old_postuninstall_cmds=
   6897 
   6898 if test -n "$RANLIB"; then
   6899   case $host_os in
   6900   openbsd*)
   6901     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6902     ;;
   6903   *)
   6904     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6905     ;;
   6906   esac
   6907   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6908 fi
   6909 
   6910 for cc_temp in $compiler""; do
   6911   case $cc_temp in
   6912     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6913     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6914     \-*) ;;
   6915     *) break;;
   6916   esac
   6917 done
   6918 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6919 
   6920 
   6921 # Only perform the check for file, if the check method requires it
   6922 case $deplibs_check_method in
   6923 file_magic*)
   6924   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6925     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6926 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6927 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6928   echo $ECHO_N "(cached) $ECHO_C" >&6
   6929 else
   6930   case $MAGIC_CMD in
   6931 [\\/*] |  ?:[\\/]*)
   6932   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6933   ;;
   6934 *)
   6935   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6936   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6937   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6938   for ac_dir in $ac_dummy; do
   6939     IFS="$lt_save_ifs"
   6940     test -z "$ac_dir" && ac_dir=.
   6941     if test -f $ac_dir/${ac_tool_prefix}file; then
   6942       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6943       if test -n "$file_magic_test_file"; then
   6944 	case $deplibs_check_method in
   6945 	"file_magic "*)
   6946 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6947 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6948 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6949 	    $EGREP "$file_magic_regex" > /dev/null; then
   6950 	    :
   6951 	  else
   6952 	    cat <<EOF 1>&2
   6953 
   6954 *** Warning: the command libtool uses to detect shared libraries,
   6955 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6956 *** The result is that libtool may fail to recognize shared libraries
   6957 *** as such.  This will affect the creation of libtool libraries that
   6958 *** depend on shared libraries, but programs linked with such libtool
   6959 *** libraries will work regardless of this problem.  Nevertheless, you
   6960 *** may want to report the problem to your system manager and/or to
   6961 *** bug-libtool@gnu.org
   6962 
   6963 EOF
   6964 	  fi ;;
   6965 	esac
   6966       fi
   6967       break
   6968     fi
   6969   done
   6970   IFS="$lt_save_ifs"
   6971   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6972   ;;
   6973 esac
   6974 fi
   6975 
   6976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6977 if test -n "$MAGIC_CMD"; then
   6978   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6979 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6980 else
   6981   { echo "$as_me:$LINENO: result: no" >&5
   6982 echo "${ECHO_T}no" >&6; }
   6983 fi
   6984 
   6985 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6986   if test -n "$ac_tool_prefix"; then
   6987     { echo "$as_me:$LINENO: checking for file" >&5
   6988 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6989 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6990   echo $ECHO_N "(cached) $ECHO_C" >&6
   6991 else
   6992   case $MAGIC_CMD in
   6993 [\\/*] |  ?:[\\/]*)
   6994   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6995   ;;
   6996 *)
   6997   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6998   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6999   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7000   for ac_dir in $ac_dummy; do
   7001     IFS="$lt_save_ifs"
   7002     test -z "$ac_dir" && ac_dir=.
   7003     if test -f $ac_dir/file; then
   7004       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7005       if test -n "$file_magic_test_file"; then
   7006 	case $deplibs_check_method in
   7007 	"file_magic "*)
   7008 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7009 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7010 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7011 	    $EGREP "$file_magic_regex" > /dev/null; then
   7012 	    :
   7013 	  else
   7014 	    cat <<EOF 1>&2
   7015 
   7016 *** Warning: the command libtool uses to detect shared libraries,
   7017 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7018 *** The result is that libtool may fail to recognize shared libraries
   7019 *** as such.  This will affect the creation of libtool libraries that
   7020 *** depend on shared libraries, but programs linked with such libtool
   7021 *** libraries will work regardless of this problem.  Nevertheless, you
   7022 *** may want to report the problem to your system manager and/or to
   7023 *** bug-libtool@gnu.org
   7024 
   7025 EOF
   7026 	  fi ;;
   7027 	esac
   7028       fi
   7029       break
   7030     fi
   7031   done
   7032   IFS="$lt_save_ifs"
   7033   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7034   ;;
   7035 esac
   7036 fi
   7037 
   7038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7039 if test -n "$MAGIC_CMD"; then
   7040   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7041 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7042 else
   7043   { echo "$as_me:$LINENO: result: no" >&5
   7044 echo "${ECHO_T}no" >&6; }
   7045 fi
   7046 
   7047   else
   7048     MAGIC_CMD=:
   7049   fi
   7050 fi
   7051 
   7052   fi
   7053   ;;
   7054 esac
   7055 
   7056 enable_dlopen=no
   7057 enable_win32_dll=no
   7058 
   7059 # Check whether --enable-libtool-lock was given.
   7060 if test "${enable_libtool_lock+set}" = set; then
   7061   enableval=$enable_libtool_lock;
   7062 fi
   7063 
   7064 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7065 
   7066 
   7067 # Check whether --with-pic was given.
   7068 if test "${with_pic+set}" = set; then
   7069   withval=$with_pic; pic_mode="$withval"
   7070 else
   7071   pic_mode=default
   7072 fi
   7073 
   7074 test -z "$pic_mode" && pic_mode=default
   7075 
   7076 # Use C for the default configuration in the libtool script
   7077 tagname=
   7078 lt_save_CC="$CC"
   7079 ac_ext=c
   7080 ac_cpp='$CPP $CPPFLAGS'
   7081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7084 
   7085 
   7086 # Source file extension for C test sources.
   7087 ac_ext=c
   7088 
   7089 # Object file extension for compiled C test sources.
   7090 objext=o
   7091 objext=$objext
   7092 
   7093 # Code to be used in simple compile tests
   7094 lt_simple_compile_test_code="int some_variable = 0;\n"
   7095 
   7096 # Code to be used in simple link tests
   7097 lt_simple_link_test_code='int main(){return(0);}\n'
   7098 
   7099 
   7100 # If no C compiler was specified, use CC.
   7101 LTCC=${LTCC-"$CC"}
   7102 
   7103 # If no C compiler flags were specified, use CFLAGS.
   7104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7105 
   7106 # Allow CC to be a program name with arguments.
   7107 compiler=$CC
   7108 
   7109 
   7110 # save warnings/boilerplate of simple test code
   7111 ac_outfile=conftest.$ac_objext
   7112 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7113 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7114 _lt_compiler_boilerplate=`cat conftest.err`
   7115 $rm conftest*
   7116 
   7117 ac_outfile=conftest.$ac_objext
   7118 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7119 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7120 _lt_linker_boilerplate=`cat conftest.err`
   7121 $rm conftest*
   7122 
   7123 
   7124 
   7125 lt_prog_compiler_no_builtin_flag=
   7126 
   7127 if test "$GCC" = yes; then
   7128   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7129 
   7130 
   7131 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7132 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7133 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7134   echo $ECHO_N "(cached) $ECHO_C" >&6
   7135 else
   7136   lt_cv_prog_compiler_rtti_exceptions=no
   7137   ac_outfile=conftest.$ac_objext
   7138    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7139    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7140    # Insert the option either (1) after the last *FLAGS variable, or
   7141    # (2) before a word containing "conftest.", or (3) at the end.
   7142    # Note that $ac_compile itself does not contain backslashes and begins
   7143    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7144    # The option is referenced via a variable to avoid confusing sed.
   7145    lt_compile=`echo "$ac_compile" | $SED \
   7146    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7147    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7148    -e 's:$: $lt_compiler_flag:'`
   7149    (eval echo "\"\$as_me:7149: $lt_compile\"" >&5)
   7150    (eval "$lt_compile" 2>conftest.err)
   7151    ac_status=$?
   7152    cat conftest.err >&5
   7153    echo "$as_me:7153: \$? = $ac_status" >&5
   7154    if (exit $ac_status) && test -s "$ac_outfile"; then
   7155      # The compiler can only warn and ignore the option if not recognized
   7156      # So say no if there are warnings other than the usual output.
   7157      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7158      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7159      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7160        lt_cv_prog_compiler_rtti_exceptions=yes
   7161      fi
   7162    fi
   7163    $rm conftest*
   7164 
   7165 fi
   7166 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7167 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7168 
   7169 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7170     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7171 else
   7172     :
   7173 fi
   7174 
   7175 fi
   7176 
   7177 lt_prog_compiler_wl=
   7178 lt_prog_compiler_pic=
   7179 lt_prog_compiler_static=
   7180 
   7181 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7182 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7183 
   7184   if test "$GCC" = yes; then
   7185     lt_prog_compiler_wl='-Wl,'
   7186     lt_prog_compiler_static='-static'
   7187 
   7188     case $host_os in
   7189       aix*)
   7190       # All AIX code is PIC.
   7191       if test "$host_cpu" = ia64; then
   7192 	# AIX 5 now supports IA64 processor
   7193 	lt_prog_compiler_static='-Bstatic'
   7194       fi
   7195       ;;
   7196 
   7197     amigaos*)
   7198       # FIXME: we need at least 68020 code to build shared libraries, but
   7199       # adding the `-m68020' flag to GCC prevents building anything better,
   7200       # like `-m68040'.
   7201       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7202       ;;
   7203 
   7204     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7205       # PIC is the default for these OSes.
   7206       ;;
   7207 
   7208     mingw* | pw32* | os2*)
   7209       # This hack is so that the source file can tell whether it is being
   7210       # built for inclusion in a dll (and should export symbols for example).
   7211       lt_prog_compiler_pic='-DDLL_EXPORT'
   7212       ;;
   7213 
   7214     darwin* | rhapsody*)
   7215       # PIC is the default on this platform
   7216       # Common symbols not allowed in MH_DYLIB files
   7217       lt_prog_compiler_pic='-fno-common'
   7218       ;;
   7219 
   7220     interix3*)
   7221       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7222       # Instead, we relocate shared libraries at runtime.
   7223       ;;
   7224 
   7225     msdosdjgpp*)
   7226       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7227       # on systems that don't support them.
   7228       lt_prog_compiler_can_build_shared=no
   7229       enable_shared=no
   7230       ;;
   7231 
   7232     sysv4*MP*)
   7233       if test -d /usr/nec; then
   7234 	lt_prog_compiler_pic=-Kconform_pic
   7235       fi
   7236       ;;
   7237 
   7238     hpux*)
   7239       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7240       # not for PA HP-UX.
   7241       case $host_cpu in
   7242       hppa*64*|ia64*)
   7243 	# +Z the default
   7244 	;;
   7245       *)
   7246 	lt_prog_compiler_pic='-fPIC'
   7247 	;;
   7248       esac
   7249       ;;
   7250 
   7251     *)
   7252       lt_prog_compiler_pic='-fPIC'
   7253       ;;
   7254     esac
   7255   else
   7256     # PORTME Check for flag to pass linker flags through the system compiler.
   7257     case $host_os in
   7258     aix*)
   7259       lt_prog_compiler_wl='-Wl,'
   7260       if test "$host_cpu" = ia64; then
   7261 	# AIX 5 now supports IA64 processor
   7262 	lt_prog_compiler_static='-Bstatic'
   7263       else
   7264 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7265       fi
   7266       ;;
   7267       darwin*)
   7268         # PIC is the default on this platform
   7269         # Common symbols not allowed in MH_DYLIB files
   7270        case $cc_basename in
   7271          xlc*)
   7272          lt_prog_compiler_pic='-qnocommon'
   7273          lt_prog_compiler_wl='-Wl,'
   7274          ;;
   7275        esac
   7276        ;;
   7277 
   7278     mingw* | pw32* | os2*)
   7279       # This hack is so that the source file can tell whether it is being
   7280       # built for inclusion in a dll (and should export symbols for example).
   7281       lt_prog_compiler_pic='-DDLL_EXPORT'
   7282       ;;
   7283 
   7284     hpux9* | hpux10* | hpux11*)
   7285       lt_prog_compiler_wl='-Wl,'
   7286       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7287       # not for PA HP-UX.
   7288       case $host_cpu in
   7289       hppa*64*|ia64*)
   7290 	# +Z the default
   7291 	;;
   7292       *)
   7293 	lt_prog_compiler_pic='+Z'
   7294 	;;
   7295       esac
   7296       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7297       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7298       ;;
   7299 
   7300     irix5* | irix6* | nonstopux*)
   7301       lt_prog_compiler_wl='-Wl,'
   7302       # PIC (with -KPIC) is the default.
   7303       lt_prog_compiler_static='-non_shared'
   7304       ;;
   7305 
   7306     newsos6)
   7307       lt_prog_compiler_pic='-KPIC'
   7308       lt_prog_compiler_static='-Bstatic'
   7309       ;;
   7310 
   7311     linux*)
   7312       case $cc_basename in
   7313       icc* | ecc*)
   7314 	lt_prog_compiler_wl='-Wl,'
   7315 	lt_prog_compiler_pic='-KPIC'
   7316 	lt_prog_compiler_static='-static'
   7317         ;;
   7318       pgcc* | pgf77* | pgf90* | pgf95*)
   7319         # Portland Group compilers (*not* the Pentium gcc compiler,
   7320 	# which looks to be a dead project)
   7321 	lt_prog_compiler_wl='-Wl,'
   7322 	lt_prog_compiler_pic='-fpic'
   7323 	lt_prog_compiler_static='-Bstatic'
   7324         ;;
   7325       ccc*)
   7326         lt_prog_compiler_wl='-Wl,'
   7327         # All Alpha code is PIC.
   7328         lt_prog_compiler_static='-non_shared'
   7329         ;;
   7330       esac
   7331       ;;
   7332 
   7333     osf3* | osf4* | osf5*)
   7334       lt_prog_compiler_wl='-Wl,'
   7335       # All OSF/1 code is PIC.
   7336       lt_prog_compiler_static='-non_shared'
   7337       ;;
   7338 
   7339     solaris*)
   7340       lt_prog_compiler_pic='-KPIC'
   7341       lt_prog_compiler_static='-Bstatic'
   7342       case $cc_basename in
   7343       f77* | f90* | f95*)
   7344 	lt_prog_compiler_wl='-Qoption ld ';;
   7345       *)
   7346 	lt_prog_compiler_wl='-Wl,';;
   7347       esac
   7348       ;;
   7349 
   7350     sunos4*)
   7351       lt_prog_compiler_wl='-Qoption ld '
   7352       lt_prog_compiler_pic='-PIC'
   7353       lt_prog_compiler_static='-Bstatic'
   7354       ;;
   7355 
   7356     sysv4 | sysv4.2uw2* | sysv4.3*)
   7357       lt_prog_compiler_wl='-Wl,'
   7358       lt_prog_compiler_pic='-KPIC'
   7359       lt_prog_compiler_static='-Bstatic'
   7360       ;;
   7361 
   7362     sysv4*MP*)
   7363       if test -d /usr/nec ;then
   7364 	lt_prog_compiler_pic='-Kconform_pic'
   7365 	lt_prog_compiler_static='-Bstatic'
   7366       fi
   7367       ;;
   7368 
   7369     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7370       lt_prog_compiler_wl='-Wl,'
   7371       lt_prog_compiler_pic='-KPIC'
   7372       lt_prog_compiler_static='-Bstatic'
   7373       ;;
   7374 
   7375     unicos*)
   7376       lt_prog_compiler_wl='-Wl,'
   7377       lt_prog_compiler_can_build_shared=no
   7378       ;;
   7379 
   7380     uts4*)
   7381       lt_prog_compiler_pic='-pic'
   7382       lt_prog_compiler_static='-Bstatic'
   7383       ;;
   7384 
   7385     *)
   7386       lt_prog_compiler_can_build_shared=no
   7387       ;;
   7388     esac
   7389   fi
   7390 
   7391 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7392 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7393 
   7394 #
   7395 # Check to make sure the PIC flag actually works.
   7396 #
   7397 if test -n "$lt_prog_compiler_pic"; then
   7398 
   7399 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7400 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7401 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7402   echo $ECHO_N "(cached) $ECHO_C" >&6
   7403 else
   7404   lt_prog_compiler_pic_works=no
   7405   ac_outfile=conftest.$ac_objext
   7406    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7407    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7408    # Insert the option either (1) after the last *FLAGS variable, or
   7409    # (2) before a word containing "conftest.", or (3) at the end.
   7410    # Note that $ac_compile itself does not contain backslashes and begins
   7411    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7412    # The option is referenced via a variable to avoid confusing sed.
   7413    lt_compile=`echo "$ac_compile" | $SED \
   7414    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7415    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7416    -e 's:$: $lt_compiler_flag:'`
   7417    (eval echo "\"\$as_me:7417: $lt_compile\"" >&5)
   7418    (eval "$lt_compile" 2>conftest.err)
   7419    ac_status=$?
   7420    cat conftest.err >&5
   7421    echo "$as_me:7421: \$? = $ac_status" >&5
   7422    if (exit $ac_status) && test -s "$ac_outfile"; then
   7423      # The compiler can only warn and ignore the option if not recognized
   7424      # So say no if there are warnings other than the usual output.
   7425      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7426      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7427      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7428        lt_prog_compiler_pic_works=yes
   7429      fi
   7430    fi
   7431    $rm conftest*
   7432 
   7433 fi
   7434 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7435 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7436 
   7437 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7438     case $lt_prog_compiler_pic in
   7439      "" | " "*) ;;
   7440      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7441      esac
   7442 else
   7443     lt_prog_compiler_pic=
   7444      lt_prog_compiler_can_build_shared=no
   7445 fi
   7446 
   7447 fi
   7448 case $host_os in
   7449   # For platforms which do not support PIC, -DPIC is meaningless:
   7450   *djgpp*)
   7451     lt_prog_compiler_pic=
   7452     ;;
   7453   *)
   7454     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7455     ;;
   7456 esac
   7457 
   7458 #
   7459 # Check to make sure the static flag actually works.
   7460 #
   7461 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7462 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7463 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7464 if test "${lt_prog_compiler_static_works+set}" = set; then
   7465   echo $ECHO_N "(cached) $ECHO_C" >&6
   7466 else
   7467   lt_prog_compiler_static_works=no
   7468    save_LDFLAGS="$LDFLAGS"
   7469    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7470    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7471    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7472      # The linker can only warn and ignore the option if not recognized
   7473      # So say no if there are warnings
   7474      if test -s conftest.err; then
   7475        # Append any errors to the config.log.
   7476        cat conftest.err 1>&5
   7477        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7478        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7479        if diff conftest.exp conftest.er2 >/dev/null; then
   7480          lt_prog_compiler_static_works=yes
   7481        fi
   7482      else
   7483        lt_prog_compiler_static_works=yes
   7484      fi
   7485    fi
   7486    $rm conftest*
   7487    LDFLAGS="$save_LDFLAGS"
   7488 
   7489 fi
   7490 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7491 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7492 
   7493 if test x"$lt_prog_compiler_static_works" = xyes; then
   7494     :
   7495 else
   7496     lt_prog_compiler_static=
   7497 fi
   7498 
   7499 
   7500 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7501 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7502 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7503   echo $ECHO_N "(cached) $ECHO_C" >&6
   7504 else
   7505   lt_cv_prog_compiler_c_o=no
   7506    $rm -r conftest 2>/dev/null
   7507    mkdir conftest
   7508    cd conftest
   7509    mkdir out
   7510    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7511 
   7512    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7513    # Insert the option either (1) after the last *FLAGS variable, or
   7514    # (2) before a word containing "conftest.", or (3) at the end.
   7515    # Note that $ac_compile itself does not contain backslashes and begins
   7516    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7517    lt_compile=`echo "$ac_compile" | $SED \
   7518    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7519    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7520    -e 's:$: $lt_compiler_flag:'`
   7521    (eval echo "\"\$as_me:7521: $lt_compile\"" >&5)
   7522    (eval "$lt_compile" 2>out/conftest.err)
   7523    ac_status=$?
   7524    cat out/conftest.err >&5
   7525    echo "$as_me:7525: \$? = $ac_status" >&5
   7526    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7527    then
   7528      # The compiler can only warn and ignore the option if not recognized
   7529      # So say no if there are warnings
   7530      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7531      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7532      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7533        lt_cv_prog_compiler_c_o=yes
   7534      fi
   7535    fi
   7536    chmod u+w . 2>&5
   7537    $rm conftest*
   7538    # SGI C++ compiler will create directory out/ii_files/ for
   7539    # template instantiation
   7540    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7541    $rm out/* && rmdir out
   7542    cd ..
   7543    rmdir conftest
   7544    $rm conftest*
   7545 
   7546 fi
   7547 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7548 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7549 
   7550 
   7551 hard_links="nottested"
   7552 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7553   # do not overwrite the value of need_locks provided by the user
   7554   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7555 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7556   hard_links=yes
   7557   $rm conftest*
   7558   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7559   touch conftest.a
   7560   ln conftest.a conftest.b 2>&5 || hard_links=no
   7561   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7562   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7563 echo "${ECHO_T}$hard_links" >&6; }
   7564   if test "$hard_links" = no; then
   7565     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7566 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7567     need_locks=warn
   7568   fi
   7569 else
   7570   need_locks=no
   7571 fi
   7572 
   7573 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7574 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7575 
   7576   runpath_var=
   7577   allow_undefined_flag=
   7578   enable_shared_with_static_runtimes=no
   7579   archive_cmds=
   7580   archive_expsym_cmds=
   7581   old_archive_From_new_cmds=
   7582   old_archive_from_expsyms_cmds=
   7583   export_dynamic_flag_spec=
   7584   whole_archive_flag_spec=
   7585   thread_safe_flag_spec=
   7586   hardcode_libdir_flag_spec=
   7587   hardcode_libdir_flag_spec_ld=
   7588   hardcode_libdir_separator=
   7589   hardcode_direct=no
   7590   hardcode_minus_L=no
   7591   hardcode_shlibpath_var=unsupported
   7592   link_all_deplibs=unknown
   7593   hardcode_automatic=no
   7594   module_cmds=
   7595   module_expsym_cmds=
   7596   always_export_symbols=no
   7597   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7598   # include_expsyms should be a list of space-separated symbols to be *always*
   7599   # included in the symbol list
   7600   include_expsyms=
   7601   # exclude_expsyms can be an extended regexp of symbols to exclude
   7602   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7603   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7604   # as well as any symbol that contains `d'.
   7605   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7606   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7607   # platforms (ab)use it in PIC code, but their linkers get confused if
   7608   # the symbol is explicitly referenced.  Since portable code cannot
   7609   # rely on this symbol name, it's probably fine to never include it in
   7610   # preloaded symbol tables.
   7611   extract_expsyms_cmds=
   7612   # Just being paranoid about ensuring that cc_basename is set.
   7613   for cc_temp in $compiler""; do
   7614   case $cc_temp in
   7615     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7616     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7617     \-*) ;;
   7618     *) break;;
   7619   esac
   7620 done
   7621 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7622 
   7623   case $host_os in
   7624   cygwin* | mingw* | pw32*)
   7625     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7626     # When not using gcc, we currently assume that we are using
   7627     # Microsoft Visual C++.
   7628     if test "$GCC" != yes; then
   7629       with_gnu_ld=no
   7630     fi
   7631     ;;
   7632   interix*)
   7633     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7634     with_gnu_ld=yes
   7635     ;;
   7636   openbsd*)
   7637     with_gnu_ld=no
   7638     ;;
   7639   esac
   7640 
   7641   ld_shlibs=yes
   7642   if test "$with_gnu_ld" = yes; then
   7643     # If archive_cmds runs LD, not CC, wlarc should be empty
   7644     wlarc='${wl}'
   7645 
   7646     # Set some defaults for GNU ld with shared library support. These
   7647     # are reset later if shared libraries are not supported. Putting them
   7648     # here allows them to be overridden if necessary.
   7649     runpath_var=LD_RUN_PATH
   7650     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7651     export_dynamic_flag_spec='${wl}--export-dynamic'
   7652     # ancient GNU ld didn't support --whole-archive et. al.
   7653     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7654 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7655       else
   7656   	whole_archive_flag_spec=
   7657     fi
   7658     supports_anon_versioning=no
   7659     case `$LD -v 2>/dev/null` in
   7660       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7661       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7662       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7663       *\ 2.11.*) ;; # other 2.11 versions
   7664       *) supports_anon_versioning=yes ;;
   7665     esac
   7666 
   7667     # See if GNU ld supports shared libraries.
   7668     case $host_os in
   7669     aix3* | aix4* | aix5*)
   7670       # On AIX/PPC, the GNU linker is very broken
   7671       if test "$host_cpu" != ia64; then
   7672 	ld_shlibs=no
   7673 	cat <<EOF 1>&2
   7674 
   7675 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7676 *** to be unable to reliably create shared libraries on AIX.
   7677 *** Therefore, libtool is disabling shared libraries support.  If you
   7678 *** really care for shared libraries, you may want to modify your PATH
   7679 *** so that a non-GNU linker is found, and then restart.
   7680 
   7681 EOF
   7682       fi
   7683       ;;
   7684 
   7685     amigaos*)
   7686       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)'
   7687       hardcode_libdir_flag_spec='-L$libdir'
   7688       hardcode_minus_L=yes
   7689 
   7690       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7691       # that the semantics of dynamic libraries on AmigaOS, at least up
   7692       # to version 4, is to share data among multiple programs linked
   7693       # with the same dynamic library.  Since this doesn't match the
   7694       # behavior of shared libraries on other platforms, we can't use
   7695       # them.
   7696       ld_shlibs=no
   7697       ;;
   7698 
   7699     beos*)
   7700       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7701 	allow_undefined_flag=unsupported
   7702 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7703 	# support --undefined.  This deserves some investigation.  FIXME
   7704 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7705       else
   7706 	ld_shlibs=no
   7707       fi
   7708       ;;
   7709 
   7710     cygwin* | mingw* | pw32*)
   7711       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7712       # as there is no search path for DLLs.
   7713       hardcode_libdir_flag_spec='-L$libdir'
   7714       allow_undefined_flag=unsupported
   7715       always_export_symbols=no
   7716       enable_shared_with_static_runtimes=yes
   7717       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7718 
   7719       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7720         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7721 	# If the export-symbols file already is a .def file (1st line
   7722 	# is EXPORTS), use it as is; otherwise, prepend...
   7723 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7724 	  cp $export_symbols $output_objdir/$soname.def;
   7725 	else
   7726 	  echo EXPORTS > $output_objdir/$soname.def;
   7727 	  cat $export_symbols >> $output_objdir/$soname.def;
   7728 	fi~
   7729 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7730       else
   7731 	ld_shlibs=no
   7732       fi
   7733       ;;
   7734 
   7735     interix3*)
   7736       hardcode_direct=no
   7737       hardcode_shlibpath_var=no
   7738       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7739       export_dynamic_flag_spec='${wl}-E'
   7740       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7741       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7742       # default) and relocated if they conflict, which is a slow very memory
   7743       # consuming and fragmenting process.  To avoid this, we pick a random,
   7744       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7745       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7746       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7747       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'
   7748       ;;
   7749 
   7750     linux*)
   7751       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7752 	tmp_addflag=
   7753 	case $cc_basename,$host_cpu in
   7754 	pgcc*)				# Portland Group C compiler
   7755 	  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'
   7756 	  tmp_addflag=' $pic_flag'
   7757 	  ;;
   7758 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7759 	  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'
   7760 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7761 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7762 	  tmp_addflag=' -i_dynamic' ;;
   7763 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7764 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7765 	ifc* | ifort*)			# Intel Fortran compiler
   7766 	  tmp_addflag=' -nofor_main' ;;
   7767 	esac
   7768 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7769 
   7770 	if test $supports_anon_versioning = yes; then
   7771 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7772   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7773   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7774 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7775 	fi
   7776       else
   7777 	ld_shlibs=no
   7778       fi
   7779       ;;
   7780 
   7781     netbsd*)
   7782       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7783 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7784 	wlarc=
   7785       else
   7786 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7787 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7788       fi
   7789       ;;
   7790 
   7791     solaris*)
   7792       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7793 	ld_shlibs=no
   7794 	cat <<EOF 1>&2
   7795 
   7796 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7797 *** create shared libraries on Solaris systems.  Therefore, libtool
   7798 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7799 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7800 *** your PATH or compiler configuration so that the native linker is
   7801 *** used, and then restart.
   7802 
   7803 EOF
   7804       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7805 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7806 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7807       else
   7808 	ld_shlibs=no
   7809       fi
   7810       ;;
   7811 
   7812     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7813       case `$LD -v 2>&1` in
   7814         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7815 	ld_shlibs=no
   7816 	cat <<_LT_EOF 1>&2
   7817 
   7818 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7819 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7820 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7821 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7822 *** your PATH or compiler configuration so that the native linker is
   7823 *** used, and then restart.
   7824 
   7825 _LT_EOF
   7826 	;;
   7827 	*)
   7828 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7829 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7830 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7831 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7832 	  else
   7833 	    ld_shlibs=no
   7834 	  fi
   7835 	;;
   7836       esac
   7837       ;;
   7838 
   7839     sunos4*)
   7840       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7841       wlarc=
   7842       hardcode_direct=yes
   7843       hardcode_shlibpath_var=no
   7844       ;;
   7845 
   7846     *)
   7847       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7848 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7849 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7850       else
   7851 	ld_shlibs=no
   7852       fi
   7853       ;;
   7854     esac
   7855 
   7856     if test "$ld_shlibs" = no; then
   7857       runpath_var=
   7858       hardcode_libdir_flag_spec=
   7859       export_dynamic_flag_spec=
   7860       whole_archive_flag_spec=
   7861     fi
   7862   else
   7863     # PORTME fill in a description of your system's linker (not GNU ld)
   7864     case $host_os in
   7865     aix3*)
   7866       allow_undefined_flag=unsupported
   7867       always_export_symbols=yes
   7868       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'
   7869       # Note: this linker hardcodes the directories in LIBPATH if there
   7870       # are no directories specified by -L.
   7871       hardcode_minus_L=yes
   7872       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7873 	# Neither direct hardcoding nor static linking is supported with a
   7874 	# broken collect2.
   7875 	hardcode_direct=unsupported
   7876       fi
   7877       ;;
   7878 
   7879     aix4* | aix5*)
   7880       if test "$host_cpu" = ia64; then
   7881 	# On IA64, the linker does run time linking by default, so we don't
   7882 	# have to do anything special.
   7883 	aix_use_runtimelinking=no
   7884 	exp_sym_flag='-Bexport'
   7885 	no_entry_flag=""
   7886       else
   7887 	# If we're using GNU nm, then we don't want the "-C" option.
   7888 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7889 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7890 	  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'
   7891 	else
   7892 	  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'
   7893 	fi
   7894 	aix_use_runtimelinking=no
   7895 
   7896 	# Test if we are trying to use run time linking or normal
   7897 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7898 	# need to do runtime linking.
   7899 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7900 	  for ld_flag in $LDFLAGS; do
   7901   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7902   	    aix_use_runtimelinking=yes
   7903   	    break
   7904   	  fi
   7905 	  done
   7906 	  ;;
   7907 	esac
   7908 
   7909 	exp_sym_flag='-bexport'
   7910 	no_entry_flag='-bnoentry'
   7911       fi
   7912 
   7913       # When large executables or shared objects are built, AIX ld can
   7914       # have problems creating the table of contents.  If linking a library
   7915       # or program results in "error TOC overflow" add -mminimal-toc to
   7916       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7917       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7918 
   7919       archive_cmds=''
   7920       hardcode_direct=yes
   7921       hardcode_libdir_separator=':'
   7922       link_all_deplibs=yes
   7923 
   7924       if test "$GCC" = yes; then
   7925 	case $host_os in aix4.[012]|aix4.[012].*)
   7926 	# We only want to do this on AIX 4.2 and lower, the check
   7927 	# below for broken collect2 doesn't work under 4.3+
   7928 	  collect2name=`${CC} -print-prog-name=collect2`
   7929 	  if test -f "$collect2name" && \
   7930   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7931 	  then
   7932   	  # We have reworked collect2
   7933   	  hardcode_direct=yes
   7934 	  else
   7935   	  # We have old collect2
   7936   	  hardcode_direct=unsupported
   7937   	  # It fails to find uninstalled libraries when the uninstalled
   7938   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7939   	  # to unsupported forces relinking
   7940   	  hardcode_minus_L=yes
   7941   	  hardcode_libdir_flag_spec='-L$libdir'
   7942   	  hardcode_libdir_separator=
   7943 	  fi
   7944 	  ;;
   7945 	esac
   7946 	shared_flag='-shared'
   7947 	if test "$aix_use_runtimelinking" = yes; then
   7948 	  shared_flag="$shared_flag "'${wl}-G'
   7949 	fi
   7950       else
   7951 	# not using gcc
   7952 	if test "$host_cpu" = ia64; then
   7953   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7954   	# chokes on -Wl,-G. The following line is correct:
   7955 	  shared_flag='-G'
   7956 	else
   7957 	  if test "$aix_use_runtimelinking" = yes; then
   7958 	    shared_flag='${wl}-G'
   7959 	  else
   7960 	    shared_flag='${wl}-bM:SRE'
   7961 	  fi
   7962 	fi
   7963       fi
   7964 
   7965       # It seems that -bexpall does not export symbols beginning with
   7966       # underscore (_), so it is better to generate a list of symbols to export.
   7967       always_export_symbols=yes
   7968       if test "$aix_use_runtimelinking" = yes; then
   7969 	# Warning - without using the other runtime loading flags (-brtl),
   7970 	# -berok will link without error, but may produce a broken library.
   7971 	allow_undefined_flag='-berok'
   7972        # Determine the default libpath from the value encoded in an empty executable.
   7973        cat >conftest.$ac_ext <<_ACEOF
   7974 /* confdefs.h.  */
   7975 _ACEOF
   7976 cat confdefs.h >>conftest.$ac_ext
   7977 cat >>conftest.$ac_ext <<_ACEOF
   7978 /* end confdefs.h.  */
   7979 
   7980 int
   7981 main ()
   7982 {
   7983 
   7984   ;
   7985   return 0;
   7986 }
   7987 _ACEOF
   7988 rm -f conftest.$ac_objext conftest$ac_exeext
   7989 if { (ac_try="$ac_link"
   7990 case "(($ac_try" in
   7991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7992   *) ac_try_echo=$ac_try;;
   7993 esac
   7994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7995   (eval "$ac_link") 2>conftest.er1
   7996   ac_status=$?
   7997   grep -v '^ *+' conftest.er1 >conftest.err
   7998   rm -f conftest.er1
   7999   cat conftest.err >&5
   8000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8001   (exit $ac_status); } && {
   8002 	 test -z "$ac_c_werror_flag" ||
   8003 	 test ! -s conftest.err
   8004        } && test -s conftest$ac_exeext &&
   8005        $as_test_x conftest$ac_exeext; then
   8006 
   8007 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8008 }'`
   8009 # Check for a 64-bit object if we didn't find anything.
   8010 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; }
   8011 }'`; fi
   8012 else
   8013   echo "$as_me: failed program was:" >&5
   8014 sed 's/^/| /' conftest.$ac_ext >&5
   8015 
   8016 
   8017 fi
   8018 
   8019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8020       conftest$ac_exeext conftest.$ac_ext
   8021 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8022 
   8023        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8024 	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"
   8025        else
   8026 	if test "$host_cpu" = ia64; then
   8027 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8028 	  allow_undefined_flag="-z nodefs"
   8029 	  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"
   8030 	else
   8031 	 # Determine the default libpath from the value encoded in an empty executable.
   8032 	 cat >conftest.$ac_ext <<_ACEOF
   8033 /* confdefs.h.  */
   8034 _ACEOF
   8035 cat confdefs.h >>conftest.$ac_ext
   8036 cat >>conftest.$ac_ext <<_ACEOF
   8037 /* end confdefs.h.  */
   8038 
   8039 int
   8040 main ()
   8041 {
   8042 
   8043   ;
   8044   return 0;
   8045 }
   8046 _ACEOF
   8047 rm -f conftest.$ac_objext conftest$ac_exeext
   8048 if { (ac_try="$ac_link"
   8049 case "(($ac_try" in
   8050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8051   *) ac_try_echo=$ac_try;;
   8052 esac
   8053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8054   (eval "$ac_link") 2>conftest.er1
   8055   ac_status=$?
   8056   grep -v '^ *+' conftest.er1 >conftest.err
   8057   rm -f conftest.er1
   8058   cat conftest.err >&5
   8059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8060   (exit $ac_status); } && {
   8061 	 test -z "$ac_c_werror_flag" ||
   8062 	 test ! -s conftest.err
   8063        } && test -s conftest$ac_exeext &&
   8064        $as_test_x conftest$ac_exeext; then
   8065 
   8066 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8067 }'`
   8068 # Check for a 64-bit object if we didn't find anything.
   8069 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; }
   8070 }'`; fi
   8071 else
   8072   echo "$as_me: failed program was:" >&5
   8073 sed 's/^/| /' conftest.$ac_ext >&5
   8074 
   8075 
   8076 fi
   8077 
   8078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8079       conftest$ac_exeext conftest.$ac_ext
   8080 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8081 
   8082 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8083 	  # Warning - without using the other run time loading flags,
   8084 	  # -berok will link without error, but may produce a broken library.
   8085 	  no_undefined_flag=' ${wl}-bernotok'
   8086 	  allow_undefined_flag=' ${wl}-berok'
   8087 	  # Exported symbols can be pulled into shared objects from archives
   8088 	  whole_archive_flag_spec='$convenience'
   8089 	  archive_cmds_need_lc=yes
   8090 	  # This is similar to how AIX traditionally builds its shared libraries.
   8091 	  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'
   8092 	fi
   8093       fi
   8094       ;;
   8095 
   8096     amigaos*)
   8097       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)'
   8098       hardcode_libdir_flag_spec='-L$libdir'
   8099       hardcode_minus_L=yes
   8100       # see comment about different semantics on the GNU ld section
   8101       ld_shlibs=no
   8102       ;;
   8103 
   8104     bsdi[45]*)
   8105       export_dynamic_flag_spec=-rdynamic
   8106       ;;
   8107 
   8108     cygwin* | mingw* | pw32*)
   8109       # When not using gcc, we currently assume that we are using
   8110       # Microsoft Visual C++.
   8111       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8112       # no search path for DLLs.
   8113       hardcode_libdir_flag_spec=' '
   8114       allow_undefined_flag=unsupported
   8115       # Tell ltmain to make .lib files, not .a files.
   8116       libext=lib
   8117       # Tell ltmain to make .dll files, not .so files.
   8118       shrext_cmds=".dll"
   8119       # FIXME: Setting linknames here is a bad hack.
   8120       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8121       # The linker will automatically build a .lib file if we build a DLL.
   8122       old_archive_From_new_cmds='true'
   8123       # FIXME: Should let the user specify the lib program.
   8124       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8125       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8126       enable_shared_with_static_runtimes=yes
   8127       ;;
   8128 
   8129     darwin* | rhapsody*)
   8130       case $host_os in
   8131         rhapsody* | darwin1.[012])
   8132          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8133          ;;
   8134        *) # Darwin 1.3 on
   8135          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8136            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8137          else
   8138            case ${MACOSX_DEPLOYMENT_TARGET} in
   8139              10.[012])
   8140                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8141                ;;
   8142              10.*)
   8143                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8144                ;;
   8145            esac
   8146          fi
   8147          ;;
   8148       esac
   8149       archive_cmds_need_lc=no
   8150       hardcode_direct=no
   8151       hardcode_automatic=yes
   8152       hardcode_shlibpath_var=unsupported
   8153       whole_archive_flag_spec=''
   8154       link_all_deplibs=yes
   8155     if test "$GCC" = yes ; then
   8156     	output_verbose_link_cmd='echo'
   8157         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8158       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8159       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8160       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}'
   8161       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}'
   8162     else
   8163       case $cc_basename in
   8164         xlc*)
   8165          output_verbose_link_cmd='echo'
   8166          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8167          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8168           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8169          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}'
   8170           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}'
   8171           ;;
   8172        *)
   8173          ld_shlibs=no
   8174           ;;
   8175       esac
   8176     fi
   8177       ;;
   8178 
   8179     dgux*)
   8180       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8181       hardcode_libdir_flag_spec='-L$libdir'
   8182       hardcode_shlibpath_var=no
   8183       ;;
   8184 
   8185     freebsd1*)
   8186       ld_shlibs=no
   8187       ;;
   8188 
   8189     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8190     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8191     # does not break anything, and helps significantly (at the cost of a little
   8192     # extra space).
   8193     freebsd2.2*)
   8194       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8195       hardcode_libdir_flag_spec='-R$libdir'
   8196       hardcode_direct=yes
   8197       hardcode_shlibpath_var=no
   8198       ;;
   8199 
   8200     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8201     freebsd2*)
   8202       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8203       hardcode_direct=yes
   8204       hardcode_minus_L=yes
   8205       hardcode_shlibpath_var=no
   8206       ;;
   8207 
   8208     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8209     freebsd* | kfreebsd*-gnu | dragonfly*)
   8210       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8211       hardcode_libdir_flag_spec='-R$libdir'
   8212       hardcode_direct=yes
   8213       hardcode_shlibpath_var=no
   8214       ;;
   8215 
   8216     hpux9*)
   8217       if test "$GCC" = yes; then
   8218 	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'
   8219       else
   8220 	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'
   8221       fi
   8222       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8223       hardcode_libdir_separator=:
   8224       hardcode_direct=yes
   8225 
   8226       # hardcode_minus_L: Not really in the search PATH,
   8227       # but as the default location of the library.
   8228       hardcode_minus_L=yes
   8229       export_dynamic_flag_spec='${wl}-E'
   8230       ;;
   8231 
   8232     hpux10*)
   8233       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8234 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8235       else
   8236 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8237       fi
   8238       if test "$with_gnu_ld" = no; then
   8239 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8240 	hardcode_libdir_separator=:
   8241 
   8242 	hardcode_direct=yes
   8243 	export_dynamic_flag_spec='${wl}-E'
   8244 
   8245 	# hardcode_minus_L: Not really in the search PATH,
   8246 	# but as the default location of the library.
   8247 	hardcode_minus_L=yes
   8248       fi
   8249       ;;
   8250 
   8251     hpux11*)
   8252       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8253 	case $host_cpu in
   8254 	hppa*64*)
   8255 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8256 	  ;;
   8257 	ia64*)
   8258 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8259 	  ;;
   8260 	*)
   8261 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8262 	  ;;
   8263 	esac
   8264       else
   8265 	case $host_cpu in
   8266 	hppa*64*)
   8267 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8268 	  ;;
   8269 	ia64*)
   8270 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8271 	  ;;
   8272 	*)
   8273 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8274 	  ;;
   8275 	esac
   8276       fi
   8277       if test "$with_gnu_ld" = no; then
   8278 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8279 	hardcode_libdir_separator=:
   8280 
   8281 	case $host_cpu in
   8282 	hppa*64*|ia64*)
   8283 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8284 	  hardcode_direct=no
   8285 	  hardcode_shlibpath_var=no
   8286 	  ;;
   8287 	*)
   8288 	  hardcode_direct=yes
   8289 	  export_dynamic_flag_spec='${wl}-E'
   8290 
   8291 	  # hardcode_minus_L: Not really in the search PATH,
   8292 	  # but as the default location of the library.
   8293 	  hardcode_minus_L=yes
   8294 	  ;;
   8295 	esac
   8296       fi
   8297       ;;
   8298 
   8299     irix5* | irix6* | nonstopux*)
   8300       if test "$GCC" = yes; then
   8301 	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'
   8302       else
   8303 	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'
   8304 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8305       fi
   8306       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8307       hardcode_libdir_separator=:
   8308       link_all_deplibs=yes
   8309       ;;
   8310 
   8311     netbsd*)
   8312       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8313 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8314       else
   8315 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8316       fi
   8317       hardcode_libdir_flag_spec='-R$libdir'
   8318       hardcode_direct=yes
   8319       hardcode_shlibpath_var=no
   8320       ;;
   8321 
   8322     newsos6)
   8323       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8324       hardcode_direct=yes
   8325       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8326       hardcode_libdir_separator=:
   8327       hardcode_shlibpath_var=no
   8328       ;;
   8329 
   8330     openbsd*)
   8331       hardcode_direct=yes
   8332       hardcode_shlibpath_var=no
   8333       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8334 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8335 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8336 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8337 	export_dynamic_flag_spec='${wl}-E'
   8338       else
   8339        case $host_os in
   8340 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8341 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8342 	   hardcode_libdir_flag_spec='-R$libdir'
   8343 	   ;;
   8344 	 *)
   8345 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8346 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8347 	   ;;
   8348        esac
   8349       fi
   8350       ;;
   8351 
   8352     os2*)
   8353       hardcode_libdir_flag_spec='-L$libdir'
   8354       hardcode_minus_L=yes
   8355       allow_undefined_flag=unsupported
   8356       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'
   8357       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8358       ;;
   8359 
   8360     osf3*)
   8361       if test "$GCC" = yes; then
   8362 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8363 	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'
   8364       else
   8365 	allow_undefined_flag=' -expect_unresolved \*'
   8366 	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'
   8367       fi
   8368       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8369       hardcode_libdir_separator=:
   8370       ;;
   8371 
   8372     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8373       if test "$GCC" = yes; then
   8374 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8375 	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'
   8376 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8377       else
   8378 	allow_undefined_flag=' -expect_unresolved \*'
   8379 	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'
   8380 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8381 	$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'
   8382 
   8383 	# Both c and cxx compiler support -rpath directly
   8384 	hardcode_libdir_flag_spec='-rpath $libdir'
   8385       fi
   8386       hardcode_libdir_separator=:
   8387       ;;
   8388 
   8389     solaris*)
   8390       no_undefined_flag=' -z text'
   8391       if test "$GCC" = yes; then
   8392 	wlarc='${wl}'
   8393 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8394 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8395 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8396       else
   8397 	wlarc=''
   8398 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8399 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8400   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8401       fi
   8402       hardcode_libdir_flag_spec='-R$libdir'
   8403       hardcode_shlibpath_var=no
   8404       case $host_os in
   8405       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8406       *)
   8407  	# The compiler driver will combine linker options so we
   8408  	# cannot just pass the convience library names through
   8409  	# without $wl, iff we do not link with $LD.
   8410  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8411  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8412  	case $wlarc in
   8413  	'')
   8414  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8415  	*)
   8416  	  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' ;;
   8417  	esac ;;
   8418       esac
   8419       link_all_deplibs=yes
   8420       ;;
   8421 
   8422     sunos4*)
   8423       if test "x$host_vendor" = xsequent; then
   8424 	# Use $CC to link under sequent, because it throws in some extra .o
   8425 	# files that make .init and .fini sections work.
   8426 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8427       else
   8428 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8429       fi
   8430       hardcode_libdir_flag_spec='-L$libdir'
   8431       hardcode_direct=yes
   8432       hardcode_minus_L=yes
   8433       hardcode_shlibpath_var=no
   8434       ;;
   8435 
   8436     sysv4)
   8437       case $host_vendor in
   8438 	sni)
   8439 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8440 	  hardcode_direct=yes # is this really true???
   8441 	;;
   8442 	siemens)
   8443 	  ## LD is ld it makes a PLAMLIB
   8444 	  ## CC just makes a GrossModule.
   8445 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8446 	  reload_cmds='$CC -r -o $output$reload_objs'
   8447 	  hardcode_direct=no
   8448         ;;
   8449 	motorola)
   8450 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8451 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8452 	;;
   8453       esac
   8454       runpath_var='LD_RUN_PATH'
   8455       hardcode_shlibpath_var=no
   8456       ;;
   8457 
   8458     sysv4.3*)
   8459       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8460       hardcode_shlibpath_var=no
   8461       export_dynamic_flag_spec='-Bexport'
   8462       ;;
   8463 
   8464     sysv4*MP*)
   8465       if test -d /usr/nec; then
   8466 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8467 	hardcode_shlibpath_var=no
   8468 	runpath_var=LD_RUN_PATH
   8469 	hardcode_runpath_var=yes
   8470 	ld_shlibs=yes
   8471       fi
   8472       ;;
   8473 
   8474     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8475       no_undefined_flag='${wl}-z,text'
   8476       archive_cmds_need_lc=no
   8477       hardcode_shlibpath_var=no
   8478       runpath_var='LD_RUN_PATH'
   8479 
   8480       if test "$GCC" = yes; then
   8481 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8482 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8483       else
   8484 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8485 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8486       fi
   8487       ;;
   8488 
   8489     sysv5* | sco3.2v5* | sco5v6*)
   8490       # Note: We can NOT use -z defs as we might desire, because we do not
   8491       # link with -lc, and that would cause any symbols used from libc to
   8492       # always be unresolved, which means just about no library would
   8493       # ever link correctly.  If we're not using GNU ld we use -z text
   8494       # though, which does catch some bad symbols but isn't as heavy-handed
   8495       # as -z defs.
   8496       no_undefined_flag='${wl}-z,text'
   8497       allow_undefined_flag='${wl}-z,nodefs'
   8498       archive_cmds_need_lc=no
   8499       hardcode_shlibpath_var=no
   8500       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8501       hardcode_libdir_separator=':'
   8502       link_all_deplibs=yes
   8503       export_dynamic_flag_spec='${wl}-Bexport'
   8504       runpath_var='LD_RUN_PATH'
   8505 
   8506       if test "$GCC" = yes; then
   8507 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8508 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8509       else
   8510 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8511 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8512       fi
   8513       ;;
   8514 
   8515     uts4*)
   8516       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8517       hardcode_libdir_flag_spec='-L$libdir'
   8518       hardcode_shlibpath_var=no
   8519       ;;
   8520 
   8521     *)
   8522       ld_shlibs=no
   8523       ;;
   8524     esac
   8525   fi
   8526 
   8527 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8528 echo "${ECHO_T}$ld_shlibs" >&6; }
   8529 test "$ld_shlibs" = no && can_build_shared=no
   8530 
   8531 #
   8532 # Do we need to explicitly link libc?
   8533 #
   8534 case "x$archive_cmds_need_lc" in
   8535 x|xyes)
   8536   # Assume -lc should be added
   8537   archive_cmds_need_lc=yes
   8538 
   8539   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8540     case $archive_cmds in
   8541     *'~'*)
   8542       # FIXME: we may have to deal with multi-command sequences.
   8543       ;;
   8544     '$CC '*)
   8545       # Test whether the compiler implicitly links with -lc since on some
   8546       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8547       # to ld, don't add -lc before -lgcc.
   8548       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8549 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8550       $rm conftest*
   8551       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8552 
   8553       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8554   (eval $ac_compile) 2>&5
   8555   ac_status=$?
   8556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8557   (exit $ac_status); } 2>conftest.err; then
   8558         soname=conftest
   8559         lib=conftest
   8560         libobjs=conftest.$ac_objext
   8561         deplibs=
   8562         wl=$lt_prog_compiler_wl
   8563 	pic_flag=$lt_prog_compiler_pic
   8564         compiler_flags=-v
   8565         linker_flags=-v
   8566         verstring=
   8567         output_objdir=.
   8568         libname=conftest
   8569         lt_save_allow_undefined_flag=$allow_undefined_flag
   8570         allow_undefined_flag=
   8571         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8572   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8573   ac_status=$?
   8574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8575   (exit $ac_status); }
   8576         then
   8577 	  archive_cmds_need_lc=no
   8578         else
   8579 	  archive_cmds_need_lc=yes
   8580         fi
   8581         allow_undefined_flag=$lt_save_allow_undefined_flag
   8582       else
   8583         cat conftest.err 1>&5
   8584       fi
   8585       $rm conftest*
   8586       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8587 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8588       ;;
   8589     esac
   8590   fi
   8591   ;;
   8592 esac
   8593 
   8594 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8595 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8596 library_names_spec=
   8597 libname_spec='lib$name'
   8598 soname_spec=
   8599 shrext_cmds=".so"
   8600 postinstall_cmds=
   8601 postuninstall_cmds=
   8602 finish_cmds=
   8603 finish_eval=
   8604 shlibpath_var=
   8605 shlibpath_overrides_runpath=unknown
   8606 version_type=none
   8607 dynamic_linker="$host_os ld.so"
   8608 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8609 if test "$GCC" = yes; then
   8610   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8611   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8612     # if the path contains ";" then we assume it to be the separator
   8613     # otherwise default to the standard path separator (i.e. ":") - it is
   8614     # assumed that no part of a normal pathname contains ";" but that should
   8615     # okay in the real world where ";" in dirpaths is itself problematic.
   8616     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8617   else
   8618     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8619   fi
   8620 else
   8621   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8622 fi
   8623 need_lib_prefix=unknown
   8624 hardcode_into_libs=no
   8625 
   8626 # when you set need_version to no, make sure it does not cause -set_version
   8627 # flags to be left without arguments
   8628 need_version=unknown
   8629 
   8630 case $host_os in
   8631 aix3*)
   8632   version_type=linux
   8633   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8634   shlibpath_var=LIBPATH
   8635 
   8636   # AIX 3 has no versioning support, so we append a major version to the name.
   8637   soname_spec='${libname}${release}${shared_ext}$major'
   8638   ;;
   8639 
   8640 aix4* | aix5*)
   8641   version_type=linux
   8642   need_lib_prefix=no
   8643   need_version=no
   8644   hardcode_into_libs=yes
   8645   if test "$host_cpu" = ia64; then
   8646     # AIX 5 supports IA64
   8647     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8648     shlibpath_var=LD_LIBRARY_PATH
   8649   else
   8650     # With GCC up to 2.95.x, collect2 would create an import file
   8651     # for dependence libraries.  The import file would start with
   8652     # the line `#! .'.  This would cause the generated library to
   8653     # depend on `.', always an invalid library.  This was fixed in
   8654     # development snapshots of GCC prior to 3.0.
   8655     case $host_os in
   8656       aix4 | aix4.[01] | aix4.[01].*)
   8657       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8658 	   echo ' yes '
   8659 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8660 	:
   8661       else
   8662 	can_build_shared=no
   8663       fi
   8664       ;;
   8665     esac
   8666     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8667     # soname into executable. Probably we can add versioning support to
   8668     # collect2, so additional links can be useful in future.
   8669     if test "$aix_use_runtimelinking" = yes; then
   8670       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8671       # instead of lib<name>.a to let people know that these are not
   8672       # typical AIX shared libraries.
   8673       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8674     else
   8675       # We preserve .a as extension for shared libraries through AIX4.2
   8676       # and later when we are not doing run time linking.
   8677       library_names_spec='${libname}${release}.a $libname.a'
   8678       soname_spec='${libname}${release}${shared_ext}$major'
   8679     fi
   8680     shlibpath_var=LIBPATH
   8681   fi
   8682   ;;
   8683 
   8684 amigaos*)
   8685   library_names_spec='$libname.ixlibrary $libname.a'
   8686   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8687   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'
   8688   ;;
   8689 
   8690 beos*)
   8691   library_names_spec='${libname}${shared_ext}'
   8692   dynamic_linker="$host_os ld.so"
   8693   shlibpath_var=LIBRARY_PATH
   8694   ;;
   8695 
   8696 bsdi[45]*)
   8697   version_type=linux
   8698   need_version=no
   8699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8700   soname_spec='${libname}${release}${shared_ext}$major'
   8701   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8702   shlibpath_var=LD_LIBRARY_PATH
   8703   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8704   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8705   # the default ld.so.conf also contains /usr/contrib/lib and
   8706   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8707   # libtool to hard-code these into programs
   8708   ;;
   8709 
   8710 cygwin* | mingw* | pw32*)
   8711   version_type=windows
   8712   shrext_cmds=".dll"
   8713   need_version=no
   8714   need_lib_prefix=no
   8715 
   8716   case $GCC,$host_os in
   8717   yes,cygwin* | yes,mingw* | yes,pw32*)
   8718     library_names_spec='$libname.dll.a'
   8719     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8720     postinstall_cmds='base_file=`basename \${file}`~
   8721       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8722       dldir=$destdir/`dirname \$dlpath`~
   8723       test -d \$dldir || mkdir -p \$dldir~
   8724       $install_prog $dir/$dlname \$dldir/$dlname~
   8725       chmod a+x \$dldir/$dlname'
   8726     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8727       dlpath=$dir/\$dldll~
   8728        $rm \$dlpath'
   8729     shlibpath_overrides_runpath=yes
   8730 
   8731     case $host_os in
   8732     cygwin*)
   8733       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8734       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8735       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8736       ;;
   8737     mingw*)
   8738       # MinGW DLLs use traditional 'lib' prefix
   8739       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8740       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8741       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8742         # It is most probably a Windows format PATH printed by
   8743         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8744         # path with ; separators, and with drive letters. We can handle the
   8745         # drive letters (cygwin fileutils understands them), so leave them,
   8746         # especially as we might pass files found there to a mingw objdump,
   8747         # which wouldn't understand a cygwinified path. Ahh.
   8748         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8749       else
   8750         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8751       fi
   8752       ;;
   8753     pw32*)
   8754       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8755       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8756       ;;
   8757     esac
   8758     ;;
   8759 
   8760   *)
   8761     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8762     ;;
   8763   esac
   8764   dynamic_linker='Win32 ld.exe'
   8765   # FIXME: first we should search . and the directory the executable is in
   8766   shlibpath_var=PATH
   8767   ;;
   8768 
   8769 darwin* | rhapsody*)
   8770   dynamic_linker="$host_os dyld"
   8771   version_type=darwin
   8772   need_lib_prefix=no
   8773   need_version=no
   8774   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8775   soname_spec='${libname}${release}${major}$shared_ext'
   8776   shlibpath_overrides_runpath=yes
   8777   shlibpath_var=DYLD_LIBRARY_PATH
   8778   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8779   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8780   if test "$GCC" = yes; then
   8781     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"`
   8782   else
   8783     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8784   fi
   8785   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8786   ;;
   8787 
   8788 dgux*)
   8789   version_type=linux
   8790   need_lib_prefix=no
   8791   need_version=no
   8792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8793   soname_spec='${libname}${release}${shared_ext}$major'
   8794   shlibpath_var=LD_LIBRARY_PATH
   8795   ;;
   8796 
   8797 freebsd1*)
   8798   dynamic_linker=no
   8799   ;;
   8800 
   8801 kfreebsd*-gnu)
   8802   version_type=linux
   8803   need_lib_prefix=no
   8804   need_version=no
   8805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8806   soname_spec='${libname}${release}${shared_ext}$major'
   8807   shlibpath_var=LD_LIBRARY_PATH
   8808   shlibpath_overrides_runpath=no
   8809   hardcode_into_libs=yes
   8810   dynamic_linker='GNU ld.so'
   8811   ;;
   8812 
   8813 freebsd* | dragonfly*)
   8814   # DragonFly does not have aout.  When/if they implement a new
   8815   # versioning mechanism, adjust this.
   8816   if test -x /usr/bin/objformat; then
   8817     objformat=`/usr/bin/objformat`
   8818   else
   8819     case $host_os in
   8820     freebsd[123]*) objformat=aout ;;
   8821     *) objformat=elf ;;
   8822     esac
   8823   fi
   8824   version_type=freebsd-$objformat
   8825   case $version_type in
   8826     freebsd-elf*)
   8827       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8828       need_version=no
   8829       need_lib_prefix=no
   8830       ;;
   8831     freebsd-*)
   8832       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8833       need_version=yes
   8834       ;;
   8835   esac
   8836   shlibpath_var=LD_LIBRARY_PATH
   8837   case $host_os in
   8838   freebsd2*)
   8839     shlibpath_overrides_runpath=yes
   8840     ;;
   8841   freebsd3.[01]* | freebsdelf3.[01]*)
   8842     shlibpath_overrides_runpath=yes
   8843     hardcode_into_libs=yes
   8844     ;;
   8845   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8846   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8847     shlibpath_overrides_runpath=no
   8848     hardcode_into_libs=yes
   8849     ;;
   8850   freebsd*) # from 4.6 on
   8851     shlibpath_overrides_runpath=yes
   8852     hardcode_into_libs=yes
   8853     ;;
   8854   esac
   8855   ;;
   8856 
   8857 gnu*)
   8858   version_type=linux
   8859   need_lib_prefix=no
   8860   need_version=no
   8861   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8862   soname_spec='${libname}${release}${shared_ext}$major'
   8863   shlibpath_var=LD_LIBRARY_PATH
   8864   hardcode_into_libs=yes
   8865   ;;
   8866 
   8867 hpux9* | hpux10* | hpux11*)
   8868   # Give a soname corresponding to the major version so that dld.sl refuses to
   8869   # link against other versions.
   8870   version_type=sunos
   8871   need_lib_prefix=no
   8872   need_version=no
   8873   case $host_cpu in
   8874   ia64*)
   8875     shrext_cmds='.so'
   8876     hardcode_into_libs=yes
   8877     dynamic_linker="$host_os dld.so"
   8878     shlibpath_var=LD_LIBRARY_PATH
   8879     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8880     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8881     soname_spec='${libname}${release}${shared_ext}$major'
   8882     if test "X$HPUX_IA64_MODE" = X32; then
   8883       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8884     else
   8885       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8886     fi
   8887     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8888     ;;
   8889    hppa*64*)
   8890      shrext_cmds='.sl'
   8891      hardcode_into_libs=yes
   8892      dynamic_linker="$host_os dld.sl"
   8893      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8894      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8895      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8896      soname_spec='${libname}${release}${shared_ext}$major'
   8897      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8898      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8899      ;;
   8900    *)
   8901     shrext_cmds='.sl'
   8902     dynamic_linker="$host_os dld.sl"
   8903     shlibpath_var=SHLIB_PATH
   8904     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8905     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8906     soname_spec='${libname}${release}${shared_ext}$major'
   8907     ;;
   8908   esac
   8909   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8910   postinstall_cmds='chmod 555 $lib'
   8911   ;;
   8912 
   8913 interix3*)
   8914   version_type=linux
   8915   need_lib_prefix=no
   8916   need_version=no
   8917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8918   soname_spec='${libname}${release}${shared_ext}$major'
   8919   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8920   shlibpath_var=LD_LIBRARY_PATH
   8921   shlibpath_overrides_runpath=no
   8922   hardcode_into_libs=yes
   8923   ;;
   8924 
   8925 irix5* | irix6* | nonstopux*)
   8926   case $host_os in
   8927     nonstopux*) version_type=nonstopux ;;
   8928     *)
   8929 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8930 		version_type=linux
   8931 	else
   8932 		version_type=irix
   8933 	fi ;;
   8934   esac
   8935   need_lib_prefix=no
   8936   need_version=no
   8937   soname_spec='${libname}${release}${shared_ext}$major'
   8938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8939   case $host_os in
   8940   irix5* | nonstopux*)
   8941     libsuff= shlibsuff=
   8942     ;;
   8943   *)
   8944     case $LD in # libtool.m4 will add one of these switches to LD
   8945     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8946       libsuff= shlibsuff= libmagic=32-bit;;
   8947     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8948       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8949     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8950       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8951     *) libsuff= shlibsuff= libmagic=never-match;;
   8952     esac
   8953     ;;
   8954   esac
   8955   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8956   shlibpath_overrides_runpath=no
   8957   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8958   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8959   hardcode_into_libs=yes
   8960   ;;
   8961 
   8962 # No shared lib support for Linux oldld, aout, or coff.
   8963 linux*oldld* | linux*aout* | linux*coff*)
   8964   dynamic_linker=no
   8965   ;;
   8966 
   8967 # This must be Linux ELF.
   8968 linux*)
   8969   version_type=linux
   8970   need_lib_prefix=no
   8971   need_version=no
   8972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8973   soname_spec='${libname}${release}${shared_ext}$major'
   8974   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8975   shlibpath_var=LD_LIBRARY_PATH
   8976   shlibpath_overrides_runpath=no
   8977   # This implies no fast_install, which is unacceptable.
   8978   # Some rework will be needed to allow for fast_install
   8979   # before this can be enabled.
   8980   hardcode_into_libs=yes
   8981 
   8982   # Append ld.so.conf contents to the search path
   8983   if test -f /etc/ld.so.conf; then
   8984     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' ' '`
   8985     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8986   fi
   8987 
   8988   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8989   # powerpc, because MkLinux only supported shared libraries with the
   8990   # GNU dynamic linker.  Since this was broken with cross compilers,
   8991   # most powerpc-linux boxes support dynamic linking these days and
   8992   # people can always --disable-shared, the test was removed, and we
   8993   # assume the GNU/Linux dynamic linker is in use.
   8994   dynamic_linker='GNU/Linux ld.so'
   8995   ;;
   8996 
   8997 knetbsd*-gnu)
   8998   version_type=linux
   8999   need_lib_prefix=no
   9000   need_version=no
   9001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9002   soname_spec='${libname}${release}${shared_ext}$major'
   9003   shlibpath_var=LD_LIBRARY_PATH
   9004   shlibpath_overrides_runpath=no
   9005   hardcode_into_libs=yes
   9006   dynamic_linker='GNU ld.so'
   9007   ;;
   9008 
   9009 netbsd*)
   9010   version_type=sunos
   9011   need_lib_prefix=no
   9012   need_version=no
   9013   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9014     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9015     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9016     dynamic_linker='NetBSD (a.out) ld.so'
   9017   else
   9018     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9019     soname_spec='${libname}${release}${shared_ext}$major'
   9020     dynamic_linker='NetBSD ld.elf_so'
   9021   fi
   9022   shlibpath_var=LD_LIBRARY_PATH
   9023   shlibpath_overrides_runpath=yes
   9024   hardcode_into_libs=yes
   9025   ;;
   9026 
   9027 newsos6)
   9028   version_type=linux
   9029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9030   shlibpath_var=LD_LIBRARY_PATH
   9031   shlibpath_overrides_runpath=yes
   9032   ;;
   9033 
   9034 nto-qnx*)
   9035   version_type=linux
   9036   need_lib_prefix=no
   9037   need_version=no
   9038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9039   soname_spec='${libname}${release}${shared_ext}$major'
   9040   shlibpath_var=LD_LIBRARY_PATH
   9041   shlibpath_overrides_runpath=yes
   9042   ;;
   9043 
   9044 openbsd*)
   9045   version_type=sunos
   9046   sys_lib_dlsearch_path_spec="/usr/lib"
   9047   need_lib_prefix=no
   9048   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9049   case $host_os in
   9050     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9051     *)                         need_version=no  ;;
   9052   esac
   9053   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9054   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9055   shlibpath_var=LD_LIBRARY_PATH
   9056   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9057     case $host_os in
   9058       openbsd2.[89] | openbsd2.[89].*)
   9059 	shlibpath_overrides_runpath=no
   9060 	;;
   9061       *)
   9062 	shlibpath_overrides_runpath=yes
   9063 	;;
   9064       esac
   9065   else
   9066     shlibpath_overrides_runpath=yes
   9067   fi
   9068   ;;
   9069 
   9070 os2*)
   9071   libname_spec='$name'
   9072   shrext_cmds=".dll"
   9073   need_lib_prefix=no
   9074   library_names_spec='$libname${shared_ext} $libname.a'
   9075   dynamic_linker='OS/2 ld.exe'
   9076   shlibpath_var=LIBPATH
   9077   ;;
   9078 
   9079 osf3* | osf4* | osf5*)
   9080   version_type=osf
   9081   need_lib_prefix=no
   9082   need_version=no
   9083   soname_spec='${libname}${release}${shared_ext}$major'
   9084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9085   shlibpath_var=LD_LIBRARY_PATH
   9086   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9087   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9088   ;;
   9089 
   9090 solaris*)
   9091   version_type=linux
   9092   need_lib_prefix=no
   9093   need_version=no
   9094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9095   soname_spec='${libname}${release}${shared_ext}$major'
   9096   shlibpath_var=LD_LIBRARY_PATH
   9097   shlibpath_overrides_runpath=yes
   9098   hardcode_into_libs=yes
   9099   # ldd complains unless libraries are executable
   9100   postinstall_cmds='chmod +x $lib'
   9101   ;;
   9102 
   9103 sunos4*)
   9104   version_type=sunos
   9105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9106   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9107   shlibpath_var=LD_LIBRARY_PATH
   9108   shlibpath_overrides_runpath=yes
   9109   if test "$with_gnu_ld" = yes; then
   9110     need_lib_prefix=no
   9111   fi
   9112   need_version=yes
   9113   ;;
   9114 
   9115 sysv4 | sysv4.3*)
   9116   version_type=linux
   9117   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9118   soname_spec='${libname}${release}${shared_ext}$major'
   9119   shlibpath_var=LD_LIBRARY_PATH
   9120   case $host_vendor in
   9121     sni)
   9122       shlibpath_overrides_runpath=no
   9123       need_lib_prefix=no
   9124       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9125       runpath_var=LD_RUN_PATH
   9126       ;;
   9127     siemens)
   9128       need_lib_prefix=no
   9129       ;;
   9130     motorola)
   9131       need_lib_prefix=no
   9132       need_version=no
   9133       shlibpath_overrides_runpath=no
   9134       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9135       ;;
   9136   esac
   9137   ;;
   9138 
   9139 sysv4*MP*)
   9140   if test -d /usr/nec ;then
   9141     version_type=linux
   9142     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9143     soname_spec='$libname${shared_ext}.$major'
   9144     shlibpath_var=LD_LIBRARY_PATH
   9145   fi
   9146   ;;
   9147 
   9148 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9149   version_type=freebsd-elf
   9150   need_lib_prefix=no
   9151   need_version=no
   9152   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9153   soname_spec='${libname}${release}${shared_ext}$major'
   9154   shlibpath_var=LD_LIBRARY_PATH
   9155   hardcode_into_libs=yes
   9156   if test "$with_gnu_ld" = yes; then
   9157     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9158     shlibpath_overrides_runpath=no
   9159   else
   9160     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9161     shlibpath_overrides_runpath=yes
   9162     case $host_os in
   9163       sco3.2v5*)
   9164         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9165 	;;
   9166     esac
   9167   fi
   9168   sys_lib_dlsearch_path_spec='/usr/lib'
   9169   ;;
   9170 
   9171 uts4*)
   9172   version_type=linux
   9173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9174   soname_spec='${libname}${release}${shared_ext}$major'
   9175   shlibpath_var=LD_LIBRARY_PATH
   9176   ;;
   9177 
   9178 *)
   9179   dynamic_linker=no
   9180   ;;
   9181 esac
   9182 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9183 echo "${ECHO_T}$dynamic_linker" >&6; }
   9184 test "$dynamic_linker" = no && can_build_shared=no
   9185 
   9186 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9187 if test "$GCC" = yes; then
   9188   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9189 fi
   9190 
   9191 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9192 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9193 hardcode_action=
   9194 if test -n "$hardcode_libdir_flag_spec" || \
   9195    test -n "$runpath_var" || \
   9196    test "X$hardcode_automatic" = "Xyes" ; then
   9197 
   9198   # We can hardcode non-existant directories.
   9199   if test "$hardcode_direct" != no &&
   9200      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9201      # have to relink, otherwise we might link with an installed library
   9202      # when we should be linking with a yet-to-be-installed one
   9203      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9204      test "$hardcode_minus_L" != no; then
   9205     # Linking always hardcodes the temporary library directory.
   9206     hardcode_action=relink
   9207   else
   9208     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9209     hardcode_action=immediate
   9210   fi
   9211 else
   9212   # We cannot hardcode anything, or else we can only hardcode existing
   9213   # directories.
   9214   hardcode_action=unsupported
   9215 fi
   9216 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9217 echo "${ECHO_T}$hardcode_action" >&6; }
   9218 
   9219 if test "$hardcode_action" = relink; then
   9220   # Fast installation is not supported
   9221   enable_fast_install=no
   9222 elif test "$shlibpath_overrides_runpath" = yes ||
   9223      test "$enable_shared" = no; then
   9224   # Fast installation is not necessary
   9225   enable_fast_install=needless
   9226 fi
   9227 
   9228 striplib=
   9229 old_striplib=
   9230 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9231 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9232 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9233   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9234   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9235   { echo "$as_me:$LINENO: result: yes" >&5
   9236 echo "${ECHO_T}yes" >&6; }
   9237 else
   9238 # FIXME - insert some real tests, host_os isn't really good enough
   9239   case $host_os in
   9240    darwin*)
   9241        if test -n "$STRIP" ; then
   9242          striplib="$STRIP -x"
   9243          { echo "$as_me:$LINENO: result: yes" >&5
   9244 echo "${ECHO_T}yes" >&6; }
   9245        else
   9246   { echo "$as_me:$LINENO: result: no" >&5
   9247 echo "${ECHO_T}no" >&6; }
   9248 fi
   9249        ;;
   9250    *)
   9251   { echo "$as_me:$LINENO: result: no" >&5
   9252 echo "${ECHO_T}no" >&6; }
   9253     ;;
   9254   esac
   9255 fi
   9256 
   9257 if test "x$enable_dlopen" != xyes; then
   9258   enable_dlopen=unknown
   9259   enable_dlopen_self=unknown
   9260   enable_dlopen_self_static=unknown
   9261 else
   9262   lt_cv_dlopen=no
   9263   lt_cv_dlopen_libs=
   9264 
   9265   case $host_os in
   9266   beos*)
   9267     lt_cv_dlopen="load_add_on"
   9268     lt_cv_dlopen_libs=
   9269     lt_cv_dlopen_self=yes
   9270     ;;
   9271 
   9272   mingw* | pw32*)
   9273     lt_cv_dlopen="LoadLibrary"
   9274     lt_cv_dlopen_libs=
   9275    ;;
   9276 
   9277   cygwin*)
   9278     lt_cv_dlopen="dlopen"
   9279     lt_cv_dlopen_libs=
   9280    ;;
   9281 
   9282   darwin*)
   9283   # if libdl is installed we need to link against it
   9284     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9285 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9286 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9287   echo $ECHO_N "(cached) $ECHO_C" >&6
   9288 else
   9289   ac_check_lib_save_LIBS=$LIBS
   9290 LIBS="-ldl  $LIBS"
   9291 cat >conftest.$ac_ext <<_ACEOF
   9292 /* confdefs.h.  */
   9293 _ACEOF
   9294 cat confdefs.h >>conftest.$ac_ext
   9295 cat >>conftest.$ac_ext <<_ACEOF
   9296 /* end confdefs.h.  */
   9297 
   9298 /* Override any GCC internal prototype to avoid an error.
   9299    Use char because int might match the return type of a GCC
   9300    builtin and then its argument prototype would still apply.  */
   9301 #ifdef __cplusplus
   9302 extern "C"
   9303 #endif
   9304 char dlopen ();
   9305 int
   9306 main ()
   9307 {
   9308 return dlopen ();
   9309   ;
   9310   return 0;
   9311 }
   9312 _ACEOF
   9313 rm -f conftest.$ac_objext conftest$ac_exeext
   9314 if { (ac_try="$ac_link"
   9315 case "(($ac_try" in
   9316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9317   *) ac_try_echo=$ac_try;;
   9318 esac
   9319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9320   (eval "$ac_link") 2>conftest.er1
   9321   ac_status=$?
   9322   grep -v '^ *+' conftest.er1 >conftest.err
   9323   rm -f conftest.er1
   9324   cat conftest.err >&5
   9325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9326   (exit $ac_status); } && {
   9327 	 test -z "$ac_c_werror_flag" ||
   9328 	 test ! -s conftest.err
   9329        } && test -s conftest$ac_exeext &&
   9330        $as_test_x conftest$ac_exeext; then
   9331   ac_cv_lib_dl_dlopen=yes
   9332 else
   9333   echo "$as_me: failed program was:" >&5
   9334 sed 's/^/| /' conftest.$ac_ext >&5
   9335 
   9336 	ac_cv_lib_dl_dlopen=no
   9337 fi
   9338 
   9339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9340       conftest$ac_exeext conftest.$ac_ext
   9341 LIBS=$ac_check_lib_save_LIBS
   9342 fi
   9343 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9344 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9345 if test $ac_cv_lib_dl_dlopen = yes; then
   9346   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9347 else
   9348 
   9349     lt_cv_dlopen="dyld"
   9350     lt_cv_dlopen_libs=
   9351     lt_cv_dlopen_self=yes
   9352 
   9353 fi
   9354 
   9355    ;;
   9356 
   9357   *)
   9358     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9359 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9360 if test "${ac_cv_func_shl_load+set}" = set; then
   9361   echo $ECHO_N "(cached) $ECHO_C" >&6
   9362 else
   9363   cat >conftest.$ac_ext <<_ACEOF
   9364 /* confdefs.h.  */
   9365 _ACEOF
   9366 cat confdefs.h >>conftest.$ac_ext
   9367 cat >>conftest.$ac_ext <<_ACEOF
   9368 /* end confdefs.h.  */
   9369 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9371 #define shl_load innocuous_shl_load
   9372 
   9373 /* System header to define __stub macros and hopefully few prototypes,
   9374     which can conflict with char shl_load (); below.
   9375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9376     <limits.h> exists even on freestanding compilers.  */
   9377 
   9378 #ifdef __STDC__
   9379 # include <limits.h>
   9380 #else
   9381 # include <assert.h>
   9382 #endif
   9383 
   9384 #undef shl_load
   9385 
   9386 /* Override any GCC internal prototype to avoid an error.
   9387    Use char because int might match the return type of a GCC
   9388    builtin and then its argument prototype would still apply.  */
   9389 #ifdef __cplusplus
   9390 extern "C"
   9391 #endif
   9392 char shl_load ();
   9393 /* The GNU C library defines this for functions which it implements
   9394     to always fail with ENOSYS.  Some functions are actually named
   9395     something starting with __ and the normal name is an alias.  */
   9396 #if defined __stub_shl_load || defined __stub___shl_load
   9397 choke me
   9398 #endif
   9399 
   9400 int
   9401 main ()
   9402 {
   9403 return shl_load ();
   9404   ;
   9405   return 0;
   9406 }
   9407 _ACEOF
   9408 rm -f conftest.$ac_objext conftest$ac_exeext
   9409 if { (ac_try="$ac_link"
   9410 case "(($ac_try" in
   9411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9412   *) ac_try_echo=$ac_try;;
   9413 esac
   9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9415   (eval "$ac_link") 2>conftest.er1
   9416   ac_status=$?
   9417   grep -v '^ *+' conftest.er1 >conftest.err
   9418   rm -f conftest.er1
   9419   cat conftest.err >&5
   9420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9421   (exit $ac_status); } && {
   9422 	 test -z "$ac_c_werror_flag" ||
   9423 	 test ! -s conftest.err
   9424        } && test -s conftest$ac_exeext &&
   9425        $as_test_x conftest$ac_exeext; then
   9426   ac_cv_func_shl_load=yes
   9427 else
   9428   echo "$as_me: failed program was:" >&5
   9429 sed 's/^/| /' conftest.$ac_ext >&5
   9430 
   9431 	ac_cv_func_shl_load=no
   9432 fi
   9433 
   9434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9435       conftest$ac_exeext conftest.$ac_ext
   9436 fi
   9437 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9438 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9439 if test $ac_cv_func_shl_load = yes; then
   9440   lt_cv_dlopen="shl_load"
   9441 else
   9442   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9443 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9444 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9445   echo $ECHO_N "(cached) $ECHO_C" >&6
   9446 else
   9447   ac_check_lib_save_LIBS=$LIBS
   9448 LIBS="-ldld  $LIBS"
   9449 cat >conftest.$ac_ext <<_ACEOF
   9450 /* confdefs.h.  */
   9451 _ACEOF
   9452 cat confdefs.h >>conftest.$ac_ext
   9453 cat >>conftest.$ac_ext <<_ACEOF
   9454 /* end confdefs.h.  */
   9455 
   9456 /* Override any GCC internal prototype to avoid an error.
   9457    Use char because int might match the return type of a GCC
   9458    builtin and then its argument prototype would still apply.  */
   9459 #ifdef __cplusplus
   9460 extern "C"
   9461 #endif
   9462 char shl_load ();
   9463 int
   9464 main ()
   9465 {
   9466 return shl_load ();
   9467   ;
   9468   return 0;
   9469 }
   9470 _ACEOF
   9471 rm -f conftest.$ac_objext conftest$ac_exeext
   9472 if { (ac_try="$ac_link"
   9473 case "(($ac_try" in
   9474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9475   *) ac_try_echo=$ac_try;;
   9476 esac
   9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9478   (eval "$ac_link") 2>conftest.er1
   9479   ac_status=$?
   9480   grep -v '^ *+' conftest.er1 >conftest.err
   9481   rm -f conftest.er1
   9482   cat conftest.err >&5
   9483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9484   (exit $ac_status); } && {
   9485 	 test -z "$ac_c_werror_flag" ||
   9486 	 test ! -s conftest.err
   9487        } && test -s conftest$ac_exeext &&
   9488        $as_test_x conftest$ac_exeext; then
   9489   ac_cv_lib_dld_shl_load=yes
   9490 else
   9491   echo "$as_me: failed program was:" >&5
   9492 sed 's/^/| /' conftest.$ac_ext >&5
   9493 
   9494 	ac_cv_lib_dld_shl_load=no
   9495 fi
   9496 
   9497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9498       conftest$ac_exeext conftest.$ac_ext
   9499 LIBS=$ac_check_lib_save_LIBS
   9500 fi
   9501 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9502 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9503 if test $ac_cv_lib_dld_shl_load = yes; then
   9504   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9505 else
   9506   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9507 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9508 if test "${ac_cv_func_dlopen+set}" = set; then
   9509   echo $ECHO_N "(cached) $ECHO_C" >&6
   9510 else
   9511   cat >conftest.$ac_ext <<_ACEOF
   9512 /* confdefs.h.  */
   9513 _ACEOF
   9514 cat confdefs.h >>conftest.$ac_ext
   9515 cat >>conftest.$ac_ext <<_ACEOF
   9516 /* end confdefs.h.  */
   9517 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9519 #define dlopen innocuous_dlopen
   9520 
   9521 /* System header to define __stub macros and hopefully few prototypes,
   9522     which can conflict with char dlopen (); below.
   9523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9524     <limits.h> exists even on freestanding compilers.  */
   9525 
   9526 #ifdef __STDC__
   9527 # include <limits.h>
   9528 #else
   9529 # include <assert.h>
   9530 #endif
   9531 
   9532 #undef dlopen
   9533 
   9534 /* Override any GCC internal prototype to avoid an error.
   9535    Use char because int might match the return type of a GCC
   9536    builtin and then its argument prototype would still apply.  */
   9537 #ifdef __cplusplus
   9538 extern "C"
   9539 #endif
   9540 char dlopen ();
   9541 /* The GNU C library defines this for functions which it implements
   9542     to always fail with ENOSYS.  Some functions are actually named
   9543     something starting with __ and the normal name is an alias.  */
   9544 #if defined __stub_dlopen || defined __stub___dlopen
   9545 choke me
   9546 #endif
   9547 
   9548 int
   9549 main ()
   9550 {
   9551 return dlopen ();
   9552   ;
   9553   return 0;
   9554 }
   9555 _ACEOF
   9556 rm -f conftest.$ac_objext conftest$ac_exeext
   9557 if { (ac_try="$ac_link"
   9558 case "(($ac_try" in
   9559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9560   *) ac_try_echo=$ac_try;;
   9561 esac
   9562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9563   (eval "$ac_link") 2>conftest.er1
   9564   ac_status=$?
   9565   grep -v '^ *+' conftest.er1 >conftest.err
   9566   rm -f conftest.er1
   9567   cat conftest.err >&5
   9568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9569   (exit $ac_status); } && {
   9570 	 test -z "$ac_c_werror_flag" ||
   9571 	 test ! -s conftest.err
   9572        } && test -s conftest$ac_exeext &&
   9573        $as_test_x conftest$ac_exeext; then
   9574   ac_cv_func_dlopen=yes
   9575 else
   9576   echo "$as_me: failed program was:" >&5
   9577 sed 's/^/| /' conftest.$ac_ext >&5
   9578 
   9579 	ac_cv_func_dlopen=no
   9580 fi
   9581 
   9582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9583       conftest$ac_exeext conftest.$ac_ext
   9584 fi
   9585 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9586 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9587 if test $ac_cv_func_dlopen = yes; then
   9588   lt_cv_dlopen="dlopen"
   9589 else
   9590   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9591 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9592 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9593   echo $ECHO_N "(cached) $ECHO_C" >&6
   9594 else
   9595   ac_check_lib_save_LIBS=$LIBS
   9596 LIBS="-ldl  $LIBS"
   9597 cat >conftest.$ac_ext <<_ACEOF
   9598 /* confdefs.h.  */
   9599 _ACEOF
   9600 cat confdefs.h >>conftest.$ac_ext
   9601 cat >>conftest.$ac_ext <<_ACEOF
   9602 /* end confdefs.h.  */
   9603 
   9604 /* Override any GCC internal prototype to avoid an error.
   9605    Use char because int might match the return type of a GCC
   9606    builtin and then its argument prototype would still apply.  */
   9607 #ifdef __cplusplus
   9608 extern "C"
   9609 #endif
   9610 char dlopen ();
   9611 int
   9612 main ()
   9613 {
   9614 return dlopen ();
   9615   ;
   9616   return 0;
   9617 }
   9618 _ACEOF
   9619 rm -f conftest.$ac_objext conftest$ac_exeext
   9620 if { (ac_try="$ac_link"
   9621 case "(($ac_try" in
   9622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9623   *) ac_try_echo=$ac_try;;
   9624 esac
   9625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9626   (eval "$ac_link") 2>conftest.er1
   9627   ac_status=$?
   9628   grep -v '^ *+' conftest.er1 >conftest.err
   9629   rm -f conftest.er1
   9630   cat conftest.err >&5
   9631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9632   (exit $ac_status); } && {
   9633 	 test -z "$ac_c_werror_flag" ||
   9634 	 test ! -s conftest.err
   9635        } && test -s conftest$ac_exeext &&
   9636        $as_test_x conftest$ac_exeext; then
   9637   ac_cv_lib_dl_dlopen=yes
   9638 else
   9639   echo "$as_me: failed program was:" >&5
   9640 sed 's/^/| /' conftest.$ac_ext >&5
   9641 
   9642 	ac_cv_lib_dl_dlopen=no
   9643 fi
   9644 
   9645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9646       conftest$ac_exeext conftest.$ac_ext
   9647 LIBS=$ac_check_lib_save_LIBS
   9648 fi
   9649 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9650 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9651 if test $ac_cv_lib_dl_dlopen = yes; then
   9652   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9653 else
   9654   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9655 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9656 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9657   echo $ECHO_N "(cached) $ECHO_C" >&6
   9658 else
   9659   ac_check_lib_save_LIBS=$LIBS
   9660 LIBS="-lsvld  $LIBS"
   9661 cat >conftest.$ac_ext <<_ACEOF
   9662 /* confdefs.h.  */
   9663 _ACEOF
   9664 cat confdefs.h >>conftest.$ac_ext
   9665 cat >>conftest.$ac_ext <<_ACEOF
   9666 /* end confdefs.h.  */
   9667 
   9668 /* Override any GCC internal prototype to avoid an error.
   9669    Use char because int might match the return type of a GCC
   9670    builtin and then its argument prototype would still apply.  */
   9671 #ifdef __cplusplus
   9672 extern "C"
   9673 #endif
   9674 char dlopen ();
   9675 int
   9676 main ()
   9677 {
   9678 return dlopen ();
   9679   ;
   9680   return 0;
   9681 }
   9682 _ACEOF
   9683 rm -f conftest.$ac_objext conftest$ac_exeext
   9684 if { (ac_try="$ac_link"
   9685 case "(($ac_try" in
   9686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9687   *) ac_try_echo=$ac_try;;
   9688 esac
   9689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9690   (eval "$ac_link") 2>conftest.er1
   9691   ac_status=$?
   9692   grep -v '^ *+' conftest.er1 >conftest.err
   9693   rm -f conftest.er1
   9694   cat conftest.err >&5
   9695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9696   (exit $ac_status); } && {
   9697 	 test -z "$ac_c_werror_flag" ||
   9698 	 test ! -s conftest.err
   9699        } && test -s conftest$ac_exeext &&
   9700        $as_test_x conftest$ac_exeext; then
   9701   ac_cv_lib_svld_dlopen=yes
   9702 else
   9703   echo "$as_me: failed program was:" >&5
   9704 sed 's/^/| /' conftest.$ac_ext >&5
   9705 
   9706 	ac_cv_lib_svld_dlopen=no
   9707 fi
   9708 
   9709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9710       conftest$ac_exeext conftest.$ac_ext
   9711 LIBS=$ac_check_lib_save_LIBS
   9712 fi
   9713 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9714 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9715 if test $ac_cv_lib_svld_dlopen = yes; then
   9716   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9717 else
   9718   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9719 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9720 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9721   echo $ECHO_N "(cached) $ECHO_C" >&6
   9722 else
   9723   ac_check_lib_save_LIBS=$LIBS
   9724 LIBS="-ldld  $LIBS"
   9725 cat >conftest.$ac_ext <<_ACEOF
   9726 /* confdefs.h.  */
   9727 _ACEOF
   9728 cat confdefs.h >>conftest.$ac_ext
   9729 cat >>conftest.$ac_ext <<_ACEOF
   9730 /* end confdefs.h.  */
   9731 
   9732 /* Override any GCC internal prototype to avoid an error.
   9733    Use char because int might match the return type of a GCC
   9734    builtin and then its argument prototype would still apply.  */
   9735 #ifdef __cplusplus
   9736 extern "C"
   9737 #endif
   9738 char dld_link ();
   9739 int
   9740 main ()
   9741 {
   9742 return dld_link ();
   9743   ;
   9744   return 0;
   9745 }
   9746 _ACEOF
   9747 rm -f conftest.$ac_objext conftest$ac_exeext
   9748 if { (ac_try="$ac_link"
   9749 case "(($ac_try" in
   9750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9751   *) ac_try_echo=$ac_try;;
   9752 esac
   9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9754   (eval "$ac_link") 2>conftest.er1
   9755   ac_status=$?
   9756   grep -v '^ *+' conftest.er1 >conftest.err
   9757   rm -f conftest.er1
   9758   cat conftest.err >&5
   9759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9760   (exit $ac_status); } && {
   9761 	 test -z "$ac_c_werror_flag" ||
   9762 	 test ! -s conftest.err
   9763        } && test -s conftest$ac_exeext &&
   9764        $as_test_x conftest$ac_exeext; then
   9765   ac_cv_lib_dld_dld_link=yes
   9766 else
   9767   echo "$as_me: failed program was:" >&5
   9768 sed 's/^/| /' conftest.$ac_ext >&5
   9769 
   9770 	ac_cv_lib_dld_dld_link=no
   9771 fi
   9772 
   9773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9774       conftest$ac_exeext conftest.$ac_ext
   9775 LIBS=$ac_check_lib_save_LIBS
   9776 fi
   9777 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9778 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9779 if test $ac_cv_lib_dld_dld_link = yes; then
   9780   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9781 fi
   9782 
   9783 
   9784 fi
   9785 
   9786 
   9787 fi
   9788 
   9789 
   9790 fi
   9791 
   9792 
   9793 fi
   9794 
   9795 
   9796 fi
   9797 
   9798     ;;
   9799   esac
   9800 
   9801   if test "x$lt_cv_dlopen" != xno; then
   9802     enable_dlopen=yes
   9803   else
   9804     enable_dlopen=no
   9805   fi
   9806 
   9807   case $lt_cv_dlopen in
   9808   dlopen)
   9809     save_CPPFLAGS="$CPPFLAGS"
   9810     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9811 
   9812     save_LDFLAGS="$LDFLAGS"
   9813     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9814 
   9815     save_LIBS="$LIBS"
   9816     LIBS="$lt_cv_dlopen_libs $LIBS"
   9817 
   9818     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9819 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9820 if test "${lt_cv_dlopen_self+set}" = set; then
   9821   echo $ECHO_N "(cached) $ECHO_C" >&6
   9822 else
   9823   	  if test "$cross_compiling" = yes; then :
   9824   lt_cv_dlopen_self=cross
   9825 else
   9826   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9827   lt_status=$lt_dlunknown
   9828   cat > conftest.$ac_ext <<EOF
   9829 #line 9829 "configure"
   9830 #include "confdefs.h"
   9831 
   9832 #if HAVE_DLFCN_H
   9833 #include <dlfcn.h>
   9834 #endif
   9835 
   9836 #include <stdio.h>
   9837 
   9838 #ifdef RTLD_GLOBAL
   9839 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9840 #else
   9841 #  ifdef DL_GLOBAL
   9842 #    define LT_DLGLOBAL		DL_GLOBAL
   9843 #  else
   9844 #    define LT_DLGLOBAL		0
   9845 #  endif
   9846 #endif
   9847 
   9848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9849    find out it does not work in some platform. */
   9850 #ifndef LT_DLLAZY_OR_NOW
   9851 #  ifdef RTLD_LAZY
   9852 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9853 #  else
   9854 #    ifdef DL_LAZY
   9855 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9856 #    else
   9857 #      ifdef RTLD_NOW
   9858 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9859 #      else
   9860 #        ifdef DL_NOW
   9861 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9862 #        else
   9863 #          define LT_DLLAZY_OR_NOW	0
   9864 #        endif
   9865 #      endif
   9866 #    endif
   9867 #  endif
   9868 #endif
   9869 
   9870 #ifdef __cplusplus
   9871 extern "C" void exit (int);
   9872 #endif
   9873 
   9874 void fnord() { int i=42;}
   9875 int main ()
   9876 {
   9877   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9878   int status = $lt_dlunknown;
   9879 
   9880   if (self)
   9881     {
   9882       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9883       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9884       /* dlclose (self); */
   9885     }
   9886   else
   9887     puts (dlerror ());
   9888 
   9889     exit (status);
   9890 }
   9891 EOF
   9892   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9893   (eval $ac_link) 2>&5
   9894   ac_status=$?
   9895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9896   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9897     (./conftest; exit; ) >&5 2>/dev/null
   9898     lt_status=$?
   9899     case x$lt_status in
   9900       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9901       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9902       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9903     esac
   9904   else :
   9905     # compilation failed
   9906     lt_cv_dlopen_self=no
   9907   fi
   9908 fi
   9909 rm -fr conftest*
   9910 
   9911 
   9912 fi
   9913 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9914 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9915 
   9916     if test "x$lt_cv_dlopen_self" = xyes; then
   9917       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9918       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9919 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9920 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9921   echo $ECHO_N "(cached) $ECHO_C" >&6
   9922 else
   9923   	  if test "$cross_compiling" = yes; then :
   9924   lt_cv_dlopen_self_static=cross
   9925 else
   9926   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9927   lt_status=$lt_dlunknown
   9928   cat > conftest.$ac_ext <<EOF
   9929 #line 9929 "configure"
   9930 #include "confdefs.h"
   9931 
   9932 #if HAVE_DLFCN_H
   9933 #include <dlfcn.h>
   9934 #endif
   9935 
   9936 #include <stdio.h>
   9937 
   9938 #ifdef RTLD_GLOBAL
   9939 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9940 #else
   9941 #  ifdef DL_GLOBAL
   9942 #    define LT_DLGLOBAL		DL_GLOBAL
   9943 #  else
   9944 #    define LT_DLGLOBAL		0
   9945 #  endif
   9946 #endif
   9947 
   9948 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9949    find out it does not work in some platform. */
   9950 #ifndef LT_DLLAZY_OR_NOW
   9951 #  ifdef RTLD_LAZY
   9952 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9953 #  else
   9954 #    ifdef DL_LAZY
   9955 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9956 #    else
   9957 #      ifdef RTLD_NOW
   9958 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9959 #      else
   9960 #        ifdef DL_NOW
   9961 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9962 #        else
   9963 #          define LT_DLLAZY_OR_NOW	0
   9964 #        endif
   9965 #      endif
   9966 #    endif
   9967 #  endif
   9968 #endif
   9969 
   9970 #ifdef __cplusplus
   9971 extern "C" void exit (int);
   9972 #endif
   9973 
   9974 void fnord() { int i=42;}
   9975 int main ()
   9976 {
   9977   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9978   int status = $lt_dlunknown;
   9979 
   9980   if (self)
   9981     {
   9982       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9983       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9984       /* dlclose (self); */
   9985     }
   9986   else
   9987     puts (dlerror ());
   9988 
   9989     exit (status);
   9990 }
   9991 EOF
   9992   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9993   (eval $ac_link) 2>&5
   9994   ac_status=$?
   9995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9996   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9997     (./conftest; exit; ) >&5 2>/dev/null
   9998     lt_status=$?
   9999     case x$lt_status in
   10000       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10001       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10002       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10003     esac
   10004   else :
   10005     # compilation failed
   10006     lt_cv_dlopen_self_static=no
   10007   fi
   10008 fi
   10009 rm -fr conftest*
   10010 
   10011 
   10012 fi
   10013 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10014 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10015     fi
   10016 
   10017     CPPFLAGS="$save_CPPFLAGS"
   10018     LDFLAGS="$save_LDFLAGS"
   10019     LIBS="$save_LIBS"
   10020     ;;
   10021   esac
   10022 
   10023   case $lt_cv_dlopen_self in
   10024   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10025   *) enable_dlopen_self=unknown ;;
   10026   esac
   10027 
   10028   case $lt_cv_dlopen_self_static in
   10029   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10030   *) enable_dlopen_self_static=unknown ;;
   10031   esac
   10032 fi
   10033 
   10034 
   10035 # Report which library types will actually be built
   10036 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10037 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10038 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10039 echo "${ECHO_T}$can_build_shared" >&6; }
   10040 
   10041 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10042 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10043 test "$can_build_shared" = "no" && enable_shared=no
   10044 
   10045 # On AIX, shared libraries and static libraries use the same namespace, and
   10046 # are all built from PIC.
   10047 case $host_os in
   10048 aix3*)
   10049   test "$enable_shared" = yes && enable_static=no
   10050   if test -n "$RANLIB"; then
   10051     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10052     postinstall_cmds='$RANLIB $lib'
   10053   fi
   10054   ;;
   10055 
   10056 aix4* | aix5*)
   10057   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10058     test "$enable_shared" = yes && enable_static=no
   10059   fi
   10060     ;;
   10061 esac
   10062 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10063 echo "${ECHO_T}$enable_shared" >&6; }
   10064 
   10065 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10066 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10067 # Make sure either enable_shared or enable_static is yes.
   10068 test "$enable_shared" = yes || enable_static=yes
   10069 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10070 echo "${ECHO_T}$enable_static" >&6; }
   10071 
   10072 # The else clause should only fire when bootstrapping the
   10073 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10074 # with your package, and you will get complaints that there are
   10075 # no rules to generate ltmain.sh.
   10076 if test -f "$ltmain"; then
   10077   # See if we are running on zsh, and set the options which allow our commands through
   10078   # without removal of \ escapes.
   10079   if test -n "${ZSH_VERSION+set}" ; then
   10080     setopt NO_GLOB_SUBST
   10081   fi
   10082   # Now quote all the things that may contain metacharacters while being
   10083   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10084   # variables and quote the copies for generation of the libtool script.
   10085   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10086     SED SHELL STRIP \
   10087     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10088     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10089     deplibs_check_method reload_flag reload_cmds need_locks \
   10090     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10091     lt_cv_sys_global_symbol_to_c_name_address \
   10092     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10093     old_postinstall_cmds old_postuninstall_cmds \
   10094     compiler \
   10095     CC \
   10096     LD \
   10097     lt_prog_compiler_wl \
   10098     lt_prog_compiler_pic \
   10099     lt_prog_compiler_static \
   10100     lt_prog_compiler_no_builtin_flag \
   10101     export_dynamic_flag_spec \
   10102     thread_safe_flag_spec \
   10103     whole_archive_flag_spec \
   10104     enable_shared_with_static_runtimes \
   10105     old_archive_cmds \
   10106     old_archive_from_new_cmds \
   10107     predep_objects \
   10108     postdep_objects \
   10109     predeps \
   10110     postdeps \
   10111     compiler_lib_search_path \
   10112     archive_cmds \
   10113     archive_expsym_cmds \
   10114     postinstall_cmds \
   10115     postuninstall_cmds \
   10116     old_archive_from_expsyms_cmds \
   10117     allow_undefined_flag \
   10118     no_undefined_flag \
   10119     export_symbols_cmds \
   10120     hardcode_libdir_flag_spec \
   10121     hardcode_libdir_flag_spec_ld \
   10122     hardcode_libdir_separator \
   10123     hardcode_automatic \
   10124     module_cmds \
   10125     module_expsym_cmds \
   10126     lt_cv_prog_compiler_c_o \
   10127     exclude_expsyms \
   10128     include_expsyms; do
   10129 
   10130     case $var in
   10131     old_archive_cmds | \
   10132     old_archive_from_new_cmds | \
   10133     archive_cmds | \
   10134     archive_expsym_cmds | \
   10135     module_cmds | \
   10136     module_expsym_cmds | \
   10137     old_archive_from_expsyms_cmds | \
   10138     export_symbols_cmds | \
   10139     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10140     postinstall_cmds | postuninstall_cmds | \
   10141     old_postinstall_cmds | old_postuninstall_cmds | \
   10142     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10143       # Double-quote double-evaled strings.
   10144       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10145       ;;
   10146     *)
   10147       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10148       ;;
   10149     esac
   10150   done
   10151 
   10152   case $lt_echo in
   10153   *'\$0 --fallback-echo"')
   10154     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10155     ;;
   10156   esac
   10157 
   10158 cfgfile="${ofile}T"
   10159   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10160   $rm -f "$cfgfile"
   10161   { echo "$as_me:$LINENO: creating $ofile" >&5
   10162 echo "$as_me: creating $ofile" >&6;}
   10163 
   10164   cat <<__EOF__ >> "$cfgfile"
   10165 #! $SHELL
   10166 
   10167 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10168 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10169 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10170 #
   10171 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10172 # Free Software Foundation, Inc.
   10173 #
   10174 # This file is part of GNU Libtool:
   10175 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10176 #
   10177 # This program is free software; you can redistribute it and/or modify
   10178 # it under the terms of the GNU General Public License as published by
   10179 # the Free Software Foundation; either version 2 of the License, or
   10180 # (at your option) any later version.
   10181 #
   10182 # This program is distributed in the hope that it will be useful, but
   10183 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10184 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10185 # General Public License for more details.
   10186 #
   10187 # You should have received a copy of the GNU General Public License
   10188 # along with this program; if not, write to the Free Software
   10189 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10190 #
   10191 # As a special exception to the GNU General Public License, if you
   10192 # distribute this file as part of a program that contains a
   10193 # configuration script generated by Autoconf, you may include it under
   10194 # the same distribution terms that you use for the rest of that program.
   10195 
   10196 # A sed program that does not truncate output.
   10197 SED=$lt_SED
   10198 
   10199 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10200 Xsed="$SED -e 1s/^X//"
   10201 
   10202 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10203 # if CDPATH is set.
   10204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10205 
   10206 # The names of the tagged configurations supported by this script.
   10207 available_tags=
   10208 
   10209 # ### BEGIN LIBTOOL CONFIG
   10210 
   10211 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10212 
   10213 # Shell to use when invoking shell scripts.
   10214 SHELL=$lt_SHELL
   10215 
   10216 # Whether or not to build shared libraries.
   10217 build_libtool_libs=$enable_shared
   10218 
   10219 # Whether or not to build static libraries.
   10220 build_old_libs=$enable_static
   10221 
   10222 # Whether or not to add -lc for building shared libraries.
   10223 build_libtool_need_lc=$archive_cmds_need_lc
   10224 
   10225 # Whether or not to disallow shared libs when runtime libs are static
   10226 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10227 
   10228 # Whether or not to optimize for fast installation.
   10229 fast_install=$enable_fast_install
   10230 
   10231 # The host system.
   10232 host_alias=$host_alias
   10233 host=$host
   10234 host_os=$host_os
   10235 
   10236 # The build system.
   10237 build_alias=$build_alias
   10238 build=$build
   10239 build_os=$build_os
   10240 
   10241 # An echo program that does not interpret backslashes.
   10242 echo=$lt_echo
   10243 
   10244 # The archiver.
   10245 AR=$lt_AR
   10246 AR_FLAGS=$lt_AR_FLAGS
   10247 
   10248 # A C compiler.
   10249 LTCC=$lt_LTCC
   10250 
   10251 # LTCC compiler flags.
   10252 LTCFLAGS=$lt_LTCFLAGS
   10253 
   10254 # A language-specific compiler.
   10255 CC=$lt_compiler
   10256 
   10257 # Is the compiler the GNU C compiler?
   10258 with_gcc=$GCC
   10259 
   10260 # An ERE matcher.
   10261 EGREP=$lt_EGREP
   10262 
   10263 # The linker used to build libraries.
   10264 LD=$lt_LD
   10265 
   10266 # Whether we need hard or soft links.
   10267 LN_S=$lt_LN_S
   10268 
   10269 # A BSD-compatible nm program.
   10270 NM=$lt_NM
   10271 
   10272 # A symbol stripping program
   10273 STRIP=$lt_STRIP
   10274 
   10275 # Used to examine libraries when file_magic_cmd begins "file"
   10276 MAGIC_CMD=$MAGIC_CMD
   10277 
   10278 # Used on cygwin: DLL creation program.
   10279 DLLTOOL="$DLLTOOL"
   10280 
   10281 # Used on cygwin: object dumper.
   10282 OBJDUMP="$OBJDUMP"
   10283 
   10284 # Used on cygwin: assembler.
   10285 AS="$AS"
   10286 
   10287 # The name of the directory that contains temporary libtool files.
   10288 objdir=$objdir
   10289 
   10290 # How to create reloadable object files.
   10291 reload_flag=$lt_reload_flag
   10292 reload_cmds=$lt_reload_cmds
   10293 
   10294 # How to pass a linker flag through the compiler.
   10295 wl=$lt_lt_prog_compiler_wl
   10296 
   10297 # Object file suffix (normally "o").
   10298 objext="$ac_objext"
   10299 
   10300 # Old archive suffix (normally "a").
   10301 libext="$libext"
   10302 
   10303 # Shared library suffix (normally ".so").
   10304 shrext_cmds='$shrext_cmds'
   10305 
   10306 # Executable file suffix (normally "").
   10307 exeext="$exeext"
   10308 
   10309 # Additional compiler flags for building library objects.
   10310 pic_flag=$lt_lt_prog_compiler_pic
   10311 pic_mode=$pic_mode
   10312 
   10313 # What is the maximum length of a command?
   10314 max_cmd_len=$lt_cv_sys_max_cmd_len
   10315 
   10316 # Does compiler simultaneously support -c and -o options?
   10317 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10318 
   10319 # Must we lock files when doing compilation?
   10320 need_locks=$lt_need_locks
   10321 
   10322 # Do we need the lib prefix for modules?
   10323 need_lib_prefix=$need_lib_prefix
   10324 
   10325 # Do we need a version for libraries?
   10326 need_version=$need_version
   10327 
   10328 # Whether dlopen is supported.
   10329 dlopen_support=$enable_dlopen
   10330 
   10331 # Whether dlopen of programs is supported.
   10332 dlopen_self=$enable_dlopen_self
   10333 
   10334 # Whether dlopen of statically linked programs is supported.
   10335 dlopen_self_static=$enable_dlopen_self_static
   10336 
   10337 # Compiler flag to prevent dynamic linking.
   10338 link_static_flag=$lt_lt_prog_compiler_static
   10339 
   10340 # Compiler flag to turn off builtin functions.
   10341 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10342 
   10343 # Compiler flag to allow reflexive dlopens.
   10344 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10345 
   10346 # Compiler flag to generate shared objects directly from archives.
   10347 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10348 
   10349 # Compiler flag to generate thread-safe objects.
   10350 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10351 
   10352 # Library versioning type.
   10353 version_type=$version_type
   10354 
   10355 # Format of library name prefix.
   10356 libname_spec=$lt_libname_spec
   10357 
   10358 # List of archive names.  First name is the real one, the rest are links.
   10359 # The last name is the one that the linker finds with -lNAME.
   10360 library_names_spec=$lt_library_names_spec
   10361 
   10362 # The coded name of the library, if different from the real name.
   10363 soname_spec=$lt_soname_spec
   10364 
   10365 # Commands used to build and install an old-style archive.
   10366 RANLIB=$lt_RANLIB
   10367 old_archive_cmds=$lt_old_archive_cmds
   10368 old_postinstall_cmds=$lt_old_postinstall_cmds
   10369 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10370 
   10371 # Create an old-style archive from a shared archive.
   10372 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10373 
   10374 # Create a temporary old-style archive to link instead of a shared archive.
   10375 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10376 
   10377 # Commands used to build and install a shared archive.
   10378 archive_cmds=$lt_archive_cmds
   10379 archive_expsym_cmds=$lt_archive_expsym_cmds
   10380 postinstall_cmds=$lt_postinstall_cmds
   10381 postuninstall_cmds=$lt_postuninstall_cmds
   10382 
   10383 # Commands used to build a loadable module (assumed same as above if empty)
   10384 module_cmds=$lt_module_cmds
   10385 module_expsym_cmds=$lt_module_expsym_cmds
   10386 
   10387 # Commands to strip libraries.
   10388 old_striplib=$lt_old_striplib
   10389 striplib=$lt_striplib
   10390 
   10391 # Dependencies to place before the objects being linked to create a
   10392 # shared library.
   10393 predep_objects=$lt_predep_objects
   10394 
   10395 # Dependencies to place after the objects being linked to create a
   10396 # shared library.
   10397 postdep_objects=$lt_postdep_objects
   10398 
   10399 # Dependencies to place before the objects being linked to create a
   10400 # shared library.
   10401 predeps=$lt_predeps
   10402 
   10403 # Dependencies to place after the objects being linked to create a
   10404 # shared library.
   10405 postdeps=$lt_postdeps
   10406 
   10407 # The library search path used internally by the compiler when linking
   10408 # a shared library.
   10409 compiler_lib_search_path=$lt_compiler_lib_search_path
   10410 
   10411 # Method to check whether dependent libraries are shared objects.
   10412 deplibs_check_method=$lt_deplibs_check_method
   10413 
   10414 # Command to use when deplibs_check_method == file_magic.
   10415 file_magic_cmd=$lt_file_magic_cmd
   10416 
   10417 # Flag that allows shared libraries with undefined symbols to be built.
   10418 allow_undefined_flag=$lt_allow_undefined_flag
   10419 
   10420 # Flag that forces no undefined symbols.
   10421 no_undefined_flag=$lt_no_undefined_flag
   10422 
   10423 # Commands used to finish a libtool library installation in a directory.
   10424 finish_cmds=$lt_finish_cmds
   10425 
   10426 # Same as above, but a single script fragment to be evaled but not shown.
   10427 finish_eval=$lt_finish_eval
   10428 
   10429 # Take the output of nm and produce a listing of raw symbols and C names.
   10430 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10431 
   10432 # Transform the output of nm in a proper C declaration
   10433 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10434 
   10435 # Transform the output of nm in a C name address pair
   10436 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10437 
   10438 # This is the shared library runtime path variable.
   10439 runpath_var=$runpath_var
   10440 
   10441 # This is the shared library path variable.
   10442 shlibpath_var=$shlibpath_var
   10443 
   10444 # Is shlibpath searched before the hard-coded library search path?
   10445 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10446 
   10447 # How to hardcode a shared library path into an executable.
   10448 hardcode_action=$hardcode_action
   10449 
   10450 # Whether we should hardcode library paths into libraries.
   10451 hardcode_into_libs=$hardcode_into_libs
   10452 
   10453 # Flag to hardcode \$libdir into a binary during linking.
   10454 # This must work even if \$libdir does not exist.
   10455 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10456 
   10457 # If ld is used when linking, flag to hardcode \$libdir into
   10458 # a binary during linking. This must work even if \$libdir does
   10459 # not exist.
   10460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10461 
   10462 # Whether we need a single -rpath flag with a separated argument.
   10463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10464 
   10465 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10466 # resulting binary.
   10467 hardcode_direct=$hardcode_direct
   10468 
   10469 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10470 # resulting binary.
   10471 hardcode_minus_L=$hardcode_minus_L
   10472 
   10473 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10474 # the resulting binary.
   10475 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10476 
   10477 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10478 # and all subsequent libraries and executables linked against it.
   10479 hardcode_automatic=$hardcode_automatic
   10480 
   10481 # Variables whose values should be saved in libtool wrapper scripts and
   10482 # restored at relink time.
   10483 variables_saved_for_relink="$variables_saved_for_relink"
   10484 
   10485 # Whether libtool must link a program against all its dependency libraries.
   10486 link_all_deplibs=$link_all_deplibs
   10487 
   10488 # Compile-time system search path for libraries
   10489 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10490 
   10491 # Run-time system search path for libraries
   10492 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10493 
   10494 # Fix the shell variable \$srcfile for the compiler.
   10495 fix_srcfile_path="$fix_srcfile_path"
   10496 
   10497 # Set to yes if exported symbols are required.
   10498 always_export_symbols=$always_export_symbols
   10499 
   10500 # The commands to list exported symbols.
   10501 export_symbols_cmds=$lt_export_symbols_cmds
   10502 
   10503 # The commands to extract the exported symbol list from a shared archive.
   10504 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10505 
   10506 # Symbols that should not be listed in the preloaded symbols.
   10507 exclude_expsyms=$lt_exclude_expsyms
   10508 
   10509 # Symbols that must always be exported.
   10510 include_expsyms=$lt_include_expsyms
   10511 
   10512 # ### END LIBTOOL CONFIG
   10513 
   10514 __EOF__
   10515 
   10516 
   10517   case $host_os in
   10518   aix3*)
   10519     cat <<\EOF >> "$cfgfile"
   10520 
   10521 # AIX sometimes has problems with the GCC collect2 program.  For some
   10522 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10523 # vanish in a puff of smoke.
   10524 if test "X${COLLECT_NAMES+set}" != Xset; then
   10525   COLLECT_NAMES=
   10526   export COLLECT_NAMES
   10527 fi
   10528 EOF
   10529     ;;
   10530   esac
   10531 
   10532   # We use sed instead of cat because bash on DJGPP gets confused if
   10533   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10534   # text mode, it properly converts lines to CR/LF.  This bash problem
   10535   # is reportedly fixed, but why not run on old versions too?
   10536   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10537 
   10538   mv -f "$cfgfile" "$ofile" || \
   10539     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10540   chmod +x "$ofile"
   10541 
   10542 else
   10543   # If there is no Makefile yet, we rely on a make rule to execute
   10544   # `config.status --recheck' to rerun these tests and create the
   10545   # libtool script then.
   10546   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10547   if test -f "$ltmain_in"; then
   10548     test -f Makefile && make "$ltmain"
   10549   fi
   10550 fi
   10551 
   10552 
   10553 ac_ext=c
   10554 ac_cpp='$CPP $CPPFLAGS'
   10555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10558 
   10559 CC="$lt_save_CC"
   10560 
   10561 
   10562 # Check whether --with-tags was given.
   10563 if test "${with_tags+set}" = set; then
   10564   withval=$with_tags; tagnames="$withval"
   10565 fi
   10566 
   10567 
   10568 if test -f "$ltmain" && test -n "$tagnames"; then
   10569   if test ! -f "${ofile}"; then
   10570     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10571 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10572   fi
   10573 
   10574   if test -z "$LTCC"; then
   10575     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10576     if test -z "$LTCC"; then
   10577       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10578 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10579     else
   10580       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10581 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10582     fi
   10583   fi
   10584   if test -z "$LTCFLAGS"; then
   10585     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10586   fi
   10587 
   10588   # Extract list of available tagged configurations in $ofile.
   10589   # Note that this assumes the entire list is on one line.
   10590   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10591 
   10592   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10593   for tagname in $tagnames; do
   10594     IFS="$lt_save_ifs"
   10595     # Check whether tagname contains only valid characters
   10596     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10597     "") ;;
   10598     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10599 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10600    { (exit 1); exit 1; }; }
   10601 	;;
   10602     esac
   10603 
   10604     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10605     then
   10606       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10607 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10608    { (exit 1); exit 1; }; }
   10609     fi
   10610 
   10611     # Update the list of available tags.
   10612     if test -n "$tagname"; then
   10613       echo appending configuration tag \"$tagname\" to $ofile
   10614 
   10615       case $tagname in
   10616       CXX)
   10617 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10618 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10619 	    (test "X$CXX" != "Xg++"))) ; then
   10620 	  ac_ext=cpp
   10621 ac_cpp='$CXXCPP $CPPFLAGS'
   10622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10625 
   10626 
   10627 
   10628 
   10629 archive_cmds_need_lc_CXX=no
   10630 allow_undefined_flag_CXX=
   10631 always_export_symbols_CXX=no
   10632 archive_expsym_cmds_CXX=
   10633 export_dynamic_flag_spec_CXX=
   10634 hardcode_direct_CXX=no
   10635 hardcode_libdir_flag_spec_CXX=
   10636 hardcode_libdir_flag_spec_ld_CXX=
   10637 hardcode_libdir_separator_CXX=
   10638 hardcode_minus_L_CXX=no
   10639 hardcode_shlibpath_var_CXX=unsupported
   10640 hardcode_automatic_CXX=no
   10641 module_cmds_CXX=
   10642 module_expsym_cmds_CXX=
   10643 link_all_deplibs_CXX=unknown
   10644 old_archive_cmds_CXX=$old_archive_cmds
   10645 no_undefined_flag_CXX=
   10646 whole_archive_flag_spec_CXX=
   10647 enable_shared_with_static_runtimes_CXX=no
   10648 
   10649 # Dependencies to place before and after the object being linked:
   10650 predep_objects_CXX=
   10651 postdep_objects_CXX=
   10652 predeps_CXX=
   10653 postdeps_CXX=
   10654 compiler_lib_search_path_CXX=
   10655 
   10656 # Source file extension for C++ test sources.
   10657 ac_ext=cpp
   10658 
   10659 # Object file extension for compiled C++ test sources.
   10660 objext=o
   10661 objext_CXX=$objext
   10662 
   10663 # Code to be used in simple compile tests
   10664 lt_simple_compile_test_code="int some_variable = 0;\n"
   10665 
   10666 # Code to be used in simple link tests
   10667 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10668 
   10669 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10670 
   10671 # If no C compiler was specified, use CC.
   10672 LTCC=${LTCC-"$CC"}
   10673 
   10674 # If no C compiler flags were specified, use CFLAGS.
   10675 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10676 
   10677 # Allow CC to be a program name with arguments.
   10678 compiler=$CC
   10679 
   10680 
   10681 # save warnings/boilerplate of simple test code
   10682 ac_outfile=conftest.$ac_objext
   10683 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10684 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10685 _lt_compiler_boilerplate=`cat conftest.err`
   10686 $rm conftest*
   10687 
   10688 ac_outfile=conftest.$ac_objext
   10689 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10690 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10691 _lt_linker_boilerplate=`cat conftest.err`
   10692 $rm conftest*
   10693 
   10694 
   10695 # Allow CC to be a program name with arguments.
   10696 lt_save_CC=$CC
   10697 lt_save_LD=$LD
   10698 lt_save_GCC=$GCC
   10699 GCC=$GXX
   10700 lt_save_with_gnu_ld=$with_gnu_ld
   10701 lt_save_path_LD=$lt_cv_path_LD
   10702 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10703   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10704 else
   10705   $as_unset lt_cv_prog_gnu_ld
   10706 fi
   10707 if test -n "${lt_cv_path_LDCXX+set}"; then
   10708   lt_cv_path_LD=$lt_cv_path_LDCXX
   10709 else
   10710   $as_unset lt_cv_path_LD
   10711 fi
   10712 test -z "${LDCXX+set}" || LD=$LDCXX
   10713 CC=${CXX-"c++"}
   10714 compiler=$CC
   10715 compiler_CXX=$CC
   10716 for cc_temp in $compiler""; do
   10717   case $cc_temp in
   10718     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10719     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10720     \-*) ;;
   10721     *) break;;
   10722   esac
   10723 done
   10724 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10725 
   10726 
   10727 # We don't want -fno-exception wen compiling C++ code, so set the
   10728 # no_builtin_flag separately
   10729 if test "$GXX" = yes; then
   10730   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10731 else
   10732   lt_prog_compiler_no_builtin_flag_CXX=
   10733 fi
   10734 
   10735 if test "$GXX" = yes; then
   10736   # Set up default GNU C++ configuration
   10737 
   10738 
   10739 # Check whether --with-gnu-ld was given.
   10740 if test "${with_gnu_ld+set}" = set; then
   10741   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10742 else
   10743   with_gnu_ld=no
   10744 fi
   10745 
   10746 ac_prog=ld
   10747 if test "$GCC" = yes; then
   10748   # Check if gcc -print-prog-name=ld gives a path.
   10749   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10750 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10751   case $host in
   10752   *-*-mingw*)
   10753     # gcc leaves a trailing carriage return which upsets mingw
   10754     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10755   *)
   10756     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10757   esac
   10758   case $ac_prog in
   10759     # Accept absolute paths.
   10760     [\\/]* | ?:[\\/]*)
   10761       re_direlt='/[^/][^/]*/\.\./'
   10762       # Canonicalize the pathname of ld
   10763       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10764       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10765 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10766       done
   10767       test -z "$LD" && LD="$ac_prog"
   10768       ;;
   10769   "")
   10770     # If it fails, then pretend we aren't using GCC.
   10771     ac_prog=ld
   10772     ;;
   10773   *)
   10774     # If it is relative, then search for the first ld in PATH.
   10775     with_gnu_ld=unknown
   10776     ;;
   10777   esac
   10778 elif test "$with_gnu_ld" = yes; then
   10779   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10780 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10781 else
   10782   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10783 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10784 fi
   10785 if test "${lt_cv_path_LD+set}" = set; then
   10786   echo $ECHO_N "(cached) $ECHO_C" >&6
   10787 else
   10788   if test -z "$LD"; then
   10789   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10790   for ac_dir in $PATH; do
   10791     IFS="$lt_save_ifs"
   10792     test -z "$ac_dir" && ac_dir=.
   10793     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10794       lt_cv_path_LD="$ac_dir/$ac_prog"
   10795       # Check to see if the program is GNU ld.  I'd rather use --version,
   10796       # but apparently some variants of GNU ld only accept -v.
   10797       # Break only if it was the GNU/non-GNU ld that we prefer.
   10798       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10799       *GNU* | *'with BFD'*)
   10800 	test "$with_gnu_ld" != no && break
   10801 	;;
   10802       *)
   10803 	test "$with_gnu_ld" != yes && break
   10804 	;;
   10805       esac
   10806     fi
   10807   done
   10808   IFS="$lt_save_ifs"
   10809 else
   10810   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10811 fi
   10812 fi
   10813 
   10814 LD="$lt_cv_path_LD"
   10815 if test -n "$LD"; then
   10816   { echo "$as_me:$LINENO: result: $LD" >&5
   10817 echo "${ECHO_T}$LD" >&6; }
   10818 else
   10819   { echo "$as_me:$LINENO: result: no" >&5
   10820 echo "${ECHO_T}no" >&6; }
   10821 fi
   10822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10824    { (exit 1); exit 1; }; }
   10825 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10828   echo $ECHO_N "(cached) $ECHO_C" >&6
   10829 else
   10830   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10831 case `$LD -v 2>&1 </dev/null` in
   10832 *GNU* | *'with BFD'*)
   10833   lt_cv_prog_gnu_ld=yes
   10834   ;;
   10835 *)
   10836   lt_cv_prog_gnu_ld=no
   10837   ;;
   10838 esac
   10839 fi
   10840 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10841 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10842 with_gnu_ld=$lt_cv_prog_gnu_ld
   10843 
   10844 
   10845 
   10846   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10847   # archiving commands below assume that GNU ld is being used.
   10848   if test "$with_gnu_ld" = yes; then
   10849     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10850     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'
   10851 
   10852     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10853     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10854 
   10855     # If archive_cmds runs LD, not CC, wlarc should be empty
   10856     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10857     #     investigate it a little bit more. (MM)
   10858     wlarc='${wl}'
   10859 
   10860     # ancient GNU ld didn't support --whole-archive et. al.
   10861     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10862 	grep 'no-whole-archive' > /dev/null; then
   10863       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10864     else
   10865       whole_archive_flag_spec_CXX=
   10866     fi
   10867   else
   10868     with_gnu_ld=no
   10869     wlarc=
   10870 
   10871     # A generic and very simple default shared library creation
   10872     # command for GNU C++ for the case where it uses the native
   10873     # linker, instead of GNU ld.  If possible, this setting should
   10874     # overridden to take advantage of the native linker features on
   10875     # the platform it is being used on.
   10876     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10877   fi
   10878 
   10879   # Commands to make compiler produce verbose output that lists
   10880   # what "hidden" libraries, object files and flags are used when
   10881   # linking a shared library.
   10882   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10883 
   10884 else
   10885   GXX=no
   10886   with_gnu_ld=no
   10887   wlarc=
   10888 fi
   10889 
   10890 # PORTME: fill in a description of your system's C++ link characteristics
   10891 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10892 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10893 ld_shlibs_CXX=yes
   10894 case $host_os in
   10895   aix3*)
   10896     # FIXME: insert proper C++ library support
   10897     ld_shlibs_CXX=no
   10898     ;;
   10899   aix4* | aix5*)
   10900     if test "$host_cpu" = ia64; then
   10901       # On IA64, the linker does run time linking by default, so we don't
   10902       # have to do anything special.
   10903       aix_use_runtimelinking=no
   10904       exp_sym_flag='-Bexport'
   10905       no_entry_flag=""
   10906     else
   10907       aix_use_runtimelinking=no
   10908 
   10909       # Test if we are trying to use run time linking or normal
   10910       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10911       # need to do runtime linking.
   10912       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10913 	for ld_flag in $LDFLAGS; do
   10914 	  case $ld_flag in
   10915 	  *-brtl*)
   10916 	    aix_use_runtimelinking=yes
   10917 	    break
   10918 	    ;;
   10919 	  esac
   10920 	done
   10921 	;;
   10922       esac
   10923 
   10924       exp_sym_flag='-bexport'
   10925       no_entry_flag='-bnoentry'
   10926     fi
   10927 
   10928     # When large executables or shared objects are built, AIX ld can
   10929     # have problems creating the table of contents.  If linking a library
   10930     # or program results in "error TOC overflow" add -mminimal-toc to
   10931     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10932     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10933 
   10934     archive_cmds_CXX=''
   10935     hardcode_direct_CXX=yes
   10936     hardcode_libdir_separator_CXX=':'
   10937     link_all_deplibs_CXX=yes
   10938 
   10939     if test "$GXX" = yes; then
   10940       case $host_os in aix4.[012]|aix4.[012].*)
   10941       # We only want to do this on AIX 4.2 and lower, the check
   10942       # below for broken collect2 doesn't work under 4.3+
   10943 	collect2name=`${CC} -print-prog-name=collect2`
   10944 	if test -f "$collect2name" && \
   10945 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10946 	then
   10947 	  # We have reworked collect2
   10948 	  hardcode_direct_CXX=yes
   10949 	else
   10950 	  # We have old collect2
   10951 	  hardcode_direct_CXX=unsupported
   10952 	  # It fails to find uninstalled libraries when the uninstalled
   10953 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10954 	  # to unsupported forces relinking
   10955 	  hardcode_minus_L_CXX=yes
   10956 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10957 	  hardcode_libdir_separator_CXX=
   10958 	fi
   10959 	;;
   10960       esac
   10961       shared_flag='-shared'
   10962       if test "$aix_use_runtimelinking" = yes; then
   10963 	shared_flag="$shared_flag "'${wl}-G'
   10964       fi
   10965     else
   10966       # not using gcc
   10967       if test "$host_cpu" = ia64; then
   10968 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10969 	# chokes on -Wl,-G. The following line is correct:
   10970 	shared_flag='-G'
   10971       else
   10972 	if test "$aix_use_runtimelinking" = yes; then
   10973 	  shared_flag='${wl}-G'
   10974 	else
   10975 	  shared_flag='${wl}-bM:SRE'
   10976 	fi
   10977       fi
   10978     fi
   10979 
   10980     # It seems that -bexpall does not export symbols beginning with
   10981     # underscore (_), so it is better to generate a list of symbols to export.
   10982     always_export_symbols_CXX=yes
   10983     if test "$aix_use_runtimelinking" = yes; then
   10984       # Warning - without using the other runtime loading flags (-brtl),
   10985       # -berok will link without error, but may produce a broken library.
   10986       allow_undefined_flag_CXX='-berok'
   10987       # Determine the default libpath from the value encoded in an empty executable.
   10988       cat >conftest.$ac_ext <<_ACEOF
   10989 /* confdefs.h.  */
   10990 _ACEOF
   10991 cat confdefs.h >>conftest.$ac_ext
   10992 cat >>conftest.$ac_ext <<_ACEOF
   10993 /* end confdefs.h.  */
   10994 
   10995 int
   10996 main ()
   10997 {
   10998 
   10999   ;
   11000   return 0;
   11001 }
   11002 _ACEOF
   11003 rm -f conftest.$ac_objext conftest$ac_exeext
   11004 if { (ac_try="$ac_link"
   11005 case "(($ac_try" in
   11006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11007   *) ac_try_echo=$ac_try;;
   11008 esac
   11009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11010   (eval "$ac_link") 2>conftest.er1
   11011   ac_status=$?
   11012   grep -v '^ *+' conftest.er1 >conftest.err
   11013   rm -f conftest.er1
   11014   cat conftest.err >&5
   11015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11016   (exit $ac_status); } && {
   11017 	 test -z "$ac_cxx_werror_flag" ||
   11018 	 test ! -s conftest.err
   11019        } && test -s conftest$ac_exeext &&
   11020        $as_test_x conftest$ac_exeext; then
   11021 
   11022 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11023 }'`
   11024 # Check for a 64-bit object if we didn't find anything.
   11025 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; }
   11026 }'`; fi
   11027 else
   11028   echo "$as_me: failed program was:" >&5
   11029 sed 's/^/| /' conftest.$ac_ext >&5
   11030 
   11031 
   11032 fi
   11033 
   11034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11035       conftest$ac_exeext conftest.$ac_ext
   11036 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11037 
   11038       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11039 
   11040       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"
   11041      else
   11042       if test "$host_cpu" = ia64; then
   11043 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11044 	allow_undefined_flag_CXX="-z nodefs"
   11045 	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"
   11046       else
   11047 	# Determine the default libpath from the value encoded in an empty executable.
   11048 	cat >conftest.$ac_ext <<_ACEOF
   11049 /* confdefs.h.  */
   11050 _ACEOF
   11051 cat confdefs.h >>conftest.$ac_ext
   11052 cat >>conftest.$ac_ext <<_ACEOF
   11053 /* end confdefs.h.  */
   11054 
   11055 int
   11056 main ()
   11057 {
   11058 
   11059   ;
   11060   return 0;
   11061 }
   11062 _ACEOF
   11063 rm -f conftest.$ac_objext conftest$ac_exeext
   11064 if { (ac_try="$ac_link"
   11065 case "(($ac_try" in
   11066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11067   *) ac_try_echo=$ac_try;;
   11068 esac
   11069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11070   (eval "$ac_link") 2>conftest.er1
   11071   ac_status=$?
   11072   grep -v '^ *+' conftest.er1 >conftest.err
   11073   rm -f conftest.er1
   11074   cat conftest.err >&5
   11075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11076   (exit $ac_status); } && {
   11077 	 test -z "$ac_cxx_werror_flag" ||
   11078 	 test ! -s conftest.err
   11079        } && test -s conftest$ac_exeext &&
   11080        $as_test_x conftest$ac_exeext; then
   11081 
   11082 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11083 }'`
   11084 # Check for a 64-bit object if we didn't find anything.
   11085 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; }
   11086 }'`; fi
   11087 else
   11088   echo "$as_me: failed program was:" >&5
   11089 sed 's/^/| /' conftest.$ac_ext >&5
   11090 
   11091 
   11092 fi
   11093 
   11094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11095       conftest$ac_exeext conftest.$ac_ext
   11096 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11097 
   11098 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11099 	# Warning - without using the other run time loading flags,
   11100 	# -berok will link without error, but may produce a broken library.
   11101 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11102 	allow_undefined_flag_CXX=' ${wl}-berok'
   11103 	# Exported symbols can be pulled into shared objects from archives
   11104 	whole_archive_flag_spec_CXX='$convenience'
   11105 	archive_cmds_need_lc_CXX=yes
   11106 	# This is similar to how AIX traditionally builds its shared libraries.
   11107 	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'
   11108       fi
   11109     fi
   11110     ;;
   11111 
   11112   beos*)
   11113     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11114       allow_undefined_flag_CXX=unsupported
   11115       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11116       # support --undefined.  This deserves some investigation.  FIXME
   11117       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11118     else
   11119       ld_shlibs_CXX=no
   11120     fi
   11121     ;;
   11122 
   11123   chorus*)
   11124     case $cc_basename in
   11125       *)
   11126 	# FIXME: insert proper C++ library support
   11127 	ld_shlibs_CXX=no
   11128 	;;
   11129     esac
   11130     ;;
   11131 
   11132   cygwin* | mingw* | pw32*)
   11133     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11134     # as there is no search path for DLLs.
   11135     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11136     allow_undefined_flag_CXX=unsupported
   11137     always_export_symbols_CXX=no
   11138     enable_shared_with_static_runtimes_CXX=yes
   11139 
   11140     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11141       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'
   11142       # If the export-symbols file already is a .def file (1st line
   11143       # is EXPORTS), use it as is; otherwise, prepend...
   11144       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11145 	cp $export_symbols $output_objdir/$soname.def;
   11146       else
   11147 	echo EXPORTS > $output_objdir/$soname.def;
   11148 	cat $export_symbols >> $output_objdir/$soname.def;
   11149       fi~
   11150       $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'
   11151     else
   11152       ld_shlibs_CXX=no
   11153     fi
   11154   ;;
   11155       darwin* | rhapsody*)
   11156         case $host_os in
   11157         rhapsody* | darwin1.[012])
   11158          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11159          ;;
   11160        *) # Darwin 1.3 on
   11161          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11162            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11163          else
   11164            case ${MACOSX_DEPLOYMENT_TARGET} in
   11165              10.[012])
   11166                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11167                ;;
   11168              10.*)
   11169                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11170                ;;
   11171            esac
   11172          fi
   11173          ;;
   11174         esac
   11175       archive_cmds_need_lc_CXX=no
   11176       hardcode_direct_CXX=no
   11177       hardcode_automatic_CXX=yes
   11178       hardcode_shlibpath_var_CXX=unsupported
   11179       whole_archive_flag_spec_CXX=''
   11180       link_all_deplibs_CXX=yes
   11181 
   11182     if test "$GXX" = yes ; then
   11183       lt_int_apple_cc_single_mod=no
   11184       output_verbose_link_cmd='echo'
   11185       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11186        lt_int_apple_cc_single_mod=yes
   11187       fi
   11188       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11189        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11190       else
   11191           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'
   11192         fi
   11193         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11194         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11195           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11196             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}'
   11197           else
   11198             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}'
   11199           fi
   11200             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}'
   11201       else
   11202       case $cc_basename in
   11203         xlc*)
   11204          output_verbose_link_cmd='echo'
   11205           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'
   11206           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11207           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11208           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}'
   11209           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}'
   11210           ;;
   11211        *)
   11212          ld_shlibs_CXX=no
   11213           ;;
   11214       esac
   11215       fi
   11216         ;;
   11217 
   11218   dgux*)
   11219     case $cc_basename in
   11220       ec++*)
   11221 	# FIXME: insert proper C++ library support
   11222 	ld_shlibs_CXX=no
   11223 	;;
   11224       ghcx*)
   11225 	# Green Hills C++ Compiler
   11226 	# FIXME: insert proper C++ library support
   11227 	ld_shlibs_CXX=no
   11228 	;;
   11229       *)
   11230 	# FIXME: insert proper C++ library support
   11231 	ld_shlibs_CXX=no
   11232 	;;
   11233     esac
   11234     ;;
   11235   freebsd[12]*)
   11236     # C++ shared libraries reported to be fairly broken before switch to ELF
   11237     ld_shlibs_CXX=no
   11238     ;;
   11239   freebsd-elf*)
   11240     archive_cmds_need_lc_CXX=no
   11241     ;;
   11242   freebsd* | kfreebsd*-gnu | dragonfly*)
   11243     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11244     # conventions
   11245     ld_shlibs_CXX=yes
   11246     ;;
   11247   gnu*)
   11248     ;;
   11249   hpux9*)
   11250     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11251     hardcode_libdir_separator_CXX=:
   11252     export_dynamic_flag_spec_CXX='${wl}-E'
   11253     hardcode_direct_CXX=yes
   11254     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11255 				# but as the default
   11256 				# location of the library.
   11257 
   11258     case $cc_basename in
   11259     CC*)
   11260       # FIXME: insert proper C++ library support
   11261       ld_shlibs_CXX=no
   11262       ;;
   11263     aCC*)
   11264       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'
   11265       # Commands to make compiler produce verbose output that lists
   11266       # what "hidden" libraries, object files and flags are used when
   11267       # linking a shared library.
   11268       #
   11269       # There doesn't appear to be a way to prevent this compiler from
   11270       # explicitly linking system object files so we need to strip them
   11271       # from the output so that they don't get included in the library
   11272       # dependencies.
   11273       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'
   11274       ;;
   11275     *)
   11276       if test "$GXX" = yes; then
   11277         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'
   11278       else
   11279         # FIXME: insert proper C++ library support
   11280         ld_shlibs_CXX=no
   11281       fi
   11282       ;;
   11283     esac
   11284     ;;
   11285   hpux10*|hpux11*)
   11286     if test $with_gnu_ld = no; then
   11287       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11288       hardcode_libdir_separator_CXX=:
   11289 
   11290       case $host_cpu in
   11291       hppa*64*|ia64*)
   11292 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11293         ;;
   11294       *)
   11295 	export_dynamic_flag_spec_CXX='${wl}-E'
   11296         ;;
   11297       esac
   11298     fi
   11299     case $host_cpu in
   11300     hppa*64*|ia64*)
   11301       hardcode_direct_CXX=no
   11302       hardcode_shlibpath_var_CXX=no
   11303       ;;
   11304     *)
   11305       hardcode_direct_CXX=yes
   11306       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11307 					      # but as the default
   11308 					      # location of the library.
   11309       ;;
   11310     esac
   11311 
   11312     case $cc_basename in
   11313       CC*)
   11314 	# FIXME: insert proper C++ library support
   11315 	ld_shlibs_CXX=no
   11316 	;;
   11317       aCC*)
   11318 	case $host_cpu in
   11319 	hppa*64*)
   11320 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11321 	  ;;
   11322 	ia64*)
   11323 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11324 	  ;;
   11325 	*)
   11326 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11327 	  ;;
   11328 	esac
   11329 	# Commands to make compiler produce verbose output that lists
   11330 	# what "hidden" libraries, object files and flags are used when
   11331 	# linking a shared library.
   11332 	#
   11333 	# There doesn't appear to be a way to prevent this compiler from
   11334 	# explicitly linking system object files so we need to strip them
   11335 	# from the output so that they don't get included in the library
   11336 	# dependencies.
   11337 	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   11338 	;;
   11339       *)
   11340 	if test "$GXX" = yes; then
   11341 	  if test $with_gnu_ld = no; then
   11342 	    case $host_cpu in
   11343 	    hppa*64*)
   11344 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11345 	      ;;
   11346 	    ia64*)
   11347 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11348 	      ;;
   11349 	    *)
   11350 	      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'
   11351 	      ;;
   11352 	    esac
   11353 	  fi
   11354 	else
   11355 	  # FIXME: insert proper C++ library support
   11356 	  ld_shlibs_CXX=no
   11357 	fi
   11358 	;;
   11359     esac
   11360     ;;
   11361   interix3*)
   11362     hardcode_direct_CXX=no
   11363     hardcode_shlibpath_var_CXX=no
   11364     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11365     export_dynamic_flag_spec_CXX='${wl}-E'
   11366     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11367     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11368     # default) and relocated if they conflict, which is a slow very memory
   11369     # consuming and fragmenting process.  To avoid this, we pick a random,
   11370     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11371     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11372     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'
   11373     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'
   11374     ;;
   11375   irix5* | irix6*)
   11376     case $cc_basename in
   11377       CC*)
   11378 	# SGI C++
   11379 	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'
   11380 
   11381 	# Archives containing C++ object files must be created using
   11382 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11383 	# necessary to make sure instantiated templates are included
   11384 	# in the archive.
   11385 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11386 	;;
   11387       *)
   11388 	if test "$GXX" = yes; then
   11389 	  if test "$with_gnu_ld" = no; then
   11390 	    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'
   11391 	  else
   11392 	    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'
   11393 	  fi
   11394 	fi
   11395 	link_all_deplibs_CXX=yes
   11396 	;;
   11397     esac
   11398     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11399     hardcode_libdir_separator_CXX=:
   11400     ;;
   11401   linux*)
   11402     case $cc_basename in
   11403       KCC*)
   11404 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11405 
   11406 	# KCC will only create a shared library if the output file
   11407 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11408 	# to its proper name (with version) after linking.
   11409 	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'
   11410 	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'
   11411 	# Commands to make compiler produce verbose output that lists
   11412 	# what "hidden" libraries, object files and flags are used when
   11413 	# linking a shared library.
   11414 	#
   11415 	# There doesn't appear to be a way to prevent this compiler from
   11416 	# explicitly linking system object files so we need to strip them
   11417 	# from the output so that they don't get included in the library
   11418 	# dependencies.
   11419 	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'
   11420 
   11421 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11422 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11423 
   11424 	# Archives containing C++ object files must be created using
   11425 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11426 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11427 	;;
   11428       icpc*)
   11429 	# Intel C++
   11430 	with_gnu_ld=yes
   11431 	# version 8.0 and above of icpc choke on multiply defined symbols
   11432 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11433 	# earlier do not add the objects themselves.
   11434 	case `$CC -V 2>&1` in
   11435 	*"Version 7."*)
   11436   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11437   	  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'
   11438 	  ;;
   11439 	*)  # Version 8.0 or newer
   11440 	  tmp_idyn=
   11441 	  case $host_cpu in
   11442 	    ia64*) tmp_idyn=' -i_dynamic';;
   11443 	  esac
   11444   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11445 	  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'
   11446 	  ;;
   11447 	esac
   11448 	archive_cmds_need_lc_CXX=no
   11449 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11450 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11451 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11452 	;;
   11453       pgCC*)
   11454         # Portland Group C++ compiler
   11455 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11456   	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'
   11457 
   11458 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11459 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11460 	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'
   11461         ;;
   11462       cxx*)
   11463 	# Compaq C++
   11464 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11465 	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'
   11466 
   11467 	runpath_var=LD_RUN_PATH
   11468 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11469 	hardcode_libdir_separator_CXX=:
   11470 
   11471 	# Commands to make compiler produce verbose output that lists
   11472 	# what "hidden" libraries, object files and flags are used when
   11473 	# linking a shared library.
   11474 	#
   11475 	# There doesn't appear to be a way to prevent this compiler from
   11476 	# explicitly linking system object files so we need to strip them
   11477 	# from the output so that they don't get included in the library
   11478 	# dependencies.
   11479 	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'
   11480 	;;
   11481     esac
   11482     ;;
   11483   lynxos*)
   11484     # FIXME: insert proper C++ library support
   11485     ld_shlibs_CXX=no
   11486     ;;
   11487   m88k*)
   11488     # FIXME: insert proper C++ library support
   11489     ld_shlibs_CXX=no
   11490     ;;
   11491   mvs*)
   11492     case $cc_basename in
   11493       cxx*)
   11494 	# FIXME: insert proper C++ library support
   11495 	ld_shlibs_CXX=no
   11496 	;;
   11497       *)
   11498 	# FIXME: insert proper C++ library support
   11499 	ld_shlibs_CXX=no
   11500 	;;
   11501     esac
   11502     ;;
   11503   netbsd*)
   11504     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11505       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11506       wlarc=
   11507       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11508       hardcode_direct_CXX=yes
   11509       hardcode_shlibpath_var_CXX=no
   11510     fi
   11511     # Workaround some broken pre-1.5 toolchains
   11512     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11513     ;;
   11514   openbsd2*)
   11515     # C++ shared libraries are fairly broken
   11516     ld_shlibs_CXX=no
   11517     ;;
   11518   openbsd*)
   11519     hardcode_direct_CXX=yes
   11520     hardcode_shlibpath_var_CXX=no
   11521     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11522     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11523     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11524       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11525       export_dynamic_flag_spec_CXX='${wl}-E'
   11526       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11527     fi
   11528     output_verbose_link_cmd='echo'
   11529     ;;
   11530   osf3*)
   11531     case $cc_basename in
   11532       KCC*)
   11533 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11534 
   11535 	# KCC will only create a shared library if the output file
   11536 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11537 	# to its proper name (with version) after linking.
   11538 	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'
   11539 
   11540 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11541 	hardcode_libdir_separator_CXX=:
   11542 
   11543 	# Archives containing C++ object files must be created using
   11544 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11545 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11546 
   11547 	;;
   11548       RCC*)
   11549 	# Rational C++ 2.4.1
   11550 	# FIXME: insert proper C++ library support
   11551 	ld_shlibs_CXX=no
   11552 	;;
   11553       cxx*)
   11554 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11555 	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'
   11556 
   11557 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11558 	hardcode_libdir_separator_CXX=:
   11559 
   11560 	# Commands to make compiler produce verbose output that lists
   11561 	# what "hidden" libraries, object files and flags are used when
   11562 	# linking a shared library.
   11563 	#
   11564 	# There doesn't appear to be a way to prevent this compiler from
   11565 	# explicitly linking system object files so we need to strip them
   11566 	# from the output so that they don't get included in the library
   11567 	# dependencies.
   11568 	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'
   11569 	;;
   11570       *)
   11571 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11572 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11573 	  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'
   11574 
   11575 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11576 	  hardcode_libdir_separator_CXX=:
   11577 
   11578 	  # Commands to make compiler produce verbose output that lists
   11579 	  # what "hidden" libraries, object files and flags are used when
   11580 	  # linking a shared library.
   11581 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11582 
   11583 	else
   11584 	  # FIXME: insert proper C++ library support
   11585 	  ld_shlibs_CXX=no
   11586 	fi
   11587 	;;
   11588     esac
   11589     ;;
   11590   osf4* | osf5*)
   11591     case $cc_basename in
   11592       KCC*)
   11593 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11594 
   11595 	# KCC will only create a shared library if the output file
   11596 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11597 	# to its proper name (with version) after linking.
   11598 	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'
   11599 
   11600 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11601 	hardcode_libdir_separator_CXX=:
   11602 
   11603 	# Archives containing C++ object files must be created using
   11604 	# the KAI C++ compiler.
   11605 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11606 	;;
   11607       RCC*)
   11608 	# Rational C++ 2.4.1
   11609 	# FIXME: insert proper C++ library support
   11610 	ld_shlibs_CXX=no
   11611 	;;
   11612       cxx*)
   11613 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11614 	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'
   11615 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11616 	  echo "-hidden">> $lib.exp~
   11617 	  $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~
   11618 	  $rm $lib.exp'
   11619 
   11620 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11621 	hardcode_libdir_separator_CXX=:
   11622 
   11623 	# Commands to make compiler produce verbose output that lists
   11624 	# what "hidden" libraries, object files and flags are used when
   11625 	# linking a shared library.
   11626 	#
   11627 	# There doesn't appear to be a way to prevent this compiler from
   11628 	# explicitly linking system object files so we need to strip them
   11629 	# from the output so that they don't get included in the library
   11630 	# dependencies.
   11631 	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'
   11632 	;;
   11633       *)
   11634 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11635 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11636 	 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'
   11637 
   11638 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11639 	  hardcode_libdir_separator_CXX=:
   11640 
   11641 	  # Commands to make compiler produce verbose output that lists
   11642 	  # what "hidden" libraries, object files and flags are used when
   11643 	  # linking a shared library.
   11644 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11645 
   11646 	else
   11647 	  # FIXME: insert proper C++ library support
   11648 	  ld_shlibs_CXX=no
   11649 	fi
   11650 	;;
   11651     esac
   11652     ;;
   11653   psos*)
   11654     # FIXME: insert proper C++ library support
   11655     ld_shlibs_CXX=no
   11656     ;;
   11657   sunos4*)
   11658     case $cc_basename in
   11659       CC*)
   11660 	# Sun C++ 4.x
   11661 	# FIXME: insert proper C++ library support
   11662 	ld_shlibs_CXX=no
   11663 	;;
   11664       lcc*)
   11665 	# Lucid
   11666 	# FIXME: insert proper C++ library support
   11667 	ld_shlibs_CXX=no
   11668 	;;
   11669       *)
   11670 	# FIXME: insert proper C++ library support
   11671 	ld_shlibs_CXX=no
   11672 	;;
   11673     esac
   11674     ;;
   11675   solaris*)
   11676     case $cc_basename in
   11677       CC*)
   11678 	# Sun C++ 4.2, 5.x and Centerline C++
   11679         archive_cmds_need_lc_CXX=yes
   11680 	no_undefined_flag_CXX=' -zdefs'
   11681 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11682 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11683 	$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'
   11684 
   11685 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11686 	hardcode_shlibpath_var_CXX=no
   11687 	case $host_os in
   11688 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11689 	  *)
   11690 	    # The C++ compiler is used as linker so we must use $wl
   11691 	    # flag to pass the commands to the underlying system
   11692 	    # linker. We must also pass each convience library through
   11693 	    # to the system linker between allextract/defaultextract.
   11694 	    # The C++ compiler will combine linker options so we
   11695 	    # cannot just pass the convience library names through
   11696 	    # without $wl.
   11697 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11698 	    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'
   11699 	    ;;
   11700 	esac
   11701 	link_all_deplibs_CXX=yes
   11702 
   11703 	output_verbose_link_cmd='echo'
   11704 
   11705 	# Archives containing C++ object files must be created using
   11706 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11707 	# necessary to make sure instantiated templates are included
   11708 	# in the archive.
   11709 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11710 	;;
   11711       gcx*)
   11712 	# Green Hills C++ Compiler
   11713 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11714 
   11715 	# The C++ compiler must be used to create the archive.
   11716 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11717 	;;
   11718       *)
   11719 	# GNU C++ compiler with Solaris linker
   11720 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11721 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11722 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11723 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11724 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11725 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11726 
   11727 	    # Commands to make compiler produce verbose output that lists
   11728 	    # what "hidden" libraries, object files and flags are used when
   11729 	    # linking a shared library.
   11730 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11731 	  else
   11732 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11733 	    # platform.
   11734 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11735 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11736 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11737 
   11738 	    # Commands to make compiler produce verbose output that lists
   11739 	    # what "hidden" libraries, object files and flags are used when
   11740 	    # linking a shared library.
   11741 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11742 	  fi
   11743 
   11744 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11745 	fi
   11746 	;;
   11747     esac
   11748     ;;
   11749   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11750     no_undefined_flag_CXX='${wl}-z,text'
   11751     archive_cmds_need_lc_CXX=no
   11752     hardcode_shlibpath_var_CXX=no
   11753     runpath_var='LD_RUN_PATH'
   11754 
   11755     case $cc_basename in
   11756       CC*)
   11757 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11758 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11759 	;;
   11760       *)
   11761 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11762 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11763 	;;
   11764     esac
   11765     ;;
   11766   sysv5* | sco3.2v5* | sco5v6*)
   11767     # Note: We can NOT use -z defs as we might desire, because we do not
   11768     # link with -lc, and that would cause any symbols used from libc to
   11769     # always be unresolved, which means just about no library would
   11770     # ever link correctly.  If we're not using GNU ld we use -z text
   11771     # though, which does catch some bad symbols but isn't as heavy-handed
   11772     # as -z defs.
   11773     # For security reasons, it is highly recommended that you always
   11774     # use absolute paths for naming shared libraries, and exclude the
   11775     # DT_RUNPATH tag from executables and libraries.  But doing so
   11776     # requires that you compile everything twice, which is a pain.
   11777     # So that behaviour is only enabled if SCOABSPATH is set to a
   11778     # non-empty value in the environment.  Most likely only useful for
   11779     # creating official distributions of packages.
   11780     # This is a hack until libtool officially supports absolute path
   11781     # names for shared libraries.
   11782     no_undefined_flag_CXX='${wl}-z,text'
   11783     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11784     archive_cmds_need_lc_CXX=no
   11785     hardcode_shlibpath_var_CXX=no
   11786     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11787     hardcode_libdir_separator_CXX=':'
   11788     link_all_deplibs_CXX=yes
   11789     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11790     runpath_var='LD_RUN_PATH'
   11791 
   11792     case $cc_basename in
   11793       CC*)
   11794 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11795 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11796 	;;
   11797       *)
   11798 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11799 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11800 	;;
   11801     esac
   11802     ;;
   11803   tandem*)
   11804     case $cc_basename in
   11805       NCC*)
   11806 	# NonStop-UX NCC 3.20
   11807 	# FIXME: insert proper C++ library support
   11808 	ld_shlibs_CXX=no
   11809 	;;
   11810       *)
   11811 	# FIXME: insert proper C++ library support
   11812 	ld_shlibs_CXX=no
   11813 	;;
   11814     esac
   11815     ;;
   11816   vxworks*)
   11817     # FIXME: insert proper C++ library support
   11818     ld_shlibs_CXX=no
   11819     ;;
   11820   *)
   11821     # FIXME: insert proper C++ library support
   11822     ld_shlibs_CXX=no
   11823     ;;
   11824 esac
   11825 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11826 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11827 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11828 
   11829 GCC_CXX="$GXX"
   11830 LD_CXX="$LD"
   11831 
   11832 
   11833 cat > conftest.$ac_ext <<EOF
   11834 class Foo
   11835 {
   11836 public:
   11837   Foo (void) { a = 0; }
   11838 private:
   11839   int a;
   11840 };
   11841 EOF
   11842 
   11843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11844   (eval $ac_compile) 2>&5
   11845   ac_status=$?
   11846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11847   (exit $ac_status); }; then
   11848   # Parse the compiler output and extract the necessary
   11849   # objects, libraries and library flags.
   11850 
   11851   # Sentinel used to keep track of whether or not we are before
   11852   # the conftest object file.
   11853   pre_test_object_deps_done=no
   11854 
   11855   # The `*' in the case matches for architectures that use `case' in
   11856   # $output_verbose_cmd can trigger glob expansion during the loop
   11857   # eval without this substitution.
   11858   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11859 
   11860   for p in `eval $output_verbose_link_cmd`; do
   11861     case $p in
   11862 
   11863     -L* | -R* | -l*)
   11864        # Some compilers place space between "-{L,R}" and the path.
   11865        # Remove the space.
   11866        if test $p = "-L" \
   11867 	  || test $p = "-R"; then
   11868 	 prev=$p
   11869 	 continue
   11870        else
   11871 	 prev=
   11872        fi
   11873 
   11874        if test "$pre_test_object_deps_done" = no; then
   11875 	 case $p in
   11876 	 -L* | -R*)
   11877 	   # Internal compiler library paths should come after those
   11878 	   # provided the user.  The postdeps already come after the
   11879 	   # user supplied libs so there is no need to process them.
   11880 	   if test -z "$compiler_lib_search_path_CXX"; then
   11881 	     compiler_lib_search_path_CXX="${prev}${p}"
   11882 	   else
   11883 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11884 	   fi
   11885 	   ;;
   11886 	 # The "-l" case would never come before the object being
   11887 	 # linked, so don't bother handling this case.
   11888 	 esac
   11889        else
   11890 	 if test -z "$postdeps_CXX"; then
   11891 	   postdeps_CXX="${prev}${p}"
   11892 	 else
   11893 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11894 	 fi
   11895        fi
   11896        ;;
   11897 
   11898     *.$objext)
   11899        # This assumes that the test object file only shows up
   11900        # once in the compiler output.
   11901        if test "$p" = "conftest.$objext"; then
   11902 	 pre_test_object_deps_done=yes
   11903 	 continue
   11904        fi
   11905 
   11906        if test "$pre_test_object_deps_done" = no; then
   11907 	 if test -z "$predep_objects_CXX"; then
   11908 	   predep_objects_CXX="$p"
   11909 	 else
   11910 	   predep_objects_CXX="$predep_objects_CXX $p"
   11911 	 fi
   11912        else
   11913 	 if test -z "$postdep_objects_CXX"; then
   11914 	   postdep_objects_CXX="$p"
   11915 	 else
   11916 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11917 	 fi
   11918        fi
   11919        ;;
   11920 
   11921     *) ;; # Ignore the rest.
   11922 
   11923     esac
   11924   done
   11925 
   11926   # Clean up.
   11927   rm -f a.out a.exe
   11928 else
   11929   echo "libtool.m4: error: problem compiling CXX test program"
   11930 fi
   11931 
   11932 $rm -f confest.$objext
   11933 
   11934 # PORTME: override above test on systems where it is broken
   11935 case $host_os in
   11936 interix3*)
   11937   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11938   # hack all around it, let's just trust "g++" to DTRT.
   11939   predep_objects_CXX=
   11940   postdep_objects_CXX=
   11941   postdeps_CXX=
   11942   ;;
   11943 
   11944 solaris*)
   11945   case $cc_basename in
   11946   CC*)
   11947     # Adding this requires a known-good setup of shared libraries for
   11948     # Sun compiler versions before 5.6, else PIC objects from an old
   11949     # archive will be linked into the output, leading to subtle bugs.
   11950     postdeps_CXX='-lCstd -lCrun'
   11951     ;;
   11952   esac
   11953   ;;
   11954 esac
   11955 
   11956 
   11957 case " $postdeps_CXX " in
   11958 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11959 esac
   11960 
   11961 lt_prog_compiler_wl_CXX=
   11962 lt_prog_compiler_pic_CXX=
   11963 lt_prog_compiler_static_CXX=
   11964 
   11965 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11966 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11967 
   11968   # C++ specific cases for pic, static, wl, etc.
   11969   if test "$GXX" = yes; then
   11970     lt_prog_compiler_wl_CXX='-Wl,'
   11971     lt_prog_compiler_static_CXX='-static'
   11972 
   11973     case $host_os in
   11974     aix*)
   11975       # All AIX code is PIC.
   11976       if test "$host_cpu" = ia64; then
   11977 	# AIX 5 now supports IA64 processor
   11978 	lt_prog_compiler_static_CXX='-Bstatic'
   11979       fi
   11980       ;;
   11981     amigaos*)
   11982       # FIXME: we need at least 68020 code to build shared libraries, but
   11983       # adding the `-m68020' flag to GCC prevents building anything better,
   11984       # like `-m68040'.
   11985       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11986       ;;
   11987     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11988       # PIC is the default for these OSes.
   11989       ;;
   11990     mingw* | os2* | pw32*)
   11991       # This hack is so that the source file can tell whether it is being
   11992       # built for inclusion in a dll (and should export symbols for example).
   11993       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11994       ;;
   11995     darwin* | rhapsody*)
   11996       # PIC is the default on this platform
   11997       # Common symbols not allowed in MH_DYLIB files
   11998       lt_prog_compiler_pic_CXX='-fno-common'
   11999       ;;
   12000     *djgpp*)
   12001       # DJGPP does not support shared libraries at all
   12002       lt_prog_compiler_pic_CXX=
   12003       ;;
   12004     interix3*)
   12005       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12006       # Instead, we relocate shared libraries at runtime.
   12007       ;;
   12008     sysv4*MP*)
   12009       if test -d /usr/nec; then
   12010 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12011       fi
   12012       ;;
   12013     hpux*)
   12014       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12015       # not for PA HP-UX.
   12016       case $host_cpu in
   12017       hppa*64*|ia64*)
   12018 	;;
   12019       *)
   12020 	lt_prog_compiler_pic_CXX='-fPIC'
   12021 	;;
   12022       esac
   12023       ;;
   12024     *)
   12025       lt_prog_compiler_pic_CXX='-fPIC'
   12026       ;;
   12027     esac
   12028   else
   12029     case $host_os in
   12030       aix4* | aix5*)
   12031 	# All AIX code is PIC.
   12032 	if test "$host_cpu" = ia64; then
   12033 	  # AIX 5 now supports IA64 processor
   12034 	  lt_prog_compiler_static_CXX='-Bstatic'
   12035 	else
   12036 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12037 	fi
   12038 	;;
   12039       chorus*)
   12040 	case $cc_basename in
   12041 	cxch68*)
   12042 	  # Green Hills C++ Compiler
   12043 	  # _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"
   12044 	  ;;
   12045 	esac
   12046 	;;
   12047        darwin*)
   12048          # PIC is the default on this platform
   12049          # Common symbols not allowed in MH_DYLIB files
   12050          case $cc_basename in
   12051            xlc*)
   12052            lt_prog_compiler_pic_CXX='-qnocommon'
   12053            lt_prog_compiler_wl_CXX='-Wl,'
   12054            ;;
   12055          esac
   12056        ;;
   12057       dgux*)
   12058 	case $cc_basename in
   12059 	  ec++*)
   12060 	    lt_prog_compiler_pic_CXX='-KPIC'
   12061 	    ;;
   12062 	  ghcx*)
   12063 	    # Green Hills C++ Compiler
   12064 	    lt_prog_compiler_pic_CXX='-pic'
   12065 	    ;;
   12066 	  *)
   12067 	    ;;
   12068 	esac
   12069 	;;
   12070       freebsd* | kfreebsd*-gnu | dragonfly*)
   12071 	# FreeBSD uses GNU C++
   12072 	;;
   12073       hpux9* | hpux10* | hpux11*)
   12074 	case $cc_basename in
   12075 	  CC*)
   12076 	    lt_prog_compiler_wl_CXX='-Wl,'
   12077 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12078 	    if test "$host_cpu" != ia64; then
   12079 	      lt_prog_compiler_pic_CXX='+Z'
   12080 	    fi
   12081 	    ;;
   12082 	  aCC*)
   12083 	    lt_prog_compiler_wl_CXX='-Wl,'
   12084 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12085 	    case $host_cpu in
   12086 	    hppa*64*|ia64*)
   12087 	      # +Z the default
   12088 	      ;;
   12089 	    *)
   12090 	      lt_prog_compiler_pic_CXX='+Z'
   12091 	      ;;
   12092 	    esac
   12093 	    ;;
   12094 	  *)
   12095 	    ;;
   12096 	esac
   12097 	;;
   12098       interix*)
   12099 	# This is c89, which is MS Visual C++ (no shared libs)
   12100 	# Anyone wants to do a port?
   12101 	;;
   12102       irix5* | irix6* | nonstopux*)
   12103 	case $cc_basename in
   12104 	  CC*)
   12105 	    lt_prog_compiler_wl_CXX='-Wl,'
   12106 	    lt_prog_compiler_static_CXX='-non_shared'
   12107 	    # CC pic flag -KPIC is the default.
   12108 	    ;;
   12109 	  *)
   12110 	    ;;
   12111 	esac
   12112 	;;
   12113       linux*)
   12114 	case $cc_basename in
   12115 	  KCC*)
   12116 	    # KAI C++ Compiler
   12117 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12118 	    lt_prog_compiler_pic_CXX='-fPIC'
   12119 	    ;;
   12120 	  icpc* | ecpc*)
   12121 	    # Intel C++
   12122 	    lt_prog_compiler_wl_CXX='-Wl,'
   12123 	    lt_prog_compiler_pic_CXX='-KPIC'
   12124 	    lt_prog_compiler_static_CXX='-static'
   12125 	    ;;
   12126 	  pgCC*)
   12127 	    # Portland Group C++ compiler.
   12128 	    lt_prog_compiler_wl_CXX='-Wl,'
   12129 	    lt_prog_compiler_pic_CXX='-fpic'
   12130 	    lt_prog_compiler_static_CXX='-Bstatic'
   12131 	    ;;
   12132 	  cxx*)
   12133 	    # Compaq C++
   12134 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12135 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12136 	    lt_prog_compiler_pic_CXX=
   12137 	    lt_prog_compiler_static_CXX='-non_shared'
   12138 	    ;;
   12139 	  *)
   12140 	    ;;
   12141 	esac
   12142 	;;
   12143       lynxos*)
   12144 	;;
   12145       m88k*)
   12146 	;;
   12147       mvs*)
   12148 	case $cc_basename in
   12149 	  cxx*)
   12150 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12151 	    ;;
   12152 	  *)
   12153 	    ;;
   12154 	esac
   12155 	;;
   12156       netbsd*)
   12157 	;;
   12158       osf3* | osf4* | osf5*)
   12159 	case $cc_basename in
   12160 	  KCC*)
   12161 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12162 	    ;;
   12163 	  RCC*)
   12164 	    # Rational C++ 2.4.1
   12165 	    lt_prog_compiler_pic_CXX='-pic'
   12166 	    ;;
   12167 	  cxx*)
   12168 	    # Digital/Compaq C++
   12169 	    lt_prog_compiler_wl_CXX='-Wl,'
   12170 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12171 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12172 	    lt_prog_compiler_pic_CXX=
   12173 	    lt_prog_compiler_static_CXX='-non_shared'
   12174 	    ;;
   12175 	  *)
   12176 	    ;;
   12177 	esac
   12178 	;;
   12179       psos*)
   12180 	;;
   12181       solaris*)
   12182 	case $cc_basename in
   12183 	  CC*)
   12184 	    # Sun C++ 4.2, 5.x and Centerline C++
   12185 	    lt_prog_compiler_pic_CXX='-KPIC'
   12186 	    lt_prog_compiler_static_CXX='-Bstatic'
   12187 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12188 	    ;;
   12189 	  gcx*)
   12190 	    # Green Hills C++ Compiler
   12191 	    lt_prog_compiler_pic_CXX='-PIC'
   12192 	    ;;
   12193 	  *)
   12194 	    ;;
   12195 	esac
   12196 	;;
   12197       sunos4*)
   12198 	case $cc_basename in
   12199 	  CC*)
   12200 	    # Sun C++ 4.x
   12201 	    lt_prog_compiler_pic_CXX='-pic'
   12202 	    lt_prog_compiler_static_CXX='-Bstatic'
   12203 	    ;;
   12204 	  lcc*)
   12205 	    # Lucid
   12206 	    lt_prog_compiler_pic_CXX='-pic'
   12207 	    ;;
   12208 	  *)
   12209 	    ;;
   12210 	esac
   12211 	;;
   12212       tandem*)
   12213 	case $cc_basename in
   12214 	  NCC*)
   12215 	    # NonStop-UX NCC 3.20
   12216 	    lt_prog_compiler_pic_CXX='-KPIC'
   12217 	    ;;
   12218 	  *)
   12219 	    ;;
   12220 	esac
   12221 	;;
   12222       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12223 	case $cc_basename in
   12224 	  CC*)
   12225 	    lt_prog_compiler_wl_CXX='-Wl,'
   12226 	    lt_prog_compiler_pic_CXX='-KPIC'
   12227 	    lt_prog_compiler_static_CXX='-Bstatic'
   12228 	    ;;
   12229 	esac
   12230 	;;
   12231       vxworks*)
   12232 	;;
   12233       *)
   12234 	lt_prog_compiler_can_build_shared_CXX=no
   12235 	;;
   12236     esac
   12237   fi
   12238 
   12239 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12240 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12241 
   12242 #
   12243 # Check to make sure the PIC flag actually works.
   12244 #
   12245 if test -n "$lt_prog_compiler_pic_CXX"; then
   12246 
   12247 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12248 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12249 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12250   echo $ECHO_N "(cached) $ECHO_C" >&6
   12251 else
   12252   lt_prog_compiler_pic_works_CXX=no
   12253   ac_outfile=conftest.$ac_objext
   12254    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12255    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12256    # Insert the option either (1) after the last *FLAGS variable, or
   12257    # (2) before a word containing "conftest.", or (3) at the end.
   12258    # Note that $ac_compile itself does not contain backslashes and begins
   12259    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12260    # The option is referenced via a variable to avoid confusing sed.
   12261    lt_compile=`echo "$ac_compile" | $SED \
   12262    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12263    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12264    -e 's:$: $lt_compiler_flag:'`
   12265    (eval echo "\"\$as_me:12265: $lt_compile\"" >&5)
   12266    (eval "$lt_compile" 2>conftest.err)
   12267    ac_status=$?
   12268    cat conftest.err >&5
   12269    echo "$as_me:12269: \$? = $ac_status" >&5
   12270    if (exit $ac_status) && test -s "$ac_outfile"; then
   12271      # The compiler can only warn and ignore the option if not recognized
   12272      # So say no if there are warnings other than the usual output.
   12273      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12274      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12275      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12276        lt_prog_compiler_pic_works_CXX=yes
   12277      fi
   12278    fi
   12279    $rm conftest*
   12280 
   12281 fi
   12282 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12283 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12284 
   12285 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12286     case $lt_prog_compiler_pic_CXX in
   12287      "" | " "*) ;;
   12288      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12289      esac
   12290 else
   12291     lt_prog_compiler_pic_CXX=
   12292      lt_prog_compiler_can_build_shared_CXX=no
   12293 fi
   12294 
   12295 fi
   12296 case $host_os in
   12297   # For platforms which do not support PIC, -DPIC is meaningless:
   12298   *djgpp*)
   12299     lt_prog_compiler_pic_CXX=
   12300     ;;
   12301   *)
   12302     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12303     ;;
   12304 esac
   12305 
   12306 #
   12307 # Check to make sure the static flag actually works.
   12308 #
   12309 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12310 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12311 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12312 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12313   echo $ECHO_N "(cached) $ECHO_C" >&6
   12314 else
   12315   lt_prog_compiler_static_works_CXX=no
   12316    save_LDFLAGS="$LDFLAGS"
   12317    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12318    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12319    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12320      # The linker can only warn and ignore the option if not recognized
   12321      # So say no if there are warnings
   12322      if test -s conftest.err; then
   12323        # Append any errors to the config.log.
   12324        cat conftest.err 1>&5
   12325        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12326        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12327        if diff conftest.exp conftest.er2 >/dev/null; then
   12328          lt_prog_compiler_static_works_CXX=yes
   12329        fi
   12330      else
   12331        lt_prog_compiler_static_works_CXX=yes
   12332      fi
   12333    fi
   12334    $rm conftest*
   12335    LDFLAGS="$save_LDFLAGS"
   12336 
   12337 fi
   12338 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12339 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12340 
   12341 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12342     :
   12343 else
   12344     lt_prog_compiler_static_CXX=
   12345 fi
   12346 
   12347 
   12348 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12349 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12350 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12351   echo $ECHO_N "(cached) $ECHO_C" >&6
   12352 else
   12353   lt_cv_prog_compiler_c_o_CXX=no
   12354    $rm -r conftest 2>/dev/null
   12355    mkdir conftest
   12356    cd conftest
   12357    mkdir out
   12358    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12359 
   12360    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12361    # Insert the option either (1) after the last *FLAGS variable, or
   12362    # (2) before a word containing "conftest.", or (3) at the end.
   12363    # Note that $ac_compile itself does not contain backslashes and begins
   12364    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12365    lt_compile=`echo "$ac_compile" | $SED \
   12366    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12367    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12368    -e 's:$: $lt_compiler_flag:'`
   12369    (eval echo "\"\$as_me:12369: $lt_compile\"" >&5)
   12370    (eval "$lt_compile" 2>out/conftest.err)
   12371    ac_status=$?
   12372    cat out/conftest.err >&5
   12373    echo "$as_me:12373: \$? = $ac_status" >&5
   12374    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12375    then
   12376      # The compiler can only warn and ignore the option if not recognized
   12377      # So say no if there are warnings
   12378      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12379      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12380      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12381        lt_cv_prog_compiler_c_o_CXX=yes
   12382      fi
   12383    fi
   12384    chmod u+w . 2>&5
   12385    $rm conftest*
   12386    # SGI C++ compiler will create directory out/ii_files/ for
   12387    # template instantiation
   12388    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12389    $rm out/* && rmdir out
   12390    cd ..
   12391    rmdir conftest
   12392    $rm conftest*
   12393 
   12394 fi
   12395 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12396 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12397 
   12398 
   12399 hard_links="nottested"
   12400 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12401   # do not overwrite the value of need_locks provided by the user
   12402   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12403 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12404   hard_links=yes
   12405   $rm conftest*
   12406   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12407   touch conftest.a
   12408   ln conftest.a conftest.b 2>&5 || hard_links=no
   12409   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12410   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12411 echo "${ECHO_T}$hard_links" >&6; }
   12412   if test "$hard_links" = no; then
   12413     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12414 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12415     need_locks=warn
   12416   fi
   12417 else
   12418   need_locks=no
   12419 fi
   12420 
   12421 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12422 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12423 
   12424   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12425   case $host_os in
   12426   aix4* | aix5*)
   12427     # If we're using GNU nm, then we don't want the "-C" option.
   12428     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12429     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12430       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'
   12431     else
   12432       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'
   12433     fi
   12434     ;;
   12435   pw32*)
   12436     export_symbols_cmds_CXX="$ltdll_cmds"
   12437   ;;
   12438   cygwin* | mingw*)
   12439     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'
   12440   ;;
   12441   *)
   12442     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12443   ;;
   12444   esac
   12445 
   12446 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12447 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12448 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12449 
   12450 #
   12451 # Do we need to explicitly link libc?
   12452 #
   12453 case "x$archive_cmds_need_lc_CXX" in
   12454 x|xyes)
   12455   # Assume -lc should be added
   12456   archive_cmds_need_lc_CXX=yes
   12457 
   12458   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12459     case $archive_cmds_CXX in
   12460     *'~'*)
   12461       # FIXME: we may have to deal with multi-command sequences.
   12462       ;;
   12463     '$CC '*)
   12464       # Test whether the compiler implicitly links with -lc since on some
   12465       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12466       # to ld, don't add -lc before -lgcc.
   12467       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12468 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12469       $rm conftest*
   12470       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12471 
   12472       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12473   (eval $ac_compile) 2>&5
   12474   ac_status=$?
   12475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12476   (exit $ac_status); } 2>conftest.err; then
   12477         soname=conftest
   12478         lib=conftest
   12479         libobjs=conftest.$ac_objext
   12480         deplibs=
   12481         wl=$lt_prog_compiler_wl_CXX
   12482 	pic_flag=$lt_prog_compiler_pic_CXX
   12483         compiler_flags=-v
   12484         linker_flags=-v
   12485         verstring=
   12486         output_objdir=.
   12487         libname=conftest
   12488         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12489         allow_undefined_flag_CXX=
   12490         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12491   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12492   ac_status=$?
   12493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12494   (exit $ac_status); }
   12495         then
   12496 	  archive_cmds_need_lc_CXX=no
   12497         else
   12498 	  archive_cmds_need_lc_CXX=yes
   12499         fi
   12500         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12501       else
   12502         cat conftest.err 1>&5
   12503       fi
   12504       $rm conftest*
   12505       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12506 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12507       ;;
   12508     esac
   12509   fi
   12510   ;;
   12511 esac
   12512 
   12513 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12514 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12515 library_names_spec=
   12516 libname_spec='lib$name'
   12517 soname_spec=
   12518 shrext_cmds=".so"
   12519 postinstall_cmds=
   12520 postuninstall_cmds=
   12521 finish_cmds=
   12522 finish_eval=
   12523 shlibpath_var=
   12524 shlibpath_overrides_runpath=unknown
   12525 version_type=none
   12526 dynamic_linker="$host_os ld.so"
   12527 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12528 if test "$GCC" = yes; then
   12529   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12530   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12531     # if the path contains ";" then we assume it to be the separator
   12532     # otherwise default to the standard path separator (i.e. ":") - it is
   12533     # assumed that no part of a normal pathname contains ";" but that should
   12534     # okay in the real world where ";" in dirpaths is itself problematic.
   12535     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12536   else
   12537     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12538   fi
   12539 else
   12540   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12541 fi
   12542 need_lib_prefix=unknown
   12543 hardcode_into_libs=no
   12544 
   12545 # when you set need_version to no, make sure it does not cause -set_version
   12546 # flags to be left without arguments
   12547 need_version=unknown
   12548 
   12549 case $host_os in
   12550 aix3*)
   12551   version_type=linux
   12552   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12553   shlibpath_var=LIBPATH
   12554 
   12555   # AIX 3 has no versioning support, so we append a major version to the name.
   12556   soname_spec='${libname}${release}${shared_ext}$major'
   12557   ;;
   12558 
   12559 aix4* | aix5*)
   12560   version_type=linux
   12561   need_lib_prefix=no
   12562   need_version=no
   12563   hardcode_into_libs=yes
   12564   if test "$host_cpu" = ia64; then
   12565     # AIX 5 supports IA64
   12566     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12567     shlibpath_var=LD_LIBRARY_PATH
   12568   else
   12569     # With GCC up to 2.95.x, collect2 would create an import file
   12570     # for dependence libraries.  The import file would start with
   12571     # the line `#! .'.  This would cause the generated library to
   12572     # depend on `.', always an invalid library.  This was fixed in
   12573     # development snapshots of GCC prior to 3.0.
   12574     case $host_os in
   12575       aix4 | aix4.[01] | aix4.[01].*)
   12576       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12577 	   echo ' yes '
   12578 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12579 	:
   12580       else
   12581 	can_build_shared=no
   12582       fi
   12583       ;;
   12584     esac
   12585     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12586     # soname into executable. Probably we can add versioning support to
   12587     # collect2, so additional links can be useful in future.
   12588     if test "$aix_use_runtimelinking" = yes; then
   12589       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12590       # instead of lib<name>.a to let people know that these are not
   12591       # typical AIX shared libraries.
   12592       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12593     else
   12594       # We preserve .a as extension for shared libraries through AIX4.2
   12595       # and later when we are not doing run time linking.
   12596       library_names_spec='${libname}${release}.a $libname.a'
   12597       soname_spec='${libname}${release}${shared_ext}$major'
   12598     fi
   12599     shlibpath_var=LIBPATH
   12600   fi
   12601   ;;
   12602 
   12603 amigaos*)
   12604   library_names_spec='$libname.ixlibrary $libname.a'
   12605   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12606   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'
   12607   ;;
   12608 
   12609 beos*)
   12610   library_names_spec='${libname}${shared_ext}'
   12611   dynamic_linker="$host_os ld.so"
   12612   shlibpath_var=LIBRARY_PATH
   12613   ;;
   12614 
   12615 bsdi[45]*)
   12616   version_type=linux
   12617   need_version=no
   12618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12619   soname_spec='${libname}${release}${shared_ext}$major'
   12620   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12621   shlibpath_var=LD_LIBRARY_PATH
   12622   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12623   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12624   # the default ld.so.conf also contains /usr/contrib/lib and
   12625   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12626   # libtool to hard-code these into programs
   12627   ;;
   12628 
   12629 cygwin* | mingw* | pw32*)
   12630   version_type=windows
   12631   shrext_cmds=".dll"
   12632   need_version=no
   12633   need_lib_prefix=no
   12634 
   12635   case $GCC,$host_os in
   12636   yes,cygwin* | yes,mingw* | yes,pw32*)
   12637     library_names_spec='$libname.dll.a'
   12638     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12639     postinstall_cmds='base_file=`basename \${file}`~
   12640       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12641       dldir=$destdir/`dirname \$dlpath`~
   12642       test -d \$dldir || mkdir -p \$dldir~
   12643       $install_prog $dir/$dlname \$dldir/$dlname~
   12644       chmod a+x \$dldir/$dlname'
   12645     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12646       dlpath=$dir/\$dldll~
   12647        $rm \$dlpath'
   12648     shlibpath_overrides_runpath=yes
   12649 
   12650     case $host_os in
   12651     cygwin*)
   12652       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12653       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12654       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12655       ;;
   12656     mingw*)
   12657       # MinGW DLLs use traditional 'lib' prefix
   12658       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12659       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12660       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12661         # It is most probably a Windows format PATH printed by
   12662         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12663         # path with ; separators, and with drive letters. We can handle the
   12664         # drive letters (cygwin fileutils understands them), so leave them,
   12665         # especially as we might pass files found there to a mingw objdump,
   12666         # which wouldn't understand a cygwinified path. Ahh.
   12667         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12668       else
   12669         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12670       fi
   12671       ;;
   12672     pw32*)
   12673       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12674       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12675       ;;
   12676     esac
   12677     ;;
   12678 
   12679   *)
   12680     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12681     ;;
   12682   esac
   12683   dynamic_linker='Win32 ld.exe'
   12684   # FIXME: first we should search . and the directory the executable is in
   12685   shlibpath_var=PATH
   12686   ;;
   12687 
   12688 darwin* | rhapsody*)
   12689   dynamic_linker="$host_os dyld"
   12690   version_type=darwin
   12691   need_lib_prefix=no
   12692   need_version=no
   12693   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12694   soname_spec='${libname}${release}${major}$shared_ext'
   12695   shlibpath_overrides_runpath=yes
   12696   shlibpath_var=DYLD_LIBRARY_PATH
   12697   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12698   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12699   if test "$GCC" = yes; then
   12700     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"`
   12701   else
   12702     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12703   fi
   12704   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12705   ;;
   12706 
   12707 dgux*)
   12708   version_type=linux
   12709   need_lib_prefix=no
   12710   need_version=no
   12711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12712   soname_spec='${libname}${release}${shared_ext}$major'
   12713   shlibpath_var=LD_LIBRARY_PATH
   12714   ;;
   12715 
   12716 freebsd1*)
   12717   dynamic_linker=no
   12718   ;;
   12719 
   12720 kfreebsd*-gnu)
   12721   version_type=linux
   12722   need_lib_prefix=no
   12723   need_version=no
   12724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12725   soname_spec='${libname}${release}${shared_ext}$major'
   12726   shlibpath_var=LD_LIBRARY_PATH
   12727   shlibpath_overrides_runpath=no
   12728   hardcode_into_libs=yes
   12729   dynamic_linker='GNU ld.so'
   12730   ;;
   12731 
   12732 freebsd* | dragonfly*)
   12733   # DragonFly does not have aout.  When/if they implement a new
   12734   # versioning mechanism, adjust this.
   12735   if test -x /usr/bin/objformat; then
   12736     objformat=`/usr/bin/objformat`
   12737   else
   12738     case $host_os in
   12739     freebsd[123]*) objformat=aout ;;
   12740     *) objformat=elf ;;
   12741     esac
   12742   fi
   12743   version_type=freebsd-$objformat
   12744   case $version_type in
   12745     freebsd-elf*)
   12746       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12747       need_version=no
   12748       need_lib_prefix=no
   12749       ;;
   12750     freebsd-*)
   12751       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12752       need_version=yes
   12753       ;;
   12754   esac
   12755   shlibpath_var=LD_LIBRARY_PATH
   12756   case $host_os in
   12757   freebsd2*)
   12758     shlibpath_overrides_runpath=yes
   12759     ;;
   12760   freebsd3.[01]* | freebsdelf3.[01]*)
   12761     shlibpath_overrides_runpath=yes
   12762     hardcode_into_libs=yes
   12763     ;;
   12764   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12765   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12766     shlibpath_overrides_runpath=no
   12767     hardcode_into_libs=yes
   12768     ;;
   12769   freebsd*) # from 4.6 on
   12770     shlibpath_overrides_runpath=yes
   12771     hardcode_into_libs=yes
   12772     ;;
   12773   esac
   12774   ;;
   12775 
   12776 gnu*)
   12777   version_type=linux
   12778   need_lib_prefix=no
   12779   need_version=no
   12780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12781   soname_spec='${libname}${release}${shared_ext}$major'
   12782   shlibpath_var=LD_LIBRARY_PATH
   12783   hardcode_into_libs=yes
   12784   ;;
   12785 
   12786 hpux9* | hpux10* | hpux11*)
   12787   # Give a soname corresponding to the major version so that dld.sl refuses to
   12788   # link against other versions.
   12789   version_type=sunos
   12790   need_lib_prefix=no
   12791   need_version=no
   12792   case $host_cpu in
   12793   ia64*)
   12794     shrext_cmds='.so'
   12795     hardcode_into_libs=yes
   12796     dynamic_linker="$host_os dld.so"
   12797     shlibpath_var=LD_LIBRARY_PATH
   12798     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12799     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12800     soname_spec='${libname}${release}${shared_ext}$major'
   12801     if test "X$HPUX_IA64_MODE" = X32; then
   12802       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12803     else
   12804       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12805     fi
   12806     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12807     ;;
   12808    hppa*64*)
   12809      shrext_cmds='.sl'
   12810      hardcode_into_libs=yes
   12811      dynamic_linker="$host_os dld.sl"
   12812      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12813      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12814      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12815      soname_spec='${libname}${release}${shared_ext}$major'
   12816      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12817      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12818      ;;
   12819    *)
   12820     shrext_cmds='.sl'
   12821     dynamic_linker="$host_os dld.sl"
   12822     shlibpath_var=SHLIB_PATH
   12823     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12824     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12825     soname_spec='${libname}${release}${shared_ext}$major'
   12826     ;;
   12827   esac
   12828   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12829   postinstall_cmds='chmod 555 $lib'
   12830   ;;
   12831 
   12832 interix3*)
   12833   version_type=linux
   12834   need_lib_prefix=no
   12835   need_version=no
   12836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12837   soname_spec='${libname}${release}${shared_ext}$major'
   12838   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12839   shlibpath_var=LD_LIBRARY_PATH
   12840   shlibpath_overrides_runpath=no
   12841   hardcode_into_libs=yes
   12842   ;;
   12843 
   12844 irix5* | irix6* | nonstopux*)
   12845   case $host_os in
   12846     nonstopux*) version_type=nonstopux ;;
   12847     *)
   12848 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12849 		version_type=linux
   12850 	else
   12851 		version_type=irix
   12852 	fi ;;
   12853   esac
   12854   need_lib_prefix=no
   12855   need_version=no
   12856   soname_spec='${libname}${release}${shared_ext}$major'
   12857   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12858   case $host_os in
   12859   irix5* | nonstopux*)
   12860     libsuff= shlibsuff=
   12861     ;;
   12862   *)
   12863     case $LD in # libtool.m4 will add one of these switches to LD
   12864     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12865       libsuff= shlibsuff= libmagic=32-bit;;
   12866     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12867       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12868     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12869       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12870     *) libsuff= shlibsuff= libmagic=never-match;;
   12871     esac
   12872     ;;
   12873   esac
   12874   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12875   shlibpath_overrides_runpath=no
   12876   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12877   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12878   hardcode_into_libs=yes
   12879   ;;
   12880 
   12881 # No shared lib support for Linux oldld, aout, or coff.
   12882 linux*oldld* | linux*aout* | linux*coff*)
   12883   dynamic_linker=no
   12884   ;;
   12885 
   12886 # This must be Linux ELF.
   12887 linux*)
   12888   version_type=linux
   12889   need_lib_prefix=no
   12890   need_version=no
   12891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12892   soname_spec='${libname}${release}${shared_ext}$major'
   12893   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12894   shlibpath_var=LD_LIBRARY_PATH
   12895   shlibpath_overrides_runpath=no
   12896   # This implies no fast_install, which is unacceptable.
   12897   # Some rework will be needed to allow for fast_install
   12898   # before this can be enabled.
   12899   hardcode_into_libs=yes
   12900 
   12901   # Append ld.so.conf contents to the search path
   12902   if test -f /etc/ld.so.conf; then
   12903     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' ' '`
   12904     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12905   fi
   12906 
   12907   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12908   # powerpc, because MkLinux only supported shared libraries with the
   12909   # GNU dynamic linker.  Since this was broken with cross compilers,
   12910   # most powerpc-linux boxes support dynamic linking these days and
   12911   # people can always --disable-shared, the test was removed, and we
   12912   # assume the GNU/Linux dynamic linker is in use.
   12913   dynamic_linker='GNU/Linux ld.so'
   12914   ;;
   12915 
   12916 knetbsd*-gnu)
   12917   version_type=linux
   12918   need_lib_prefix=no
   12919   need_version=no
   12920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12921   soname_spec='${libname}${release}${shared_ext}$major'
   12922   shlibpath_var=LD_LIBRARY_PATH
   12923   shlibpath_overrides_runpath=no
   12924   hardcode_into_libs=yes
   12925   dynamic_linker='GNU ld.so'
   12926   ;;
   12927 
   12928 netbsd*)
   12929   version_type=sunos
   12930   need_lib_prefix=no
   12931   need_version=no
   12932   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12933     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12934     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12935     dynamic_linker='NetBSD (a.out) ld.so'
   12936   else
   12937     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12938     soname_spec='${libname}${release}${shared_ext}$major'
   12939     dynamic_linker='NetBSD ld.elf_so'
   12940   fi
   12941   shlibpath_var=LD_LIBRARY_PATH
   12942   shlibpath_overrides_runpath=yes
   12943   hardcode_into_libs=yes
   12944   ;;
   12945 
   12946 newsos6)
   12947   version_type=linux
   12948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12949   shlibpath_var=LD_LIBRARY_PATH
   12950   shlibpath_overrides_runpath=yes
   12951   ;;
   12952 
   12953 nto-qnx*)
   12954   version_type=linux
   12955   need_lib_prefix=no
   12956   need_version=no
   12957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12958   soname_spec='${libname}${release}${shared_ext}$major'
   12959   shlibpath_var=LD_LIBRARY_PATH
   12960   shlibpath_overrides_runpath=yes
   12961   ;;
   12962 
   12963 openbsd*)
   12964   version_type=sunos
   12965   sys_lib_dlsearch_path_spec="/usr/lib"
   12966   need_lib_prefix=no
   12967   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12968   case $host_os in
   12969     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12970     *)                         need_version=no  ;;
   12971   esac
   12972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12973   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12974   shlibpath_var=LD_LIBRARY_PATH
   12975   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12976     case $host_os in
   12977       openbsd2.[89] | openbsd2.[89].*)
   12978 	shlibpath_overrides_runpath=no
   12979 	;;
   12980       *)
   12981 	shlibpath_overrides_runpath=yes
   12982 	;;
   12983       esac
   12984   else
   12985     shlibpath_overrides_runpath=yes
   12986   fi
   12987   ;;
   12988 
   12989 os2*)
   12990   libname_spec='$name'
   12991   shrext_cmds=".dll"
   12992   need_lib_prefix=no
   12993   library_names_spec='$libname${shared_ext} $libname.a'
   12994   dynamic_linker='OS/2 ld.exe'
   12995   shlibpath_var=LIBPATH
   12996   ;;
   12997 
   12998 osf3* | osf4* | osf5*)
   12999   version_type=osf
   13000   need_lib_prefix=no
   13001   need_version=no
   13002   soname_spec='${libname}${release}${shared_ext}$major'
   13003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13004   shlibpath_var=LD_LIBRARY_PATH
   13005   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13006   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13007   ;;
   13008 
   13009 solaris*)
   13010   version_type=linux
   13011   need_lib_prefix=no
   13012   need_version=no
   13013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13014   soname_spec='${libname}${release}${shared_ext}$major'
   13015   shlibpath_var=LD_LIBRARY_PATH
   13016   shlibpath_overrides_runpath=yes
   13017   hardcode_into_libs=yes
   13018   # ldd complains unless libraries are executable
   13019   postinstall_cmds='chmod +x $lib'
   13020   ;;
   13021 
   13022 sunos4*)
   13023   version_type=sunos
   13024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13025   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13026   shlibpath_var=LD_LIBRARY_PATH
   13027   shlibpath_overrides_runpath=yes
   13028   if test "$with_gnu_ld" = yes; then
   13029     need_lib_prefix=no
   13030   fi
   13031   need_version=yes
   13032   ;;
   13033 
   13034 sysv4 | sysv4.3*)
   13035   version_type=linux
   13036   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13037   soname_spec='${libname}${release}${shared_ext}$major'
   13038   shlibpath_var=LD_LIBRARY_PATH
   13039   case $host_vendor in
   13040     sni)
   13041       shlibpath_overrides_runpath=no
   13042       need_lib_prefix=no
   13043       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13044       runpath_var=LD_RUN_PATH
   13045       ;;
   13046     siemens)
   13047       need_lib_prefix=no
   13048       ;;
   13049     motorola)
   13050       need_lib_prefix=no
   13051       need_version=no
   13052       shlibpath_overrides_runpath=no
   13053       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13054       ;;
   13055   esac
   13056   ;;
   13057 
   13058 sysv4*MP*)
   13059   if test -d /usr/nec ;then
   13060     version_type=linux
   13061     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13062     soname_spec='$libname${shared_ext}.$major'
   13063     shlibpath_var=LD_LIBRARY_PATH
   13064   fi
   13065   ;;
   13066 
   13067 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13068   version_type=freebsd-elf
   13069   need_lib_prefix=no
   13070   need_version=no
   13071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13072   soname_spec='${libname}${release}${shared_ext}$major'
   13073   shlibpath_var=LD_LIBRARY_PATH
   13074   hardcode_into_libs=yes
   13075   if test "$with_gnu_ld" = yes; then
   13076     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13077     shlibpath_overrides_runpath=no
   13078   else
   13079     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13080     shlibpath_overrides_runpath=yes
   13081     case $host_os in
   13082       sco3.2v5*)
   13083         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13084 	;;
   13085     esac
   13086   fi
   13087   sys_lib_dlsearch_path_spec='/usr/lib'
   13088   ;;
   13089 
   13090 uts4*)
   13091   version_type=linux
   13092   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13093   soname_spec='${libname}${release}${shared_ext}$major'
   13094   shlibpath_var=LD_LIBRARY_PATH
   13095   ;;
   13096 
   13097 *)
   13098   dynamic_linker=no
   13099   ;;
   13100 esac
   13101 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13102 echo "${ECHO_T}$dynamic_linker" >&6; }
   13103 test "$dynamic_linker" = no && can_build_shared=no
   13104 
   13105 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13106 if test "$GCC" = yes; then
   13107   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13108 fi
   13109 
   13110 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13111 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13112 hardcode_action_CXX=
   13113 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13114    test -n "$runpath_var_CXX" || \
   13115    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13116 
   13117   # We can hardcode non-existant directories.
   13118   if test "$hardcode_direct_CXX" != no &&
   13119      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13120      # have to relink, otherwise we might link with an installed library
   13121      # when we should be linking with a yet-to-be-installed one
   13122      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13123      test "$hardcode_minus_L_CXX" != no; then
   13124     # Linking always hardcodes the temporary library directory.
   13125     hardcode_action_CXX=relink
   13126   else
   13127     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13128     hardcode_action_CXX=immediate
   13129   fi
   13130 else
   13131   # We cannot hardcode anything, or else we can only hardcode existing
   13132   # directories.
   13133   hardcode_action_CXX=unsupported
   13134 fi
   13135 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13136 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13137 
   13138 if test "$hardcode_action_CXX" = relink; then
   13139   # Fast installation is not supported
   13140   enable_fast_install=no
   13141 elif test "$shlibpath_overrides_runpath" = yes ||
   13142      test "$enable_shared" = no; then
   13143   # Fast installation is not necessary
   13144   enable_fast_install=needless
   13145 fi
   13146 
   13147 
   13148 # The else clause should only fire when bootstrapping the
   13149 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13150 # with your package, and you will get complaints that there are
   13151 # no rules to generate ltmain.sh.
   13152 if test -f "$ltmain"; then
   13153   # See if we are running on zsh, and set the options which allow our commands through
   13154   # without removal of \ escapes.
   13155   if test -n "${ZSH_VERSION+set}" ; then
   13156     setopt NO_GLOB_SUBST
   13157   fi
   13158   # Now quote all the things that may contain metacharacters while being
   13159   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13160   # variables and quote the copies for generation of the libtool script.
   13161   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13162     SED SHELL STRIP \
   13163     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13164     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13165     deplibs_check_method reload_flag reload_cmds need_locks \
   13166     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13167     lt_cv_sys_global_symbol_to_c_name_address \
   13168     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13169     old_postinstall_cmds old_postuninstall_cmds \
   13170     compiler_CXX \
   13171     CC_CXX \
   13172     LD_CXX \
   13173     lt_prog_compiler_wl_CXX \
   13174     lt_prog_compiler_pic_CXX \
   13175     lt_prog_compiler_static_CXX \
   13176     lt_prog_compiler_no_builtin_flag_CXX \
   13177     export_dynamic_flag_spec_CXX \
   13178     thread_safe_flag_spec_CXX \
   13179     whole_archive_flag_spec_CXX \
   13180     enable_shared_with_static_runtimes_CXX \
   13181     old_archive_cmds_CXX \
   13182     old_archive_from_new_cmds_CXX \
   13183     predep_objects_CXX \
   13184     postdep_objects_CXX \
   13185     predeps_CXX \
   13186     postdeps_CXX \
   13187     compiler_lib_search_path_CXX \
   13188     archive_cmds_CXX \
   13189     archive_expsym_cmds_CXX \
   13190     postinstall_cmds_CXX \
   13191     postuninstall_cmds_CXX \
   13192     old_archive_from_expsyms_cmds_CXX \
   13193     allow_undefined_flag_CXX \
   13194     no_undefined_flag_CXX \
   13195     export_symbols_cmds_CXX \
   13196     hardcode_libdir_flag_spec_CXX \
   13197     hardcode_libdir_flag_spec_ld_CXX \
   13198     hardcode_libdir_separator_CXX \
   13199     hardcode_automatic_CXX \
   13200     module_cmds_CXX \
   13201     module_expsym_cmds_CXX \
   13202     lt_cv_prog_compiler_c_o_CXX \
   13203     exclude_expsyms_CXX \
   13204     include_expsyms_CXX; do
   13205 
   13206     case $var in
   13207     old_archive_cmds_CXX | \
   13208     old_archive_from_new_cmds_CXX | \
   13209     archive_cmds_CXX | \
   13210     archive_expsym_cmds_CXX | \
   13211     module_cmds_CXX | \
   13212     module_expsym_cmds_CXX | \
   13213     old_archive_from_expsyms_cmds_CXX | \
   13214     export_symbols_cmds_CXX | \
   13215     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13216     postinstall_cmds | postuninstall_cmds | \
   13217     old_postinstall_cmds | old_postuninstall_cmds | \
   13218     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13219       # Double-quote double-evaled strings.
   13220       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13221       ;;
   13222     *)
   13223       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13224       ;;
   13225     esac
   13226   done
   13227 
   13228   case $lt_echo in
   13229   *'\$0 --fallback-echo"')
   13230     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13231     ;;
   13232   esac
   13233 
   13234 cfgfile="$ofile"
   13235 
   13236   cat <<__EOF__ >> "$cfgfile"
   13237 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13238 
   13239 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13240 
   13241 # Shell to use when invoking shell scripts.
   13242 SHELL=$lt_SHELL
   13243 
   13244 # Whether or not to build shared libraries.
   13245 build_libtool_libs=$enable_shared
   13246 
   13247 # Whether or not to build static libraries.
   13248 build_old_libs=$enable_static
   13249 
   13250 # Whether or not to add -lc for building shared libraries.
   13251 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13252 
   13253 # Whether or not to disallow shared libs when runtime libs are static
   13254 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13255 
   13256 # Whether or not to optimize for fast installation.
   13257 fast_install=$enable_fast_install
   13258 
   13259 # The host system.
   13260 host_alias=$host_alias
   13261 host=$host
   13262 host_os=$host_os
   13263 
   13264 # The build system.
   13265 build_alias=$build_alias
   13266 build=$build
   13267 build_os=$build_os
   13268 
   13269 # An echo program that does not interpret backslashes.
   13270 echo=$lt_echo
   13271 
   13272 # The archiver.
   13273 AR=$lt_AR
   13274 AR_FLAGS=$lt_AR_FLAGS
   13275 
   13276 # A C compiler.
   13277 LTCC=$lt_LTCC
   13278 
   13279 # LTCC compiler flags.
   13280 LTCFLAGS=$lt_LTCFLAGS
   13281 
   13282 # A language-specific compiler.
   13283 CC=$lt_compiler_CXX
   13284 
   13285 # Is the compiler the GNU C compiler?
   13286 with_gcc=$GCC_CXX
   13287 
   13288 # An ERE matcher.
   13289 EGREP=$lt_EGREP
   13290 
   13291 # The linker used to build libraries.
   13292 LD=$lt_LD_CXX
   13293 
   13294 # Whether we need hard or soft links.
   13295 LN_S=$lt_LN_S
   13296 
   13297 # A BSD-compatible nm program.
   13298 NM=$lt_NM
   13299 
   13300 # A symbol stripping program
   13301 STRIP=$lt_STRIP
   13302 
   13303 # Used to examine libraries when file_magic_cmd begins "file"
   13304 MAGIC_CMD=$MAGIC_CMD
   13305 
   13306 # Used on cygwin: DLL creation program.
   13307 DLLTOOL="$DLLTOOL"
   13308 
   13309 # Used on cygwin: object dumper.
   13310 OBJDUMP="$OBJDUMP"
   13311 
   13312 # Used on cygwin: assembler.
   13313 AS="$AS"
   13314 
   13315 # The name of the directory that contains temporary libtool files.
   13316 objdir=$objdir
   13317 
   13318 # How to create reloadable object files.
   13319 reload_flag=$lt_reload_flag
   13320 reload_cmds=$lt_reload_cmds
   13321 
   13322 # How to pass a linker flag through the compiler.
   13323 wl=$lt_lt_prog_compiler_wl_CXX
   13324 
   13325 # Object file suffix (normally "o").
   13326 objext="$ac_objext"
   13327 
   13328 # Old archive suffix (normally "a").
   13329 libext="$libext"
   13330 
   13331 # Shared library suffix (normally ".so").
   13332 shrext_cmds='$shrext_cmds'
   13333 
   13334 # Executable file suffix (normally "").
   13335 exeext="$exeext"
   13336 
   13337 # Additional compiler flags for building library objects.
   13338 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13339 pic_mode=$pic_mode
   13340 
   13341 # What is the maximum length of a command?
   13342 max_cmd_len=$lt_cv_sys_max_cmd_len
   13343 
   13344 # Does compiler simultaneously support -c and -o options?
   13345 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13346 
   13347 # Must we lock files when doing compilation?
   13348 need_locks=$lt_need_locks
   13349 
   13350 # Do we need the lib prefix for modules?
   13351 need_lib_prefix=$need_lib_prefix
   13352 
   13353 # Do we need a version for libraries?
   13354 need_version=$need_version
   13355 
   13356 # Whether dlopen is supported.
   13357 dlopen_support=$enable_dlopen
   13358 
   13359 # Whether dlopen of programs is supported.
   13360 dlopen_self=$enable_dlopen_self
   13361 
   13362 # Whether dlopen of statically linked programs is supported.
   13363 dlopen_self_static=$enable_dlopen_self_static
   13364 
   13365 # Compiler flag to prevent dynamic linking.
   13366 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13367 
   13368 # Compiler flag to turn off builtin functions.
   13369 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13370 
   13371 # Compiler flag to allow reflexive dlopens.
   13372 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13373 
   13374 # Compiler flag to generate shared objects directly from archives.
   13375 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13376 
   13377 # Compiler flag to generate thread-safe objects.
   13378 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13379 
   13380 # Library versioning type.
   13381 version_type=$version_type
   13382 
   13383 # Format of library name prefix.
   13384 libname_spec=$lt_libname_spec
   13385 
   13386 # List of archive names.  First name is the real one, the rest are links.
   13387 # The last name is the one that the linker finds with -lNAME.
   13388 library_names_spec=$lt_library_names_spec
   13389 
   13390 # The coded name of the library, if different from the real name.
   13391 soname_spec=$lt_soname_spec
   13392 
   13393 # Commands used to build and install an old-style archive.
   13394 RANLIB=$lt_RANLIB
   13395 old_archive_cmds=$lt_old_archive_cmds_CXX
   13396 old_postinstall_cmds=$lt_old_postinstall_cmds
   13397 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13398 
   13399 # Create an old-style archive from a shared archive.
   13400 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13401 
   13402 # Create a temporary old-style archive to link instead of a shared archive.
   13403 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13404 
   13405 # Commands used to build and install a shared archive.
   13406 archive_cmds=$lt_archive_cmds_CXX
   13407 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13408 postinstall_cmds=$lt_postinstall_cmds
   13409 postuninstall_cmds=$lt_postuninstall_cmds
   13410 
   13411 # Commands used to build a loadable module (assumed same as above if empty)
   13412 module_cmds=$lt_module_cmds_CXX
   13413 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13414 
   13415 # Commands to strip libraries.
   13416 old_striplib=$lt_old_striplib
   13417 striplib=$lt_striplib
   13418 
   13419 # Dependencies to place before the objects being linked to create a
   13420 # shared library.
   13421 predep_objects=$lt_predep_objects_CXX
   13422 
   13423 # Dependencies to place after the objects being linked to create a
   13424 # shared library.
   13425 postdep_objects=$lt_postdep_objects_CXX
   13426 
   13427 # Dependencies to place before the objects being linked to create a
   13428 # shared library.
   13429 predeps=$lt_predeps_CXX
   13430 
   13431 # Dependencies to place after the objects being linked to create a
   13432 # shared library.
   13433 postdeps=$lt_postdeps_CXX
   13434 
   13435 # The library search path used internally by the compiler when linking
   13436 # a shared library.
   13437 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13438 
   13439 # Method to check whether dependent libraries are shared objects.
   13440 deplibs_check_method=$lt_deplibs_check_method
   13441 
   13442 # Command to use when deplibs_check_method == file_magic.
   13443 file_magic_cmd=$lt_file_magic_cmd
   13444 
   13445 # Flag that allows shared libraries with undefined symbols to be built.
   13446 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13447 
   13448 # Flag that forces no undefined symbols.
   13449 no_undefined_flag=$lt_no_undefined_flag_CXX
   13450 
   13451 # Commands used to finish a libtool library installation in a directory.
   13452 finish_cmds=$lt_finish_cmds
   13453 
   13454 # Same as above, but a single script fragment to be evaled but not shown.
   13455 finish_eval=$lt_finish_eval
   13456 
   13457 # Take the output of nm and produce a listing of raw symbols and C names.
   13458 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13459 
   13460 # Transform the output of nm in a proper C declaration
   13461 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13462 
   13463 # Transform the output of nm in a C name address pair
   13464 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13465 
   13466 # This is the shared library runtime path variable.
   13467 runpath_var=$runpath_var
   13468 
   13469 # This is the shared library path variable.
   13470 shlibpath_var=$shlibpath_var
   13471 
   13472 # Is shlibpath searched before the hard-coded library search path?
   13473 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13474 
   13475 # How to hardcode a shared library path into an executable.
   13476 hardcode_action=$hardcode_action_CXX
   13477 
   13478 # Whether we should hardcode library paths into libraries.
   13479 hardcode_into_libs=$hardcode_into_libs
   13480 
   13481 # Flag to hardcode \$libdir into a binary during linking.
   13482 # This must work even if \$libdir does not exist.
   13483 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13484 
   13485 # If ld is used when linking, flag to hardcode \$libdir into
   13486 # a binary during linking. This must work even if \$libdir does
   13487 # not exist.
   13488 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13489 
   13490 # Whether we need a single -rpath flag with a separated argument.
   13491 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13492 
   13493 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13494 # resulting binary.
   13495 hardcode_direct=$hardcode_direct_CXX
   13496 
   13497 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13498 # resulting binary.
   13499 hardcode_minus_L=$hardcode_minus_L_CXX
   13500 
   13501 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13502 # the resulting binary.
   13503 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13504 
   13505 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13506 # and all subsequent libraries and executables linked against it.
   13507 hardcode_automatic=$hardcode_automatic_CXX
   13508 
   13509 # Variables whose values should be saved in libtool wrapper scripts and
   13510 # restored at relink time.
   13511 variables_saved_for_relink="$variables_saved_for_relink"
   13512 
   13513 # Whether libtool must link a program against all its dependency libraries.
   13514 link_all_deplibs=$link_all_deplibs_CXX
   13515 
   13516 # Compile-time system search path for libraries
   13517 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13518 
   13519 # Run-time system search path for libraries
   13520 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13521 
   13522 # Fix the shell variable \$srcfile for the compiler.
   13523 fix_srcfile_path="$fix_srcfile_path_CXX"
   13524 
   13525 # Set to yes if exported symbols are required.
   13526 always_export_symbols=$always_export_symbols_CXX
   13527 
   13528 # The commands to list exported symbols.
   13529 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13530 
   13531 # The commands to extract the exported symbol list from a shared archive.
   13532 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13533 
   13534 # Symbols that should not be listed in the preloaded symbols.
   13535 exclude_expsyms=$lt_exclude_expsyms_CXX
   13536 
   13537 # Symbols that must always be exported.
   13538 include_expsyms=$lt_include_expsyms_CXX
   13539 
   13540 # ### END LIBTOOL TAG CONFIG: $tagname
   13541 
   13542 __EOF__
   13543 
   13544 
   13545 else
   13546   # If there is no Makefile yet, we rely on a make rule to execute
   13547   # `config.status --recheck' to rerun these tests and create the
   13548   # libtool script then.
   13549   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13550   if test -f "$ltmain_in"; then
   13551     test -f Makefile && make "$ltmain"
   13552   fi
   13553 fi
   13554 
   13555 
   13556 ac_ext=c
   13557 ac_cpp='$CPP $CPPFLAGS'
   13558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13561 
   13562 CC=$lt_save_CC
   13563 LDCXX=$LD
   13564 LD=$lt_save_LD
   13565 GCC=$lt_save_GCC
   13566 with_gnu_ldcxx=$with_gnu_ld
   13567 with_gnu_ld=$lt_save_with_gnu_ld
   13568 lt_cv_path_LDCXX=$lt_cv_path_LD
   13569 lt_cv_path_LD=$lt_save_path_LD
   13570 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13571 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13572 
   13573 	else
   13574 	  tagname=""
   13575 	fi
   13576 	;;
   13577 
   13578       F77)
   13579 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13580 
   13581 ac_ext=f
   13582 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13583 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13584 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13585 
   13586 
   13587 archive_cmds_need_lc_F77=no
   13588 allow_undefined_flag_F77=
   13589 always_export_symbols_F77=no
   13590 archive_expsym_cmds_F77=
   13591 export_dynamic_flag_spec_F77=
   13592 hardcode_direct_F77=no
   13593 hardcode_libdir_flag_spec_F77=
   13594 hardcode_libdir_flag_spec_ld_F77=
   13595 hardcode_libdir_separator_F77=
   13596 hardcode_minus_L_F77=no
   13597 hardcode_automatic_F77=no
   13598 module_cmds_F77=
   13599 module_expsym_cmds_F77=
   13600 link_all_deplibs_F77=unknown
   13601 old_archive_cmds_F77=$old_archive_cmds
   13602 no_undefined_flag_F77=
   13603 whole_archive_flag_spec_F77=
   13604 enable_shared_with_static_runtimes_F77=no
   13605 
   13606 # Source file extension for f77 test sources.
   13607 ac_ext=f
   13608 
   13609 # Object file extension for compiled f77 test sources.
   13610 objext=o
   13611 objext_F77=$objext
   13612 
   13613 # Code to be used in simple compile tests
   13614 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13615 
   13616 # Code to be used in simple link tests
   13617 lt_simple_link_test_code="      program t\n      end\n"
   13618 
   13619 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13620 
   13621 # If no C compiler was specified, use CC.
   13622 LTCC=${LTCC-"$CC"}
   13623 
   13624 # If no C compiler flags were specified, use CFLAGS.
   13625 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13626 
   13627 # Allow CC to be a program name with arguments.
   13628 compiler=$CC
   13629 
   13630 
   13631 # save warnings/boilerplate of simple test code
   13632 ac_outfile=conftest.$ac_objext
   13633 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13634 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13635 _lt_compiler_boilerplate=`cat conftest.err`
   13636 $rm conftest*
   13637 
   13638 ac_outfile=conftest.$ac_objext
   13639 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13640 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13641 _lt_linker_boilerplate=`cat conftest.err`
   13642 $rm conftest*
   13643 
   13644 
   13645 # Allow CC to be a program name with arguments.
   13646 lt_save_CC="$CC"
   13647 CC=${F77-"f77"}
   13648 compiler=$CC
   13649 compiler_F77=$CC
   13650 for cc_temp in $compiler""; do
   13651   case $cc_temp in
   13652     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13653     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13654     \-*) ;;
   13655     *) break;;
   13656   esac
   13657 done
   13658 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13659 
   13660 
   13661 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13662 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13663 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13664 echo "${ECHO_T}$can_build_shared" >&6; }
   13665 
   13666 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13667 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13668 test "$can_build_shared" = "no" && enable_shared=no
   13669 
   13670 # On AIX, shared libraries and static libraries use the same namespace, and
   13671 # are all built from PIC.
   13672 case $host_os in
   13673 aix3*)
   13674   test "$enable_shared" = yes && enable_static=no
   13675   if test -n "$RANLIB"; then
   13676     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13677     postinstall_cmds='$RANLIB $lib'
   13678   fi
   13679   ;;
   13680 aix4* | aix5*)
   13681   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13682     test "$enable_shared" = yes && enable_static=no
   13683   fi
   13684   ;;
   13685 esac
   13686 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13687 echo "${ECHO_T}$enable_shared" >&6; }
   13688 
   13689 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13690 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13691 # Make sure either enable_shared or enable_static is yes.
   13692 test "$enable_shared" = yes || enable_static=yes
   13693 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13694 echo "${ECHO_T}$enable_static" >&6; }
   13695 
   13696 GCC_F77="$G77"
   13697 LD_F77="$LD"
   13698 
   13699 lt_prog_compiler_wl_F77=
   13700 lt_prog_compiler_pic_F77=
   13701 lt_prog_compiler_static_F77=
   13702 
   13703 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13704 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13705 
   13706   if test "$GCC" = yes; then
   13707     lt_prog_compiler_wl_F77='-Wl,'
   13708     lt_prog_compiler_static_F77='-static'
   13709 
   13710     case $host_os in
   13711       aix*)
   13712       # All AIX code is PIC.
   13713       if test "$host_cpu" = ia64; then
   13714 	# AIX 5 now supports IA64 processor
   13715 	lt_prog_compiler_static_F77='-Bstatic'
   13716       fi
   13717       ;;
   13718 
   13719     amigaos*)
   13720       # FIXME: we need at least 68020 code to build shared libraries, but
   13721       # adding the `-m68020' flag to GCC prevents building anything better,
   13722       # like `-m68040'.
   13723       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13724       ;;
   13725 
   13726     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13727       # PIC is the default for these OSes.
   13728       ;;
   13729 
   13730     mingw* | pw32* | os2*)
   13731       # This hack is so that the source file can tell whether it is being
   13732       # built for inclusion in a dll (and should export symbols for example).
   13733       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13734       ;;
   13735 
   13736     darwin* | rhapsody*)
   13737       # PIC is the default on this platform
   13738       # Common symbols not allowed in MH_DYLIB files
   13739       lt_prog_compiler_pic_F77='-fno-common'
   13740       ;;
   13741 
   13742     interix3*)
   13743       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13744       # Instead, we relocate shared libraries at runtime.
   13745       ;;
   13746 
   13747     msdosdjgpp*)
   13748       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13749       # on systems that don't support them.
   13750       lt_prog_compiler_can_build_shared_F77=no
   13751       enable_shared=no
   13752       ;;
   13753 
   13754     sysv4*MP*)
   13755       if test -d /usr/nec; then
   13756 	lt_prog_compiler_pic_F77=-Kconform_pic
   13757       fi
   13758       ;;
   13759 
   13760     hpux*)
   13761       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13762       # not for PA HP-UX.
   13763       case $host_cpu in
   13764       hppa*64*|ia64*)
   13765 	# +Z the default
   13766 	;;
   13767       *)
   13768 	lt_prog_compiler_pic_F77='-fPIC'
   13769 	;;
   13770       esac
   13771       ;;
   13772 
   13773     *)
   13774       lt_prog_compiler_pic_F77='-fPIC'
   13775       ;;
   13776     esac
   13777   else
   13778     # PORTME Check for flag to pass linker flags through the system compiler.
   13779     case $host_os in
   13780     aix*)
   13781       lt_prog_compiler_wl_F77='-Wl,'
   13782       if test "$host_cpu" = ia64; then
   13783 	# AIX 5 now supports IA64 processor
   13784 	lt_prog_compiler_static_F77='-Bstatic'
   13785       else
   13786 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13787       fi
   13788       ;;
   13789       darwin*)
   13790         # PIC is the default on this platform
   13791         # Common symbols not allowed in MH_DYLIB files
   13792        case $cc_basename in
   13793          xlc*)
   13794          lt_prog_compiler_pic_F77='-qnocommon'
   13795          lt_prog_compiler_wl_F77='-Wl,'
   13796          ;;
   13797        esac
   13798        ;;
   13799 
   13800     mingw* | pw32* | os2*)
   13801       # This hack is so that the source file can tell whether it is being
   13802       # built for inclusion in a dll (and should export symbols for example).
   13803       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13804       ;;
   13805 
   13806     hpux9* | hpux10* | hpux11*)
   13807       lt_prog_compiler_wl_F77='-Wl,'
   13808       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13809       # not for PA HP-UX.
   13810       case $host_cpu in
   13811       hppa*64*|ia64*)
   13812 	# +Z the default
   13813 	;;
   13814       *)
   13815 	lt_prog_compiler_pic_F77='+Z'
   13816 	;;
   13817       esac
   13818       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13819       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13820       ;;
   13821 
   13822     irix5* | irix6* | nonstopux*)
   13823       lt_prog_compiler_wl_F77='-Wl,'
   13824       # PIC (with -KPIC) is the default.
   13825       lt_prog_compiler_static_F77='-non_shared'
   13826       ;;
   13827 
   13828     newsos6)
   13829       lt_prog_compiler_pic_F77='-KPIC'
   13830       lt_prog_compiler_static_F77='-Bstatic'
   13831       ;;
   13832 
   13833     linux*)
   13834       case $cc_basename in
   13835       icc* | ecc*)
   13836 	lt_prog_compiler_wl_F77='-Wl,'
   13837 	lt_prog_compiler_pic_F77='-KPIC'
   13838 	lt_prog_compiler_static_F77='-static'
   13839         ;;
   13840       pgcc* | pgf77* | pgf90* | pgf95*)
   13841         # Portland Group compilers (*not* the Pentium gcc compiler,
   13842 	# which looks to be a dead project)
   13843 	lt_prog_compiler_wl_F77='-Wl,'
   13844 	lt_prog_compiler_pic_F77='-fpic'
   13845 	lt_prog_compiler_static_F77='-Bstatic'
   13846         ;;
   13847       ccc*)
   13848         lt_prog_compiler_wl_F77='-Wl,'
   13849         # All Alpha code is PIC.
   13850         lt_prog_compiler_static_F77='-non_shared'
   13851         ;;
   13852       esac
   13853       ;;
   13854 
   13855     osf3* | osf4* | osf5*)
   13856       lt_prog_compiler_wl_F77='-Wl,'
   13857       # All OSF/1 code is PIC.
   13858       lt_prog_compiler_static_F77='-non_shared'
   13859       ;;
   13860 
   13861     solaris*)
   13862       lt_prog_compiler_pic_F77='-KPIC'
   13863       lt_prog_compiler_static_F77='-Bstatic'
   13864       case $cc_basename in
   13865       f77* | f90* | f95*)
   13866 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13867       *)
   13868 	lt_prog_compiler_wl_F77='-Wl,';;
   13869       esac
   13870       ;;
   13871 
   13872     sunos4*)
   13873       lt_prog_compiler_wl_F77='-Qoption ld '
   13874       lt_prog_compiler_pic_F77='-PIC'
   13875       lt_prog_compiler_static_F77='-Bstatic'
   13876       ;;
   13877 
   13878     sysv4 | sysv4.2uw2* | sysv4.3*)
   13879       lt_prog_compiler_wl_F77='-Wl,'
   13880       lt_prog_compiler_pic_F77='-KPIC'
   13881       lt_prog_compiler_static_F77='-Bstatic'
   13882       ;;
   13883 
   13884     sysv4*MP*)
   13885       if test -d /usr/nec ;then
   13886 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13887 	lt_prog_compiler_static_F77='-Bstatic'
   13888       fi
   13889       ;;
   13890 
   13891     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13892       lt_prog_compiler_wl_F77='-Wl,'
   13893       lt_prog_compiler_pic_F77='-KPIC'
   13894       lt_prog_compiler_static_F77='-Bstatic'
   13895       ;;
   13896 
   13897     unicos*)
   13898       lt_prog_compiler_wl_F77='-Wl,'
   13899       lt_prog_compiler_can_build_shared_F77=no
   13900       ;;
   13901 
   13902     uts4*)
   13903       lt_prog_compiler_pic_F77='-pic'
   13904       lt_prog_compiler_static_F77='-Bstatic'
   13905       ;;
   13906 
   13907     *)
   13908       lt_prog_compiler_can_build_shared_F77=no
   13909       ;;
   13910     esac
   13911   fi
   13912 
   13913 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13914 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13915 
   13916 #
   13917 # Check to make sure the PIC flag actually works.
   13918 #
   13919 if test -n "$lt_prog_compiler_pic_F77"; then
   13920 
   13921 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13922 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13923 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13924   echo $ECHO_N "(cached) $ECHO_C" >&6
   13925 else
   13926   lt_prog_compiler_pic_works_F77=no
   13927   ac_outfile=conftest.$ac_objext
   13928    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13929    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13930    # Insert the option either (1) after the last *FLAGS variable, or
   13931    # (2) before a word containing "conftest.", or (3) at the end.
   13932    # Note that $ac_compile itself does not contain backslashes and begins
   13933    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13934    # The option is referenced via a variable to avoid confusing sed.
   13935    lt_compile=`echo "$ac_compile" | $SED \
   13936    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13937    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13938    -e 's:$: $lt_compiler_flag:'`
   13939    (eval echo "\"\$as_me:13939: $lt_compile\"" >&5)
   13940    (eval "$lt_compile" 2>conftest.err)
   13941    ac_status=$?
   13942    cat conftest.err >&5
   13943    echo "$as_me:13943: \$? = $ac_status" >&5
   13944    if (exit $ac_status) && test -s "$ac_outfile"; then
   13945      # The compiler can only warn and ignore the option if not recognized
   13946      # So say no if there are warnings other than the usual output.
   13947      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13948      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13949      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13950        lt_prog_compiler_pic_works_F77=yes
   13951      fi
   13952    fi
   13953    $rm conftest*
   13954 
   13955 fi
   13956 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13957 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13958 
   13959 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13960     case $lt_prog_compiler_pic_F77 in
   13961      "" | " "*) ;;
   13962      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13963      esac
   13964 else
   13965     lt_prog_compiler_pic_F77=
   13966      lt_prog_compiler_can_build_shared_F77=no
   13967 fi
   13968 
   13969 fi
   13970 case $host_os in
   13971   # For platforms which do not support PIC, -DPIC is meaningless:
   13972   *djgpp*)
   13973     lt_prog_compiler_pic_F77=
   13974     ;;
   13975   *)
   13976     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13977     ;;
   13978 esac
   13979 
   13980 #
   13981 # Check to make sure the static flag actually works.
   13982 #
   13983 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13984 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13985 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13986 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13987   echo $ECHO_N "(cached) $ECHO_C" >&6
   13988 else
   13989   lt_prog_compiler_static_works_F77=no
   13990    save_LDFLAGS="$LDFLAGS"
   13991    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13992    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13993    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13994      # The linker can only warn and ignore the option if not recognized
   13995      # So say no if there are warnings
   13996      if test -s conftest.err; then
   13997        # Append any errors to the config.log.
   13998        cat conftest.err 1>&5
   13999        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14000        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14001        if diff conftest.exp conftest.er2 >/dev/null; then
   14002          lt_prog_compiler_static_works_F77=yes
   14003        fi
   14004      else
   14005        lt_prog_compiler_static_works_F77=yes
   14006      fi
   14007    fi
   14008    $rm conftest*
   14009    LDFLAGS="$save_LDFLAGS"
   14010 
   14011 fi
   14012 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14013 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14014 
   14015 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14016     :
   14017 else
   14018     lt_prog_compiler_static_F77=
   14019 fi
   14020 
   14021 
   14022 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14023 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14024 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14025   echo $ECHO_N "(cached) $ECHO_C" >&6
   14026 else
   14027   lt_cv_prog_compiler_c_o_F77=no
   14028    $rm -r conftest 2>/dev/null
   14029    mkdir conftest
   14030    cd conftest
   14031    mkdir out
   14032    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14033 
   14034    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14035    # Insert the option either (1) after the last *FLAGS variable, or
   14036    # (2) before a word containing "conftest.", or (3) at the end.
   14037    # Note that $ac_compile itself does not contain backslashes and begins
   14038    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14039    lt_compile=`echo "$ac_compile" | $SED \
   14040    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14041    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14042    -e 's:$: $lt_compiler_flag:'`
   14043    (eval echo "\"\$as_me:14043: $lt_compile\"" >&5)
   14044    (eval "$lt_compile" 2>out/conftest.err)
   14045    ac_status=$?
   14046    cat out/conftest.err >&5
   14047    echo "$as_me:14047: \$? = $ac_status" >&5
   14048    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14049    then
   14050      # The compiler can only warn and ignore the option if not recognized
   14051      # So say no if there are warnings
   14052      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14053      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14054      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14055        lt_cv_prog_compiler_c_o_F77=yes
   14056      fi
   14057    fi
   14058    chmod u+w . 2>&5
   14059    $rm conftest*
   14060    # SGI C++ compiler will create directory out/ii_files/ for
   14061    # template instantiation
   14062    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14063    $rm out/* && rmdir out
   14064    cd ..
   14065    rmdir conftest
   14066    $rm conftest*
   14067 
   14068 fi
   14069 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14070 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14071 
   14072 
   14073 hard_links="nottested"
   14074 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14075   # do not overwrite the value of need_locks provided by the user
   14076   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14077 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14078   hard_links=yes
   14079   $rm conftest*
   14080   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14081   touch conftest.a
   14082   ln conftest.a conftest.b 2>&5 || hard_links=no
   14083   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14084   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14085 echo "${ECHO_T}$hard_links" >&6; }
   14086   if test "$hard_links" = no; then
   14087     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14088 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14089     need_locks=warn
   14090   fi
   14091 else
   14092   need_locks=no
   14093 fi
   14094 
   14095 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14096 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14097 
   14098   runpath_var=
   14099   allow_undefined_flag_F77=
   14100   enable_shared_with_static_runtimes_F77=no
   14101   archive_cmds_F77=
   14102   archive_expsym_cmds_F77=
   14103   old_archive_From_new_cmds_F77=
   14104   old_archive_from_expsyms_cmds_F77=
   14105   export_dynamic_flag_spec_F77=
   14106   whole_archive_flag_spec_F77=
   14107   thread_safe_flag_spec_F77=
   14108   hardcode_libdir_flag_spec_F77=
   14109   hardcode_libdir_flag_spec_ld_F77=
   14110   hardcode_libdir_separator_F77=
   14111   hardcode_direct_F77=no
   14112   hardcode_minus_L_F77=no
   14113   hardcode_shlibpath_var_F77=unsupported
   14114   link_all_deplibs_F77=unknown
   14115   hardcode_automatic_F77=no
   14116   module_cmds_F77=
   14117   module_expsym_cmds_F77=
   14118   always_export_symbols_F77=no
   14119   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14120   # include_expsyms should be a list of space-separated symbols to be *always*
   14121   # included in the symbol list
   14122   include_expsyms_F77=
   14123   # exclude_expsyms can be an extended regexp of symbols to exclude
   14124   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14125   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14126   # as well as any symbol that contains `d'.
   14127   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14128   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14129   # platforms (ab)use it in PIC code, but their linkers get confused if
   14130   # the symbol is explicitly referenced.  Since portable code cannot
   14131   # rely on this symbol name, it's probably fine to never include it in
   14132   # preloaded symbol tables.
   14133   extract_expsyms_cmds=
   14134   # Just being paranoid about ensuring that cc_basename is set.
   14135   for cc_temp in $compiler""; do
   14136   case $cc_temp in
   14137     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14138     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14139     \-*) ;;
   14140     *) break;;
   14141   esac
   14142 done
   14143 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14144 
   14145   case $host_os in
   14146   cygwin* | mingw* | pw32*)
   14147     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14148     # When not using gcc, we currently assume that we are using
   14149     # Microsoft Visual C++.
   14150     if test "$GCC" != yes; then
   14151       with_gnu_ld=no
   14152     fi
   14153     ;;
   14154   interix*)
   14155     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14156     with_gnu_ld=yes
   14157     ;;
   14158   openbsd*)
   14159     with_gnu_ld=no
   14160     ;;
   14161   esac
   14162 
   14163   ld_shlibs_F77=yes
   14164   if test "$with_gnu_ld" = yes; then
   14165     # If archive_cmds runs LD, not CC, wlarc should be empty
   14166     wlarc='${wl}'
   14167 
   14168     # Set some defaults for GNU ld with shared library support. These
   14169     # are reset later if shared libraries are not supported. Putting them
   14170     # here allows them to be overridden if necessary.
   14171     runpath_var=LD_RUN_PATH
   14172     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14173     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14174     # ancient GNU ld didn't support --whole-archive et. al.
   14175     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14176 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14177       else
   14178   	whole_archive_flag_spec_F77=
   14179     fi
   14180     supports_anon_versioning=no
   14181     case `$LD -v 2>/dev/null` in
   14182       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14183       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14184       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14185       *\ 2.11.*) ;; # other 2.11 versions
   14186       *) supports_anon_versioning=yes ;;
   14187     esac
   14188 
   14189     # See if GNU ld supports shared libraries.
   14190     case $host_os in
   14191     aix3* | aix4* | aix5*)
   14192       # On AIX/PPC, the GNU linker is very broken
   14193       if test "$host_cpu" != ia64; then
   14194 	ld_shlibs_F77=no
   14195 	cat <<EOF 1>&2
   14196 
   14197 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14198 *** to be unable to reliably create shared libraries on AIX.
   14199 *** Therefore, libtool is disabling shared libraries support.  If you
   14200 *** really care for shared libraries, you may want to modify your PATH
   14201 *** so that a non-GNU linker is found, and then restart.
   14202 
   14203 EOF
   14204       fi
   14205       ;;
   14206 
   14207     amigaos*)
   14208       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)'
   14209       hardcode_libdir_flag_spec_F77='-L$libdir'
   14210       hardcode_minus_L_F77=yes
   14211 
   14212       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14213       # that the semantics of dynamic libraries on AmigaOS, at least up
   14214       # to version 4, is to share data among multiple programs linked
   14215       # with the same dynamic library.  Since this doesn't match the
   14216       # behavior of shared libraries on other platforms, we can't use
   14217       # them.
   14218       ld_shlibs_F77=no
   14219       ;;
   14220 
   14221     beos*)
   14222       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14223 	allow_undefined_flag_F77=unsupported
   14224 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14225 	# support --undefined.  This deserves some investigation.  FIXME
   14226 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14227       else
   14228 	ld_shlibs_F77=no
   14229       fi
   14230       ;;
   14231 
   14232     cygwin* | mingw* | pw32*)
   14233       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14234       # as there is no search path for DLLs.
   14235       hardcode_libdir_flag_spec_F77='-L$libdir'
   14236       allow_undefined_flag_F77=unsupported
   14237       always_export_symbols_F77=no
   14238       enable_shared_with_static_runtimes_F77=yes
   14239       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14240 
   14241       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14242         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14243 	# If the export-symbols file already is a .def file (1st line
   14244 	# is EXPORTS), use it as is; otherwise, prepend...
   14245 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14246 	  cp $export_symbols $output_objdir/$soname.def;
   14247 	else
   14248 	  echo EXPORTS > $output_objdir/$soname.def;
   14249 	  cat $export_symbols >> $output_objdir/$soname.def;
   14250 	fi~
   14251 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14252       else
   14253 	ld_shlibs_F77=no
   14254       fi
   14255       ;;
   14256 
   14257     interix3*)
   14258       hardcode_direct_F77=no
   14259       hardcode_shlibpath_var_F77=no
   14260       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14261       export_dynamic_flag_spec_F77='${wl}-E'
   14262       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14263       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14264       # default) and relocated if they conflict, which is a slow very memory
   14265       # consuming and fragmenting process.  To avoid this, we pick a random,
   14266       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14267       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14268       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'
   14269       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'
   14270       ;;
   14271 
   14272     linux*)
   14273       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14274 	tmp_addflag=
   14275 	case $cc_basename,$host_cpu in
   14276 	pgcc*)				# Portland Group C compiler
   14277 	  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'
   14278 	  tmp_addflag=' $pic_flag'
   14279 	  ;;
   14280 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14281 	  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'
   14282 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14283 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14284 	  tmp_addflag=' -i_dynamic' ;;
   14285 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14286 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14287 	ifc* | ifort*)			# Intel Fortran compiler
   14288 	  tmp_addflag=' -nofor_main' ;;
   14289 	esac
   14290 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14291 
   14292 	if test $supports_anon_versioning = yes; then
   14293 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14294   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14295   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14296 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14297 	fi
   14298       else
   14299 	ld_shlibs_F77=no
   14300       fi
   14301       ;;
   14302 
   14303     netbsd*)
   14304       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14305 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14306 	wlarc=
   14307       else
   14308 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14309 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14310       fi
   14311       ;;
   14312 
   14313     solaris*)
   14314       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14315 	ld_shlibs_F77=no
   14316 	cat <<EOF 1>&2
   14317 
   14318 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14319 *** create shared libraries on Solaris systems.  Therefore, libtool
   14320 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14321 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14322 *** your PATH or compiler configuration so that the native linker is
   14323 *** used, and then restart.
   14324 
   14325 EOF
   14326       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14327 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14328 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14329       else
   14330 	ld_shlibs_F77=no
   14331       fi
   14332       ;;
   14333 
   14334     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14335       case `$LD -v 2>&1` in
   14336         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14337 	ld_shlibs_F77=no
   14338 	cat <<_LT_EOF 1>&2
   14339 
   14340 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14341 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14342 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14343 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14344 *** your PATH or compiler configuration so that the native linker is
   14345 *** used, and then restart.
   14346 
   14347 _LT_EOF
   14348 	;;
   14349 	*)
   14350 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14351 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14352 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14353 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14354 	  else
   14355 	    ld_shlibs_F77=no
   14356 	  fi
   14357 	;;
   14358       esac
   14359       ;;
   14360 
   14361     sunos4*)
   14362       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14363       wlarc=
   14364       hardcode_direct_F77=yes
   14365       hardcode_shlibpath_var_F77=no
   14366       ;;
   14367 
   14368     *)
   14369       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14370 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14371 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14372       else
   14373 	ld_shlibs_F77=no
   14374       fi
   14375       ;;
   14376     esac
   14377 
   14378     if test "$ld_shlibs_F77" = no; then
   14379       runpath_var=
   14380       hardcode_libdir_flag_spec_F77=
   14381       export_dynamic_flag_spec_F77=
   14382       whole_archive_flag_spec_F77=
   14383     fi
   14384   else
   14385     # PORTME fill in a description of your system's linker (not GNU ld)
   14386     case $host_os in
   14387     aix3*)
   14388       allow_undefined_flag_F77=unsupported
   14389       always_export_symbols_F77=yes
   14390       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'
   14391       # Note: this linker hardcodes the directories in LIBPATH if there
   14392       # are no directories specified by -L.
   14393       hardcode_minus_L_F77=yes
   14394       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14395 	# Neither direct hardcoding nor static linking is supported with a
   14396 	# broken collect2.
   14397 	hardcode_direct_F77=unsupported
   14398       fi
   14399       ;;
   14400 
   14401     aix4* | aix5*)
   14402       if test "$host_cpu" = ia64; then
   14403 	# On IA64, the linker does run time linking by default, so we don't
   14404 	# have to do anything special.
   14405 	aix_use_runtimelinking=no
   14406 	exp_sym_flag='-Bexport'
   14407 	no_entry_flag=""
   14408       else
   14409 	# If we're using GNU nm, then we don't want the "-C" option.
   14410 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14411 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14412 	  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'
   14413 	else
   14414 	  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'
   14415 	fi
   14416 	aix_use_runtimelinking=no
   14417 
   14418 	# Test if we are trying to use run time linking or normal
   14419 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14420 	# need to do runtime linking.
   14421 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14422 	  for ld_flag in $LDFLAGS; do
   14423   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14424   	    aix_use_runtimelinking=yes
   14425   	    break
   14426   	  fi
   14427 	  done
   14428 	  ;;
   14429 	esac
   14430 
   14431 	exp_sym_flag='-bexport'
   14432 	no_entry_flag='-bnoentry'
   14433       fi
   14434 
   14435       # When large executables or shared objects are built, AIX ld can
   14436       # have problems creating the table of contents.  If linking a library
   14437       # or program results in "error TOC overflow" add -mminimal-toc to
   14438       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14439       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14440 
   14441       archive_cmds_F77=''
   14442       hardcode_direct_F77=yes
   14443       hardcode_libdir_separator_F77=':'
   14444       link_all_deplibs_F77=yes
   14445 
   14446       if test "$GCC" = yes; then
   14447 	case $host_os in aix4.[012]|aix4.[012].*)
   14448 	# We only want to do this on AIX 4.2 and lower, the check
   14449 	# below for broken collect2 doesn't work under 4.3+
   14450 	  collect2name=`${CC} -print-prog-name=collect2`
   14451 	  if test -f "$collect2name" && \
   14452   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14453 	  then
   14454   	  # We have reworked collect2
   14455   	  hardcode_direct_F77=yes
   14456 	  else
   14457   	  # We have old collect2
   14458   	  hardcode_direct_F77=unsupported
   14459   	  # It fails to find uninstalled libraries when the uninstalled
   14460   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14461   	  # to unsupported forces relinking
   14462   	  hardcode_minus_L_F77=yes
   14463   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14464   	  hardcode_libdir_separator_F77=
   14465 	  fi
   14466 	  ;;
   14467 	esac
   14468 	shared_flag='-shared'
   14469 	if test "$aix_use_runtimelinking" = yes; then
   14470 	  shared_flag="$shared_flag "'${wl}-G'
   14471 	fi
   14472       else
   14473 	# not using gcc
   14474 	if test "$host_cpu" = ia64; then
   14475   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14476   	# chokes on -Wl,-G. The following line is correct:
   14477 	  shared_flag='-G'
   14478 	else
   14479 	  if test "$aix_use_runtimelinking" = yes; then
   14480 	    shared_flag='${wl}-G'
   14481 	  else
   14482 	    shared_flag='${wl}-bM:SRE'
   14483 	  fi
   14484 	fi
   14485       fi
   14486 
   14487       # It seems that -bexpall does not export symbols beginning with
   14488       # underscore (_), so it is better to generate a list of symbols to export.
   14489       always_export_symbols_F77=yes
   14490       if test "$aix_use_runtimelinking" = yes; then
   14491 	# Warning - without using the other runtime loading flags (-brtl),
   14492 	# -berok will link without error, but may produce a broken library.
   14493 	allow_undefined_flag_F77='-berok'
   14494        # Determine the default libpath from the value encoded in an empty executable.
   14495        cat >conftest.$ac_ext <<_ACEOF
   14496       program main
   14497 
   14498       end
   14499 _ACEOF
   14500 rm -f conftest.$ac_objext conftest$ac_exeext
   14501 if { (ac_try="$ac_link"
   14502 case "(($ac_try" in
   14503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14504   *) ac_try_echo=$ac_try;;
   14505 esac
   14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14507   (eval "$ac_link") 2>conftest.er1
   14508   ac_status=$?
   14509   grep -v '^ *+' conftest.er1 >conftest.err
   14510   rm -f conftest.er1
   14511   cat conftest.err >&5
   14512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14513   (exit $ac_status); } && {
   14514 	 test -z "$ac_f77_werror_flag" ||
   14515 	 test ! -s conftest.err
   14516        } && test -s conftest$ac_exeext &&
   14517        $as_test_x conftest$ac_exeext; then
   14518 
   14519 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14520 }'`
   14521 # Check for a 64-bit object if we didn't find anything.
   14522 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; }
   14523 }'`; fi
   14524 else
   14525   echo "$as_me: failed program was:" >&5
   14526 sed 's/^/| /' conftest.$ac_ext >&5
   14527 
   14528 
   14529 fi
   14530 
   14531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14532       conftest$ac_exeext conftest.$ac_ext
   14533 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14534 
   14535        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14536 	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"
   14537        else
   14538 	if test "$host_cpu" = ia64; then
   14539 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14540 	  allow_undefined_flag_F77="-z nodefs"
   14541 	  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"
   14542 	else
   14543 	 # Determine the default libpath from the value encoded in an empty executable.
   14544 	 cat >conftest.$ac_ext <<_ACEOF
   14545       program main
   14546 
   14547       end
   14548 _ACEOF
   14549 rm -f conftest.$ac_objext conftest$ac_exeext
   14550 if { (ac_try="$ac_link"
   14551 case "(($ac_try" in
   14552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14553   *) ac_try_echo=$ac_try;;
   14554 esac
   14555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14556   (eval "$ac_link") 2>conftest.er1
   14557   ac_status=$?
   14558   grep -v '^ *+' conftest.er1 >conftest.err
   14559   rm -f conftest.er1
   14560   cat conftest.err >&5
   14561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14562   (exit $ac_status); } && {
   14563 	 test -z "$ac_f77_werror_flag" ||
   14564 	 test ! -s conftest.err
   14565        } && test -s conftest$ac_exeext &&
   14566        $as_test_x conftest$ac_exeext; then
   14567 
   14568 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14569 }'`
   14570 # Check for a 64-bit object if we didn't find anything.
   14571 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; }
   14572 }'`; fi
   14573 else
   14574   echo "$as_me: failed program was:" >&5
   14575 sed 's/^/| /' conftest.$ac_ext >&5
   14576 
   14577 
   14578 fi
   14579 
   14580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14581       conftest$ac_exeext conftest.$ac_ext
   14582 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14583 
   14584 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14585 	  # Warning - without using the other run time loading flags,
   14586 	  # -berok will link without error, but may produce a broken library.
   14587 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14588 	  allow_undefined_flag_F77=' ${wl}-berok'
   14589 	  # Exported symbols can be pulled into shared objects from archives
   14590 	  whole_archive_flag_spec_F77='$convenience'
   14591 	  archive_cmds_need_lc_F77=yes
   14592 	  # This is similar to how AIX traditionally builds its shared libraries.
   14593 	  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'
   14594 	fi
   14595       fi
   14596       ;;
   14597 
   14598     amigaos*)
   14599       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)'
   14600       hardcode_libdir_flag_spec_F77='-L$libdir'
   14601       hardcode_minus_L_F77=yes
   14602       # see comment about different semantics on the GNU ld section
   14603       ld_shlibs_F77=no
   14604       ;;
   14605 
   14606     bsdi[45]*)
   14607       export_dynamic_flag_spec_F77=-rdynamic
   14608       ;;
   14609 
   14610     cygwin* | mingw* | pw32*)
   14611       # When not using gcc, we currently assume that we are using
   14612       # Microsoft Visual C++.
   14613       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14614       # no search path for DLLs.
   14615       hardcode_libdir_flag_spec_F77=' '
   14616       allow_undefined_flag_F77=unsupported
   14617       # Tell ltmain to make .lib files, not .a files.
   14618       libext=lib
   14619       # Tell ltmain to make .dll files, not .so files.
   14620       shrext_cmds=".dll"
   14621       # FIXME: Setting linknames here is a bad hack.
   14622       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14623       # The linker will automatically build a .lib file if we build a DLL.
   14624       old_archive_From_new_cmds_F77='true'
   14625       # FIXME: Should let the user specify the lib program.
   14626       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14627       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14628       enable_shared_with_static_runtimes_F77=yes
   14629       ;;
   14630 
   14631     darwin* | rhapsody*)
   14632       case $host_os in
   14633         rhapsody* | darwin1.[012])
   14634          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14635          ;;
   14636        *) # Darwin 1.3 on
   14637          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14638            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14639          else
   14640            case ${MACOSX_DEPLOYMENT_TARGET} in
   14641              10.[012])
   14642                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14643                ;;
   14644              10.*)
   14645                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14646                ;;
   14647            esac
   14648          fi
   14649          ;;
   14650       esac
   14651       archive_cmds_need_lc_F77=no
   14652       hardcode_direct_F77=no
   14653       hardcode_automatic_F77=yes
   14654       hardcode_shlibpath_var_F77=unsupported
   14655       whole_archive_flag_spec_F77=''
   14656       link_all_deplibs_F77=yes
   14657     if test "$GCC" = yes ; then
   14658     	output_verbose_link_cmd='echo'
   14659         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14660       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14661       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14662       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}'
   14663       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}'
   14664     else
   14665       case $cc_basename in
   14666         xlc*)
   14667          output_verbose_link_cmd='echo'
   14668          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14669          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14670           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14671          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}'
   14672           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}'
   14673           ;;
   14674        *)
   14675          ld_shlibs_F77=no
   14676           ;;
   14677       esac
   14678     fi
   14679       ;;
   14680 
   14681     dgux*)
   14682       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14683       hardcode_libdir_flag_spec_F77='-L$libdir'
   14684       hardcode_shlibpath_var_F77=no
   14685       ;;
   14686 
   14687     freebsd1*)
   14688       ld_shlibs_F77=no
   14689       ;;
   14690 
   14691     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14692     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14693     # does not break anything, and helps significantly (at the cost of a little
   14694     # extra space).
   14695     freebsd2.2*)
   14696       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14697       hardcode_libdir_flag_spec_F77='-R$libdir'
   14698       hardcode_direct_F77=yes
   14699       hardcode_shlibpath_var_F77=no
   14700       ;;
   14701 
   14702     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14703     freebsd2*)
   14704       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14705       hardcode_direct_F77=yes
   14706       hardcode_minus_L_F77=yes
   14707       hardcode_shlibpath_var_F77=no
   14708       ;;
   14709 
   14710     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14711     freebsd* | kfreebsd*-gnu | dragonfly*)
   14712       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14713       hardcode_libdir_flag_spec_F77='-R$libdir'
   14714       hardcode_direct_F77=yes
   14715       hardcode_shlibpath_var_F77=no
   14716       ;;
   14717 
   14718     hpux9*)
   14719       if test "$GCC" = yes; then
   14720 	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'
   14721       else
   14722 	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'
   14723       fi
   14724       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14725       hardcode_libdir_separator_F77=:
   14726       hardcode_direct_F77=yes
   14727 
   14728       # hardcode_minus_L: Not really in the search PATH,
   14729       # but as the default location of the library.
   14730       hardcode_minus_L_F77=yes
   14731       export_dynamic_flag_spec_F77='${wl}-E'
   14732       ;;
   14733 
   14734     hpux10*)
   14735       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14736 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14737       else
   14738 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14739       fi
   14740       if test "$with_gnu_ld" = no; then
   14741 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14742 	hardcode_libdir_separator_F77=:
   14743 
   14744 	hardcode_direct_F77=yes
   14745 	export_dynamic_flag_spec_F77='${wl}-E'
   14746 
   14747 	# hardcode_minus_L: Not really in the search PATH,
   14748 	# but as the default location of the library.
   14749 	hardcode_minus_L_F77=yes
   14750       fi
   14751       ;;
   14752 
   14753     hpux11*)
   14754       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14755 	case $host_cpu in
   14756 	hppa*64*)
   14757 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14758 	  ;;
   14759 	ia64*)
   14760 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14761 	  ;;
   14762 	*)
   14763 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14764 	  ;;
   14765 	esac
   14766       else
   14767 	case $host_cpu in
   14768 	hppa*64*)
   14769 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14770 	  ;;
   14771 	ia64*)
   14772 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14773 	  ;;
   14774 	*)
   14775 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14776 	  ;;
   14777 	esac
   14778       fi
   14779       if test "$with_gnu_ld" = no; then
   14780 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14781 	hardcode_libdir_separator_F77=:
   14782 
   14783 	case $host_cpu in
   14784 	hppa*64*|ia64*)
   14785 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14786 	  hardcode_direct_F77=no
   14787 	  hardcode_shlibpath_var_F77=no
   14788 	  ;;
   14789 	*)
   14790 	  hardcode_direct_F77=yes
   14791 	  export_dynamic_flag_spec_F77='${wl}-E'
   14792 
   14793 	  # hardcode_minus_L: Not really in the search PATH,
   14794 	  # but as the default location of the library.
   14795 	  hardcode_minus_L_F77=yes
   14796 	  ;;
   14797 	esac
   14798       fi
   14799       ;;
   14800 
   14801     irix5* | irix6* | nonstopux*)
   14802       if test "$GCC" = yes; then
   14803 	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'
   14804       else
   14805 	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'
   14806 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14807       fi
   14808       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14809       hardcode_libdir_separator_F77=:
   14810       link_all_deplibs_F77=yes
   14811       ;;
   14812 
   14813     netbsd*)
   14814       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14815 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14816       else
   14817 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14818       fi
   14819       hardcode_libdir_flag_spec_F77='-R$libdir'
   14820       hardcode_direct_F77=yes
   14821       hardcode_shlibpath_var_F77=no
   14822       ;;
   14823 
   14824     newsos6)
   14825       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14826       hardcode_direct_F77=yes
   14827       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14828       hardcode_libdir_separator_F77=:
   14829       hardcode_shlibpath_var_F77=no
   14830       ;;
   14831 
   14832     openbsd*)
   14833       hardcode_direct_F77=yes
   14834       hardcode_shlibpath_var_F77=no
   14835       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14836 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14837 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14838 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14839 	export_dynamic_flag_spec_F77='${wl}-E'
   14840       else
   14841        case $host_os in
   14842 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14843 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14844 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14845 	   ;;
   14846 	 *)
   14847 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14848 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14849 	   ;;
   14850        esac
   14851       fi
   14852       ;;
   14853 
   14854     os2*)
   14855       hardcode_libdir_flag_spec_F77='-L$libdir'
   14856       hardcode_minus_L_F77=yes
   14857       allow_undefined_flag_F77=unsupported
   14858       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'
   14859       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14860       ;;
   14861 
   14862     osf3*)
   14863       if test "$GCC" = yes; then
   14864 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14865 	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'
   14866       else
   14867 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14868 	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'
   14869       fi
   14870       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14871       hardcode_libdir_separator_F77=:
   14872       ;;
   14873 
   14874     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14875       if test "$GCC" = yes; then
   14876 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14877 	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'
   14878 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14879       else
   14880 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14881 	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'
   14882 	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~
   14883 	$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'
   14884 
   14885 	# Both c and cxx compiler support -rpath directly
   14886 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14887       fi
   14888       hardcode_libdir_separator_F77=:
   14889       ;;
   14890 
   14891     solaris*)
   14892       no_undefined_flag_F77=' -z text'
   14893       if test "$GCC" = yes; then
   14894 	wlarc='${wl}'
   14895 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14896 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14897 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14898       else
   14899 	wlarc=''
   14900 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14901 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14902   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14903       fi
   14904       hardcode_libdir_flag_spec_F77='-R$libdir'
   14905       hardcode_shlibpath_var_F77=no
   14906       case $host_os in
   14907       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14908       *)
   14909  	# The compiler driver will combine linker options so we
   14910  	# cannot just pass the convience library names through
   14911  	# without $wl, iff we do not link with $LD.
   14912  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14913  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14914  	case $wlarc in
   14915  	'')
   14916  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14917  	*)
   14918  	  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' ;;
   14919  	esac ;;
   14920       esac
   14921       link_all_deplibs_F77=yes
   14922       ;;
   14923 
   14924     sunos4*)
   14925       if test "x$host_vendor" = xsequent; then
   14926 	# Use $CC to link under sequent, because it throws in some extra .o
   14927 	# files that make .init and .fini sections work.
   14928 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14929       else
   14930 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14931       fi
   14932       hardcode_libdir_flag_spec_F77='-L$libdir'
   14933       hardcode_direct_F77=yes
   14934       hardcode_minus_L_F77=yes
   14935       hardcode_shlibpath_var_F77=no
   14936       ;;
   14937 
   14938     sysv4)
   14939       case $host_vendor in
   14940 	sni)
   14941 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14942 	  hardcode_direct_F77=yes # is this really true???
   14943 	;;
   14944 	siemens)
   14945 	  ## LD is ld it makes a PLAMLIB
   14946 	  ## CC just makes a GrossModule.
   14947 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14948 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14949 	  hardcode_direct_F77=no
   14950         ;;
   14951 	motorola)
   14952 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14953 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14954 	;;
   14955       esac
   14956       runpath_var='LD_RUN_PATH'
   14957       hardcode_shlibpath_var_F77=no
   14958       ;;
   14959 
   14960     sysv4.3*)
   14961       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14962       hardcode_shlibpath_var_F77=no
   14963       export_dynamic_flag_spec_F77='-Bexport'
   14964       ;;
   14965 
   14966     sysv4*MP*)
   14967       if test -d /usr/nec; then
   14968 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14969 	hardcode_shlibpath_var_F77=no
   14970 	runpath_var=LD_RUN_PATH
   14971 	hardcode_runpath_var=yes
   14972 	ld_shlibs_F77=yes
   14973       fi
   14974       ;;
   14975 
   14976     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14977       no_undefined_flag_F77='${wl}-z,text'
   14978       archive_cmds_need_lc_F77=no
   14979       hardcode_shlibpath_var_F77=no
   14980       runpath_var='LD_RUN_PATH'
   14981 
   14982       if test "$GCC" = yes; then
   14983 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14984 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14985       else
   14986 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14987 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14988       fi
   14989       ;;
   14990 
   14991     sysv5* | sco3.2v5* | sco5v6*)
   14992       # Note: We can NOT use -z defs as we might desire, because we do not
   14993       # link with -lc, and that would cause any symbols used from libc to
   14994       # always be unresolved, which means just about no library would
   14995       # ever link correctly.  If we're not using GNU ld we use -z text
   14996       # though, which does catch some bad symbols but isn't as heavy-handed
   14997       # as -z defs.
   14998       no_undefined_flag_F77='${wl}-z,text'
   14999       allow_undefined_flag_F77='${wl}-z,nodefs'
   15000       archive_cmds_need_lc_F77=no
   15001       hardcode_shlibpath_var_F77=no
   15002       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15003       hardcode_libdir_separator_F77=':'
   15004       link_all_deplibs_F77=yes
   15005       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15006       runpath_var='LD_RUN_PATH'
   15007 
   15008       if test "$GCC" = yes; then
   15009 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15010 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15011       else
   15012 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15013 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15014       fi
   15015       ;;
   15016 
   15017     uts4*)
   15018       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15019       hardcode_libdir_flag_spec_F77='-L$libdir'
   15020       hardcode_shlibpath_var_F77=no
   15021       ;;
   15022 
   15023     *)
   15024       ld_shlibs_F77=no
   15025       ;;
   15026     esac
   15027   fi
   15028 
   15029 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15030 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15031 test "$ld_shlibs_F77" = no && can_build_shared=no
   15032 
   15033 #
   15034 # Do we need to explicitly link libc?
   15035 #
   15036 case "x$archive_cmds_need_lc_F77" in
   15037 x|xyes)
   15038   # Assume -lc should be added
   15039   archive_cmds_need_lc_F77=yes
   15040 
   15041   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15042     case $archive_cmds_F77 in
   15043     *'~'*)
   15044       # FIXME: we may have to deal with multi-command sequences.
   15045       ;;
   15046     '$CC '*)
   15047       # Test whether the compiler implicitly links with -lc since on some
   15048       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15049       # to ld, don't add -lc before -lgcc.
   15050       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15051 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15052       $rm conftest*
   15053       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15054 
   15055       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15056   (eval $ac_compile) 2>&5
   15057   ac_status=$?
   15058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15059   (exit $ac_status); } 2>conftest.err; then
   15060         soname=conftest
   15061         lib=conftest
   15062         libobjs=conftest.$ac_objext
   15063         deplibs=
   15064         wl=$lt_prog_compiler_wl_F77
   15065 	pic_flag=$lt_prog_compiler_pic_F77
   15066         compiler_flags=-v
   15067         linker_flags=-v
   15068         verstring=
   15069         output_objdir=.
   15070         libname=conftest
   15071         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15072         allow_undefined_flag_F77=
   15073         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15074   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15075   ac_status=$?
   15076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15077   (exit $ac_status); }
   15078         then
   15079 	  archive_cmds_need_lc_F77=no
   15080         else
   15081 	  archive_cmds_need_lc_F77=yes
   15082         fi
   15083         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15084       else
   15085         cat conftest.err 1>&5
   15086       fi
   15087       $rm conftest*
   15088       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15089 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15090       ;;
   15091     esac
   15092   fi
   15093   ;;
   15094 esac
   15095 
   15096 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15097 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15098 library_names_spec=
   15099 libname_spec='lib$name'
   15100 soname_spec=
   15101 shrext_cmds=".so"
   15102 postinstall_cmds=
   15103 postuninstall_cmds=
   15104 finish_cmds=
   15105 finish_eval=
   15106 shlibpath_var=
   15107 shlibpath_overrides_runpath=unknown
   15108 version_type=none
   15109 dynamic_linker="$host_os ld.so"
   15110 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15111 if test "$GCC" = yes; then
   15112   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15113   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15114     # if the path contains ";" then we assume it to be the separator
   15115     # otherwise default to the standard path separator (i.e. ":") - it is
   15116     # assumed that no part of a normal pathname contains ";" but that should
   15117     # okay in the real world where ";" in dirpaths is itself problematic.
   15118     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15119   else
   15120     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15121   fi
   15122 else
   15123   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15124 fi
   15125 need_lib_prefix=unknown
   15126 hardcode_into_libs=no
   15127 
   15128 # when you set need_version to no, make sure it does not cause -set_version
   15129 # flags to be left without arguments
   15130 need_version=unknown
   15131 
   15132 case $host_os in
   15133 aix3*)
   15134   version_type=linux
   15135   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15136   shlibpath_var=LIBPATH
   15137 
   15138   # AIX 3 has no versioning support, so we append a major version to the name.
   15139   soname_spec='${libname}${release}${shared_ext}$major'
   15140   ;;
   15141 
   15142 aix4* | aix5*)
   15143   version_type=linux
   15144   need_lib_prefix=no
   15145   need_version=no
   15146   hardcode_into_libs=yes
   15147   if test "$host_cpu" = ia64; then
   15148     # AIX 5 supports IA64
   15149     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15150     shlibpath_var=LD_LIBRARY_PATH
   15151   else
   15152     # With GCC up to 2.95.x, collect2 would create an import file
   15153     # for dependence libraries.  The import file would start with
   15154     # the line `#! .'.  This would cause the generated library to
   15155     # depend on `.', always an invalid library.  This was fixed in
   15156     # development snapshots of GCC prior to 3.0.
   15157     case $host_os in
   15158       aix4 | aix4.[01] | aix4.[01].*)
   15159       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15160 	   echo ' yes '
   15161 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15162 	:
   15163       else
   15164 	can_build_shared=no
   15165       fi
   15166       ;;
   15167     esac
   15168     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15169     # soname into executable. Probably we can add versioning support to
   15170     # collect2, so additional links can be useful in future.
   15171     if test "$aix_use_runtimelinking" = yes; then
   15172       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15173       # instead of lib<name>.a to let people know that these are not
   15174       # typical AIX shared libraries.
   15175       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15176     else
   15177       # We preserve .a as extension for shared libraries through AIX4.2
   15178       # and later when we are not doing run time linking.
   15179       library_names_spec='${libname}${release}.a $libname.a'
   15180       soname_spec='${libname}${release}${shared_ext}$major'
   15181     fi
   15182     shlibpath_var=LIBPATH
   15183   fi
   15184   ;;
   15185 
   15186 amigaos*)
   15187   library_names_spec='$libname.ixlibrary $libname.a'
   15188   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15189   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'
   15190   ;;
   15191 
   15192 beos*)
   15193   library_names_spec='${libname}${shared_ext}'
   15194   dynamic_linker="$host_os ld.so"
   15195   shlibpath_var=LIBRARY_PATH
   15196   ;;
   15197 
   15198 bsdi[45]*)
   15199   version_type=linux
   15200   need_version=no
   15201   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15202   soname_spec='${libname}${release}${shared_ext}$major'
   15203   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15204   shlibpath_var=LD_LIBRARY_PATH
   15205   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15206   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15207   # the default ld.so.conf also contains /usr/contrib/lib and
   15208   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15209   # libtool to hard-code these into programs
   15210   ;;
   15211 
   15212 cygwin* | mingw* | pw32*)
   15213   version_type=windows
   15214   shrext_cmds=".dll"
   15215   need_version=no
   15216   need_lib_prefix=no
   15217 
   15218   case $GCC,$host_os in
   15219   yes,cygwin* | yes,mingw* | yes,pw32*)
   15220     library_names_spec='$libname.dll.a'
   15221     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15222     postinstall_cmds='base_file=`basename \${file}`~
   15223       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15224       dldir=$destdir/`dirname \$dlpath`~
   15225       test -d \$dldir || mkdir -p \$dldir~
   15226       $install_prog $dir/$dlname \$dldir/$dlname~
   15227       chmod a+x \$dldir/$dlname'
   15228     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15229       dlpath=$dir/\$dldll~
   15230        $rm \$dlpath'
   15231     shlibpath_overrides_runpath=yes
   15232 
   15233     case $host_os in
   15234     cygwin*)
   15235       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15236       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15237       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15238       ;;
   15239     mingw*)
   15240       # MinGW DLLs use traditional 'lib' prefix
   15241       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15242       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15243       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15244         # It is most probably a Windows format PATH printed by
   15245         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15246         # path with ; separators, and with drive letters. We can handle the
   15247         # drive letters (cygwin fileutils understands them), so leave them,
   15248         # especially as we might pass files found there to a mingw objdump,
   15249         # which wouldn't understand a cygwinified path. Ahh.
   15250         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15251       else
   15252         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15253       fi
   15254       ;;
   15255     pw32*)
   15256       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15257       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15258       ;;
   15259     esac
   15260     ;;
   15261 
   15262   *)
   15263     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15264     ;;
   15265   esac
   15266   dynamic_linker='Win32 ld.exe'
   15267   # FIXME: first we should search . and the directory the executable is in
   15268   shlibpath_var=PATH
   15269   ;;
   15270 
   15271 darwin* | rhapsody*)
   15272   dynamic_linker="$host_os dyld"
   15273   version_type=darwin
   15274   need_lib_prefix=no
   15275   need_version=no
   15276   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15277   soname_spec='${libname}${release}${major}$shared_ext'
   15278   shlibpath_overrides_runpath=yes
   15279   shlibpath_var=DYLD_LIBRARY_PATH
   15280   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15281   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15282   if test "$GCC" = yes; then
   15283     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"`
   15284   else
   15285     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15286   fi
   15287   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15288   ;;
   15289 
   15290 dgux*)
   15291   version_type=linux
   15292   need_lib_prefix=no
   15293   need_version=no
   15294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15295   soname_spec='${libname}${release}${shared_ext}$major'
   15296   shlibpath_var=LD_LIBRARY_PATH
   15297   ;;
   15298 
   15299 freebsd1*)
   15300   dynamic_linker=no
   15301   ;;
   15302 
   15303 kfreebsd*-gnu)
   15304   version_type=linux
   15305   need_lib_prefix=no
   15306   need_version=no
   15307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15308   soname_spec='${libname}${release}${shared_ext}$major'
   15309   shlibpath_var=LD_LIBRARY_PATH
   15310   shlibpath_overrides_runpath=no
   15311   hardcode_into_libs=yes
   15312   dynamic_linker='GNU ld.so'
   15313   ;;
   15314 
   15315 freebsd* | dragonfly*)
   15316   # DragonFly does not have aout.  When/if they implement a new
   15317   # versioning mechanism, adjust this.
   15318   if test -x /usr/bin/objformat; then
   15319     objformat=`/usr/bin/objformat`
   15320   else
   15321     case $host_os in
   15322     freebsd[123]*) objformat=aout ;;
   15323     *) objformat=elf ;;
   15324     esac
   15325   fi
   15326   version_type=freebsd-$objformat
   15327   case $version_type in
   15328     freebsd-elf*)
   15329       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15330       need_version=no
   15331       need_lib_prefix=no
   15332       ;;
   15333     freebsd-*)
   15334       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15335       need_version=yes
   15336       ;;
   15337   esac
   15338   shlibpath_var=LD_LIBRARY_PATH
   15339   case $host_os in
   15340   freebsd2*)
   15341     shlibpath_overrides_runpath=yes
   15342     ;;
   15343   freebsd3.[01]* | freebsdelf3.[01]*)
   15344     shlibpath_overrides_runpath=yes
   15345     hardcode_into_libs=yes
   15346     ;;
   15347   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15348   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15349     shlibpath_overrides_runpath=no
   15350     hardcode_into_libs=yes
   15351     ;;
   15352   freebsd*) # from 4.6 on
   15353     shlibpath_overrides_runpath=yes
   15354     hardcode_into_libs=yes
   15355     ;;
   15356   esac
   15357   ;;
   15358 
   15359 gnu*)
   15360   version_type=linux
   15361   need_lib_prefix=no
   15362   need_version=no
   15363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15364   soname_spec='${libname}${release}${shared_ext}$major'
   15365   shlibpath_var=LD_LIBRARY_PATH
   15366   hardcode_into_libs=yes
   15367   ;;
   15368 
   15369 hpux9* | hpux10* | hpux11*)
   15370   # Give a soname corresponding to the major version so that dld.sl refuses to
   15371   # link against other versions.
   15372   version_type=sunos
   15373   need_lib_prefix=no
   15374   need_version=no
   15375   case $host_cpu in
   15376   ia64*)
   15377     shrext_cmds='.so'
   15378     hardcode_into_libs=yes
   15379     dynamic_linker="$host_os dld.so"
   15380     shlibpath_var=LD_LIBRARY_PATH
   15381     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15382     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15383     soname_spec='${libname}${release}${shared_ext}$major'
   15384     if test "X$HPUX_IA64_MODE" = X32; then
   15385       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15386     else
   15387       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15388     fi
   15389     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15390     ;;
   15391    hppa*64*)
   15392      shrext_cmds='.sl'
   15393      hardcode_into_libs=yes
   15394      dynamic_linker="$host_os dld.sl"
   15395      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15396      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15397      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15398      soname_spec='${libname}${release}${shared_ext}$major'
   15399      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15400      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15401      ;;
   15402    *)
   15403     shrext_cmds='.sl'
   15404     dynamic_linker="$host_os dld.sl"
   15405     shlibpath_var=SHLIB_PATH
   15406     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15407     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15408     soname_spec='${libname}${release}${shared_ext}$major'
   15409     ;;
   15410   esac
   15411   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15412   postinstall_cmds='chmod 555 $lib'
   15413   ;;
   15414 
   15415 interix3*)
   15416   version_type=linux
   15417   need_lib_prefix=no
   15418   need_version=no
   15419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15420   soname_spec='${libname}${release}${shared_ext}$major'
   15421   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15422   shlibpath_var=LD_LIBRARY_PATH
   15423   shlibpath_overrides_runpath=no
   15424   hardcode_into_libs=yes
   15425   ;;
   15426 
   15427 irix5* | irix6* | nonstopux*)
   15428   case $host_os in
   15429     nonstopux*) version_type=nonstopux ;;
   15430     *)
   15431 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15432 		version_type=linux
   15433 	else
   15434 		version_type=irix
   15435 	fi ;;
   15436   esac
   15437   need_lib_prefix=no
   15438   need_version=no
   15439   soname_spec='${libname}${release}${shared_ext}$major'
   15440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15441   case $host_os in
   15442   irix5* | nonstopux*)
   15443     libsuff= shlibsuff=
   15444     ;;
   15445   *)
   15446     case $LD in # libtool.m4 will add one of these switches to LD
   15447     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15448       libsuff= shlibsuff= libmagic=32-bit;;
   15449     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15450       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15451     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15452       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15453     *) libsuff= shlibsuff= libmagic=never-match;;
   15454     esac
   15455     ;;
   15456   esac
   15457   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15458   shlibpath_overrides_runpath=no
   15459   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15460   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15461   hardcode_into_libs=yes
   15462   ;;
   15463 
   15464 # No shared lib support for Linux oldld, aout, or coff.
   15465 linux*oldld* | linux*aout* | linux*coff*)
   15466   dynamic_linker=no
   15467   ;;
   15468 
   15469 # This must be Linux ELF.
   15470 linux*)
   15471   version_type=linux
   15472   need_lib_prefix=no
   15473   need_version=no
   15474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15475   soname_spec='${libname}${release}${shared_ext}$major'
   15476   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15477   shlibpath_var=LD_LIBRARY_PATH
   15478   shlibpath_overrides_runpath=no
   15479   # This implies no fast_install, which is unacceptable.
   15480   # Some rework will be needed to allow for fast_install
   15481   # before this can be enabled.
   15482   hardcode_into_libs=yes
   15483 
   15484   # Append ld.so.conf contents to the search path
   15485   if test -f /etc/ld.so.conf; then
   15486     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' ' '`
   15487     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15488   fi
   15489 
   15490   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15491   # powerpc, because MkLinux only supported shared libraries with the
   15492   # GNU dynamic linker.  Since this was broken with cross compilers,
   15493   # most powerpc-linux boxes support dynamic linking these days and
   15494   # people can always --disable-shared, the test was removed, and we
   15495   # assume the GNU/Linux dynamic linker is in use.
   15496   dynamic_linker='GNU/Linux ld.so'
   15497   ;;
   15498 
   15499 knetbsd*-gnu)
   15500   version_type=linux
   15501   need_lib_prefix=no
   15502   need_version=no
   15503   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15504   soname_spec='${libname}${release}${shared_ext}$major'
   15505   shlibpath_var=LD_LIBRARY_PATH
   15506   shlibpath_overrides_runpath=no
   15507   hardcode_into_libs=yes
   15508   dynamic_linker='GNU ld.so'
   15509   ;;
   15510 
   15511 netbsd*)
   15512   version_type=sunos
   15513   need_lib_prefix=no
   15514   need_version=no
   15515   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15516     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15517     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15518     dynamic_linker='NetBSD (a.out) ld.so'
   15519   else
   15520     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15521     soname_spec='${libname}${release}${shared_ext}$major'
   15522     dynamic_linker='NetBSD ld.elf_so'
   15523   fi
   15524   shlibpath_var=LD_LIBRARY_PATH
   15525   shlibpath_overrides_runpath=yes
   15526   hardcode_into_libs=yes
   15527   ;;
   15528 
   15529 newsos6)
   15530   version_type=linux
   15531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15532   shlibpath_var=LD_LIBRARY_PATH
   15533   shlibpath_overrides_runpath=yes
   15534   ;;
   15535 
   15536 nto-qnx*)
   15537   version_type=linux
   15538   need_lib_prefix=no
   15539   need_version=no
   15540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15541   soname_spec='${libname}${release}${shared_ext}$major'
   15542   shlibpath_var=LD_LIBRARY_PATH
   15543   shlibpath_overrides_runpath=yes
   15544   ;;
   15545 
   15546 openbsd*)
   15547   version_type=sunos
   15548   sys_lib_dlsearch_path_spec="/usr/lib"
   15549   need_lib_prefix=no
   15550   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15551   case $host_os in
   15552     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15553     *)                         need_version=no  ;;
   15554   esac
   15555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15556   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15557   shlibpath_var=LD_LIBRARY_PATH
   15558   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15559     case $host_os in
   15560       openbsd2.[89] | openbsd2.[89].*)
   15561 	shlibpath_overrides_runpath=no
   15562 	;;
   15563       *)
   15564 	shlibpath_overrides_runpath=yes
   15565 	;;
   15566       esac
   15567   else
   15568     shlibpath_overrides_runpath=yes
   15569   fi
   15570   ;;
   15571 
   15572 os2*)
   15573   libname_spec='$name'
   15574   shrext_cmds=".dll"
   15575   need_lib_prefix=no
   15576   library_names_spec='$libname${shared_ext} $libname.a'
   15577   dynamic_linker='OS/2 ld.exe'
   15578   shlibpath_var=LIBPATH
   15579   ;;
   15580 
   15581 osf3* | osf4* | osf5*)
   15582   version_type=osf
   15583   need_lib_prefix=no
   15584   need_version=no
   15585   soname_spec='${libname}${release}${shared_ext}$major'
   15586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15587   shlibpath_var=LD_LIBRARY_PATH
   15588   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15589   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15590   ;;
   15591 
   15592 solaris*)
   15593   version_type=linux
   15594   need_lib_prefix=no
   15595   need_version=no
   15596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15597   soname_spec='${libname}${release}${shared_ext}$major'
   15598   shlibpath_var=LD_LIBRARY_PATH
   15599   shlibpath_overrides_runpath=yes
   15600   hardcode_into_libs=yes
   15601   # ldd complains unless libraries are executable
   15602   postinstall_cmds='chmod +x $lib'
   15603   ;;
   15604 
   15605 sunos4*)
   15606   version_type=sunos
   15607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15608   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15609   shlibpath_var=LD_LIBRARY_PATH
   15610   shlibpath_overrides_runpath=yes
   15611   if test "$with_gnu_ld" = yes; then
   15612     need_lib_prefix=no
   15613   fi
   15614   need_version=yes
   15615   ;;
   15616 
   15617 sysv4 | sysv4.3*)
   15618   version_type=linux
   15619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15620   soname_spec='${libname}${release}${shared_ext}$major'
   15621   shlibpath_var=LD_LIBRARY_PATH
   15622   case $host_vendor in
   15623     sni)
   15624       shlibpath_overrides_runpath=no
   15625       need_lib_prefix=no
   15626       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15627       runpath_var=LD_RUN_PATH
   15628       ;;
   15629     siemens)
   15630       need_lib_prefix=no
   15631       ;;
   15632     motorola)
   15633       need_lib_prefix=no
   15634       need_version=no
   15635       shlibpath_overrides_runpath=no
   15636       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15637       ;;
   15638   esac
   15639   ;;
   15640 
   15641 sysv4*MP*)
   15642   if test -d /usr/nec ;then
   15643     version_type=linux
   15644     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15645     soname_spec='$libname${shared_ext}.$major'
   15646     shlibpath_var=LD_LIBRARY_PATH
   15647   fi
   15648   ;;
   15649 
   15650 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15651   version_type=freebsd-elf
   15652   need_lib_prefix=no
   15653   need_version=no
   15654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15655   soname_spec='${libname}${release}${shared_ext}$major'
   15656   shlibpath_var=LD_LIBRARY_PATH
   15657   hardcode_into_libs=yes
   15658   if test "$with_gnu_ld" = yes; then
   15659     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15660     shlibpath_overrides_runpath=no
   15661   else
   15662     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15663     shlibpath_overrides_runpath=yes
   15664     case $host_os in
   15665       sco3.2v5*)
   15666         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15667 	;;
   15668     esac
   15669   fi
   15670   sys_lib_dlsearch_path_spec='/usr/lib'
   15671   ;;
   15672 
   15673 uts4*)
   15674   version_type=linux
   15675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15676   soname_spec='${libname}${release}${shared_ext}$major'
   15677   shlibpath_var=LD_LIBRARY_PATH
   15678   ;;
   15679 
   15680 *)
   15681   dynamic_linker=no
   15682   ;;
   15683 esac
   15684 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15685 echo "${ECHO_T}$dynamic_linker" >&6; }
   15686 test "$dynamic_linker" = no && can_build_shared=no
   15687 
   15688 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15689 if test "$GCC" = yes; then
   15690   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15691 fi
   15692 
   15693 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15694 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15695 hardcode_action_F77=
   15696 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15697    test -n "$runpath_var_F77" || \
   15698    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15699 
   15700   # We can hardcode non-existant directories.
   15701   if test "$hardcode_direct_F77" != no &&
   15702      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15703      # have to relink, otherwise we might link with an installed library
   15704      # when we should be linking with a yet-to-be-installed one
   15705      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15706      test "$hardcode_minus_L_F77" != no; then
   15707     # Linking always hardcodes the temporary library directory.
   15708     hardcode_action_F77=relink
   15709   else
   15710     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15711     hardcode_action_F77=immediate
   15712   fi
   15713 else
   15714   # We cannot hardcode anything, or else we can only hardcode existing
   15715   # directories.
   15716   hardcode_action_F77=unsupported
   15717 fi
   15718 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15719 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15720 
   15721 if test "$hardcode_action_F77" = relink; then
   15722   # Fast installation is not supported
   15723   enable_fast_install=no
   15724 elif test "$shlibpath_overrides_runpath" = yes ||
   15725      test "$enable_shared" = no; then
   15726   # Fast installation is not necessary
   15727   enable_fast_install=needless
   15728 fi
   15729 
   15730 
   15731 # The else clause should only fire when bootstrapping the
   15732 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15733 # with your package, and you will get complaints that there are
   15734 # no rules to generate ltmain.sh.
   15735 if test -f "$ltmain"; then
   15736   # See if we are running on zsh, and set the options which allow our commands through
   15737   # without removal of \ escapes.
   15738   if test -n "${ZSH_VERSION+set}" ; then
   15739     setopt NO_GLOB_SUBST
   15740   fi
   15741   # Now quote all the things that may contain metacharacters while being
   15742   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15743   # variables and quote the copies for generation of the libtool script.
   15744   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15745     SED SHELL STRIP \
   15746     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15747     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15748     deplibs_check_method reload_flag reload_cmds need_locks \
   15749     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15750     lt_cv_sys_global_symbol_to_c_name_address \
   15751     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15752     old_postinstall_cmds old_postuninstall_cmds \
   15753     compiler_F77 \
   15754     CC_F77 \
   15755     LD_F77 \
   15756     lt_prog_compiler_wl_F77 \
   15757     lt_prog_compiler_pic_F77 \
   15758     lt_prog_compiler_static_F77 \
   15759     lt_prog_compiler_no_builtin_flag_F77 \
   15760     export_dynamic_flag_spec_F77 \
   15761     thread_safe_flag_spec_F77 \
   15762     whole_archive_flag_spec_F77 \
   15763     enable_shared_with_static_runtimes_F77 \
   15764     old_archive_cmds_F77 \
   15765     old_archive_from_new_cmds_F77 \
   15766     predep_objects_F77 \
   15767     postdep_objects_F77 \
   15768     predeps_F77 \
   15769     postdeps_F77 \
   15770     compiler_lib_search_path_F77 \
   15771     archive_cmds_F77 \
   15772     archive_expsym_cmds_F77 \
   15773     postinstall_cmds_F77 \
   15774     postuninstall_cmds_F77 \
   15775     old_archive_from_expsyms_cmds_F77 \
   15776     allow_undefined_flag_F77 \
   15777     no_undefined_flag_F77 \
   15778     export_symbols_cmds_F77 \
   15779     hardcode_libdir_flag_spec_F77 \
   15780     hardcode_libdir_flag_spec_ld_F77 \
   15781     hardcode_libdir_separator_F77 \
   15782     hardcode_automatic_F77 \
   15783     module_cmds_F77 \
   15784     module_expsym_cmds_F77 \
   15785     lt_cv_prog_compiler_c_o_F77 \
   15786     exclude_expsyms_F77 \
   15787     include_expsyms_F77; do
   15788 
   15789     case $var in
   15790     old_archive_cmds_F77 | \
   15791     old_archive_from_new_cmds_F77 | \
   15792     archive_cmds_F77 | \
   15793     archive_expsym_cmds_F77 | \
   15794     module_cmds_F77 | \
   15795     module_expsym_cmds_F77 | \
   15796     old_archive_from_expsyms_cmds_F77 | \
   15797     export_symbols_cmds_F77 | \
   15798     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15799     postinstall_cmds | postuninstall_cmds | \
   15800     old_postinstall_cmds | old_postuninstall_cmds | \
   15801     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15802       # Double-quote double-evaled strings.
   15803       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15804       ;;
   15805     *)
   15806       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15807       ;;
   15808     esac
   15809   done
   15810 
   15811   case $lt_echo in
   15812   *'\$0 --fallback-echo"')
   15813     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15814     ;;
   15815   esac
   15816 
   15817 cfgfile="$ofile"
   15818 
   15819   cat <<__EOF__ >> "$cfgfile"
   15820 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15821 
   15822 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15823 
   15824 # Shell to use when invoking shell scripts.
   15825 SHELL=$lt_SHELL
   15826 
   15827 # Whether or not to build shared libraries.
   15828 build_libtool_libs=$enable_shared
   15829 
   15830 # Whether or not to build static libraries.
   15831 build_old_libs=$enable_static
   15832 
   15833 # Whether or not to add -lc for building shared libraries.
   15834 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15835 
   15836 # Whether or not to disallow shared libs when runtime libs are static
   15837 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15838 
   15839 # Whether or not to optimize for fast installation.
   15840 fast_install=$enable_fast_install
   15841 
   15842 # The host system.
   15843 host_alias=$host_alias
   15844 host=$host
   15845 host_os=$host_os
   15846 
   15847 # The build system.
   15848 build_alias=$build_alias
   15849 build=$build
   15850 build_os=$build_os
   15851 
   15852 # An echo program that does not interpret backslashes.
   15853 echo=$lt_echo
   15854 
   15855 # The archiver.
   15856 AR=$lt_AR
   15857 AR_FLAGS=$lt_AR_FLAGS
   15858 
   15859 # A C compiler.
   15860 LTCC=$lt_LTCC
   15861 
   15862 # LTCC compiler flags.
   15863 LTCFLAGS=$lt_LTCFLAGS
   15864 
   15865 # A language-specific compiler.
   15866 CC=$lt_compiler_F77
   15867 
   15868 # Is the compiler the GNU C compiler?
   15869 with_gcc=$GCC_F77
   15870 
   15871 # An ERE matcher.
   15872 EGREP=$lt_EGREP
   15873 
   15874 # The linker used to build libraries.
   15875 LD=$lt_LD_F77
   15876 
   15877 # Whether we need hard or soft links.
   15878 LN_S=$lt_LN_S
   15879 
   15880 # A BSD-compatible nm program.
   15881 NM=$lt_NM
   15882 
   15883 # A symbol stripping program
   15884 STRIP=$lt_STRIP
   15885 
   15886 # Used to examine libraries when file_magic_cmd begins "file"
   15887 MAGIC_CMD=$MAGIC_CMD
   15888 
   15889 # Used on cygwin: DLL creation program.
   15890 DLLTOOL="$DLLTOOL"
   15891 
   15892 # Used on cygwin: object dumper.
   15893 OBJDUMP="$OBJDUMP"
   15894 
   15895 # Used on cygwin: assembler.
   15896 AS="$AS"
   15897 
   15898 # The name of the directory that contains temporary libtool files.
   15899 objdir=$objdir
   15900 
   15901 # How to create reloadable object files.
   15902 reload_flag=$lt_reload_flag
   15903 reload_cmds=$lt_reload_cmds
   15904 
   15905 # How to pass a linker flag through the compiler.
   15906 wl=$lt_lt_prog_compiler_wl_F77
   15907 
   15908 # Object file suffix (normally "o").
   15909 objext="$ac_objext"
   15910 
   15911 # Old archive suffix (normally "a").
   15912 libext="$libext"
   15913 
   15914 # Shared library suffix (normally ".so").
   15915 shrext_cmds='$shrext_cmds'
   15916 
   15917 # Executable file suffix (normally "").
   15918 exeext="$exeext"
   15919 
   15920 # Additional compiler flags for building library objects.
   15921 pic_flag=$lt_lt_prog_compiler_pic_F77
   15922 pic_mode=$pic_mode
   15923 
   15924 # What is the maximum length of a command?
   15925 max_cmd_len=$lt_cv_sys_max_cmd_len
   15926 
   15927 # Does compiler simultaneously support -c and -o options?
   15928 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15929 
   15930 # Must we lock files when doing compilation?
   15931 need_locks=$lt_need_locks
   15932 
   15933 # Do we need the lib prefix for modules?
   15934 need_lib_prefix=$need_lib_prefix
   15935 
   15936 # Do we need a version for libraries?
   15937 need_version=$need_version
   15938 
   15939 # Whether dlopen is supported.
   15940 dlopen_support=$enable_dlopen
   15941 
   15942 # Whether dlopen of programs is supported.
   15943 dlopen_self=$enable_dlopen_self
   15944 
   15945 # Whether dlopen of statically linked programs is supported.
   15946 dlopen_self_static=$enable_dlopen_self_static
   15947 
   15948 # Compiler flag to prevent dynamic linking.
   15949 link_static_flag=$lt_lt_prog_compiler_static_F77
   15950 
   15951 # Compiler flag to turn off builtin functions.
   15952 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15953 
   15954 # Compiler flag to allow reflexive dlopens.
   15955 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15956 
   15957 # Compiler flag to generate shared objects directly from archives.
   15958 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15959 
   15960 # Compiler flag to generate thread-safe objects.
   15961 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15962 
   15963 # Library versioning type.
   15964 version_type=$version_type
   15965 
   15966 # Format of library name prefix.
   15967 libname_spec=$lt_libname_spec
   15968 
   15969 # List of archive names.  First name is the real one, the rest are links.
   15970 # The last name is the one that the linker finds with -lNAME.
   15971 library_names_spec=$lt_library_names_spec
   15972 
   15973 # The coded name of the library, if different from the real name.
   15974 soname_spec=$lt_soname_spec
   15975 
   15976 # Commands used to build and install an old-style archive.
   15977 RANLIB=$lt_RANLIB
   15978 old_archive_cmds=$lt_old_archive_cmds_F77
   15979 old_postinstall_cmds=$lt_old_postinstall_cmds
   15980 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15981 
   15982 # Create an old-style archive from a shared archive.
   15983 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15984 
   15985 # Create a temporary old-style archive to link instead of a shared archive.
   15986 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15987 
   15988 # Commands used to build and install a shared archive.
   15989 archive_cmds=$lt_archive_cmds_F77
   15990 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15991 postinstall_cmds=$lt_postinstall_cmds
   15992 postuninstall_cmds=$lt_postuninstall_cmds
   15993 
   15994 # Commands used to build a loadable module (assumed same as above if empty)
   15995 module_cmds=$lt_module_cmds_F77
   15996 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15997 
   15998 # Commands to strip libraries.
   15999 old_striplib=$lt_old_striplib
   16000 striplib=$lt_striplib
   16001 
   16002 # Dependencies to place before the objects being linked to create a
   16003 # shared library.
   16004 predep_objects=$lt_predep_objects_F77
   16005 
   16006 # Dependencies to place after the objects being linked to create a
   16007 # shared library.
   16008 postdep_objects=$lt_postdep_objects_F77
   16009 
   16010 # Dependencies to place before the objects being linked to create a
   16011 # shared library.
   16012 predeps=$lt_predeps_F77
   16013 
   16014 # Dependencies to place after the objects being linked to create a
   16015 # shared library.
   16016 postdeps=$lt_postdeps_F77
   16017 
   16018 # The library search path used internally by the compiler when linking
   16019 # a shared library.
   16020 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16021 
   16022 # Method to check whether dependent libraries are shared objects.
   16023 deplibs_check_method=$lt_deplibs_check_method
   16024 
   16025 # Command to use when deplibs_check_method == file_magic.
   16026 file_magic_cmd=$lt_file_magic_cmd
   16027 
   16028 # Flag that allows shared libraries with undefined symbols to be built.
   16029 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16030 
   16031 # Flag that forces no undefined symbols.
   16032 no_undefined_flag=$lt_no_undefined_flag_F77
   16033 
   16034 # Commands used to finish a libtool library installation in a directory.
   16035 finish_cmds=$lt_finish_cmds
   16036 
   16037 # Same as above, but a single script fragment to be evaled but not shown.
   16038 finish_eval=$lt_finish_eval
   16039 
   16040 # Take the output of nm and produce a listing of raw symbols and C names.
   16041 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16042 
   16043 # Transform the output of nm in a proper C declaration
   16044 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16045 
   16046 # Transform the output of nm in a C name address pair
   16047 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16048 
   16049 # This is the shared library runtime path variable.
   16050 runpath_var=$runpath_var
   16051 
   16052 # This is the shared library path variable.
   16053 shlibpath_var=$shlibpath_var
   16054 
   16055 # Is shlibpath searched before the hard-coded library search path?
   16056 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16057 
   16058 # How to hardcode a shared library path into an executable.
   16059 hardcode_action=$hardcode_action_F77
   16060 
   16061 # Whether we should hardcode library paths into libraries.
   16062 hardcode_into_libs=$hardcode_into_libs
   16063 
   16064 # Flag to hardcode \$libdir into a binary during linking.
   16065 # This must work even if \$libdir does not exist.
   16066 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16067 
   16068 # If ld is used when linking, flag to hardcode \$libdir into
   16069 # a binary during linking. This must work even if \$libdir does
   16070 # not exist.
   16071 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16072 
   16073 # Whether we need a single -rpath flag with a separated argument.
   16074 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16075 
   16076 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16077 # resulting binary.
   16078 hardcode_direct=$hardcode_direct_F77
   16079 
   16080 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16081 # resulting binary.
   16082 hardcode_minus_L=$hardcode_minus_L_F77
   16083 
   16084 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16085 # the resulting binary.
   16086 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16087 
   16088 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16089 # and all subsequent libraries and executables linked against it.
   16090 hardcode_automatic=$hardcode_automatic_F77
   16091 
   16092 # Variables whose values should be saved in libtool wrapper scripts and
   16093 # restored at relink time.
   16094 variables_saved_for_relink="$variables_saved_for_relink"
   16095 
   16096 # Whether libtool must link a program against all its dependency libraries.
   16097 link_all_deplibs=$link_all_deplibs_F77
   16098 
   16099 # Compile-time system search path for libraries
   16100 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16101 
   16102 # Run-time system search path for libraries
   16103 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16104 
   16105 # Fix the shell variable \$srcfile for the compiler.
   16106 fix_srcfile_path="$fix_srcfile_path_F77"
   16107 
   16108 # Set to yes if exported symbols are required.
   16109 always_export_symbols=$always_export_symbols_F77
   16110 
   16111 # The commands to list exported symbols.
   16112 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16113 
   16114 # The commands to extract the exported symbol list from a shared archive.
   16115 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16116 
   16117 # Symbols that should not be listed in the preloaded symbols.
   16118 exclude_expsyms=$lt_exclude_expsyms_F77
   16119 
   16120 # Symbols that must always be exported.
   16121 include_expsyms=$lt_include_expsyms_F77
   16122 
   16123 # ### END LIBTOOL TAG CONFIG: $tagname
   16124 
   16125 __EOF__
   16126 
   16127 
   16128 else
   16129   # If there is no Makefile yet, we rely on a make rule to execute
   16130   # `config.status --recheck' to rerun these tests and create the
   16131   # libtool script then.
   16132   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16133   if test -f "$ltmain_in"; then
   16134     test -f Makefile && make "$ltmain"
   16135   fi
   16136 fi
   16137 
   16138 
   16139 ac_ext=c
   16140 ac_cpp='$CPP $CPPFLAGS'
   16141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16144 
   16145 CC="$lt_save_CC"
   16146 
   16147 	else
   16148 	  tagname=""
   16149 	fi
   16150 	;;
   16151 
   16152       GCJ)
   16153 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16154 
   16155 
   16156 # Source file extension for Java test sources.
   16157 ac_ext=java
   16158 
   16159 # Object file extension for compiled Java test sources.
   16160 objext=o
   16161 objext_GCJ=$objext
   16162 
   16163 # Code to be used in simple compile tests
   16164 lt_simple_compile_test_code="class foo {}\n"
   16165 
   16166 # Code to be used in simple link tests
   16167 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16168 
   16169 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16170 
   16171 # If no C compiler was specified, use CC.
   16172 LTCC=${LTCC-"$CC"}
   16173 
   16174 # If no C compiler flags were specified, use CFLAGS.
   16175 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16176 
   16177 # Allow CC to be a program name with arguments.
   16178 compiler=$CC
   16179 
   16180 
   16181 # save warnings/boilerplate of simple test code
   16182 ac_outfile=conftest.$ac_objext
   16183 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16184 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16185 _lt_compiler_boilerplate=`cat conftest.err`
   16186 $rm conftest*
   16187 
   16188 ac_outfile=conftest.$ac_objext
   16189 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16190 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16191 _lt_linker_boilerplate=`cat conftest.err`
   16192 $rm conftest*
   16193 
   16194 
   16195 # Allow CC to be a program name with arguments.
   16196 lt_save_CC="$CC"
   16197 CC=${GCJ-"gcj"}
   16198 compiler=$CC
   16199 compiler_GCJ=$CC
   16200 for cc_temp in $compiler""; do
   16201   case $cc_temp in
   16202     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16203     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16204     \-*) ;;
   16205     *) break;;
   16206   esac
   16207 done
   16208 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16209 
   16210 
   16211 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16212 archive_cmds_need_lc_GCJ=no
   16213 
   16214 old_archive_cmds_GCJ=$old_archive_cmds
   16215 
   16216 
   16217 lt_prog_compiler_no_builtin_flag_GCJ=
   16218 
   16219 if test "$GCC" = yes; then
   16220   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16221 
   16222 
   16223 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16224 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16225 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16226   echo $ECHO_N "(cached) $ECHO_C" >&6
   16227 else
   16228   lt_cv_prog_compiler_rtti_exceptions=no
   16229   ac_outfile=conftest.$ac_objext
   16230    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16231    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16232    # Insert the option either (1) after the last *FLAGS variable, or
   16233    # (2) before a word containing "conftest.", or (3) at the end.
   16234    # Note that $ac_compile itself does not contain backslashes and begins
   16235    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16236    # The option is referenced via a variable to avoid confusing sed.
   16237    lt_compile=`echo "$ac_compile" | $SED \
   16238    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16239    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16240    -e 's:$: $lt_compiler_flag:'`
   16241    (eval echo "\"\$as_me:16241: $lt_compile\"" >&5)
   16242    (eval "$lt_compile" 2>conftest.err)
   16243    ac_status=$?
   16244    cat conftest.err >&5
   16245    echo "$as_me:16245: \$? = $ac_status" >&5
   16246    if (exit $ac_status) && test -s "$ac_outfile"; then
   16247      # The compiler can only warn and ignore the option if not recognized
   16248      # So say no if there are warnings other than the usual output.
   16249      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16250      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16251      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16252        lt_cv_prog_compiler_rtti_exceptions=yes
   16253      fi
   16254    fi
   16255    $rm conftest*
   16256 
   16257 fi
   16258 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16259 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16260 
   16261 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16262     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16263 else
   16264     :
   16265 fi
   16266 
   16267 fi
   16268 
   16269 lt_prog_compiler_wl_GCJ=
   16270 lt_prog_compiler_pic_GCJ=
   16271 lt_prog_compiler_static_GCJ=
   16272 
   16273 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16274 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16275 
   16276   if test "$GCC" = yes; then
   16277     lt_prog_compiler_wl_GCJ='-Wl,'
   16278     lt_prog_compiler_static_GCJ='-static'
   16279 
   16280     case $host_os in
   16281       aix*)
   16282       # All AIX code is PIC.
   16283       if test "$host_cpu" = ia64; then
   16284 	# AIX 5 now supports IA64 processor
   16285 	lt_prog_compiler_static_GCJ='-Bstatic'
   16286       fi
   16287       ;;
   16288 
   16289     amigaos*)
   16290       # FIXME: we need at least 68020 code to build shared libraries, but
   16291       # adding the `-m68020' flag to GCC prevents building anything better,
   16292       # like `-m68040'.
   16293       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16294       ;;
   16295 
   16296     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16297       # PIC is the default for these OSes.
   16298       ;;
   16299 
   16300     mingw* | pw32* | os2*)
   16301       # This hack is so that the source file can tell whether it is being
   16302       # built for inclusion in a dll (and should export symbols for example).
   16303       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16304       ;;
   16305 
   16306     darwin* | rhapsody*)
   16307       # PIC is the default on this platform
   16308       # Common symbols not allowed in MH_DYLIB files
   16309       lt_prog_compiler_pic_GCJ='-fno-common'
   16310       ;;
   16311 
   16312     interix3*)
   16313       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16314       # Instead, we relocate shared libraries at runtime.
   16315       ;;
   16316 
   16317     msdosdjgpp*)
   16318       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16319       # on systems that don't support them.
   16320       lt_prog_compiler_can_build_shared_GCJ=no
   16321       enable_shared=no
   16322       ;;
   16323 
   16324     sysv4*MP*)
   16325       if test -d /usr/nec; then
   16326 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16327       fi
   16328       ;;
   16329 
   16330     hpux*)
   16331       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16332       # not for PA HP-UX.
   16333       case $host_cpu in
   16334       hppa*64*|ia64*)
   16335 	# +Z the default
   16336 	;;
   16337       *)
   16338 	lt_prog_compiler_pic_GCJ='-fPIC'
   16339 	;;
   16340       esac
   16341       ;;
   16342 
   16343     *)
   16344       lt_prog_compiler_pic_GCJ='-fPIC'
   16345       ;;
   16346     esac
   16347   else
   16348     # PORTME Check for flag to pass linker flags through the system compiler.
   16349     case $host_os in
   16350     aix*)
   16351       lt_prog_compiler_wl_GCJ='-Wl,'
   16352       if test "$host_cpu" = ia64; then
   16353 	# AIX 5 now supports IA64 processor
   16354 	lt_prog_compiler_static_GCJ='-Bstatic'
   16355       else
   16356 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16357       fi
   16358       ;;
   16359       darwin*)
   16360         # PIC is the default on this platform
   16361         # Common symbols not allowed in MH_DYLIB files
   16362        case $cc_basename in
   16363          xlc*)
   16364          lt_prog_compiler_pic_GCJ='-qnocommon'
   16365          lt_prog_compiler_wl_GCJ='-Wl,'
   16366          ;;
   16367        esac
   16368        ;;
   16369 
   16370     mingw* | pw32* | os2*)
   16371       # This hack is so that the source file can tell whether it is being
   16372       # built for inclusion in a dll (and should export symbols for example).
   16373       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16374       ;;
   16375 
   16376     hpux9* | hpux10* | hpux11*)
   16377       lt_prog_compiler_wl_GCJ='-Wl,'
   16378       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16379       # not for PA HP-UX.
   16380       case $host_cpu in
   16381       hppa*64*|ia64*)
   16382 	# +Z the default
   16383 	;;
   16384       *)
   16385 	lt_prog_compiler_pic_GCJ='+Z'
   16386 	;;
   16387       esac
   16388       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16389       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16390       ;;
   16391 
   16392     irix5* | irix6* | nonstopux*)
   16393       lt_prog_compiler_wl_GCJ='-Wl,'
   16394       # PIC (with -KPIC) is the default.
   16395       lt_prog_compiler_static_GCJ='-non_shared'
   16396       ;;
   16397 
   16398     newsos6)
   16399       lt_prog_compiler_pic_GCJ='-KPIC'
   16400       lt_prog_compiler_static_GCJ='-Bstatic'
   16401       ;;
   16402 
   16403     linux*)
   16404       case $cc_basename in
   16405       icc* | ecc*)
   16406 	lt_prog_compiler_wl_GCJ='-Wl,'
   16407 	lt_prog_compiler_pic_GCJ='-KPIC'
   16408 	lt_prog_compiler_static_GCJ='-static'
   16409         ;;
   16410       pgcc* | pgf77* | pgf90* | pgf95*)
   16411         # Portland Group compilers (*not* the Pentium gcc compiler,
   16412 	# which looks to be a dead project)
   16413 	lt_prog_compiler_wl_GCJ='-Wl,'
   16414 	lt_prog_compiler_pic_GCJ='-fpic'
   16415 	lt_prog_compiler_static_GCJ='-Bstatic'
   16416         ;;
   16417       ccc*)
   16418         lt_prog_compiler_wl_GCJ='-Wl,'
   16419         # All Alpha code is PIC.
   16420         lt_prog_compiler_static_GCJ='-non_shared'
   16421         ;;
   16422       esac
   16423       ;;
   16424 
   16425     osf3* | osf4* | osf5*)
   16426       lt_prog_compiler_wl_GCJ='-Wl,'
   16427       # All OSF/1 code is PIC.
   16428       lt_prog_compiler_static_GCJ='-non_shared'
   16429       ;;
   16430 
   16431     solaris*)
   16432       lt_prog_compiler_pic_GCJ='-KPIC'
   16433       lt_prog_compiler_static_GCJ='-Bstatic'
   16434       case $cc_basename in
   16435       f77* | f90* | f95*)
   16436 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16437       *)
   16438 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16439       esac
   16440       ;;
   16441 
   16442     sunos4*)
   16443       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16444       lt_prog_compiler_pic_GCJ='-PIC'
   16445       lt_prog_compiler_static_GCJ='-Bstatic'
   16446       ;;
   16447 
   16448     sysv4 | sysv4.2uw2* | sysv4.3*)
   16449       lt_prog_compiler_wl_GCJ='-Wl,'
   16450       lt_prog_compiler_pic_GCJ='-KPIC'
   16451       lt_prog_compiler_static_GCJ='-Bstatic'
   16452       ;;
   16453 
   16454     sysv4*MP*)
   16455       if test -d /usr/nec ;then
   16456 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16457 	lt_prog_compiler_static_GCJ='-Bstatic'
   16458       fi
   16459       ;;
   16460 
   16461     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16462       lt_prog_compiler_wl_GCJ='-Wl,'
   16463       lt_prog_compiler_pic_GCJ='-KPIC'
   16464       lt_prog_compiler_static_GCJ='-Bstatic'
   16465       ;;
   16466 
   16467     unicos*)
   16468       lt_prog_compiler_wl_GCJ='-Wl,'
   16469       lt_prog_compiler_can_build_shared_GCJ=no
   16470       ;;
   16471 
   16472     uts4*)
   16473       lt_prog_compiler_pic_GCJ='-pic'
   16474       lt_prog_compiler_static_GCJ='-Bstatic'
   16475       ;;
   16476 
   16477     *)
   16478       lt_prog_compiler_can_build_shared_GCJ=no
   16479       ;;
   16480     esac
   16481   fi
   16482 
   16483 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16484 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16485 
   16486 #
   16487 # Check to make sure the PIC flag actually works.
   16488 #
   16489 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16490 
   16491 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16492 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16493 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16494   echo $ECHO_N "(cached) $ECHO_C" >&6
   16495 else
   16496   lt_prog_compiler_pic_works_GCJ=no
   16497   ac_outfile=conftest.$ac_objext
   16498    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16499    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16500    # Insert the option either (1) after the last *FLAGS variable, or
   16501    # (2) before a word containing "conftest.", or (3) at the end.
   16502    # Note that $ac_compile itself does not contain backslashes and begins
   16503    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16504    # The option is referenced via a variable to avoid confusing sed.
   16505    lt_compile=`echo "$ac_compile" | $SED \
   16506    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16507    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16508    -e 's:$: $lt_compiler_flag:'`
   16509    (eval echo "\"\$as_me:16509: $lt_compile\"" >&5)
   16510    (eval "$lt_compile" 2>conftest.err)
   16511    ac_status=$?
   16512    cat conftest.err >&5
   16513    echo "$as_me:16513: \$? = $ac_status" >&5
   16514    if (exit $ac_status) && test -s "$ac_outfile"; then
   16515      # The compiler can only warn and ignore the option if not recognized
   16516      # So say no if there are warnings other than the usual output.
   16517      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16518      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16519      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16520        lt_prog_compiler_pic_works_GCJ=yes
   16521      fi
   16522    fi
   16523    $rm conftest*
   16524 
   16525 fi
   16526 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16527 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16528 
   16529 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16530     case $lt_prog_compiler_pic_GCJ in
   16531      "" | " "*) ;;
   16532      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16533      esac
   16534 else
   16535     lt_prog_compiler_pic_GCJ=
   16536      lt_prog_compiler_can_build_shared_GCJ=no
   16537 fi
   16538 
   16539 fi
   16540 case $host_os in
   16541   # For platforms which do not support PIC, -DPIC is meaningless:
   16542   *djgpp*)
   16543     lt_prog_compiler_pic_GCJ=
   16544     ;;
   16545   *)
   16546     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16547     ;;
   16548 esac
   16549 
   16550 #
   16551 # Check to make sure the static flag actually works.
   16552 #
   16553 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16554 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16555 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16556 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16557   echo $ECHO_N "(cached) $ECHO_C" >&6
   16558 else
   16559   lt_prog_compiler_static_works_GCJ=no
   16560    save_LDFLAGS="$LDFLAGS"
   16561    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16562    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16563    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16564      # The linker can only warn and ignore the option if not recognized
   16565      # So say no if there are warnings
   16566      if test -s conftest.err; then
   16567        # Append any errors to the config.log.
   16568        cat conftest.err 1>&5
   16569        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16570        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16571        if diff conftest.exp conftest.er2 >/dev/null; then
   16572          lt_prog_compiler_static_works_GCJ=yes
   16573        fi
   16574      else
   16575        lt_prog_compiler_static_works_GCJ=yes
   16576      fi
   16577    fi
   16578    $rm conftest*
   16579    LDFLAGS="$save_LDFLAGS"
   16580 
   16581 fi
   16582 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16583 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16584 
   16585 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16586     :
   16587 else
   16588     lt_prog_compiler_static_GCJ=
   16589 fi
   16590 
   16591 
   16592 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16593 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16594 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16595   echo $ECHO_N "(cached) $ECHO_C" >&6
   16596 else
   16597   lt_cv_prog_compiler_c_o_GCJ=no
   16598    $rm -r conftest 2>/dev/null
   16599    mkdir conftest
   16600    cd conftest
   16601    mkdir out
   16602    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16603 
   16604    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16605    # Insert the option either (1) after the last *FLAGS variable, or
   16606    # (2) before a word containing "conftest.", or (3) at the end.
   16607    # Note that $ac_compile itself does not contain backslashes and begins
   16608    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16609    lt_compile=`echo "$ac_compile" | $SED \
   16610    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16611    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16612    -e 's:$: $lt_compiler_flag:'`
   16613    (eval echo "\"\$as_me:16613: $lt_compile\"" >&5)
   16614    (eval "$lt_compile" 2>out/conftest.err)
   16615    ac_status=$?
   16616    cat out/conftest.err >&5
   16617    echo "$as_me:16617: \$? = $ac_status" >&5
   16618    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16619    then
   16620      # The compiler can only warn and ignore the option if not recognized
   16621      # So say no if there are warnings
   16622      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16623      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16624      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16625        lt_cv_prog_compiler_c_o_GCJ=yes
   16626      fi
   16627    fi
   16628    chmod u+w . 2>&5
   16629    $rm conftest*
   16630    # SGI C++ compiler will create directory out/ii_files/ for
   16631    # template instantiation
   16632    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16633    $rm out/* && rmdir out
   16634    cd ..
   16635    rmdir conftest
   16636    $rm conftest*
   16637 
   16638 fi
   16639 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16640 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16641 
   16642 
   16643 hard_links="nottested"
   16644 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16645   # do not overwrite the value of need_locks provided by the user
   16646   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16647 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16648   hard_links=yes
   16649   $rm conftest*
   16650   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16651   touch conftest.a
   16652   ln conftest.a conftest.b 2>&5 || hard_links=no
   16653   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16654   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16655 echo "${ECHO_T}$hard_links" >&6; }
   16656   if test "$hard_links" = no; then
   16657     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16658 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16659     need_locks=warn
   16660   fi
   16661 else
   16662   need_locks=no
   16663 fi
   16664 
   16665 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16666 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16667 
   16668   runpath_var=
   16669   allow_undefined_flag_GCJ=
   16670   enable_shared_with_static_runtimes_GCJ=no
   16671   archive_cmds_GCJ=
   16672   archive_expsym_cmds_GCJ=
   16673   old_archive_From_new_cmds_GCJ=
   16674   old_archive_from_expsyms_cmds_GCJ=
   16675   export_dynamic_flag_spec_GCJ=
   16676   whole_archive_flag_spec_GCJ=
   16677   thread_safe_flag_spec_GCJ=
   16678   hardcode_libdir_flag_spec_GCJ=
   16679   hardcode_libdir_flag_spec_ld_GCJ=
   16680   hardcode_libdir_separator_GCJ=
   16681   hardcode_direct_GCJ=no
   16682   hardcode_minus_L_GCJ=no
   16683   hardcode_shlibpath_var_GCJ=unsupported
   16684   link_all_deplibs_GCJ=unknown
   16685   hardcode_automatic_GCJ=no
   16686   module_cmds_GCJ=
   16687   module_expsym_cmds_GCJ=
   16688   always_export_symbols_GCJ=no
   16689   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16690   # include_expsyms should be a list of space-separated symbols to be *always*
   16691   # included in the symbol list
   16692   include_expsyms_GCJ=
   16693   # exclude_expsyms can be an extended regexp of symbols to exclude
   16694   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16695   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16696   # as well as any symbol that contains `d'.
   16697   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16698   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16699   # platforms (ab)use it in PIC code, but their linkers get confused if
   16700   # the symbol is explicitly referenced.  Since portable code cannot
   16701   # rely on this symbol name, it's probably fine to never include it in
   16702   # preloaded symbol tables.
   16703   extract_expsyms_cmds=
   16704   # Just being paranoid about ensuring that cc_basename is set.
   16705   for cc_temp in $compiler""; do
   16706   case $cc_temp in
   16707     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16708     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16709     \-*) ;;
   16710     *) break;;
   16711   esac
   16712 done
   16713 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16714 
   16715   case $host_os in
   16716   cygwin* | mingw* | pw32*)
   16717     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16718     # When not using gcc, we currently assume that we are using
   16719     # Microsoft Visual C++.
   16720     if test "$GCC" != yes; then
   16721       with_gnu_ld=no
   16722     fi
   16723     ;;
   16724   interix*)
   16725     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16726     with_gnu_ld=yes
   16727     ;;
   16728   openbsd*)
   16729     with_gnu_ld=no
   16730     ;;
   16731   esac
   16732 
   16733   ld_shlibs_GCJ=yes
   16734   if test "$with_gnu_ld" = yes; then
   16735     # If archive_cmds runs LD, not CC, wlarc should be empty
   16736     wlarc='${wl}'
   16737 
   16738     # Set some defaults for GNU ld with shared library support. These
   16739     # are reset later if shared libraries are not supported. Putting them
   16740     # here allows them to be overridden if necessary.
   16741     runpath_var=LD_RUN_PATH
   16742     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16743     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16744     # ancient GNU ld didn't support --whole-archive et. al.
   16745     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16746 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16747       else
   16748   	whole_archive_flag_spec_GCJ=
   16749     fi
   16750     supports_anon_versioning=no
   16751     case `$LD -v 2>/dev/null` in
   16752       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16753       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16754       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16755       *\ 2.11.*) ;; # other 2.11 versions
   16756       *) supports_anon_versioning=yes ;;
   16757     esac
   16758 
   16759     # See if GNU ld supports shared libraries.
   16760     case $host_os in
   16761     aix3* | aix4* | aix5*)
   16762       # On AIX/PPC, the GNU linker is very broken
   16763       if test "$host_cpu" != ia64; then
   16764 	ld_shlibs_GCJ=no
   16765 	cat <<EOF 1>&2
   16766 
   16767 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16768 *** to be unable to reliably create shared libraries on AIX.
   16769 *** Therefore, libtool is disabling shared libraries support.  If you
   16770 *** really care for shared libraries, you may want to modify your PATH
   16771 *** so that a non-GNU linker is found, and then restart.
   16772 
   16773 EOF
   16774       fi
   16775       ;;
   16776 
   16777     amigaos*)
   16778       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)'
   16779       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16780       hardcode_minus_L_GCJ=yes
   16781 
   16782       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16783       # that the semantics of dynamic libraries on AmigaOS, at least up
   16784       # to version 4, is to share data among multiple programs linked
   16785       # with the same dynamic library.  Since this doesn't match the
   16786       # behavior of shared libraries on other platforms, we can't use
   16787       # them.
   16788       ld_shlibs_GCJ=no
   16789       ;;
   16790 
   16791     beos*)
   16792       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16793 	allow_undefined_flag_GCJ=unsupported
   16794 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16795 	# support --undefined.  This deserves some investigation.  FIXME
   16796 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16797       else
   16798 	ld_shlibs_GCJ=no
   16799       fi
   16800       ;;
   16801 
   16802     cygwin* | mingw* | pw32*)
   16803       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16804       # as there is no search path for DLLs.
   16805       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16806       allow_undefined_flag_GCJ=unsupported
   16807       always_export_symbols_GCJ=no
   16808       enable_shared_with_static_runtimes_GCJ=yes
   16809       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16810 
   16811       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16812         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16813 	# If the export-symbols file already is a .def file (1st line
   16814 	# is EXPORTS), use it as is; otherwise, prepend...
   16815 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16816 	  cp $export_symbols $output_objdir/$soname.def;
   16817 	else
   16818 	  echo EXPORTS > $output_objdir/$soname.def;
   16819 	  cat $export_symbols >> $output_objdir/$soname.def;
   16820 	fi~
   16821 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16822       else
   16823 	ld_shlibs_GCJ=no
   16824       fi
   16825       ;;
   16826 
   16827     interix3*)
   16828       hardcode_direct_GCJ=no
   16829       hardcode_shlibpath_var_GCJ=no
   16830       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16831       export_dynamic_flag_spec_GCJ='${wl}-E'
   16832       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16833       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16834       # default) and relocated if they conflict, which is a slow very memory
   16835       # consuming and fragmenting process.  To avoid this, we pick a random,
   16836       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16837       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16838       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'
   16839       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'
   16840       ;;
   16841 
   16842     linux*)
   16843       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16844 	tmp_addflag=
   16845 	case $cc_basename,$host_cpu in
   16846 	pgcc*)				# Portland Group C compiler
   16847 	  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'
   16848 	  tmp_addflag=' $pic_flag'
   16849 	  ;;
   16850 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16851 	  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'
   16852 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16853 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16854 	  tmp_addflag=' -i_dynamic' ;;
   16855 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16856 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16857 	ifc* | ifort*)			# Intel Fortran compiler
   16858 	  tmp_addflag=' -nofor_main' ;;
   16859 	esac
   16860 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16861 
   16862 	if test $supports_anon_versioning = yes; then
   16863 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16864   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16865   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16866 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16867 	fi
   16868       else
   16869 	ld_shlibs_GCJ=no
   16870       fi
   16871       ;;
   16872 
   16873     netbsd*)
   16874       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16875 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16876 	wlarc=
   16877       else
   16878 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16879 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16880       fi
   16881       ;;
   16882 
   16883     solaris*)
   16884       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16885 	ld_shlibs_GCJ=no
   16886 	cat <<EOF 1>&2
   16887 
   16888 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16889 *** create shared libraries on Solaris systems.  Therefore, libtool
   16890 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16891 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16892 *** your PATH or compiler configuration so that the native linker is
   16893 *** used, and then restart.
   16894 
   16895 EOF
   16896       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16897 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16898 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16899       else
   16900 	ld_shlibs_GCJ=no
   16901       fi
   16902       ;;
   16903 
   16904     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16905       case `$LD -v 2>&1` in
   16906         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16907 	ld_shlibs_GCJ=no
   16908 	cat <<_LT_EOF 1>&2
   16909 
   16910 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16911 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16912 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16913 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16914 *** your PATH or compiler configuration so that the native linker is
   16915 *** used, and then restart.
   16916 
   16917 _LT_EOF
   16918 	;;
   16919 	*)
   16920 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16921 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16922 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16923 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16924 	  else
   16925 	    ld_shlibs_GCJ=no
   16926 	  fi
   16927 	;;
   16928       esac
   16929       ;;
   16930 
   16931     sunos4*)
   16932       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16933       wlarc=
   16934       hardcode_direct_GCJ=yes
   16935       hardcode_shlibpath_var_GCJ=no
   16936       ;;
   16937 
   16938     *)
   16939       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16940 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16941 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16942       else
   16943 	ld_shlibs_GCJ=no
   16944       fi
   16945       ;;
   16946     esac
   16947 
   16948     if test "$ld_shlibs_GCJ" = no; then
   16949       runpath_var=
   16950       hardcode_libdir_flag_spec_GCJ=
   16951       export_dynamic_flag_spec_GCJ=
   16952       whole_archive_flag_spec_GCJ=
   16953     fi
   16954   else
   16955     # PORTME fill in a description of your system's linker (not GNU ld)
   16956     case $host_os in
   16957     aix3*)
   16958       allow_undefined_flag_GCJ=unsupported
   16959       always_export_symbols_GCJ=yes
   16960       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'
   16961       # Note: this linker hardcodes the directories in LIBPATH if there
   16962       # are no directories specified by -L.
   16963       hardcode_minus_L_GCJ=yes
   16964       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16965 	# Neither direct hardcoding nor static linking is supported with a
   16966 	# broken collect2.
   16967 	hardcode_direct_GCJ=unsupported
   16968       fi
   16969       ;;
   16970 
   16971     aix4* | aix5*)
   16972       if test "$host_cpu" = ia64; then
   16973 	# On IA64, the linker does run time linking by default, so we don't
   16974 	# have to do anything special.
   16975 	aix_use_runtimelinking=no
   16976 	exp_sym_flag='-Bexport'
   16977 	no_entry_flag=""
   16978       else
   16979 	# If we're using GNU nm, then we don't want the "-C" option.
   16980 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16981 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16982 	  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'
   16983 	else
   16984 	  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'
   16985 	fi
   16986 	aix_use_runtimelinking=no
   16987 
   16988 	# Test if we are trying to use run time linking or normal
   16989 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16990 	# need to do runtime linking.
   16991 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16992 	  for ld_flag in $LDFLAGS; do
   16993   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16994   	    aix_use_runtimelinking=yes
   16995   	    break
   16996   	  fi
   16997 	  done
   16998 	  ;;
   16999 	esac
   17000 
   17001 	exp_sym_flag='-bexport'
   17002 	no_entry_flag='-bnoentry'
   17003       fi
   17004 
   17005       # When large executables or shared objects are built, AIX ld can
   17006       # have problems creating the table of contents.  If linking a library
   17007       # or program results in "error TOC overflow" add -mminimal-toc to
   17008       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17009       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17010 
   17011       archive_cmds_GCJ=''
   17012       hardcode_direct_GCJ=yes
   17013       hardcode_libdir_separator_GCJ=':'
   17014       link_all_deplibs_GCJ=yes
   17015 
   17016       if test "$GCC" = yes; then
   17017 	case $host_os in aix4.[012]|aix4.[012].*)
   17018 	# We only want to do this on AIX 4.2 and lower, the check
   17019 	# below for broken collect2 doesn't work under 4.3+
   17020 	  collect2name=`${CC} -print-prog-name=collect2`
   17021 	  if test -f "$collect2name" && \
   17022   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17023 	  then
   17024   	  # We have reworked collect2
   17025   	  hardcode_direct_GCJ=yes
   17026 	  else
   17027   	  # We have old collect2
   17028   	  hardcode_direct_GCJ=unsupported
   17029   	  # It fails to find uninstalled libraries when the uninstalled
   17030   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17031   	  # to unsupported forces relinking
   17032   	  hardcode_minus_L_GCJ=yes
   17033   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17034   	  hardcode_libdir_separator_GCJ=
   17035 	  fi
   17036 	  ;;
   17037 	esac
   17038 	shared_flag='-shared'
   17039 	if test "$aix_use_runtimelinking" = yes; then
   17040 	  shared_flag="$shared_flag "'${wl}-G'
   17041 	fi
   17042       else
   17043 	# not using gcc
   17044 	if test "$host_cpu" = ia64; then
   17045   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17046   	# chokes on -Wl,-G. The following line is correct:
   17047 	  shared_flag='-G'
   17048 	else
   17049 	  if test "$aix_use_runtimelinking" = yes; then
   17050 	    shared_flag='${wl}-G'
   17051 	  else
   17052 	    shared_flag='${wl}-bM:SRE'
   17053 	  fi
   17054 	fi
   17055       fi
   17056 
   17057       # It seems that -bexpall does not export symbols beginning with
   17058       # underscore (_), so it is better to generate a list of symbols to export.
   17059       always_export_symbols_GCJ=yes
   17060       if test "$aix_use_runtimelinking" = yes; then
   17061 	# Warning - without using the other runtime loading flags (-brtl),
   17062 	# -berok will link without error, but may produce a broken library.
   17063 	allow_undefined_flag_GCJ='-berok'
   17064        # Determine the default libpath from the value encoded in an empty executable.
   17065        cat >conftest.$ac_ext <<_ACEOF
   17066 /* confdefs.h.  */
   17067 _ACEOF
   17068 cat confdefs.h >>conftest.$ac_ext
   17069 cat >>conftest.$ac_ext <<_ACEOF
   17070 /* end confdefs.h.  */
   17071 
   17072 int
   17073 main ()
   17074 {
   17075 
   17076   ;
   17077   return 0;
   17078 }
   17079 _ACEOF
   17080 rm -f conftest.$ac_objext conftest$ac_exeext
   17081 if { (ac_try="$ac_link"
   17082 case "(($ac_try" in
   17083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17084   *) ac_try_echo=$ac_try;;
   17085 esac
   17086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17087   (eval "$ac_link") 2>conftest.er1
   17088   ac_status=$?
   17089   grep -v '^ *+' conftest.er1 >conftest.err
   17090   rm -f conftest.er1
   17091   cat conftest.err >&5
   17092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17093   (exit $ac_status); } && {
   17094 	 test -z "$ac_c_werror_flag" ||
   17095 	 test ! -s conftest.err
   17096        } && test -s conftest$ac_exeext &&
   17097        $as_test_x conftest$ac_exeext; then
   17098 
   17099 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17100 }'`
   17101 # Check for a 64-bit object if we didn't find anything.
   17102 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; }
   17103 }'`; fi
   17104 else
   17105   echo "$as_me: failed program was:" >&5
   17106 sed 's/^/| /' conftest.$ac_ext >&5
   17107 
   17108 
   17109 fi
   17110 
   17111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17112       conftest$ac_exeext conftest.$ac_ext
   17113 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17114 
   17115        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17116 	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"
   17117        else
   17118 	if test "$host_cpu" = ia64; then
   17119 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17120 	  allow_undefined_flag_GCJ="-z nodefs"
   17121 	  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"
   17122 	else
   17123 	 # Determine the default libpath from the value encoded in an empty executable.
   17124 	 cat >conftest.$ac_ext <<_ACEOF
   17125 /* confdefs.h.  */
   17126 _ACEOF
   17127 cat confdefs.h >>conftest.$ac_ext
   17128 cat >>conftest.$ac_ext <<_ACEOF
   17129 /* end confdefs.h.  */
   17130 
   17131 int
   17132 main ()
   17133 {
   17134 
   17135   ;
   17136   return 0;
   17137 }
   17138 _ACEOF
   17139 rm -f conftest.$ac_objext conftest$ac_exeext
   17140 if { (ac_try="$ac_link"
   17141 case "(($ac_try" in
   17142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17143   *) ac_try_echo=$ac_try;;
   17144 esac
   17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17146   (eval "$ac_link") 2>conftest.er1
   17147   ac_status=$?
   17148   grep -v '^ *+' conftest.er1 >conftest.err
   17149   rm -f conftest.er1
   17150   cat conftest.err >&5
   17151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17152   (exit $ac_status); } && {
   17153 	 test -z "$ac_c_werror_flag" ||
   17154 	 test ! -s conftest.err
   17155        } && test -s conftest$ac_exeext &&
   17156        $as_test_x conftest$ac_exeext; then
   17157 
   17158 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17159 }'`
   17160 # Check for a 64-bit object if we didn't find anything.
   17161 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; }
   17162 }'`; fi
   17163 else
   17164   echo "$as_me: failed program was:" >&5
   17165 sed 's/^/| /' conftest.$ac_ext >&5
   17166 
   17167 
   17168 fi
   17169 
   17170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17171       conftest$ac_exeext conftest.$ac_ext
   17172 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17173 
   17174 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17175 	  # Warning - without using the other run time loading flags,
   17176 	  # -berok will link without error, but may produce a broken library.
   17177 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17178 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17179 	  # Exported symbols can be pulled into shared objects from archives
   17180 	  whole_archive_flag_spec_GCJ='$convenience'
   17181 	  archive_cmds_need_lc_GCJ=yes
   17182 	  # This is similar to how AIX traditionally builds its shared libraries.
   17183 	  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'
   17184 	fi
   17185       fi
   17186       ;;
   17187 
   17188     amigaos*)
   17189       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)'
   17190       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17191       hardcode_minus_L_GCJ=yes
   17192       # see comment about different semantics on the GNU ld section
   17193       ld_shlibs_GCJ=no
   17194       ;;
   17195 
   17196     bsdi[45]*)
   17197       export_dynamic_flag_spec_GCJ=-rdynamic
   17198       ;;
   17199 
   17200     cygwin* | mingw* | pw32*)
   17201       # When not using gcc, we currently assume that we are using
   17202       # Microsoft Visual C++.
   17203       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17204       # no search path for DLLs.
   17205       hardcode_libdir_flag_spec_GCJ=' '
   17206       allow_undefined_flag_GCJ=unsupported
   17207       # Tell ltmain to make .lib files, not .a files.
   17208       libext=lib
   17209       # Tell ltmain to make .dll files, not .so files.
   17210       shrext_cmds=".dll"
   17211       # FIXME: Setting linknames here is a bad hack.
   17212       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17213       # The linker will automatically build a .lib file if we build a DLL.
   17214       old_archive_From_new_cmds_GCJ='true'
   17215       # FIXME: Should let the user specify the lib program.
   17216       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17217       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17218       enable_shared_with_static_runtimes_GCJ=yes
   17219       ;;
   17220 
   17221     darwin* | rhapsody*)
   17222       case $host_os in
   17223         rhapsody* | darwin1.[012])
   17224          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17225          ;;
   17226        *) # Darwin 1.3 on
   17227          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17228            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17229          else
   17230            case ${MACOSX_DEPLOYMENT_TARGET} in
   17231              10.[012])
   17232                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17233                ;;
   17234              10.*)
   17235                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17236                ;;
   17237            esac
   17238          fi
   17239          ;;
   17240       esac
   17241       archive_cmds_need_lc_GCJ=no
   17242       hardcode_direct_GCJ=no
   17243       hardcode_automatic_GCJ=yes
   17244       hardcode_shlibpath_var_GCJ=unsupported
   17245       whole_archive_flag_spec_GCJ=''
   17246       link_all_deplibs_GCJ=yes
   17247     if test "$GCC" = yes ; then
   17248     	output_verbose_link_cmd='echo'
   17249         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17250       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17251       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17252       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}'
   17253       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}'
   17254     else
   17255       case $cc_basename in
   17256         xlc*)
   17257          output_verbose_link_cmd='echo'
   17258          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17259          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17260           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17261          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}'
   17262           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}'
   17263           ;;
   17264        *)
   17265          ld_shlibs_GCJ=no
   17266           ;;
   17267       esac
   17268     fi
   17269       ;;
   17270 
   17271     dgux*)
   17272       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17273       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17274       hardcode_shlibpath_var_GCJ=no
   17275       ;;
   17276 
   17277     freebsd1*)
   17278       ld_shlibs_GCJ=no
   17279       ;;
   17280 
   17281     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17282     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17283     # does not break anything, and helps significantly (at the cost of a little
   17284     # extra space).
   17285     freebsd2.2*)
   17286       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17287       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17288       hardcode_direct_GCJ=yes
   17289       hardcode_shlibpath_var_GCJ=no
   17290       ;;
   17291 
   17292     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17293     freebsd2*)
   17294       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17295       hardcode_direct_GCJ=yes
   17296       hardcode_minus_L_GCJ=yes
   17297       hardcode_shlibpath_var_GCJ=no
   17298       ;;
   17299 
   17300     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17301     freebsd* | kfreebsd*-gnu | dragonfly*)
   17302       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17303       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17304       hardcode_direct_GCJ=yes
   17305       hardcode_shlibpath_var_GCJ=no
   17306       ;;
   17307 
   17308     hpux9*)
   17309       if test "$GCC" = yes; then
   17310 	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'
   17311       else
   17312 	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'
   17313       fi
   17314       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17315       hardcode_libdir_separator_GCJ=:
   17316       hardcode_direct_GCJ=yes
   17317 
   17318       # hardcode_minus_L: Not really in the search PATH,
   17319       # but as the default location of the library.
   17320       hardcode_minus_L_GCJ=yes
   17321       export_dynamic_flag_spec_GCJ='${wl}-E'
   17322       ;;
   17323 
   17324     hpux10*)
   17325       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17326 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17327       else
   17328 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17329       fi
   17330       if test "$with_gnu_ld" = no; then
   17331 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17332 	hardcode_libdir_separator_GCJ=:
   17333 
   17334 	hardcode_direct_GCJ=yes
   17335 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17336 
   17337 	# hardcode_minus_L: Not really in the search PATH,
   17338 	# but as the default location of the library.
   17339 	hardcode_minus_L_GCJ=yes
   17340       fi
   17341       ;;
   17342 
   17343     hpux11*)
   17344       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17345 	case $host_cpu in
   17346 	hppa*64*)
   17347 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17348 	  ;;
   17349 	ia64*)
   17350 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17351 	  ;;
   17352 	*)
   17353 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17354 	  ;;
   17355 	esac
   17356       else
   17357 	case $host_cpu in
   17358 	hppa*64*)
   17359 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17360 	  ;;
   17361 	ia64*)
   17362 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17363 	  ;;
   17364 	*)
   17365 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17366 	  ;;
   17367 	esac
   17368       fi
   17369       if test "$with_gnu_ld" = no; then
   17370 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17371 	hardcode_libdir_separator_GCJ=:
   17372 
   17373 	case $host_cpu in
   17374 	hppa*64*|ia64*)
   17375 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17376 	  hardcode_direct_GCJ=no
   17377 	  hardcode_shlibpath_var_GCJ=no
   17378 	  ;;
   17379 	*)
   17380 	  hardcode_direct_GCJ=yes
   17381 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17382 
   17383 	  # hardcode_minus_L: Not really in the search PATH,
   17384 	  # but as the default location of the library.
   17385 	  hardcode_minus_L_GCJ=yes
   17386 	  ;;
   17387 	esac
   17388       fi
   17389       ;;
   17390 
   17391     irix5* | irix6* | nonstopux*)
   17392       if test "$GCC" = yes; then
   17393 	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'
   17394       else
   17395 	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'
   17396 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17397       fi
   17398       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17399       hardcode_libdir_separator_GCJ=:
   17400       link_all_deplibs_GCJ=yes
   17401       ;;
   17402 
   17403     netbsd*)
   17404       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17405 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17406       else
   17407 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17408       fi
   17409       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17410       hardcode_direct_GCJ=yes
   17411       hardcode_shlibpath_var_GCJ=no
   17412       ;;
   17413 
   17414     newsos6)
   17415       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17416       hardcode_direct_GCJ=yes
   17417       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17418       hardcode_libdir_separator_GCJ=:
   17419       hardcode_shlibpath_var_GCJ=no
   17420       ;;
   17421 
   17422     openbsd*)
   17423       hardcode_direct_GCJ=yes
   17424       hardcode_shlibpath_var_GCJ=no
   17425       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17426 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17427 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17428 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17429 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17430       else
   17431        case $host_os in
   17432 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17433 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17434 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17435 	   ;;
   17436 	 *)
   17437 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17438 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17439 	   ;;
   17440        esac
   17441       fi
   17442       ;;
   17443 
   17444     os2*)
   17445       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17446       hardcode_minus_L_GCJ=yes
   17447       allow_undefined_flag_GCJ=unsupported
   17448       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'
   17449       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17450       ;;
   17451 
   17452     osf3*)
   17453       if test "$GCC" = yes; then
   17454 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17455 	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'
   17456       else
   17457 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17458 	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'
   17459       fi
   17460       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17461       hardcode_libdir_separator_GCJ=:
   17462       ;;
   17463 
   17464     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17465       if test "$GCC" = yes; then
   17466 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17467 	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'
   17468 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17469       else
   17470 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17471 	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'
   17472 	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~
   17473 	$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'
   17474 
   17475 	# Both c and cxx compiler support -rpath directly
   17476 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17477       fi
   17478       hardcode_libdir_separator_GCJ=:
   17479       ;;
   17480 
   17481     solaris*)
   17482       no_undefined_flag_GCJ=' -z text'
   17483       if test "$GCC" = yes; then
   17484 	wlarc='${wl}'
   17485 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17486 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17487 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17488       else
   17489 	wlarc=''
   17490 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17491 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17492   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17493       fi
   17494       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17495       hardcode_shlibpath_var_GCJ=no
   17496       case $host_os in
   17497       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17498       *)
   17499  	# The compiler driver will combine linker options so we
   17500  	# cannot just pass the convience library names through
   17501  	# without $wl, iff we do not link with $LD.
   17502  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17503  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17504  	case $wlarc in
   17505  	'')
   17506  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17507  	*)
   17508  	  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' ;;
   17509  	esac ;;
   17510       esac
   17511       link_all_deplibs_GCJ=yes
   17512       ;;
   17513 
   17514     sunos4*)
   17515       if test "x$host_vendor" = xsequent; then
   17516 	# Use $CC to link under sequent, because it throws in some extra .o
   17517 	# files that make .init and .fini sections work.
   17518 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17519       else
   17520 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17521       fi
   17522       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17523       hardcode_direct_GCJ=yes
   17524       hardcode_minus_L_GCJ=yes
   17525       hardcode_shlibpath_var_GCJ=no
   17526       ;;
   17527 
   17528     sysv4)
   17529       case $host_vendor in
   17530 	sni)
   17531 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17532 	  hardcode_direct_GCJ=yes # is this really true???
   17533 	;;
   17534 	siemens)
   17535 	  ## LD is ld it makes a PLAMLIB
   17536 	  ## CC just makes a GrossModule.
   17537 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17538 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17539 	  hardcode_direct_GCJ=no
   17540         ;;
   17541 	motorola)
   17542 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17543 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17544 	;;
   17545       esac
   17546       runpath_var='LD_RUN_PATH'
   17547       hardcode_shlibpath_var_GCJ=no
   17548       ;;
   17549 
   17550     sysv4.3*)
   17551       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17552       hardcode_shlibpath_var_GCJ=no
   17553       export_dynamic_flag_spec_GCJ='-Bexport'
   17554       ;;
   17555 
   17556     sysv4*MP*)
   17557       if test -d /usr/nec; then
   17558 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17559 	hardcode_shlibpath_var_GCJ=no
   17560 	runpath_var=LD_RUN_PATH
   17561 	hardcode_runpath_var=yes
   17562 	ld_shlibs_GCJ=yes
   17563       fi
   17564       ;;
   17565 
   17566     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17567       no_undefined_flag_GCJ='${wl}-z,text'
   17568       archive_cmds_need_lc_GCJ=no
   17569       hardcode_shlibpath_var_GCJ=no
   17570       runpath_var='LD_RUN_PATH'
   17571 
   17572       if test "$GCC" = yes; then
   17573 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17574 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17575       else
   17576 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17577 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17578       fi
   17579       ;;
   17580 
   17581     sysv5* | sco3.2v5* | sco5v6*)
   17582       # Note: We can NOT use -z defs as we might desire, because we do not
   17583       # link with -lc, and that would cause any symbols used from libc to
   17584       # always be unresolved, which means just about no library would
   17585       # ever link correctly.  If we're not using GNU ld we use -z text
   17586       # though, which does catch some bad symbols but isn't as heavy-handed
   17587       # as -z defs.
   17588       no_undefined_flag_GCJ='${wl}-z,text'
   17589       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17590       archive_cmds_need_lc_GCJ=no
   17591       hardcode_shlibpath_var_GCJ=no
   17592       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17593       hardcode_libdir_separator_GCJ=':'
   17594       link_all_deplibs_GCJ=yes
   17595       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17596       runpath_var='LD_RUN_PATH'
   17597 
   17598       if test "$GCC" = yes; then
   17599 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17600 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17601       else
   17602 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17603 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17604       fi
   17605       ;;
   17606 
   17607     uts4*)
   17608       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17609       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17610       hardcode_shlibpath_var_GCJ=no
   17611       ;;
   17612 
   17613     *)
   17614       ld_shlibs_GCJ=no
   17615       ;;
   17616     esac
   17617   fi
   17618 
   17619 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17620 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17621 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17622 
   17623 #
   17624 # Do we need to explicitly link libc?
   17625 #
   17626 case "x$archive_cmds_need_lc_GCJ" in
   17627 x|xyes)
   17628   # Assume -lc should be added
   17629   archive_cmds_need_lc_GCJ=yes
   17630 
   17631   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17632     case $archive_cmds_GCJ in
   17633     *'~'*)
   17634       # FIXME: we may have to deal with multi-command sequences.
   17635       ;;
   17636     '$CC '*)
   17637       # Test whether the compiler implicitly links with -lc since on some
   17638       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17639       # to ld, don't add -lc before -lgcc.
   17640       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17641 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17642       $rm conftest*
   17643       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17644 
   17645       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17646   (eval $ac_compile) 2>&5
   17647   ac_status=$?
   17648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17649   (exit $ac_status); } 2>conftest.err; then
   17650         soname=conftest
   17651         lib=conftest
   17652         libobjs=conftest.$ac_objext
   17653         deplibs=
   17654         wl=$lt_prog_compiler_wl_GCJ
   17655 	pic_flag=$lt_prog_compiler_pic_GCJ
   17656         compiler_flags=-v
   17657         linker_flags=-v
   17658         verstring=
   17659         output_objdir=.
   17660         libname=conftest
   17661         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17662         allow_undefined_flag_GCJ=
   17663         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17664   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17665   ac_status=$?
   17666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17667   (exit $ac_status); }
   17668         then
   17669 	  archive_cmds_need_lc_GCJ=no
   17670         else
   17671 	  archive_cmds_need_lc_GCJ=yes
   17672         fi
   17673         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17674       else
   17675         cat conftest.err 1>&5
   17676       fi
   17677       $rm conftest*
   17678       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17679 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17680       ;;
   17681     esac
   17682   fi
   17683   ;;
   17684 esac
   17685 
   17686 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17687 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17688 library_names_spec=
   17689 libname_spec='lib$name'
   17690 soname_spec=
   17691 shrext_cmds=".so"
   17692 postinstall_cmds=
   17693 postuninstall_cmds=
   17694 finish_cmds=
   17695 finish_eval=
   17696 shlibpath_var=
   17697 shlibpath_overrides_runpath=unknown
   17698 version_type=none
   17699 dynamic_linker="$host_os ld.so"
   17700 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17701 if test "$GCC" = yes; then
   17702   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17703   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17704     # if the path contains ";" then we assume it to be the separator
   17705     # otherwise default to the standard path separator (i.e. ":") - it is
   17706     # assumed that no part of a normal pathname contains ";" but that should
   17707     # okay in the real world where ";" in dirpaths is itself problematic.
   17708     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17709   else
   17710     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17711   fi
   17712 else
   17713   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17714 fi
   17715 need_lib_prefix=unknown
   17716 hardcode_into_libs=no
   17717 
   17718 # when you set need_version to no, make sure it does not cause -set_version
   17719 # flags to be left without arguments
   17720 need_version=unknown
   17721 
   17722 case $host_os in
   17723 aix3*)
   17724   version_type=linux
   17725   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17726   shlibpath_var=LIBPATH
   17727 
   17728   # AIX 3 has no versioning support, so we append a major version to the name.
   17729   soname_spec='${libname}${release}${shared_ext}$major'
   17730   ;;
   17731 
   17732 aix4* | aix5*)
   17733   version_type=linux
   17734   need_lib_prefix=no
   17735   need_version=no
   17736   hardcode_into_libs=yes
   17737   if test "$host_cpu" = ia64; then
   17738     # AIX 5 supports IA64
   17739     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17740     shlibpath_var=LD_LIBRARY_PATH
   17741   else
   17742     # With GCC up to 2.95.x, collect2 would create an import file
   17743     # for dependence libraries.  The import file would start with
   17744     # the line `#! .'.  This would cause the generated library to
   17745     # depend on `.', always an invalid library.  This was fixed in
   17746     # development snapshots of GCC prior to 3.0.
   17747     case $host_os in
   17748       aix4 | aix4.[01] | aix4.[01].*)
   17749       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17750 	   echo ' yes '
   17751 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17752 	:
   17753       else
   17754 	can_build_shared=no
   17755       fi
   17756       ;;
   17757     esac
   17758     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17759     # soname into executable. Probably we can add versioning support to
   17760     # collect2, so additional links can be useful in future.
   17761     if test "$aix_use_runtimelinking" = yes; then
   17762       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17763       # instead of lib<name>.a to let people know that these are not
   17764       # typical AIX shared libraries.
   17765       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17766     else
   17767       # We preserve .a as extension for shared libraries through AIX4.2
   17768       # and later when we are not doing run time linking.
   17769       library_names_spec='${libname}${release}.a $libname.a'
   17770       soname_spec='${libname}${release}${shared_ext}$major'
   17771     fi
   17772     shlibpath_var=LIBPATH
   17773   fi
   17774   ;;
   17775 
   17776 amigaos*)
   17777   library_names_spec='$libname.ixlibrary $libname.a'
   17778   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17779   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'
   17780   ;;
   17781 
   17782 beos*)
   17783   library_names_spec='${libname}${shared_ext}'
   17784   dynamic_linker="$host_os ld.so"
   17785   shlibpath_var=LIBRARY_PATH
   17786   ;;
   17787 
   17788 bsdi[45]*)
   17789   version_type=linux
   17790   need_version=no
   17791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17792   soname_spec='${libname}${release}${shared_ext}$major'
   17793   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17794   shlibpath_var=LD_LIBRARY_PATH
   17795   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17796   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17797   # the default ld.so.conf also contains /usr/contrib/lib and
   17798   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17799   # libtool to hard-code these into programs
   17800   ;;
   17801 
   17802 cygwin* | mingw* | pw32*)
   17803   version_type=windows
   17804   shrext_cmds=".dll"
   17805   need_version=no
   17806   need_lib_prefix=no
   17807 
   17808   case $GCC,$host_os in
   17809   yes,cygwin* | yes,mingw* | yes,pw32*)
   17810     library_names_spec='$libname.dll.a'
   17811     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17812     postinstall_cmds='base_file=`basename \${file}`~
   17813       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17814       dldir=$destdir/`dirname \$dlpath`~
   17815       test -d \$dldir || mkdir -p \$dldir~
   17816       $install_prog $dir/$dlname \$dldir/$dlname~
   17817       chmod a+x \$dldir/$dlname'
   17818     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17819       dlpath=$dir/\$dldll~
   17820        $rm \$dlpath'
   17821     shlibpath_overrides_runpath=yes
   17822 
   17823     case $host_os in
   17824     cygwin*)
   17825       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17826       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17827       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17828       ;;
   17829     mingw*)
   17830       # MinGW DLLs use traditional 'lib' prefix
   17831       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17832       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17833       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17834         # It is most probably a Windows format PATH printed by
   17835         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17836         # path with ; separators, and with drive letters. We can handle the
   17837         # drive letters (cygwin fileutils understands them), so leave them,
   17838         # especially as we might pass files found there to a mingw objdump,
   17839         # which wouldn't understand a cygwinified path. Ahh.
   17840         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17841       else
   17842         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17843       fi
   17844       ;;
   17845     pw32*)
   17846       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17847       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17848       ;;
   17849     esac
   17850     ;;
   17851 
   17852   *)
   17853     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17854     ;;
   17855   esac
   17856   dynamic_linker='Win32 ld.exe'
   17857   # FIXME: first we should search . and the directory the executable is in
   17858   shlibpath_var=PATH
   17859   ;;
   17860 
   17861 darwin* | rhapsody*)
   17862   dynamic_linker="$host_os dyld"
   17863   version_type=darwin
   17864   need_lib_prefix=no
   17865   need_version=no
   17866   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17867   soname_spec='${libname}${release}${major}$shared_ext'
   17868   shlibpath_overrides_runpath=yes
   17869   shlibpath_var=DYLD_LIBRARY_PATH
   17870   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17871   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17872   if test "$GCC" = yes; then
   17873     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"`
   17874   else
   17875     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17876   fi
   17877   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17878   ;;
   17879 
   17880 dgux*)
   17881   version_type=linux
   17882   need_lib_prefix=no
   17883   need_version=no
   17884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17885   soname_spec='${libname}${release}${shared_ext}$major'
   17886   shlibpath_var=LD_LIBRARY_PATH
   17887   ;;
   17888 
   17889 freebsd1*)
   17890   dynamic_linker=no
   17891   ;;
   17892 
   17893 kfreebsd*-gnu)
   17894   version_type=linux
   17895   need_lib_prefix=no
   17896   need_version=no
   17897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17898   soname_spec='${libname}${release}${shared_ext}$major'
   17899   shlibpath_var=LD_LIBRARY_PATH
   17900   shlibpath_overrides_runpath=no
   17901   hardcode_into_libs=yes
   17902   dynamic_linker='GNU ld.so'
   17903   ;;
   17904 
   17905 freebsd* | dragonfly*)
   17906   # DragonFly does not have aout.  When/if they implement a new
   17907   # versioning mechanism, adjust this.
   17908   if test -x /usr/bin/objformat; then
   17909     objformat=`/usr/bin/objformat`
   17910   else
   17911     case $host_os in
   17912     freebsd[123]*) objformat=aout ;;
   17913     *) objformat=elf ;;
   17914     esac
   17915   fi
   17916   version_type=freebsd-$objformat
   17917   case $version_type in
   17918     freebsd-elf*)
   17919       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17920       need_version=no
   17921       need_lib_prefix=no
   17922       ;;
   17923     freebsd-*)
   17924       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17925       need_version=yes
   17926       ;;
   17927   esac
   17928   shlibpath_var=LD_LIBRARY_PATH
   17929   case $host_os in
   17930   freebsd2*)
   17931     shlibpath_overrides_runpath=yes
   17932     ;;
   17933   freebsd3.[01]* | freebsdelf3.[01]*)
   17934     shlibpath_overrides_runpath=yes
   17935     hardcode_into_libs=yes
   17936     ;;
   17937   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17938   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17939     shlibpath_overrides_runpath=no
   17940     hardcode_into_libs=yes
   17941     ;;
   17942   freebsd*) # from 4.6 on
   17943     shlibpath_overrides_runpath=yes
   17944     hardcode_into_libs=yes
   17945     ;;
   17946   esac
   17947   ;;
   17948 
   17949 gnu*)
   17950   version_type=linux
   17951   need_lib_prefix=no
   17952   need_version=no
   17953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17954   soname_spec='${libname}${release}${shared_ext}$major'
   17955   shlibpath_var=LD_LIBRARY_PATH
   17956   hardcode_into_libs=yes
   17957   ;;
   17958 
   17959 hpux9* | hpux10* | hpux11*)
   17960   # Give a soname corresponding to the major version so that dld.sl refuses to
   17961   # link against other versions.
   17962   version_type=sunos
   17963   need_lib_prefix=no
   17964   need_version=no
   17965   case $host_cpu in
   17966   ia64*)
   17967     shrext_cmds='.so'
   17968     hardcode_into_libs=yes
   17969     dynamic_linker="$host_os dld.so"
   17970     shlibpath_var=LD_LIBRARY_PATH
   17971     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17972     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17973     soname_spec='${libname}${release}${shared_ext}$major'
   17974     if test "X$HPUX_IA64_MODE" = X32; then
   17975       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17976     else
   17977       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17978     fi
   17979     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17980     ;;
   17981    hppa*64*)
   17982      shrext_cmds='.sl'
   17983      hardcode_into_libs=yes
   17984      dynamic_linker="$host_os dld.sl"
   17985      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17986      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17987      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17988      soname_spec='${libname}${release}${shared_ext}$major'
   17989      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17990      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17991      ;;
   17992    *)
   17993     shrext_cmds='.sl'
   17994     dynamic_linker="$host_os dld.sl"
   17995     shlibpath_var=SHLIB_PATH
   17996     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17997     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17998     soname_spec='${libname}${release}${shared_ext}$major'
   17999     ;;
   18000   esac
   18001   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18002   postinstall_cmds='chmod 555 $lib'
   18003   ;;
   18004 
   18005 interix3*)
   18006   version_type=linux
   18007   need_lib_prefix=no
   18008   need_version=no
   18009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18010   soname_spec='${libname}${release}${shared_ext}$major'
   18011   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18012   shlibpath_var=LD_LIBRARY_PATH
   18013   shlibpath_overrides_runpath=no
   18014   hardcode_into_libs=yes
   18015   ;;
   18016 
   18017 irix5* | irix6* | nonstopux*)
   18018   case $host_os in
   18019     nonstopux*) version_type=nonstopux ;;
   18020     *)
   18021 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18022 		version_type=linux
   18023 	else
   18024 		version_type=irix
   18025 	fi ;;
   18026   esac
   18027   need_lib_prefix=no
   18028   need_version=no
   18029   soname_spec='${libname}${release}${shared_ext}$major'
   18030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18031   case $host_os in
   18032   irix5* | nonstopux*)
   18033     libsuff= shlibsuff=
   18034     ;;
   18035   *)
   18036     case $LD in # libtool.m4 will add one of these switches to LD
   18037     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18038       libsuff= shlibsuff= libmagic=32-bit;;
   18039     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18040       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18041     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18042       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18043     *) libsuff= shlibsuff= libmagic=never-match;;
   18044     esac
   18045     ;;
   18046   esac
   18047   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18048   shlibpath_overrides_runpath=no
   18049   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18050   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18051   hardcode_into_libs=yes
   18052   ;;
   18053 
   18054 # No shared lib support for Linux oldld, aout, or coff.
   18055 linux*oldld* | linux*aout* | linux*coff*)
   18056   dynamic_linker=no
   18057   ;;
   18058 
   18059 # This must be Linux ELF.
   18060 linux*)
   18061   version_type=linux
   18062   need_lib_prefix=no
   18063   need_version=no
   18064   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18065   soname_spec='${libname}${release}${shared_ext}$major'
   18066   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18067   shlibpath_var=LD_LIBRARY_PATH
   18068   shlibpath_overrides_runpath=no
   18069   # This implies no fast_install, which is unacceptable.
   18070   # Some rework will be needed to allow for fast_install
   18071   # before this can be enabled.
   18072   hardcode_into_libs=yes
   18073 
   18074   # Append ld.so.conf contents to the search path
   18075   if test -f /etc/ld.so.conf; then
   18076     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' ' '`
   18077     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18078   fi
   18079 
   18080   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18081   # powerpc, because MkLinux only supported shared libraries with the
   18082   # GNU dynamic linker.  Since this was broken with cross compilers,
   18083   # most powerpc-linux boxes support dynamic linking these days and
   18084   # people can always --disable-shared, the test was removed, and we
   18085   # assume the GNU/Linux dynamic linker is in use.
   18086   dynamic_linker='GNU/Linux ld.so'
   18087   ;;
   18088 
   18089 knetbsd*-gnu)
   18090   version_type=linux
   18091   need_lib_prefix=no
   18092   need_version=no
   18093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18094   soname_spec='${libname}${release}${shared_ext}$major'
   18095   shlibpath_var=LD_LIBRARY_PATH
   18096   shlibpath_overrides_runpath=no
   18097   hardcode_into_libs=yes
   18098   dynamic_linker='GNU ld.so'
   18099   ;;
   18100 
   18101 netbsd*)
   18102   version_type=sunos
   18103   need_lib_prefix=no
   18104   need_version=no
   18105   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18106     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18107     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18108     dynamic_linker='NetBSD (a.out) ld.so'
   18109   else
   18110     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18111     soname_spec='${libname}${release}${shared_ext}$major'
   18112     dynamic_linker='NetBSD ld.elf_so'
   18113   fi
   18114   shlibpath_var=LD_LIBRARY_PATH
   18115   shlibpath_overrides_runpath=yes
   18116   hardcode_into_libs=yes
   18117   ;;
   18118 
   18119 newsos6)
   18120   version_type=linux
   18121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18122   shlibpath_var=LD_LIBRARY_PATH
   18123   shlibpath_overrides_runpath=yes
   18124   ;;
   18125 
   18126 nto-qnx*)
   18127   version_type=linux
   18128   need_lib_prefix=no
   18129   need_version=no
   18130   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18131   soname_spec='${libname}${release}${shared_ext}$major'
   18132   shlibpath_var=LD_LIBRARY_PATH
   18133   shlibpath_overrides_runpath=yes
   18134   ;;
   18135 
   18136 openbsd*)
   18137   version_type=sunos
   18138   sys_lib_dlsearch_path_spec="/usr/lib"
   18139   need_lib_prefix=no
   18140   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18141   case $host_os in
   18142     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18143     *)                         need_version=no  ;;
   18144   esac
   18145   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18146   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18147   shlibpath_var=LD_LIBRARY_PATH
   18148   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18149     case $host_os in
   18150       openbsd2.[89] | openbsd2.[89].*)
   18151 	shlibpath_overrides_runpath=no
   18152 	;;
   18153       *)
   18154 	shlibpath_overrides_runpath=yes
   18155 	;;
   18156       esac
   18157   else
   18158     shlibpath_overrides_runpath=yes
   18159   fi
   18160   ;;
   18161 
   18162 os2*)
   18163   libname_spec='$name'
   18164   shrext_cmds=".dll"
   18165   need_lib_prefix=no
   18166   library_names_spec='$libname${shared_ext} $libname.a'
   18167   dynamic_linker='OS/2 ld.exe'
   18168   shlibpath_var=LIBPATH
   18169   ;;
   18170 
   18171 osf3* | osf4* | osf5*)
   18172   version_type=osf
   18173   need_lib_prefix=no
   18174   need_version=no
   18175   soname_spec='${libname}${release}${shared_ext}$major'
   18176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18177   shlibpath_var=LD_LIBRARY_PATH
   18178   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18179   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18180   ;;
   18181 
   18182 solaris*)
   18183   version_type=linux
   18184   need_lib_prefix=no
   18185   need_version=no
   18186   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18187   soname_spec='${libname}${release}${shared_ext}$major'
   18188   shlibpath_var=LD_LIBRARY_PATH
   18189   shlibpath_overrides_runpath=yes
   18190   hardcode_into_libs=yes
   18191   # ldd complains unless libraries are executable
   18192   postinstall_cmds='chmod +x $lib'
   18193   ;;
   18194 
   18195 sunos4*)
   18196   version_type=sunos
   18197   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18198   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18199   shlibpath_var=LD_LIBRARY_PATH
   18200   shlibpath_overrides_runpath=yes
   18201   if test "$with_gnu_ld" = yes; then
   18202     need_lib_prefix=no
   18203   fi
   18204   need_version=yes
   18205   ;;
   18206 
   18207 sysv4 | sysv4.3*)
   18208   version_type=linux
   18209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18210   soname_spec='${libname}${release}${shared_ext}$major'
   18211   shlibpath_var=LD_LIBRARY_PATH
   18212   case $host_vendor in
   18213     sni)
   18214       shlibpath_overrides_runpath=no
   18215       need_lib_prefix=no
   18216       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18217       runpath_var=LD_RUN_PATH
   18218       ;;
   18219     siemens)
   18220       need_lib_prefix=no
   18221       ;;
   18222     motorola)
   18223       need_lib_prefix=no
   18224       need_version=no
   18225       shlibpath_overrides_runpath=no
   18226       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18227       ;;
   18228   esac
   18229   ;;
   18230 
   18231 sysv4*MP*)
   18232   if test -d /usr/nec ;then
   18233     version_type=linux
   18234     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18235     soname_spec='$libname${shared_ext}.$major'
   18236     shlibpath_var=LD_LIBRARY_PATH
   18237   fi
   18238   ;;
   18239 
   18240 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18241   version_type=freebsd-elf
   18242   need_lib_prefix=no
   18243   need_version=no
   18244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18245   soname_spec='${libname}${release}${shared_ext}$major'
   18246   shlibpath_var=LD_LIBRARY_PATH
   18247   hardcode_into_libs=yes
   18248   if test "$with_gnu_ld" = yes; then
   18249     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18250     shlibpath_overrides_runpath=no
   18251   else
   18252     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18253     shlibpath_overrides_runpath=yes
   18254     case $host_os in
   18255       sco3.2v5*)
   18256         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18257 	;;
   18258     esac
   18259   fi
   18260   sys_lib_dlsearch_path_spec='/usr/lib'
   18261   ;;
   18262 
   18263 uts4*)
   18264   version_type=linux
   18265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18266   soname_spec='${libname}${release}${shared_ext}$major'
   18267   shlibpath_var=LD_LIBRARY_PATH
   18268   ;;
   18269 
   18270 *)
   18271   dynamic_linker=no
   18272   ;;
   18273 esac
   18274 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18275 echo "${ECHO_T}$dynamic_linker" >&6; }
   18276 test "$dynamic_linker" = no && can_build_shared=no
   18277 
   18278 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18279 if test "$GCC" = yes; then
   18280   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18281 fi
   18282 
   18283 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18284 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18285 hardcode_action_GCJ=
   18286 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18287    test -n "$runpath_var_GCJ" || \
   18288    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18289 
   18290   # We can hardcode non-existant directories.
   18291   if test "$hardcode_direct_GCJ" != no &&
   18292      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18293      # have to relink, otherwise we might link with an installed library
   18294      # when we should be linking with a yet-to-be-installed one
   18295      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18296      test "$hardcode_minus_L_GCJ" != no; then
   18297     # Linking always hardcodes the temporary library directory.
   18298     hardcode_action_GCJ=relink
   18299   else
   18300     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18301     hardcode_action_GCJ=immediate
   18302   fi
   18303 else
   18304   # We cannot hardcode anything, or else we can only hardcode existing
   18305   # directories.
   18306   hardcode_action_GCJ=unsupported
   18307 fi
   18308 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18309 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18310 
   18311 if test "$hardcode_action_GCJ" = relink; then
   18312   # Fast installation is not supported
   18313   enable_fast_install=no
   18314 elif test "$shlibpath_overrides_runpath" = yes ||
   18315      test "$enable_shared" = no; then
   18316   # Fast installation is not necessary
   18317   enable_fast_install=needless
   18318 fi
   18319 
   18320 
   18321 # The else clause should only fire when bootstrapping the
   18322 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18323 # with your package, and you will get complaints that there are
   18324 # no rules to generate ltmain.sh.
   18325 if test -f "$ltmain"; then
   18326   # See if we are running on zsh, and set the options which allow our commands through
   18327   # without removal of \ escapes.
   18328   if test -n "${ZSH_VERSION+set}" ; then
   18329     setopt NO_GLOB_SUBST
   18330   fi
   18331   # Now quote all the things that may contain metacharacters while being
   18332   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18333   # variables and quote the copies for generation of the libtool script.
   18334   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18335     SED SHELL STRIP \
   18336     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18337     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18338     deplibs_check_method reload_flag reload_cmds need_locks \
   18339     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18340     lt_cv_sys_global_symbol_to_c_name_address \
   18341     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18342     old_postinstall_cmds old_postuninstall_cmds \
   18343     compiler_GCJ \
   18344     CC_GCJ \
   18345     LD_GCJ \
   18346     lt_prog_compiler_wl_GCJ \
   18347     lt_prog_compiler_pic_GCJ \
   18348     lt_prog_compiler_static_GCJ \
   18349     lt_prog_compiler_no_builtin_flag_GCJ \
   18350     export_dynamic_flag_spec_GCJ \
   18351     thread_safe_flag_spec_GCJ \
   18352     whole_archive_flag_spec_GCJ \
   18353     enable_shared_with_static_runtimes_GCJ \
   18354     old_archive_cmds_GCJ \
   18355     old_archive_from_new_cmds_GCJ \
   18356     predep_objects_GCJ \
   18357     postdep_objects_GCJ \
   18358     predeps_GCJ \
   18359     postdeps_GCJ \
   18360     compiler_lib_search_path_GCJ \
   18361     archive_cmds_GCJ \
   18362     archive_expsym_cmds_GCJ \
   18363     postinstall_cmds_GCJ \
   18364     postuninstall_cmds_GCJ \
   18365     old_archive_from_expsyms_cmds_GCJ \
   18366     allow_undefined_flag_GCJ \
   18367     no_undefined_flag_GCJ \
   18368     export_symbols_cmds_GCJ \
   18369     hardcode_libdir_flag_spec_GCJ \
   18370     hardcode_libdir_flag_spec_ld_GCJ \
   18371     hardcode_libdir_separator_GCJ \
   18372     hardcode_automatic_GCJ \
   18373     module_cmds_GCJ \
   18374     module_expsym_cmds_GCJ \
   18375     lt_cv_prog_compiler_c_o_GCJ \
   18376     exclude_expsyms_GCJ \
   18377     include_expsyms_GCJ; do
   18378 
   18379     case $var in
   18380     old_archive_cmds_GCJ | \
   18381     old_archive_from_new_cmds_GCJ | \
   18382     archive_cmds_GCJ | \
   18383     archive_expsym_cmds_GCJ | \
   18384     module_cmds_GCJ | \
   18385     module_expsym_cmds_GCJ | \
   18386     old_archive_from_expsyms_cmds_GCJ | \
   18387     export_symbols_cmds_GCJ | \
   18388     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18389     postinstall_cmds | postuninstall_cmds | \
   18390     old_postinstall_cmds | old_postuninstall_cmds | \
   18391     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18392       # Double-quote double-evaled strings.
   18393       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18394       ;;
   18395     *)
   18396       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18397       ;;
   18398     esac
   18399   done
   18400 
   18401   case $lt_echo in
   18402   *'\$0 --fallback-echo"')
   18403     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18404     ;;
   18405   esac
   18406 
   18407 cfgfile="$ofile"
   18408 
   18409   cat <<__EOF__ >> "$cfgfile"
   18410 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18411 
   18412 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18413 
   18414 # Shell to use when invoking shell scripts.
   18415 SHELL=$lt_SHELL
   18416 
   18417 # Whether or not to build shared libraries.
   18418 build_libtool_libs=$enable_shared
   18419 
   18420 # Whether or not to build static libraries.
   18421 build_old_libs=$enable_static
   18422 
   18423 # Whether or not to add -lc for building shared libraries.
   18424 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18425 
   18426 # Whether or not to disallow shared libs when runtime libs are static
   18427 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18428 
   18429 # Whether or not to optimize for fast installation.
   18430 fast_install=$enable_fast_install
   18431 
   18432 # The host system.
   18433 host_alias=$host_alias
   18434 host=$host
   18435 host_os=$host_os
   18436 
   18437 # The build system.
   18438 build_alias=$build_alias
   18439 build=$build
   18440 build_os=$build_os
   18441 
   18442 # An echo program that does not interpret backslashes.
   18443 echo=$lt_echo
   18444 
   18445 # The archiver.
   18446 AR=$lt_AR
   18447 AR_FLAGS=$lt_AR_FLAGS
   18448 
   18449 # A C compiler.
   18450 LTCC=$lt_LTCC
   18451 
   18452 # LTCC compiler flags.
   18453 LTCFLAGS=$lt_LTCFLAGS
   18454 
   18455 # A language-specific compiler.
   18456 CC=$lt_compiler_GCJ
   18457 
   18458 # Is the compiler the GNU C compiler?
   18459 with_gcc=$GCC_GCJ
   18460 
   18461 # An ERE matcher.
   18462 EGREP=$lt_EGREP
   18463 
   18464 # The linker used to build libraries.
   18465 LD=$lt_LD_GCJ
   18466 
   18467 # Whether we need hard or soft links.
   18468 LN_S=$lt_LN_S
   18469 
   18470 # A BSD-compatible nm program.
   18471 NM=$lt_NM
   18472 
   18473 # A symbol stripping program
   18474 STRIP=$lt_STRIP
   18475 
   18476 # Used to examine libraries when file_magic_cmd begins "file"
   18477 MAGIC_CMD=$MAGIC_CMD
   18478 
   18479 # Used on cygwin: DLL creation program.
   18480 DLLTOOL="$DLLTOOL"
   18481 
   18482 # Used on cygwin: object dumper.
   18483 OBJDUMP="$OBJDUMP"
   18484 
   18485 # Used on cygwin: assembler.
   18486 AS="$AS"
   18487 
   18488 # The name of the directory that contains temporary libtool files.
   18489 objdir=$objdir
   18490 
   18491 # How to create reloadable object files.
   18492 reload_flag=$lt_reload_flag
   18493 reload_cmds=$lt_reload_cmds
   18494 
   18495 # How to pass a linker flag through the compiler.
   18496 wl=$lt_lt_prog_compiler_wl_GCJ
   18497 
   18498 # Object file suffix (normally "o").
   18499 objext="$ac_objext"
   18500 
   18501 # Old archive suffix (normally "a").
   18502 libext="$libext"
   18503 
   18504 # Shared library suffix (normally ".so").
   18505 shrext_cmds='$shrext_cmds'
   18506 
   18507 # Executable file suffix (normally "").
   18508 exeext="$exeext"
   18509 
   18510 # Additional compiler flags for building library objects.
   18511 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18512 pic_mode=$pic_mode
   18513 
   18514 # What is the maximum length of a command?
   18515 max_cmd_len=$lt_cv_sys_max_cmd_len
   18516 
   18517 # Does compiler simultaneously support -c and -o options?
   18518 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18519 
   18520 # Must we lock files when doing compilation?
   18521 need_locks=$lt_need_locks
   18522 
   18523 # Do we need the lib prefix for modules?
   18524 need_lib_prefix=$need_lib_prefix
   18525 
   18526 # Do we need a version for libraries?
   18527 need_version=$need_version
   18528 
   18529 # Whether dlopen is supported.
   18530 dlopen_support=$enable_dlopen
   18531 
   18532 # Whether dlopen of programs is supported.
   18533 dlopen_self=$enable_dlopen_self
   18534 
   18535 # Whether dlopen of statically linked programs is supported.
   18536 dlopen_self_static=$enable_dlopen_self_static
   18537 
   18538 # Compiler flag to prevent dynamic linking.
   18539 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18540 
   18541 # Compiler flag to turn off builtin functions.
   18542 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18543 
   18544 # Compiler flag to allow reflexive dlopens.
   18545 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18546 
   18547 # Compiler flag to generate shared objects directly from archives.
   18548 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18549 
   18550 # Compiler flag to generate thread-safe objects.
   18551 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18552 
   18553 # Library versioning type.
   18554 version_type=$version_type
   18555 
   18556 # Format of library name prefix.
   18557 libname_spec=$lt_libname_spec
   18558 
   18559 # List of archive names.  First name is the real one, the rest are links.
   18560 # The last name is the one that the linker finds with -lNAME.
   18561 library_names_spec=$lt_library_names_spec
   18562 
   18563 # The coded name of the library, if different from the real name.
   18564 soname_spec=$lt_soname_spec
   18565 
   18566 # Commands used to build and install an old-style archive.
   18567 RANLIB=$lt_RANLIB
   18568 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18569 old_postinstall_cmds=$lt_old_postinstall_cmds
   18570 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18571 
   18572 # Create an old-style archive from a shared archive.
   18573 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18574 
   18575 # Create a temporary old-style archive to link instead of a shared archive.
   18576 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18577 
   18578 # Commands used to build and install a shared archive.
   18579 archive_cmds=$lt_archive_cmds_GCJ
   18580 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18581 postinstall_cmds=$lt_postinstall_cmds
   18582 postuninstall_cmds=$lt_postuninstall_cmds
   18583 
   18584 # Commands used to build a loadable module (assumed same as above if empty)
   18585 module_cmds=$lt_module_cmds_GCJ
   18586 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18587 
   18588 # Commands to strip libraries.
   18589 old_striplib=$lt_old_striplib
   18590 striplib=$lt_striplib
   18591 
   18592 # Dependencies to place before the objects being linked to create a
   18593 # shared library.
   18594 predep_objects=$lt_predep_objects_GCJ
   18595 
   18596 # Dependencies to place after the objects being linked to create a
   18597 # shared library.
   18598 postdep_objects=$lt_postdep_objects_GCJ
   18599 
   18600 # Dependencies to place before the objects being linked to create a
   18601 # shared library.
   18602 predeps=$lt_predeps_GCJ
   18603 
   18604 # Dependencies to place after the objects being linked to create a
   18605 # shared library.
   18606 postdeps=$lt_postdeps_GCJ
   18607 
   18608 # The library search path used internally by the compiler when linking
   18609 # a shared library.
   18610 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18611 
   18612 # Method to check whether dependent libraries are shared objects.
   18613 deplibs_check_method=$lt_deplibs_check_method
   18614 
   18615 # Command to use when deplibs_check_method == file_magic.
   18616 file_magic_cmd=$lt_file_magic_cmd
   18617 
   18618 # Flag that allows shared libraries with undefined symbols to be built.
   18619 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18620 
   18621 # Flag that forces no undefined symbols.
   18622 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18623 
   18624 # Commands used to finish a libtool library installation in a directory.
   18625 finish_cmds=$lt_finish_cmds
   18626 
   18627 # Same as above, but a single script fragment to be evaled but not shown.
   18628 finish_eval=$lt_finish_eval
   18629 
   18630 # Take the output of nm and produce a listing of raw symbols and C names.
   18631 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18632 
   18633 # Transform the output of nm in a proper C declaration
   18634 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18635 
   18636 # Transform the output of nm in a C name address pair
   18637 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18638 
   18639 # This is the shared library runtime path variable.
   18640 runpath_var=$runpath_var
   18641 
   18642 # This is the shared library path variable.
   18643 shlibpath_var=$shlibpath_var
   18644 
   18645 # Is shlibpath searched before the hard-coded library search path?
   18646 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18647 
   18648 # How to hardcode a shared library path into an executable.
   18649 hardcode_action=$hardcode_action_GCJ
   18650 
   18651 # Whether we should hardcode library paths into libraries.
   18652 hardcode_into_libs=$hardcode_into_libs
   18653 
   18654 # Flag to hardcode \$libdir into a binary during linking.
   18655 # This must work even if \$libdir does not exist.
   18656 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18657 
   18658 # If ld is used when linking, flag to hardcode \$libdir into
   18659 # a binary during linking. This must work even if \$libdir does
   18660 # not exist.
   18661 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18662 
   18663 # Whether we need a single -rpath flag with a separated argument.
   18664 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18665 
   18666 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18667 # resulting binary.
   18668 hardcode_direct=$hardcode_direct_GCJ
   18669 
   18670 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18671 # resulting binary.
   18672 hardcode_minus_L=$hardcode_minus_L_GCJ
   18673 
   18674 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18675 # the resulting binary.
   18676 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18677 
   18678 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18679 # and all subsequent libraries and executables linked against it.
   18680 hardcode_automatic=$hardcode_automatic_GCJ
   18681 
   18682 # Variables whose values should be saved in libtool wrapper scripts and
   18683 # restored at relink time.
   18684 variables_saved_for_relink="$variables_saved_for_relink"
   18685 
   18686 # Whether libtool must link a program against all its dependency libraries.
   18687 link_all_deplibs=$link_all_deplibs_GCJ
   18688 
   18689 # Compile-time system search path for libraries
   18690 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18691 
   18692 # Run-time system search path for libraries
   18693 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18694 
   18695 # Fix the shell variable \$srcfile for the compiler.
   18696 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18697 
   18698 # Set to yes if exported symbols are required.
   18699 always_export_symbols=$always_export_symbols_GCJ
   18700 
   18701 # The commands to list exported symbols.
   18702 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18703 
   18704 # The commands to extract the exported symbol list from a shared archive.
   18705 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18706 
   18707 # Symbols that should not be listed in the preloaded symbols.
   18708 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18709 
   18710 # Symbols that must always be exported.
   18711 include_expsyms=$lt_include_expsyms_GCJ
   18712 
   18713 # ### END LIBTOOL TAG CONFIG: $tagname
   18714 
   18715 __EOF__
   18716 
   18717 
   18718 else
   18719   # If there is no Makefile yet, we rely on a make rule to execute
   18720   # `config.status --recheck' to rerun these tests and create the
   18721   # libtool script then.
   18722   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18723   if test -f "$ltmain_in"; then
   18724     test -f Makefile && make "$ltmain"
   18725   fi
   18726 fi
   18727 
   18728 
   18729 ac_ext=c
   18730 ac_cpp='$CPP $CPPFLAGS'
   18731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18734 
   18735 CC="$lt_save_CC"
   18736 
   18737 	else
   18738 	  tagname=""
   18739 	fi
   18740 	;;
   18741 
   18742       RC)
   18743 
   18744 
   18745 # Source file extension for RC test sources.
   18746 ac_ext=rc
   18747 
   18748 # Object file extension for compiled RC test sources.
   18749 objext=o
   18750 objext_RC=$objext
   18751 
   18752 # Code to be used in simple compile tests
   18753 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18754 
   18755 # Code to be used in simple link tests
   18756 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18757 
   18758 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18759 
   18760 # If no C compiler was specified, use CC.
   18761 LTCC=${LTCC-"$CC"}
   18762 
   18763 # If no C compiler flags were specified, use CFLAGS.
   18764 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18765 
   18766 # Allow CC to be a program name with arguments.
   18767 compiler=$CC
   18768 
   18769 
   18770 # save warnings/boilerplate of simple test code
   18771 ac_outfile=conftest.$ac_objext
   18772 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18773 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18774 _lt_compiler_boilerplate=`cat conftest.err`
   18775 $rm conftest*
   18776 
   18777 ac_outfile=conftest.$ac_objext
   18778 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18779 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18780 _lt_linker_boilerplate=`cat conftest.err`
   18781 $rm conftest*
   18782 
   18783 
   18784 # Allow CC to be a program name with arguments.
   18785 lt_save_CC="$CC"
   18786 CC=${RC-"windres"}
   18787 compiler=$CC
   18788 compiler_RC=$CC
   18789 for cc_temp in $compiler""; do
   18790   case $cc_temp in
   18791     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18792     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18793     \-*) ;;
   18794     *) break;;
   18795   esac
   18796 done
   18797 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18798 
   18799 lt_cv_prog_compiler_c_o_RC=yes
   18800 
   18801 # The else clause should only fire when bootstrapping the
   18802 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18803 # with your package, and you will get complaints that there are
   18804 # no rules to generate ltmain.sh.
   18805 if test -f "$ltmain"; then
   18806   # See if we are running on zsh, and set the options which allow our commands through
   18807   # without removal of \ escapes.
   18808   if test -n "${ZSH_VERSION+set}" ; then
   18809     setopt NO_GLOB_SUBST
   18810   fi
   18811   # Now quote all the things that may contain metacharacters while being
   18812   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18813   # variables and quote the copies for generation of the libtool script.
   18814   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18815     SED SHELL STRIP \
   18816     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18817     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18818     deplibs_check_method reload_flag reload_cmds need_locks \
   18819     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18820     lt_cv_sys_global_symbol_to_c_name_address \
   18821     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18822     old_postinstall_cmds old_postuninstall_cmds \
   18823     compiler_RC \
   18824     CC_RC \
   18825     LD_RC \
   18826     lt_prog_compiler_wl_RC \
   18827     lt_prog_compiler_pic_RC \
   18828     lt_prog_compiler_static_RC \
   18829     lt_prog_compiler_no_builtin_flag_RC \
   18830     export_dynamic_flag_spec_RC \
   18831     thread_safe_flag_spec_RC \
   18832     whole_archive_flag_spec_RC \
   18833     enable_shared_with_static_runtimes_RC \
   18834     old_archive_cmds_RC \
   18835     old_archive_from_new_cmds_RC \
   18836     predep_objects_RC \
   18837     postdep_objects_RC \
   18838     predeps_RC \
   18839     postdeps_RC \
   18840     compiler_lib_search_path_RC \
   18841     archive_cmds_RC \
   18842     archive_expsym_cmds_RC \
   18843     postinstall_cmds_RC \
   18844     postuninstall_cmds_RC \
   18845     old_archive_from_expsyms_cmds_RC \
   18846     allow_undefined_flag_RC \
   18847     no_undefined_flag_RC \
   18848     export_symbols_cmds_RC \
   18849     hardcode_libdir_flag_spec_RC \
   18850     hardcode_libdir_flag_spec_ld_RC \
   18851     hardcode_libdir_separator_RC \
   18852     hardcode_automatic_RC \
   18853     module_cmds_RC \
   18854     module_expsym_cmds_RC \
   18855     lt_cv_prog_compiler_c_o_RC \
   18856     exclude_expsyms_RC \
   18857     include_expsyms_RC; do
   18858 
   18859     case $var in
   18860     old_archive_cmds_RC | \
   18861     old_archive_from_new_cmds_RC | \
   18862     archive_cmds_RC | \
   18863     archive_expsym_cmds_RC | \
   18864     module_cmds_RC | \
   18865     module_expsym_cmds_RC | \
   18866     old_archive_from_expsyms_cmds_RC | \
   18867     export_symbols_cmds_RC | \
   18868     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18869     postinstall_cmds | postuninstall_cmds | \
   18870     old_postinstall_cmds | old_postuninstall_cmds | \
   18871     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18872       # Double-quote double-evaled strings.
   18873       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18874       ;;
   18875     *)
   18876       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18877       ;;
   18878     esac
   18879   done
   18880 
   18881   case $lt_echo in
   18882   *'\$0 --fallback-echo"')
   18883     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18884     ;;
   18885   esac
   18886 
   18887 cfgfile="$ofile"
   18888 
   18889   cat <<__EOF__ >> "$cfgfile"
   18890 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18891 
   18892 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18893 
   18894 # Shell to use when invoking shell scripts.
   18895 SHELL=$lt_SHELL
   18896 
   18897 # Whether or not to build shared libraries.
   18898 build_libtool_libs=$enable_shared
   18899 
   18900 # Whether or not to build static libraries.
   18901 build_old_libs=$enable_static
   18902 
   18903 # Whether or not to add -lc for building shared libraries.
   18904 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18905 
   18906 # Whether or not to disallow shared libs when runtime libs are static
   18907 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18908 
   18909 # Whether or not to optimize for fast installation.
   18910 fast_install=$enable_fast_install
   18911 
   18912 # The host system.
   18913 host_alias=$host_alias
   18914 host=$host
   18915 host_os=$host_os
   18916 
   18917 # The build system.
   18918 build_alias=$build_alias
   18919 build=$build
   18920 build_os=$build_os
   18921 
   18922 # An echo program that does not interpret backslashes.
   18923 echo=$lt_echo
   18924 
   18925 # The archiver.
   18926 AR=$lt_AR
   18927 AR_FLAGS=$lt_AR_FLAGS
   18928 
   18929 # A C compiler.
   18930 LTCC=$lt_LTCC
   18931 
   18932 # LTCC compiler flags.
   18933 LTCFLAGS=$lt_LTCFLAGS
   18934 
   18935 # A language-specific compiler.
   18936 CC=$lt_compiler_RC
   18937 
   18938 # Is the compiler the GNU C compiler?
   18939 with_gcc=$GCC_RC
   18940 
   18941 # An ERE matcher.
   18942 EGREP=$lt_EGREP
   18943 
   18944 # The linker used to build libraries.
   18945 LD=$lt_LD_RC
   18946 
   18947 # Whether we need hard or soft links.
   18948 LN_S=$lt_LN_S
   18949 
   18950 # A BSD-compatible nm program.
   18951 NM=$lt_NM
   18952 
   18953 # A symbol stripping program
   18954 STRIP=$lt_STRIP
   18955 
   18956 # Used to examine libraries when file_magic_cmd begins "file"
   18957 MAGIC_CMD=$MAGIC_CMD
   18958 
   18959 # Used on cygwin: DLL creation program.
   18960 DLLTOOL="$DLLTOOL"
   18961 
   18962 # Used on cygwin: object dumper.
   18963 OBJDUMP="$OBJDUMP"
   18964 
   18965 # Used on cygwin: assembler.
   18966 AS="$AS"
   18967 
   18968 # The name of the directory that contains temporary libtool files.
   18969 objdir=$objdir
   18970 
   18971 # How to create reloadable object files.
   18972 reload_flag=$lt_reload_flag
   18973 reload_cmds=$lt_reload_cmds
   18974 
   18975 # How to pass a linker flag through the compiler.
   18976 wl=$lt_lt_prog_compiler_wl_RC
   18977 
   18978 # Object file suffix (normally "o").
   18979 objext="$ac_objext"
   18980 
   18981 # Old archive suffix (normally "a").
   18982 libext="$libext"
   18983 
   18984 # Shared library suffix (normally ".so").
   18985 shrext_cmds='$shrext_cmds'
   18986 
   18987 # Executable file suffix (normally "").
   18988 exeext="$exeext"
   18989 
   18990 # Additional compiler flags for building library objects.
   18991 pic_flag=$lt_lt_prog_compiler_pic_RC
   18992 pic_mode=$pic_mode
   18993 
   18994 # What is the maximum length of a command?
   18995 max_cmd_len=$lt_cv_sys_max_cmd_len
   18996 
   18997 # Does compiler simultaneously support -c and -o options?
   18998 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18999 
   19000 # Must we lock files when doing compilation?
   19001 need_locks=$lt_need_locks
   19002 
   19003 # Do we need the lib prefix for modules?
   19004 need_lib_prefix=$need_lib_prefix
   19005 
   19006 # Do we need a version for libraries?
   19007 need_version=$need_version
   19008 
   19009 # Whether dlopen is supported.
   19010 dlopen_support=$enable_dlopen
   19011 
   19012 # Whether dlopen of programs is supported.
   19013 dlopen_self=$enable_dlopen_self
   19014 
   19015 # Whether dlopen of statically linked programs is supported.
   19016 dlopen_self_static=$enable_dlopen_self_static
   19017 
   19018 # Compiler flag to prevent dynamic linking.
   19019 link_static_flag=$lt_lt_prog_compiler_static_RC
   19020 
   19021 # Compiler flag to turn off builtin functions.
   19022 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19023 
   19024 # Compiler flag to allow reflexive dlopens.
   19025 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19026 
   19027 # Compiler flag to generate shared objects directly from archives.
   19028 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19029 
   19030 # Compiler flag to generate thread-safe objects.
   19031 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19032 
   19033 # Library versioning type.
   19034 version_type=$version_type
   19035 
   19036 # Format of library name prefix.
   19037 libname_spec=$lt_libname_spec
   19038 
   19039 # List of archive names.  First name is the real one, the rest are links.
   19040 # The last name is the one that the linker finds with -lNAME.
   19041 library_names_spec=$lt_library_names_spec
   19042 
   19043 # The coded name of the library, if different from the real name.
   19044 soname_spec=$lt_soname_spec
   19045 
   19046 # Commands used to build and install an old-style archive.
   19047 RANLIB=$lt_RANLIB
   19048 old_archive_cmds=$lt_old_archive_cmds_RC
   19049 old_postinstall_cmds=$lt_old_postinstall_cmds
   19050 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19051 
   19052 # Create an old-style archive from a shared archive.
   19053 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19054 
   19055 # Create a temporary old-style archive to link instead of a shared archive.
   19056 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19057 
   19058 # Commands used to build and install a shared archive.
   19059 archive_cmds=$lt_archive_cmds_RC
   19060 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19061 postinstall_cmds=$lt_postinstall_cmds
   19062 postuninstall_cmds=$lt_postuninstall_cmds
   19063 
   19064 # Commands used to build a loadable module (assumed same as above if empty)
   19065 module_cmds=$lt_module_cmds_RC
   19066 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19067 
   19068 # Commands to strip libraries.
   19069 old_striplib=$lt_old_striplib
   19070 striplib=$lt_striplib
   19071 
   19072 # Dependencies to place before the objects being linked to create a
   19073 # shared library.
   19074 predep_objects=$lt_predep_objects_RC
   19075 
   19076 # Dependencies to place after the objects being linked to create a
   19077 # shared library.
   19078 postdep_objects=$lt_postdep_objects_RC
   19079 
   19080 # Dependencies to place before the objects being linked to create a
   19081 # shared library.
   19082 predeps=$lt_predeps_RC
   19083 
   19084 # Dependencies to place after the objects being linked to create a
   19085 # shared library.
   19086 postdeps=$lt_postdeps_RC
   19087 
   19088 # The library search path used internally by the compiler when linking
   19089 # a shared library.
   19090 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19091 
   19092 # Method to check whether dependent libraries are shared objects.
   19093 deplibs_check_method=$lt_deplibs_check_method
   19094 
   19095 # Command to use when deplibs_check_method == file_magic.
   19096 file_magic_cmd=$lt_file_magic_cmd
   19097 
   19098 # Flag that allows shared libraries with undefined symbols to be built.
   19099 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19100 
   19101 # Flag that forces no undefined symbols.
   19102 no_undefined_flag=$lt_no_undefined_flag_RC
   19103 
   19104 # Commands used to finish a libtool library installation in a directory.
   19105 finish_cmds=$lt_finish_cmds
   19106 
   19107 # Same as above, but a single script fragment to be evaled but not shown.
   19108 finish_eval=$lt_finish_eval
   19109 
   19110 # Take the output of nm and produce a listing of raw symbols and C names.
   19111 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19112 
   19113 # Transform the output of nm in a proper C declaration
   19114 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19115 
   19116 # Transform the output of nm in a C name address pair
   19117 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19118 
   19119 # This is the shared library runtime path variable.
   19120 runpath_var=$runpath_var
   19121 
   19122 # This is the shared library path variable.
   19123 shlibpath_var=$shlibpath_var
   19124 
   19125 # Is shlibpath searched before the hard-coded library search path?
   19126 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19127 
   19128 # How to hardcode a shared library path into an executable.
   19129 hardcode_action=$hardcode_action_RC
   19130 
   19131 # Whether we should hardcode library paths into libraries.
   19132 hardcode_into_libs=$hardcode_into_libs
   19133 
   19134 # Flag to hardcode \$libdir into a binary during linking.
   19135 # This must work even if \$libdir does not exist.
   19136 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19137 
   19138 # If ld is used when linking, flag to hardcode \$libdir into
   19139 # a binary during linking. This must work even if \$libdir does
   19140 # not exist.
   19141 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19142 
   19143 # Whether we need a single -rpath flag with a separated argument.
   19144 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19145 
   19146 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19147 # resulting binary.
   19148 hardcode_direct=$hardcode_direct_RC
   19149 
   19150 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19151 # resulting binary.
   19152 hardcode_minus_L=$hardcode_minus_L_RC
   19153 
   19154 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19155 # the resulting binary.
   19156 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19157 
   19158 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19159 # and all subsequent libraries and executables linked against it.
   19160 hardcode_automatic=$hardcode_automatic_RC
   19161 
   19162 # Variables whose values should be saved in libtool wrapper scripts and
   19163 # restored at relink time.
   19164 variables_saved_for_relink="$variables_saved_for_relink"
   19165 
   19166 # Whether libtool must link a program against all its dependency libraries.
   19167 link_all_deplibs=$link_all_deplibs_RC
   19168 
   19169 # Compile-time system search path for libraries
   19170 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19171 
   19172 # Run-time system search path for libraries
   19173 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19174 
   19175 # Fix the shell variable \$srcfile for the compiler.
   19176 fix_srcfile_path="$fix_srcfile_path_RC"
   19177 
   19178 # Set to yes if exported symbols are required.
   19179 always_export_symbols=$always_export_symbols_RC
   19180 
   19181 # The commands to list exported symbols.
   19182 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19183 
   19184 # The commands to extract the exported symbol list from a shared archive.
   19185 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19186 
   19187 # Symbols that should not be listed in the preloaded symbols.
   19188 exclude_expsyms=$lt_exclude_expsyms_RC
   19189 
   19190 # Symbols that must always be exported.
   19191 include_expsyms=$lt_include_expsyms_RC
   19192 
   19193 # ### END LIBTOOL TAG CONFIG: $tagname
   19194 
   19195 __EOF__
   19196 
   19197 
   19198 else
   19199   # If there is no Makefile yet, we rely on a make rule to execute
   19200   # `config.status --recheck' to rerun these tests and create the
   19201   # libtool script then.
   19202   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19203   if test -f "$ltmain_in"; then
   19204     test -f Makefile && make "$ltmain"
   19205   fi
   19206 fi
   19207 
   19208 
   19209 ac_ext=c
   19210 ac_cpp='$CPP $CPPFLAGS'
   19211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19214 
   19215 CC="$lt_save_CC"
   19216 
   19217 	;;
   19218 
   19219       *)
   19220 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19221 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19222    { (exit 1); exit 1; }; }
   19223 	;;
   19224       esac
   19225 
   19226       # Append the new tag name to the list of available tags.
   19227       if test -n "$tagname" ; then
   19228       available_tags="$available_tags $tagname"
   19229     fi
   19230     fi
   19231   done
   19232   IFS="$lt_save_ifs"
   19233 
   19234   # Now substitute the updated list of available tags.
   19235   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19236     mv "${ofile}T" "$ofile"
   19237     chmod +x "$ofile"
   19238   else
   19239     rm -f "${ofile}T"
   19240     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19241 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19242    { (exit 1); exit 1; }; }
   19243   fi
   19244 fi
   19245 
   19246 
   19247 
   19248 # This can be used to rebuild libtool when needed
   19249 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19250 
   19251 # Always use our own libtool.
   19252 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19253 
   19254 # Prevent multiple expansion
   19255 
   19256 
   19257 
   19258 
   19259 
   19260 
   19261 
   19262 
   19263 
   19264 
   19265 
   19266 
   19267 
   19268 
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 
   19275 ac_ext=c
   19276 ac_cpp='$CPP $CPPFLAGS'
   19277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19280 if test -n "$ac_tool_prefix"; then
   19281   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19285 if test "${ac_cv_prog_CC+set}" = set; then
   19286   echo $ECHO_N "(cached) $ECHO_C" >&6
   19287 else
   19288   if test -n "$CC"; then
   19289   ac_cv_prog_CC="$CC" # Let the user override the test.
   19290 else
   19291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19292 for as_dir in $PATH
   19293 do
   19294   IFS=$as_save_IFS
   19295   test -z "$as_dir" && as_dir=.
   19296   for ac_exec_ext in '' $ac_executable_extensions; do
   19297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19298     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19299     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19300     break 2
   19301   fi
   19302 done
   19303 done
   19304 IFS=$as_save_IFS
   19305 
   19306 fi
   19307 fi
   19308 CC=$ac_cv_prog_CC
   19309 if test -n "$CC"; then
   19310   { echo "$as_me:$LINENO: result: $CC" >&5
   19311 echo "${ECHO_T}$CC" >&6; }
   19312 else
   19313   { echo "$as_me:$LINENO: result: no" >&5
   19314 echo "${ECHO_T}no" >&6; }
   19315 fi
   19316 
   19317 
   19318 fi
   19319 if test -z "$ac_cv_prog_CC"; then
   19320   ac_ct_CC=$CC
   19321   # Extract the first word of "gcc", so it can be a program name with args.
   19322 set dummy gcc; ac_word=$2
   19323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19325 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19326   echo $ECHO_N "(cached) $ECHO_C" >&6
   19327 else
   19328   if test -n "$ac_ct_CC"; then
   19329   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19330 else
   19331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19332 for as_dir in $PATH
   19333 do
   19334   IFS=$as_save_IFS
   19335   test -z "$as_dir" && as_dir=.
   19336   for ac_exec_ext in '' $ac_executable_extensions; do
   19337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19338     ac_cv_prog_ac_ct_CC="gcc"
   19339     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19340     break 2
   19341   fi
   19342 done
   19343 done
   19344 IFS=$as_save_IFS
   19345 
   19346 fi
   19347 fi
   19348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19349 if test -n "$ac_ct_CC"; then
   19350   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19351 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19352 else
   19353   { echo "$as_me:$LINENO: result: no" >&5
   19354 echo "${ECHO_T}no" >&6; }
   19355 fi
   19356 
   19357   if test "x$ac_ct_CC" = x; then
   19358     CC=""
   19359   else
   19360     case $cross_compiling:$ac_tool_warned in
   19361 yes:)
   19362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19363 whose name does not start with the host triplet.  If you think this
   19364 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19366 whose name does not start with the host triplet.  If you think this
   19367 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19368 ac_tool_warned=yes ;;
   19369 esac
   19370     CC=$ac_ct_CC
   19371   fi
   19372 else
   19373   CC="$ac_cv_prog_CC"
   19374 fi
   19375 
   19376 if test -z "$CC"; then
   19377           if test -n "$ac_tool_prefix"; then
   19378     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19379 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19382 if test "${ac_cv_prog_CC+set}" = set; then
   19383   echo $ECHO_N "(cached) $ECHO_C" >&6
   19384 else
   19385   if test -n "$CC"; then
   19386   ac_cv_prog_CC="$CC" # Let the user override the test.
   19387 else
   19388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19389 for as_dir in $PATH
   19390 do
   19391   IFS=$as_save_IFS
   19392   test -z "$as_dir" && as_dir=.
   19393   for ac_exec_ext in '' $ac_executable_extensions; do
   19394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19395     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19396     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19397     break 2
   19398   fi
   19399 done
   19400 done
   19401 IFS=$as_save_IFS
   19402 
   19403 fi
   19404 fi
   19405 CC=$ac_cv_prog_CC
   19406 if test -n "$CC"; then
   19407   { echo "$as_me:$LINENO: result: $CC" >&5
   19408 echo "${ECHO_T}$CC" >&6; }
   19409 else
   19410   { echo "$as_me:$LINENO: result: no" >&5
   19411 echo "${ECHO_T}no" >&6; }
   19412 fi
   19413 
   19414 
   19415   fi
   19416 fi
   19417 if test -z "$CC"; then
   19418   # Extract the first word of "cc", so it can be a program name with args.
   19419 set dummy cc; ac_word=$2
   19420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19422 if test "${ac_cv_prog_CC+set}" = set; then
   19423   echo $ECHO_N "(cached) $ECHO_C" >&6
   19424 else
   19425   if test -n "$CC"; then
   19426   ac_cv_prog_CC="$CC" # Let the user override the test.
   19427 else
   19428   ac_prog_rejected=no
   19429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19430 for as_dir in $PATH
   19431 do
   19432   IFS=$as_save_IFS
   19433   test -z "$as_dir" && as_dir=.
   19434   for ac_exec_ext in '' $ac_executable_extensions; do
   19435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19436     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19437        ac_prog_rejected=yes
   19438        continue
   19439      fi
   19440     ac_cv_prog_CC="cc"
   19441     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19442     break 2
   19443   fi
   19444 done
   19445 done
   19446 IFS=$as_save_IFS
   19447 
   19448 if test $ac_prog_rejected = yes; then
   19449   # We found a bogon in the path, so make sure we never use it.
   19450   set dummy $ac_cv_prog_CC
   19451   shift
   19452   if test $# != 0; then
   19453     # We chose a different compiler from the bogus one.
   19454     # However, it has the same basename, so the bogon will be chosen
   19455     # first if we set CC to just the basename; use the full file name.
   19456     shift
   19457     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   19458   fi
   19459 fi
   19460 fi
   19461 fi
   19462 CC=$ac_cv_prog_CC
   19463 if test -n "$CC"; then
   19464   { echo "$as_me:$LINENO: result: $CC" >&5
   19465 echo "${ECHO_T}$CC" >&6; }
   19466 else
   19467   { echo "$as_me:$LINENO: result: no" >&5
   19468 echo "${ECHO_T}no" >&6; }
   19469 fi
   19470 
   19471 
   19472 fi
   19473 if test -z "$CC"; then
   19474   if test -n "$ac_tool_prefix"; then
   19475   for ac_prog in cl.exe
   19476   do
   19477     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19481 if test "${ac_cv_prog_CC+set}" = set; then
   19482   echo $ECHO_N "(cached) $ECHO_C" >&6
   19483 else
   19484   if test -n "$CC"; then
   19485   ac_cv_prog_CC="$CC" # Let the user override the test.
   19486 else
   19487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19488 for as_dir in $PATH
   19489 do
   19490   IFS=$as_save_IFS
   19491   test -z "$as_dir" && as_dir=.
   19492   for ac_exec_ext in '' $ac_executable_extensions; do
   19493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19494     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19495     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19496     break 2
   19497   fi
   19498 done
   19499 done
   19500 IFS=$as_save_IFS
   19501 
   19502 fi
   19503 fi
   19504 CC=$ac_cv_prog_CC
   19505 if test -n "$CC"; then
   19506   { echo "$as_me:$LINENO: result: $CC" >&5
   19507 echo "${ECHO_T}$CC" >&6; }
   19508 else
   19509   { echo "$as_me:$LINENO: result: no" >&5
   19510 echo "${ECHO_T}no" >&6; }
   19511 fi
   19512 
   19513 
   19514     test -n "$CC" && break
   19515   done
   19516 fi
   19517 if test -z "$CC"; then
   19518   ac_ct_CC=$CC
   19519   for ac_prog in cl.exe
   19520 do
   19521   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19522 set dummy $ac_prog; ac_word=$2
   19523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19526   echo $ECHO_N "(cached) $ECHO_C" >&6
   19527 else
   19528   if test -n "$ac_ct_CC"; then
   19529   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19530 else
   19531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19532 for as_dir in $PATH
   19533 do
   19534   IFS=$as_save_IFS
   19535   test -z "$as_dir" && as_dir=.
   19536   for ac_exec_ext in '' $ac_executable_extensions; do
   19537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19538     ac_cv_prog_ac_ct_CC="$ac_prog"
   19539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19540     break 2
   19541   fi
   19542 done
   19543 done
   19544 IFS=$as_save_IFS
   19545 
   19546 fi
   19547 fi
   19548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19549 if test -n "$ac_ct_CC"; then
   19550   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19551 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19552 else
   19553   { echo "$as_me:$LINENO: result: no" >&5
   19554 echo "${ECHO_T}no" >&6; }
   19555 fi
   19556 
   19557 
   19558   test -n "$ac_ct_CC" && break
   19559 done
   19560 
   19561   if test "x$ac_ct_CC" = x; then
   19562     CC=""
   19563   else
   19564     case $cross_compiling:$ac_tool_warned in
   19565 yes:)
   19566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19567 whose name does not start with the host triplet.  If you think this
   19568 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19570 whose name does not start with the host triplet.  If you think this
   19571 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19572 ac_tool_warned=yes ;;
   19573 esac
   19574     CC=$ac_ct_CC
   19575   fi
   19576 fi
   19577 
   19578 fi
   19579 
   19580 
   19581 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   19582 See \`config.log' for more details." >&5
   19583 echo "$as_me: error: no acceptable C compiler found in \$PATH
   19584 See \`config.log' for more details." >&2;}
   19585    { (exit 1); exit 1; }; }
   19586 
   19587 # Provide some information about the compiler.
   19588 echo "$as_me:$LINENO: checking for C compiler version" >&5
   19589 ac_compiler=`set X $ac_compile; echo $2`
   19590 { (ac_try="$ac_compiler --version >&5"
   19591 case "(($ac_try" in
   19592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19593   *) ac_try_echo=$ac_try;;
   19594 esac
   19595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19596   (eval "$ac_compiler --version >&5") 2>&5
   19597   ac_status=$?
   19598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19599   (exit $ac_status); }
   19600 { (ac_try="$ac_compiler -v >&5"
   19601 case "(($ac_try" in
   19602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19603   *) ac_try_echo=$ac_try;;
   19604 esac
   19605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19606   (eval "$ac_compiler -v >&5") 2>&5
   19607   ac_status=$?
   19608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19609   (exit $ac_status); }
   19610 { (ac_try="$ac_compiler -V >&5"
   19611 case "(($ac_try" in
   19612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19613   *) ac_try_echo=$ac_try;;
   19614 esac
   19615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19616   (eval "$ac_compiler -V >&5") 2>&5
   19617   ac_status=$?
   19618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19619   (exit $ac_status); }
   19620 
   19621 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19622 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   19623 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19624   echo $ECHO_N "(cached) $ECHO_C" >&6
   19625 else
   19626   cat >conftest.$ac_ext <<_ACEOF
   19627 /* confdefs.h.  */
   19628 _ACEOF
   19629 cat confdefs.h >>conftest.$ac_ext
   19630 cat >>conftest.$ac_ext <<_ACEOF
   19631 /* end confdefs.h.  */
   19632 
   19633 int
   19634 main ()
   19635 {
   19636 #ifndef __GNUC__
   19637        choke me
   19638 #endif
   19639 
   19640   ;
   19641   return 0;
   19642 }
   19643 _ACEOF
   19644 rm -f conftest.$ac_objext
   19645 if { (ac_try="$ac_compile"
   19646 case "(($ac_try" in
   19647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19648   *) ac_try_echo=$ac_try;;
   19649 esac
   19650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19651   (eval "$ac_compile") 2>conftest.er1
   19652   ac_status=$?
   19653   grep -v '^ *+' conftest.er1 >conftest.err
   19654   rm -f conftest.er1
   19655   cat conftest.err >&5
   19656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19657   (exit $ac_status); } && {
   19658 	 test -z "$ac_c_werror_flag" ||
   19659 	 test ! -s conftest.err
   19660        } && test -s conftest.$ac_objext; then
   19661   ac_compiler_gnu=yes
   19662 else
   19663   echo "$as_me: failed program was:" >&5
   19664 sed 's/^/| /' conftest.$ac_ext >&5
   19665 
   19666 	ac_compiler_gnu=no
   19667 fi
   19668 
   19669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19671 
   19672 fi
   19673 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19674 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   19675 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19676 ac_test_CFLAGS=${CFLAGS+set}
   19677 ac_save_CFLAGS=$CFLAGS
   19678 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19679 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   19680 if test "${ac_cv_prog_cc_g+set}" = set; then
   19681   echo $ECHO_N "(cached) $ECHO_C" >&6
   19682 else
   19683   ac_save_c_werror_flag=$ac_c_werror_flag
   19684    ac_c_werror_flag=yes
   19685    ac_cv_prog_cc_g=no
   19686    CFLAGS="-g"
   19687    cat >conftest.$ac_ext <<_ACEOF
   19688 /* confdefs.h.  */
   19689 _ACEOF
   19690 cat confdefs.h >>conftest.$ac_ext
   19691 cat >>conftest.$ac_ext <<_ACEOF
   19692 /* end confdefs.h.  */
   19693 
   19694 int
   19695 main ()
   19696 {
   19697 
   19698   ;
   19699   return 0;
   19700 }
   19701 _ACEOF
   19702 rm -f conftest.$ac_objext
   19703 if { (ac_try="$ac_compile"
   19704 case "(($ac_try" in
   19705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19706   *) ac_try_echo=$ac_try;;
   19707 esac
   19708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19709   (eval "$ac_compile") 2>conftest.er1
   19710   ac_status=$?
   19711   grep -v '^ *+' conftest.er1 >conftest.err
   19712   rm -f conftest.er1
   19713   cat conftest.err >&5
   19714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19715   (exit $ac_status); } && {
   19716 	 test -z "$ac_c_werror_flag" ||
   19717 	 test ! -s conftest.err
   19718        } && test -s conftest.$ac_objext; then
   19719   ac_cv_prog_cc_g=yes
   19720 else
   19721   echo "$as_me: failed program was:" >&5
   19722 sed 's/^/| /' conftest.$ac_ext >&5
   19723 
   19724 	CFLAGS=""
   19725       cat >conftest.$ac_ext <<_ACEOF
   19726 /* confdefs.h.  */
   19727 _ACEOF
   19728 cat confdefs.h >>conftest.$ac_ext
   19729 cat >>conftest.$ac_ext <<_ACEOF
   19730 /* end confdefs.h.  */
   19731 
   19732 int
   19733 main ()
   19734 {
   19735 
   19736   ;
   19737   return 0;
   19738 }
   19739 _ACEOF
   19740 rm -f conftest.$ac_objext
   19741 if { (ac_try="$ac_compile"
   19742 case "(($ac_try" in
   19743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19744   *) ac_try_echo=$ac_try;;
   19745 esac
   19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19747   (eval "$ac_compile") 2>conftest.er1
   19748   ac_status=$?
   19749   grep -v '^ *+' conftest.er1 >conftest.err
   19750   rm -f conftest.er1
   19751   cat conftest.err >&5
   19752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19753   (exit $ac_status); } && {
   19754 	 test -z "$ac_c_werror_flag" ||
   19755 	 test ! -s conftest.err
   19756        } && test -s conftest.$ac_objext; then
   19757   :
   19758 else
   19759   echo "$as_me: failed program was:" >&5
   19760 sed 's/^/| /' conftest.$ac_ext >&5
   19761 
   19762 	ac_c_werror_flag=$ac_save_c_werror_flag
   19763 	 CFLAGS="-g"
   19764 	 cat >conftest.$ac_ext <<_ACEOF
   19765 /* confdefs.h.  */
   19766 _ACEOF
   19767 cat confdefs.h >>conftest.$ac_ext
   19768 cat >>conftest.$ac_ext <<_ACEOF
   19769 /* end confdefs.h.  */
   19770 
   19771 int
   19772 main ()
   19773 {
   19774 
   19775   ;
   19776   return 0;
   19777 }
   19778 _ACEOF
   19779 rm -f conftest.$ac_objext
   19780 if { (ac_try="$ac_compile"
   19781 case "(($ac_try" in
   19782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19783   *) ac_try_echo=$ac_try;;
   19784 esac
   19785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19786   (eval "$ac_compile") 2>conftest.er1
   19787   ac_status=$?
   19788   grep -v '^ *+' conftest.er1 >conftest.err
   19789   rm -f conftest.er1
   19790   cat conftest.err >&5
   19791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19792   (exit $ac_status); } && {
   19793 	 test -z "$ac_c_werror_flag" ||
   19794 	 test ! -s conftest.err
   19795        } && test -s conftest.$ac_objext; then
   19796   ac_cv_prog_cc_g=yes
   19797 else
   19798   echo "$as_me: failed program was:" >&5
   19799 sed 's/^/| /' conftest.$ac_ext >&5
   19800 
   19801 
   19802 fi
   19803 
   19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19805 fi
   19806 
   19807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19808 fi
   19809 
   19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19811    ac_c_werror_flag=$ac_save_c_werror_flag
   19812 fi
   19813 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19814 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   19815 if test "$ac_test_CFLAGS" = set; then
   19816   CFLAGS=$ac_save_CFLAGS
   19817 elif test $ac_cv_prog_cc_g = yes; then
   19818   if test "$GCC" = yes; then
   19819     CFLAGS="-g -O2"
   19820   else
   19821     CFLAGS="-g"
   19822   fi
   19823 else
   19824   if test "$GCC" = yes; then
   19825     CFLAGS="-O2"
   19826   else
   19827     CFLAGS=
   19828   fi
   19829 fi
   19830 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   19831 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   19832 if test "${ac_cv_prog_cc_c89+set}" = set; then
   19833   echo $ECHO_N "(cached) $ECHO_C" >&6
   19834 else
   19835   ac_cv_prog_cc_c89=no
   19836 ac_save_CC=$CC
   19837 cat >conftest.$ac_ext <<_ACEOF
   19838 /* confdefs.h.  */
   19839 _ACEOF
   19840 cat confdefs.h >>conftest.$ac_ext
   19841 cat >>conftest.$ac_ext <<_ACEOF
   19842 /* end confdefs.h.  */
   19843 #include <stdarg.h>
   19844 #include <stdio.h>
   19845 #include <sys/types.h>
   19846 #include <sys/stat.h>
   19847 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   19848 struct buf { int x; };
   19849 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   19850 static char *e (p, i)
   19851      char **p;
   19852      int i;
   19853 {
   19854   return p[i];
   19855 }
   19856 static char *f (char * (*g) (char **, int), char **p, ...)
   19857 {
   19858   char *s;
   19859   va_list v;
   19860   va_start (v,p);
   19861   s = g (p, va_arg (v,int));
   19862   va_end (v);
   19863   return s;
   19864 }
   19865 
   19866 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   19867    function prototypes and stuff, but not '\xHH' hex character constants.
   19868    These don't provoke an error unfortunately, instead are silently treated
   19869    as 'x'.  The following induces an error, until -std is added to get
   19870    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   19871    array size at least.  It's necessary to write '\x00'==0 to get something
   19872    that's true only with -std.  */
   19873 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   19874 
   19875 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   19876    inside strings and character constants.  */
   19877 #define FOO(x) 'x'
   19878 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   19879 
   19880 int test (int i, double x);
   19881 struct s1 {int (*f) (int a);};
   19882 struct s2 {int (*f) (double a);};
   19883 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   19884 int argc;
   19885 char **argv;
   19886 int
   19887 main ()
   19888 {
   19889 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   19890   ;
   19891   return 0;
   19892 }
   19893 _ACEOF
   19894 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   19895 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   19896 do
   19897   CC="$ac_save_CC $ac_arg"
   19898   rm -f conftest.$ac_objext
   19899 if { (ac_try="$ac_compile"
   19900 case "(($ac_try" in
   19901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19902   *) ac_try_echo=$ac_try;;
   19903 esac
   19904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19905   (eval "$ac_compile") 2>conftest.er1
   19906   ac_status=$?
   19907   grep -v '^ *+' conftest.er1 >conftest.err
   19908   rm -f conftest.er1
   19909   cat conftest.err >&5
   19910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19911   (exit $ac_status); } && {
   19912 	 test -z "$ac_c_werror_flag" ||
   19913 	 test ! -s conftest.err
   19914        } && test -s conftest.$ac_objext; then
   19915   ac_cv_prog_cc_c89=$ac_arg
   19916 else
   19917   echo "$as_me: failed program was:" >&5
   19918 sed 's/^/| /' conftest.$ac_ext >&5
   19919 
   19920 
   19921 fi
   19922 
   19923 rm -f core conftest.err conftest.$ac_objext
   19924   test "x$ac_cv_prog_cc_c89" != "xno" && break
   19925 done
   19926 rm -f conftest.$ac_ext
   19927 CC=$ac_save_CC
   19928 
   19929 fi
   19930 # AC_CACHE_VAL
   19931 case "x$ac_cv_prog_cc_c89" in
   19932   x)
   19933     { echo "$as_me:$LINENO: result: none needed" >&5
   19934 echo "${ECHO_T}none needed" >&6; } ;;
   19935   xno)
   19936     { echo "$as_me:$LINENO: result: unsupported" >&5
   19937 echo "${ECHO_T}unsupported" >&6; } ;;
   19938   *)
   19939     CC="$CC $ac_cv_prog_cc_c89"
   19940     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   19941 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   19942 esac
   19943 
   19944 
   19945 ac_ext=c
   19946 ac_cpp='$CPP $CPPFLAGS'
   19947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19950 
   19951 depcc="$CC"   am_compiler_list=
   19952 
   19953 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   19954 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   19955 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   19956   echo $ECHO_N "(cached) $ECHO_C" >&6
   19957 else
   19958   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   19959   # We make a subdir and do the tests there.  Otherwise we can end up
   19960   # making bogus files that we don't know about and never remove.  For
   19961   # instance it was reported that on HP-UX the gcc test will end up
   19962   # making a dummy file named `D' -- because `-MD' means `put the output
   19963   # in D'.
   19964   mkdir conftest.dir
   19965   # Copy depcomp to subdir because otherwise we won't find it if we're
   19966   # using a relative directory.
   19967   cp "$am_depcomp" conftest.dir
   19968   cd conftest.dir
   19969   # We will build objects and dependencies in a subdirectory because
   19970   # it helps to detect inapplicable dependency modes.  For instance
   19971   # both Tru64's cc and ICC support -MD to output dependencies as a
   19972   # side effect of compilation, but ICC will put the dependencies in
   19973   # the current directory while Tru64 will put them in the object
   19974   # directory.
   19975   mkdir sub
   19976 
   19977   am_cv_CC_dependencies_compiler_type=none
   19978   if test "$am_compiler_list" = ""; then
   19979      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   19980   fi
   19981   for depmode in $am_compiler_list; do
   19982     # Setup a source with many dependencies, because some compilers
   19983     # like to wrap large dependency lists on column 80 (with \), and
   19984     # we should not choose a depcomp mode which is confused by this.
   19985     #
   19986     # We need to recreate these files for each test, as the compiler may
   19987     # overwrite some of them when testing with obscure command lines.
   19988     # This happens at least with the AIX C compiler.
   19989     : > sub/conftest.c
   19990     for i in 1 2 3 4 5 6; do
   19991       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   19992       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   19993       # Solaris 8's {/usr,}/bin/sh.
   19994       touch sub/conftst$i.h
   19995     done
   19996     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   19997 
   19998     case $depmode in
   19999     nosideeffect)
   20000       # after this tag, mechanisms are not by side-effect, so they'll
   20001       # only be used when explicitly requested
   20002       if test "x$enable_dependency_tracking" = xyes; then
   20003 	continue
   20004       else
   20005 	break
   20006       fi
   20007       ;;
   20008     none) break ;;
   20009     esac
   20010     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20011     # mode.  It turns out that the SunPro C++ compiler does not properly
   20012     # handle `-M -o', and we need to detect this.
   20013     if depmode=$depmode \
   20014        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20015        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20016        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20017          >/dev/null 2>conftest.err &&
   20018        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20019        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20020        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20021        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20022       # icc doesn't choke on unknown options, it will just issue warnings
   20023       # or remarks (even with -Werror).  So we grep stderr for any message
   20024       # that says an option was ignored or not supported.
   20025       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20026       #   icc: Command line warning: ignoring option '-M'; no argument required
   20027       # The diagnosis changed in icc 8.0:
   20028       #   icc: Command line remark: option '-MP' not supported
   20029       if (grep 'ignoring option' conftest.err ||
   20030           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20031         am_cv_CC_dependencies_compiler_type=$depmode
   20032         break
   20033       fi
   20034     fi
   20035   done
   20036 
   20037   cd ..
   20038   rm -rf conftest.dir
   20039 else
   20040   am_cv_CC_dependencies_compiler_type=none
   20041 fi
   20042 
   20043 fi
   20044 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20045 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20046 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20047 
   20048  if
   20049   test "x$enable_dependency_tracking" != xno \
   20050   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20051   am__fastdepCC_TRUE=
   20052   am__fastdepCC_FALSE='#'
   20053 else
   20054   am__fastdepCC_TRUE='#'
   20055   am__fastdepCC_FALSE=
   20056 fi
   20057 
   20058 
   20059 
   20060 
   20061 if  test "x$GCC" = xyes ; then
   20062     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20063 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20064 -Wbad-function-cast"
   20065     case `gcc -dumpversion` in
   20066     3.4.* | 4.*)
   20067 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20068 	;;
   20069     esac
   20070 else
   20071     { echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20072 echo $ECHO_N "checking whether __SUNPRO_C is declared... $ECHO_C" >&6; }
   20073 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20074   echo $ECHO_N "(cached) $ECHO_C" >&6
   20075 else
   20076   cat >conftest.$ac_ext <<_ACEOF
   20077 /* confdefs.h.  */
   20078 _ACEOF
   20079 cat confdefs.h >>conftest.$ac_ext
   20080 cat >>conftest.$ac_ext <<_ACEOF
   20081 /* end confdefs.h.  */
   20082 $ac_includes_default
   20083 int
   20084 main ()
   20085 {
   20086 #ifndef __SUNPRO_C
   20087   (void) __SUNPRO_C;
   20088 #endif
   20089 
   20090   ;
   20091   return 0;
   20092 }
   20093 _ACEOF
   20094 rm -f conftest.$ac_objext
   20095 if { (ac_try="$ac_compile"
   20096 case "(($ac_try" in
   20097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20098   *) ac_try_echo=$ac_try;;
   20099 esac
   20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20101   (eval "$ac_compile") 2>conftest.er1
   20102   ac_status=$?
   20103   grep -v '^ *+' conftest.er1 >conftest.err
   20104   rm -f conftest.er1
   20105   cat conftest.err >&5
   20106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20107   (exit $ac_status); } && {
   20108 	 test -z "$ac_c_werror_flag" ||
   20109 	 test ! -s conftest.err
   20110        } && test -s conftest.$ac_objext; then
   20111   ac_cv_have_decl___SUNPRO_C=yes
   20112 else
   20113   echo "$as_me: failed program was:" >&5
   20114 sed 's/^/| /' conftest.$ac_ext >&5
   20115 
   20116 	ac_cv_have_decl___SUNPRO_C=no
   20117 fi
   20118 
   20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20120 fi
   20121 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20122 echo "${ECHO_T}$ac_cv_have_decl___SUNPRO_C" >&6; }
   20123 if test $ac_cv_have_decl___SUNPRO_C = yes; then
   20124   SUNCC="yes"
   20125 else
   20126   SUNCC="no"
   20127 fi
   20128 
   20129     if test "x$SUNCC" = "xyes"; then
   20130 	CWARNFLAGS="-v"
   20131     fi
   20132 fi
   20133 
   20134 
   20135 
   20136 
   20137 
   20138 
   20139 
   20140 # Check whether --with-xorg-module-dir was given.
   20141 if test "${with_xorg_module_dir+set}" = set; then
   20142   withval=$with_xorg_module_dir; moduledir="$withval"
   20143 else
   20144   moduledir="$libdir/xorg/modules"
   20145 fi
   20146 
   20147 
   20148 # Check whether --enable-dri was given.
   20149 if test "${enable_dri+set}" = set; then
   20150   enableval=$enable_dri; DRI="$enableval"
   20151 else
   20152   DRI=auto
   20153 fi
   20154 
   20155 
   20156 # Check whether --enable-exa was given.
   20157 if test "${enable_exa+set}" = set; then
   20158   enableval=$enable_exa; EXA="$enableval"
   20159 else
   20160   EXA=yes
   20161 fi
   20162 
   20163 
   20164 # Checks for extensions
   20165 
   20166 	SAVE_CFLAGS="$CFLAGS"
   20167 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20168 	cat >conftest.$ac_ext <<_ACEOF
   20169 /* confdefs.h.  */
   20170 _ACEOF
   20171 cat confdefs.h >>conftest.$ac_ext
   20172 cat >>conftest.$ac_ext <<_ACEOF
   20173 /* end confdefs.h.  */
   20174 
   20175 #include "xorg-server.h"
   20176 #if !defined XINERAMA
   20177 #error XINERAMA not defined
   20178 #endif
   20179 
   20180 int
   20181 main ()
   20182 {
   20183 
   20184   ;
   20185   return 0;
   20186 }
   20187 _ACEOF
   20188 rm -f conftest.$ac_objext
   20189 if { (ac_try="$ac_compile"
   20190 case "(($ac_try" in
   20191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20192   *) ac_try_echo=$ac_try;;
   20193 esac
   20194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20195   (eval "$ac_compile") 2>conftest.er1
   20196   ac_status=$?
   20197   grep -v '^ *+' conftest.er1 >conftest.err
   20198   rm -f conftest.er1
   20199   cat conftest.err >&5
   20200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20201   (exit $ac_status); } && {
   20202 	 test -z "$ac_c_werror_flag" ||
   20203 	 test ! -s conftest.err
   20204        } && test -s conftest.$ac_objext; then
   20205   _EXT_CHECK=yes
   20206 else
   20207   echo "$as_me: failed program was:" >&5
   20208 sed 's/^/| /' conftest.$ac_ext >&5
   20209 
   20210 	_EXT_CHECK=no
   20211 fi
   20212 
   20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20214 	CFLAGS="$SAVE_CFLAGS"
   20215 	{ echo "$as_me:$LINENO: checking if XINERAMA is defined" >&5
   20216 echo $ECHO_N "checking if XINERAMA is defined... $ECHO_C" >&6; }
   20217 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20218 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20219 	if test "$_EXT_CHECK" != no; then
   20220 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   20221 	fi
   20222 
   20223 
   20224 	SAVE_CFLAGS="$CFLAGS"
   20225 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20226 	cat >conftest.$ac_ext <<_ACEOF
   20227 /* confdefs.h.  */
   20228 _ACEOF
   20229 cat confdefs.h >>conftest.$ac_ext
   20230 cat >>conftest.$ac_ext <<_ACEOF
   20231 /* end confdefs.h.  */
   20232 
   20233 #include "xorg-server.h"
   20234 #if !defined RANDR
   20235 #error RANDR not defined
   20236 #endif
   20237 
   20238 int
   20239 main ()
   20240 {
   20241 
   20242   ;
   20243   return 0;
   20244 }
   20245 _ACEOF
   20246 rm -f conftest.$ac_objext
   20247 if { (ac_try="$ac_compile"
   20248 case "(($ac_try" in
   20249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20250   *) ac_try_echo=$ac_try;;
   20251 esac
   20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20253   (eval "$ac_compile") 2>conftest.er1
   20254   ac_status=$?
   20255   grep -v '^ *+' conftest.er1 >conftest.err
   20256   rm -f conftest.er1
   20257   cat conftest.err >&5
   20258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20259   (exit $ac_status); } && {
   20260 	 test -z "$ac_c_werror_flag" ||
   20261 	 test ! -s conftest.err
   20262        } && test -s conftest.$ac_objext; then
   20263   _EXT_CHECK=yes
   20264 else
   20265   echo "$as_me: failed program was:" >&5
   20266 sed 's/^/| /' conftest.$ac_ext >&5
   20267 
   20268 	_EXT_CHECK=no
   20269 fi
   20270 
   20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20272 	CFLAGS="$SAVE_CFLAGS"
   20273 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20274 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20275 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20276 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20277 	if test "$_EXT_CHECK" != no; then
   20278 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20279 	fi
   20280 
   20281 
   20282 	SAVE_CFLAGS="$CFLAGS"
   20283 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20284 	cat >conftest.$ac_ext <<_ACEOF
   20285 /* confdefs.h.  */
   20286 _ACEOF
   20287 cat confdefs.h >>conftest.$ac_ext
   20288 cat >>conftest.$ac_ext <<_ACEOF
   20289 /* end confdefs.h.  */
   20290 
   20291 #include "xorg-server.h"
   20292 #if !defined RENDER
   20293 #error RENDER not defined
   20294 #endif
   20295 
   20296 int
   20297 main ()
   20298 {
   20299 
   20300   ;
   20301   return 0;
   20302 }
   20303 _ACEOF
   20304 rm -f conftest.$ac_objext
   20305 if { (ac_try="$ac_compile"
   20306 case "(($ac_try" in
   20307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20308   *) ac_try_echo=$ac_try;;
   20309 esac
   20310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20311   (eval "$ac_compile") 2>conftest.er1
   20312   ac_status=$?
   20313   grep -v '^ *+' conftest.er1 >conftest.err
   20314   rm -f conftest.er1
   20315   cat conftest.err >&5
   20316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20317   (exit $ac_status); } && {
   20318 	 test -z "$ac_c_werror_flag" ||
   20319 	 test ! -s conftest.err
   20320        } && test -s conftest.$ac_objext; then
   20321   _EXT_CHECK=yes
   20322 else
   20323   echo "$as_me: failed program was:" >&5
   20324 sed 's/^/| /' conftest.$ac_ext >&5
   20325 
   20326 	_EXT_CHECK=no
   20327 fi
   20328 
   20329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20330 	CFLAGS="$SAVE_CFLAGS"
   20331 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20332 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20333 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20334 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20335 	if test "$_EXT_CHECK" != no; then
   20336 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20337 	fi
   20338 
   20339 
   20340 	SAVE_CFLAGS="$CFLAGS"
   20341 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20342 	cat >conftest.$ac_ext <<_ACEOF
   20343 /* confdefs.h.  */
   20344 _ACEOF
   20345 cat confdefs.h >>conftest.$ac_ext
   20346 cat >>conftest.$ac_ext <<_ACEOF
   20347 /* end confdefs.h.  */
   20348 
   20349 #include "xorg-server.h"
   20350 #if !defined XV
   20351 #error XV not defined
   20352 #endif
   20353 
   20354 int
   20355 main ()
   20356 {
   20357 
   20358   ;
   20359   return 0;
   20360 }
   20361 _ACEOF
   20362 rm -f conftest.$ac_objext
   20363 if { (ac_try="$ac_compile"
   20364 case "(($ac_try" in
   20365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20366   *) ac_try_echo=$ac_try;;
   20367 esac
   20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20369   (eval "$ac_compile") 2>conftest.er1
   20370   ac_status=$?
   20371   grep -v '^ *+' conftest.er1 >conftest.err
   20372   rm -f conftest.er1
   20373   cat conftest.err >&5
   20374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20375   (exit $ac_status); } && {
   20376 	 test -z "$ac_c_werror_flag" ||
   20377 	 test ! -s conftest.err
   20378        } && test -s conftest.$ac_objext; then
   20379   _EXT_CHECK=yes
   20380 else
   20381   echo "$as_me: failed program was:" >&5
   20382 sed 's/^/| /' conftest.$ac_ext >&5
   20383 
   20384 	_EXT_CHECK=no
   20385 fi
   20386 
   20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20388 	CFLAGS="$SAVE_CFLAGS"
   20389 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   20390 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   20391 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20392 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20393 	if test "$_EXT_CHECK" != no; then
   20394 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20395 	fi
   20396 
   20397 
   20398 	SAVE_CFLAGS="$CFLAGS"
   20399 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20400 	cat >conftest.$ac_ext <<_ACEOF
   20401 /* confdefs.h.  */
   20402 _ACEOF
   20403 cat confdefs.h >>conftest.$ac_ext
   20404 cat >>conftest.$ac_ext <<_ACEOF
   20405 /* end confdefs.h.  */
   20406 
   20407 #include "xorg-server.h"
   20408 #if !defined XF86MISC
   20409 #error XF86MISC not defined
   20410 #endif
   20411 
   20412 int
   20413 main ()
   20414 {
   20415 
   20416   ;
   20417   return 0;
   20418 }
   20419 _ACEOF
   20420 rm -f conftest.$ac_objext
   20421 if { (ac_try="$ac_compile"
   20422 case "(($ac_try" in
   20423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20424   *) ac_try_echo=$ac_try;;
   20425 esac
   20426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20427   (eval "$ac_compile") 2>conftest.er1
   20428   ac_status=$?
   20429   grep -v '^ *+' conftest.er1 >conftest.err
   20430   rm -f conftest.er1
   20431   cat conftest.err >&5
   20432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20433   (exit $ac_status); } && {
   20434 	 test -z "$ac_c_werror_flag" ||
   20435 	 test ! -s conftest.err
   20436        } && test -s conftest.$ac_objext; then
   20437   _EXT_CHECK=yes
   20438 else
   20439   echo "$as_me: failed program was:" >&5
   20440 sed 's/^/| /' conftest.$ac_ext >&5
   20441 
   20442 	_EXT_CHECK=no
   20443 fi
   20444 
   20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20446 	CFLAGS="$SAVE_CFLAGS"
   20447 	{ echo "$as_me:$LINENO: checking if XF86MISC is defined" >&5
   20448 echo $ECHO_N "checking if XF86MISC is defined... $ECHO_C" >&6; }
   20449 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20450 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20451 	if test "$_EXT_CHECK" != no; then
   20452 		REQUIRED_MODULES="$REQUIRED_MODULES xf86miscproto"
   20453 	fi
   20454 
   20455 
   20456 	SAVE_CFLAGS="$CFLAGS"
   20457 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20458 	cat >conftest.$ac_ext <<_ACEOF
   20459 /* confdefs.h.  */
   20460 _ACEOF
   20461 cat confdefs.h >>conftest.$ac_ext
   20462 cat >>conftest.$ac_ext <<_ACEOF
   20463 /* end confdefs.h.  */
   20464 
   20465 #include "xorg-server.h"
   20466 #if !defined DPMSExtension
   20467 #error DPMSExtension not defined
   20468 #endif
   20469 
   20470 int
   20471 main ()
   20472 {
   20473 
   20474   ;
   20475   return 0;
   20476 }
   20477 _ACEOF
   20478 rm -f conftest.$ac_objext
   20479 if { (ac_try="$ac_compile"
   20480 case "(($ac_try" in
   20481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20482   *) ac_try_echo=$ac_try;;
   20483 esac
   20484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20485   (eval "$ac_compile") 2>conftest.er1
   20486   ac_status=$?
   20487   grep -v '^ *+' conftest.er1 >conftest.err
   20488   rm -f conftest.er1
   20489   cat conftest.err >&5
   20490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20491   (exit $ac_status); } && {
   20492 	 test -z "$ac_c_werror_flag" ||
   20493 	 test ! -s conftest.err
   20494        } && test -s conftest.$ac_objext; then
   20495   _EXT_CHECK=yes
   20496 else
   20497   echo "$as_me: failed program was:" >&5
   20498 sed 's/^/| /' conftest.$ac_ext >&5
   20499 
   20500 	_EXT_CHECK=no
   20501 fi
   20502 
   20503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20504 	CFLAGS="$SAVE_CFLAGS"
   20505 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   20506 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   20507 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20508 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20509 	if test "$_EXT_CHECK" != no; then
   20510 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20511 	fi
   20512 
   20513 
   20514 # Checks for pkg-config packages
   20515 
   20516 
   20517 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20518 	if test -n "$ac_tool_prefix"; then
   20519   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20520 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20523 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20524   echo $ECHO_N "(cached) $ECHO_C" >&6
   20525 else
   20526   case $PKG_CONFIG in
   20527   [\\/]* | ?:[\\/]*)
   20528   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20529   ;;
   20530   *)
   20531   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20532 for as_dir in $PATH
   20533 do
   20534   IFS=$as_save_IFS
   20535   test -z "$as_dir" && as_dir=.
   20536   for ac_exec_ext in '' $ac_executable_extensions; do
   20537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20538     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20540     break 2
   20541   fi
   20542 done
   20543 done
   20544 IFS=$as_save_IFS
   20545 
   20546   ;;
   20547 esac
   20548 fi
   20549 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20550 if test -n "$PKG_CONFIG"; then
   20551   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20552 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20553 else
   20554   { echo "$as_me:$LINENO: result: no" >&5
   20555 echo "${ECHO_T}no" >&6; }
   20556 fi
   20557 
   20558 
   20559 fi
   20560 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20561   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20562   # Extract the first word of "pkg-config", so it can be a program name with args.
   20563 set dummy pkg-config; ac_word=$2
   20564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20566 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20567   echo $ECHO_N "(cached) $ECHO_C" >&6
   20568 else
   20569   case $ac_pt_PKG_CONFIG in
   20570   [\\/]* | ?:[\\/]*)
   20571   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20572   ;;
   20573   *)
   20574   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20575 for as_dir in $PATH
   20576 do
   20577   IFS=$as_save_IFS
   20578   test -z "$as_dir" && as_dir=.
   20579   for ac_exec_ext in '' $ac_executable_extensions; do
   20580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20581     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20582     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20583     break 2
   20584   fi
   20585 done
   20586 done
   20587 IFS=$as_save_IFS
   20588 
   20589   ;;
   20590 esac
   20591 fi
   20592 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20593 if test -n "$ac_pt_PKG_CONFIG"; then
   20594   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20595 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20596 else
   20597   { echo "$as_me:$LINENO: result: no" >&5
   20598 echo "${ECHO_T}no" >&6; }
   20599 fi
   20600 
   20601   if test "x$ac_pt_PKG_CONFIG" = x; then
   20602     PKG_CONFIG=""
   20603   else
   20604     case $cross_compiling:$ac_tool_warned in
   20605 yes:)
   20606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20607 whose name does not start with the host triplet.  If you think this
   20608 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20610 whose name does not start with the host triplet.  If you think this
   20611 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20612 ac_tool_warned=yes ;;
   20613 esac
   20614     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20615   fi
   20616 else
   20617   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20618 fi
   20619 
   20620 fi
   20621 if test -n "$PKG_CONFIG"; then
   20622 	_pkg_min_version=0.9.0
   20623 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20624 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20625 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20626 		{ echo "$as_me:$LINENO: result: yes" >&5
   20627 echo "${ECHO_T}yes" >&6; }
   20628 	else
   20629 		{ echo "$as_me:$LINENO: result: no" >&5
   20630 echo "${ECHO_T}no" >&6; }
   20631 		PKG_CONFIG=""
   20632 	fi
   20633 
   20634 fi
   20635 
   20636 pkg_failed=no
   20637 { echo "$as_me:$LINENO: checking for XORG" >&5
   20638 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   20639 
   20640 if test -n "$PKG_CONFIG"; then
   20641         if test -n "$PKG_CONFIG" && \
   20642     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20643   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20644   ac_status=$?
   20645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20646   (exit $ac_status); }; then
   20647   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20648 else
   20649   pkg_failed=yes
   20650 fi
   20651 else
   20652 	pkg_failed=untried
   20653 fi
   20654 if test -n "$PKG_CONFIG"; then
   20655         if test -n "$PKG_CONFIG" && \
   20656     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20657   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20658   ac_status=$?
   20659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20660   (exit $ac_status); }; then
   20661   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20662 else
   20663   pkg_failed=yes
   20664 fi
   20665 else
   20666 	pkg_failed=untried
   20667 fi
   20668 
   20669 if test $pkg_failed = yes; then
   20670 	XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES"`
   20671 	# Put the nasty error message in config.log where it belongs
   20672 	echo "$XORG_PKG_ERRORS" 1>&5
   20673 
   20674 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met.
   20675 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20676 installed software in a non-standard prefix.
   20677 
   20678 Alternatively you may set the XORG_CFLAGS and XORG_LIBS environment variables
   20679 to avoid the need to call pkg-config.  See the pkg-config man page for
   20680 more details." >&5
   20681 echo "$as_me: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met.
   20682 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20683 installed software in a non-standard prefix.
   20684 
   20685 Alternatively you may set the XORG_CFLAGS and XORG_LIBS environment variables
   20686 to avoid the need to call pkg-config.  See the pkg-config man page for
   20687 more details." >&2;}
   20688    { (exit 1); exit 1; }; }
   20689 elif test $pkg_failed = untried; then
   20690 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20691 is in your PATH or set the PKG_CONFIG environment variable to the full
   20692 path to pkg-config.
   20693 
   20694 Alternatively you may set the XORG_CFLAGS and XORG_LIBS environment variables
   20695 to avoid the need to call pkg-config.  See the pkg-config man page for
   20696 more details.
   20697 
   20698 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20699 See \`config.log' for more details." >&5
   20700 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20701 is in your PATH or set the PKG_CONFIG environment variable to the full
   20702 path to pkg-config.
   20703 
   20704 Alternatively you may set the XORG_CFLAGS and XORG_LIBS environment variables
   20705 to avoid the need to call pkg-config.  See the pkg-config man page for
   20706 more details.
   20707 
   20708 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20709 See \`config.log' for more details." >&2;}
   20710    { (exit 1); exit 1; }; }
   20711 else
   20712 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20713 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20714         { echo "$as_me:$LINENO: result: yes" >&5
   20715 echo "${ECHO_T}yes" >&6; }
   20716 	:
   20717 fi
   20718 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   20719 
   20720 # Checks for libraries.
   20721 
   20722 # Checks for header files.
   20723 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20724 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   20725 if test "${ac_cv_header_stdc+set}" = set; then
   20726   echo $ECHO_N "(cached) $ECHO_C" >&6
   20727 else
   20728   cat >conftest.$ac_ext <<_ACEOF
   20729 /* confdefs.h.  */
   20730 _ACEOF
   20731 cat confdefs.h >>conftest.$ac_ext
   20732 cat >>conftest.$ac_ext <<_ACEOF
   20733 /* end confdefs.h.  */
   20734 #include <stdlib.h>
   20735 #include <stdarg.h>
   20736 #include <string.h>
   20737 #include <float.h>
   20738 
   20739 int
   20740 main ()
   20741 {
   20742 
   20743   ;
   20744   return 0;
   20745 }
   20746 _ACEOF
   20747 rm -f conftest.$ac_objext
   20748 if { (ac_try="$ac_compile"
   20749 case "(($ac_try" in
   20750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20751   *) ac_try_echo=$ac_try;;
   20752 esac
   20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20754   (eval "$ac_compile") 2>conftest.er1
   20755   ac_status=$?
   20756   grep -v '^ *+' conftest.er1 >conftest.err
   20757   rm -f conftest.er1
   20758   cat conftest.err >&5
   20759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20760   (exit $ac_status); } && {
   20761 	 test -z "$ac_c_werror_flag" ||
   20762 	 test ! -s conftest.err
   20763        } && test -s conftest.$ac_objext; then
   20764   ac_cv_header_stdc=yes
   20765 else
   20766   echo "$as_me: failed program was:" >&5
   20767 sed 's/^/| /' conftest.$ac_ext >&5
   20768 
   20769 	ac_cv_header_stdc=no
   20770 fi
   20771 
   20772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20773 
   20774 if test $ac_cv_header_stdc = yes; then
   20775   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20776   cat >conftest.$ac_ext <<_ACEOF
   20777 /* confdefs.h.  */
   20778 _ACEOF
   20779 cat confdefs.h >>conftest.$ac_ext
   20780 cat >>conftest.$ac_ext <<_ACEOF
   20781 /* end confdefs.h.  */
   20782 #include <string.h>
   20783 
   20784 _ACEOF
   20785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20786   $EGREP "memchr" >/dev/null 2>&1; then
   20787   :
   20788 else
   20789   ac_cv_header_stdc=no
   20790 fi
   20791 rm -f conftest*
   20792 
   20793 fi
   20794 
   20795 if test $ac_cv_header_stdc = yes; then
   20796   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20797   cat >conftest.$ac_ext <<_ACEOF
   20798 /* confdefs.h.  */
   20799 _ACEOF
   20800 cat confdefs.h >>conftest.$ac_ext
   20801 cat >>conftest.$ac_ext <<_ACEOF
   20802 /* end confdefs.h.  */
   20803 #include <stdlib.h>
   20804 
   20805 _ACEOF
   20806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20807   $EGREP "free" >/dev/null 2>&1; then
   20808   :
   20809 else
   20810   ac_cv_header_stdc=no
   20811 fi
   20812 rm -f conftest*
   20813 
   20814 fi
   20815 
   20816 if test $ac_cv_header_stdc = yes; then
   20817   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20818   if test "$cross_compiling" = yes; then
   20819   :
   20820 else
   20821   cat >conftest.$ac_ext <<_ACEOF
   20822 /* confdefs.h.  */
   20823 _ACEOF
   20824 cat confdefs.h >>conftest.$ac_ext
   20825 cat >>conftest.$ac_ext <<_ACEOF
   20826 /* end confdefs.h.  */
   20827 #include <ctype.h>
   20828 #include <stdlib.h>
   20829 #if ((' ' & 0x0FF) == 0x020)
   20830 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20831 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20832 #else
   20833 # define ISLOWER(c) \
   20834 		   (('a' <= (c) && (c) <= 'i') \
   20835 		     || ('j' <= (c) && (c) <= 'r') \
   20836 		     || ('s' <= (c) && (c) <= 'z'))
   20837 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20838 #endif
   20839 
   20840 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20841 int
   20842 main ()
   20843 {
   20844   int i;
   20845   for (i = 0; i < 256; i++)
   20846     if (XOR (islower (i), ISLOWER (i))
   20847 	|| toupper (i) != TOUPPER (i))
   20848       return 2;
   20849   return 0;
   20850 }
   20851 _ACEOF
   20852 rm -f conftest$ac_exeext
   20853 if { (ac_try="$ac_link"
   20854 case "(($ac_try" in
   20855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20856   *) ac_try_echo=$ac_try;;
   20857 esac
   20858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20859   (eval "$ac_link") 2>&5
   20860   ac_status=$?
   20861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20862   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20863   { (case "(($ac_try" in
   20864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20865   *) ac_try_echo=$ac_try;;
   20866 esac
   20867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20868   (eval "$ac_try") 2>&5
   20869   ac_status=$?
   20870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20871   (exit $ac_status); }; }; then
   20872   :
   20873 else
   20874   echo "$as_me: program exited with status $ac_status" >&5
   20875 echo "$as_me: failed program was:" >&5
   20876 sed 's/^/| /' conftest.$ac_ext >&5
   20877 
   20878 ( exit $ac_status )
   20879 ac_cv_header_stdc=no
   20880 fi
   20881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20882 fi
   20883 
   20884 
   20885 fi
   20886 fi
   20887 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20888 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   20889 if test $ac_cv_header_stdc = yes; then
   20890 
   20891 cat >>confdefs.h <<\_ACEOF
   20892 #define STDC_HEADERS 1
   20893 _ACEOF
   20894 
   20895 fi
   20896 
   20897 
   20898 if test "$DRI" != no; then
   20899 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   20900 { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   20901 echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
   20902 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20903   echo $ECHO_N "(cached) $ECHO_C" >&6
   20904 else
   20905   test "$cross_compiling" = yes &&
   20906   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   20907 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   20908    { (exit 1); exit 1; }; }
   20909 if test -r "${sdkdir}/dri.h"; then
   20910   eval "$as_ac_File=yes"
   20911 else
   20912   eval "$as_ac_File=no"
   20913 fi
   20914 fi
   20915 ac_res=`eval echo '${'$as_ac_File'}'`
   20916 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20917 echo "${ECHO_T}$ac_res" >&6; }
   20918 if test `eval echo '${'$as_ac_File'}'` = yes; then
   20919   have_dri_h="yes"
   20920 else
   20921   have_dri_h="no"
   20922 fi
   20923 
   20924 	as_ac_File=`echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   20925 { echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   20926 echo $ECHO_N "checking for ${sdkdir}/sarea.h... $ECHO_C" >&6; }
   20927 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20928   echo $ECHO_N "(cached) $ECHO_C" >&6
   20929 else
   20930   test "$cross_compiling" = yes &&
   20931   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   20932 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   20933    { (exit 1); exit 1; }; }
   20934 if test -r "${sdkdir}/sarea.h"; then
   20935   eval "$as_ac_File=yes"
   20936 else
   20937   eval "$as_ac_File=no"
   20938 fi
   20939 fi
   20940 ac_res=`eval echo '${'$as_ac_File'}'`
   20941 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20942 echo "${ECHO_T}$ac_res" >&6; }
   20943 if test `eval echo '${'$as_ac_File'}'` = yes; then
   20944   have_sarea_h="yes"
   20945 else
   20946   have_sarea_h="no"
   20947 fi
   20948 
   20949 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   20950 { echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   20951 echo $ECHO_N "checking for ${sdkdir}/dristruct.h... $ECHO_C" >&6; }
   20952 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20953   echo $ECHO_N "(cached) $ECHO_C" >&6
   20954 else
   20955   test "$cross_compiling" = yes &&
   20956   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   20957 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   20958    { (exit 1); exit 1; }; }
   20959 if test -r "${sdkdir}/dristruct.h"; then
   20960   eval "$as_ac_File=yes"
   20961 else
   20962   eval "$as_ac_File=no"
   20963 fi
   20964 fi
   20965 ac_res=`eval echo '${'$as_ac_File'}'`
   20966 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20967 echo "${ECHO_T}$ac_res" >&6; }
   20968 if test `eval echo '${'$as_ac_File'}'` = yes; then
   20969   have_dristruct_h="yes"
   20970 else
   20971   have_dristruct_h="no"
   20972 fi
   20973 
   20974 	as_ac_File=`echo "ac_cv_file_${sdkdir}/damage.h" | $as_tr_sh`
   20975 { echo "$as_me:$LINENO: checking for ${sdkdir}/damage.h" >&5
   20976 echo $ECHO_N "checking for ${sdkdir}/damage.h... $ECHO_C" >&6; }
   20977 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20978   echo $ECHO_N "(cached) $ECHO_C" >&6
   20979 else
   20980   test "$cross_compiling" = yes &&
   20981   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   20982 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   20983    { (exit 1); exit 1; }; }
   20984 if test -r "${sdkdir}/damage.h"; then
   20985   eval "$as_ac_File=yes"
   20986 else
   20987   eval "$as_ac_File=no"
   20988 fi
   20989 fi
   20990 ac_res=`eval echo '${'$as_ac_File'}'`
   20991 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20992 echo "${ECHO_T}$ac_res" >&6; }
   20993 if test `eval echo '${'$as_ac_File'}'` = yes; then
   20994   have_damage_h="yes"
   20995 else
   20996   have_damage_h="no"
   20997 fi
   20998 
   20999 fi
   21000 
   21001 { echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   21002 echo $ECHO_N "checking whether to include DRI support... $ECHO_C" >&6; }
   21003 if test x$DRI = xauto; then
   21004 	if test "$have_dri_h" = yes -a \
   21005                 "$have_sarea_h" = yes -a \
   21006                 "$have_dristruct_h" = yes; then
   21007 		DRI="yes"
   21008 	else
   21009 		DRI="no"
   21010 	fi
   21011 fi
   21012 { echo "$as_me:$LINENO: result: $DRI" >&5
   21013 echo "${ECHO_T}$DRI" >&6; }
   21014 
   21015  if test x$DRI = xyes; then
   21016   DRI_TRUE=
   21017   DRI_FALSE='#'
   21018 else
   21019   DRI_TRUE='#'
   21020   DRI_FALSE=
   21021 fi
   21022 
   21023 if test "$DRI" = yes; then
   21024 
   21025 pkg_failed=no
   21026 { echo "$as_me:$LINENO: checking for DRI" >&5
   21027 echo $ECHO_N "checking for DRI... $ECHO_C" >&6; }
   21028 
   21029 if test -n "$PKG_CONFIG"; then
   21030         if test -n "$PKG_CONFIG" && \
   21031     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21032   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21033   ac_status=$?
   21034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21035   (exit $ac_status); }; then
   21036   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21037 else
   21038   pkg_failed=yes
   21039 fi
   21040 else
   21041 	pkg_failed=untried
   21042 fi
   21043 if test -n "$PKG_CONFIG"; then
   21044         if test -n "$PKG_CONFIG" && \
   21045     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21046   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21047   ac_status=$?
   21048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21049   (exit $ac_status); }; then
   21050   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21051 else
   21052   pkg_failed=yes
   21053 fi
   21054 else
   21055 	pkg_failed=untried
   21056 fi
   21057 
   21058 if test $pkg_failed = yes; then
   21059 	DRI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.2 xf86driproto"`
   21060 	# Put the nasty error message in config.log where it belongs
   21061 	echo "$DRI_PKG_ERRORS" 1>&5
   21062 
   21063 	{ { echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met.
   21064 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21065 installed software in a non-standard prefix.
   21066 
   21067 Alternatively you may set the DRI_CFLAGS and DRI_LIBS environment variables
   21068 to avoid the need to call pkg-config.  See the pkg-config man page for
   21069 more details." >&5
   21070 echo "$as_me: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met.
   21071 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21072 installed software in a non-standard prefix.
   21073 
   21074 Alternatively you may set the DRI_CFLAGS and DRI_LIBS environment variables
   21075 to avoid the need to call pkg-config.  See the pkg-config man page for
   21076 more details." >&2;}
   21077    { (exit 1); exit 1; }; }
   21078 elif test $pkg_failed = untried; then
   21079 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21080 is in your PATH or set the PKG_CONFIG environment variable to the full
   21081 path to pkg-config.
   21082 
   21083 Alternatively you may set the DRI_CFLAGS and DRI_LIBS environment variables
   21084 to avoid the need to call pkg-config.  See the pkg-config man page for
   21085 more details.
   21086 
   21087 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   21088 See \`config.log' for more details." >&5
   21089 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21090 is in your PATH or set the PKG_CONFIG environment variable to the full
   21091 path to pkg-config.
   21092 
   21093 Alternatively you may set the DRI_CFLAGS and DRI_LIBS environment variables
   21094 to avoid the need to call pkg-config.  See the pkg-config man page for
   21095 more details.
   21096 
   21097 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   21098 See \`config.log' for more details." >&2;}
   21099    { (exit 1); exit 1; }; }
   21100 else
   21101 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   21102 	DRI_LIBS=$pkg_cv_DRI_LIBS
   21103         { echo "$as_me:$LINENO: result: yes" >&5
   21104 echo "${ECHO_T}yes" >&6; }
   21105 	:
   21106 fi
   21107 
   21108 cat >>confdefs.h <<\_ACEOF
   21109 #define XF86DRI 1
   21110 _ACEOF
   21111 
   21112 
   21113 cat >>confdefs.h <<\_ACEOF
   21114 #define XF86DRI_DEVEL 1
   21115 _ACEOF
   21116 
   21117 fi
   21118 
   21119 # Note that this is sort of inverted from drivers/ati/Imakefile in
   21120 # the monolith.  We test for foo, not for !foo (i.e. ATMISC_CPIO, not
   21121 # ATIMISC_AVOID_CPIO), but the defines are negative.  So beware.  Oh yeah,
   21122 # TV_OUT is the special case where it's a positive define, not AVOID_TV_OUT.
   21123 
   21124 # AVOID_CPIO: Only x86, amd64, and alpha are cool with CPIO.  It needs a
   21125 # little-endian, undirected PIO space of at least 64kB.
   21126 # AVOID_DGA: ???
   21127 # ATI_TV_OUT: This only works on x86.
   21128 
   21129 ATIMISC_CPIO=no
   21130 ATIMISC_DGA=yes
   21131 ATIMISC_TV_OUT=no
   21132 
   21133 case $host_cpu in
   21134   i*86)
   21135     ATIMISC_TV_OUT=yes
   21136     ATIMISC_CPIO=yes
   21137     ;;
   21138   x86_64|amd64|alpha|ia64)
   21139     ATIMISC_CPIO=yes
   21140     ;;
   21141   sparc)
   21142     ATIMISC_DGA=no
   21143     ;;
   21144   *)
   21145     ;;
   21146 esac
   21147 
   21148 { echo "$as_me:$LINENO: checking whether to include PIO support" >&5
   21149 echo $ECHO_N "checking whether to include PIO support... $ECHO_C" >&6; }
   21150  if test "x$ATIMISC_CPIO" = xyes; then
   21151   ATIMISC_CPIO_TRUE=
   21152   ATIMISC_CPIO_FALSE='#'
   21153 else
   21154   ATIMISC_CPIO_TRUE='#'
   21155   ATIMISC_CPIO_FALSE=
   21156 fi
   21157 
   21158 if test "x$ATIMISC_CPIO" = xyes; then
   21159 	{ echo "$as_me:$LINENO: result: yes, PIO" >&5
   21160 echo "${ECHO_T}yes, PIO" >&6; }
   21161 else
   21162 
   21163 cat >>confdefs.h <<\_ACEOF
   21164 #define AVOID_CPIO 1
   21165 _ACEOF
   21166 
   21167 	{ echo "$as_me:$LINENO: result: no, MMIO" >&5
   21168 echo "${ECHO_T}no, MMIO" >&6; }
   21169 fi
   21170 
   21171 { echo "$as_me:$LINENO: checking whether to include DGA support" >&5
   21172 echo $ECHO_N "checking whether to include DGA support... $ECHO_C" >&6; }
   21173 { echo "$as_me:$LINENO: result: $ATIMISC_DGA" >&5
   21174 echo "${ECHO_T}$ATIMISC_DGA" >&6; }
   21175  if test "x$ATIMISC_DGA" = xyes; then
   21176   ATIMISC_DGA_TRUE=
   21177   ATIMISC_DGA_FALSE='#'
   21178 else
   21179   ATIMISC_DGA_TRUE='#'
   21180   ATIMISC_DGA_FALSE=
   21181 fi
   21182 
   21183 if ! test "x$ATIMISC_DGA" = xyes; then
   21184 
   21185 cat >>confdefs.h <<\_ACEOF
   21186 #define AVOID_DGA 1
   21187 _ACEOF
   21188 
   21189 fi
   21190 
   21191 { echo "$as_me:$LINENO: checking whether to include TV Out support" >&5
   21192 echo $ECHO_N "checking whether to include TV Out support... $ECHO_C" >&6; }
   21193 { echo "$as_me:$LINENO: result: $ATIMISC_TV_OUT" >&5
   21194 echo "${ECHO_T}$ATIMISC_TV_OUT" >&6; }
   21195  if test "x$ATIMISC_TV_OUT" = xyes; then
   21196   ATIMISC_TV_OUT_TRUE=
   21197   ATIMISC_TV_OUT_FALSE='#'
   21198 else
   21199   ATIMISC_TV_OUT_TRUE='#'
   21200   ATIMISC_TV_OUT_FALSE=
   21201 fi
   21202 
   21203 if test "x$ATIMISC_TV_OUT" = xyes; then
   21204 
   21205 cat >>confdefs.h <<\_ACEOF
   21206 #define TV_OUT 1
   21207 _ACEOF
   21208 
   21209 fi
   21210 
   21211 
   21212 cat >>confdefs.h <<\_ACEOF
   21213 #define USE_XAA 1
   21214 _ACEOF
   21215 
   21216 
   21217 # Properly handle EXA.
   21218 { echo "$as_me:$LINENO: checking whether to enable EXA support" >&5
   21219 echo $ECHO_N "checking whether to enable EXA support... $ECHO_C" >&6; }
   21220 if test "x$EXA" = xyes; then
   21221         { echo "$as_me:$LINENO: result: yes" >&5
   21222 echo "${ECHO_T}yes" >&6; }
   21223 
   21224         SAVE_CPPFLAGS="$CPPFLAGS"
   21225         CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21226         if test "${ac_cv_header_exa_h+set}" = set; then
   21227   { echo "$as_me:$LINENO: checking for exa.h" >&5
   21228 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21229 if test "${ac_cv_header_exa_h+set}" = set; then
   21230   echo $ECHO_N "(cached) $ECHO_C" >&6
   21231 fi
   21232 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21233 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21234 else
   21235   # Is the header compilable?
   21236 { echo "$as_me:$LINENO: checking exa.h usability" >&5
   21237 echo $ECHO_N "checking exa.h usability... $ECHO_C" >&6; }
   21238 cat >conftest.$ac_ext <<_ACEOF
   21239 /* confdefs.h.  */
   21240 _ACEOF
   21241 cat confdefs.h >>conftest.$ac_ext
   21242 cat >>conftest.$ac_ext <<_ACEOF
   21243 /* end confdefs.h.  */
   21244 $ac_includes_default
   21245 #include <exa.h>
   21246 _ACEOF
   21247 rm -f conftest.$ac_objext
   21248 if { (ac_try="$ac_compile"
   21249 case "(($ac_try" in
   21250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21251   *) ac_try_echo=$ac_try;;
   21252 esac
   21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21254   (eval "$ac_compile") 2>conftest.er1
   21255   ac_status=$?
   21256   grep -v '^ *+' conftest.er1 >conftest.err
   21257   rm -f conftest.er1
   21258   cat conftest.err >&5
   21259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21260   (exit $ac_status); } && {
   21261 	 test -z "$ac_c_werror_flag" ||
   21262 	 test ! -s conftest.err
   21263        } && test -s conftest.$ac_objext; then
   21264   ac_header_compiler=yes
   21265 else
   21266   echo "$as_me: failed program was:" >&5
   21267 sed 's/^/| /' conftest.$ac_ext >&5
   21268 
   21269 	ac_header_compiler=no
   21270 fi
   21271 
   21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21273 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21274 echo "${ECHO_T}$ac_header_compiler" >&6; }
   21275 
   21276 # Is the header present?
   21277 { echo "$as_me:$LINENO: checking exa.h presence" >&5
   21278 echo $ECHO_N "checking exa.h presence... $ECHO_C" >&6; }
   21279 cat >conftest.$ac_ext <<_ACEOF
   21280 /* confdefs.h.  */
   21281 _ACEOF
   21282 cat confdefs.h >>conftest.$ac_ext
   21283 cat >>conftest.$ac_ext <<_ACEOF
   21284 /* end confdefs.h.  */
   21285 #include <exa.h>
   21286 _ACEOF
   21287 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21288 case "(($ac_try" in
   21289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21290   *) ac_try_echo=$ac_try;;
   21291 esac
   21292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21293   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21294   ac_status=$?
   21295   grep -v '^ *+' conftest.er1 >conftest.err
   21296   rm -f conftest.er1
   21297   cat conftest.err >&5
   21298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21299   (exit $ac_status); } >/dev/null && {
   21300 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21301 	 test ! -s conftest.err
   21302        }; then
   21303   ac_header_preproc=yes
   21304 else
   21305   echo "$as_me: failed program was:" >&5
   21306 sed 's/^/| /' conftest.$ac_ext >&5
   21307 
   21308   ac_header_preproc=no
   21309 fi
   21310 
   21311 rm -f conftest.err conftest.$ac_ext
   21312 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21313 echo "${ECHO_T}$ac_header_preproc" >&6; }
   21314 
   21315 # So?  What about this header?
   21316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21317   yes:no: )
   21318     { echo "$as_me:$LINENO: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21319 echo "$as_me: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21320     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the compiler's result" >&5
   21321 echo "$as_me: WARNING: exa.h: proceeding with the compiler's result" >&2;}
   21322     ac_header_preproc=yes
   21323     ;;
   21324   no:yes:* )
   21325     { echo "$as_me:$LINENO: WARNING: exa.h: present but cannot be compiled" >&5
   21326 echo "$as_me: WARNING: exa.h: present but cannot be compiled" >&2;}
   21327     { echo "$as_me:$LINENO: WARNING: exa.h:     check for missing prerequisite headers?" >&5
   21328 echo "$as_me: WARNING: exa.h:     check for missing prerequisite headers?" >&2;}
   21329     { echo "$as_me:$LINENO: WARNING: exa.h: see the Autoconf documentation" >&5
   21330 echo "$as_me: WARNING: exa.h: see the Autoconf documentation" >&2;}
   21331     { echo "$as_me:$LINENO: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&5
   21332 echo "$as_me: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21333     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the preprocessor's result" >&5
   21334 echo "$as_me: WARNING: exa.h: proceeding with the preprocessor's result" >&2;}
   21335     { echo "$as_me:$LINENO: WARNING: exa.h: in the future, the compiler will take precedence" >&5
   21336 echo "$as_me: WARNING: exa.h: in the future, the compiler will take precedence" >&2;}
   21337     ( cat <<\_ASBOX
   21338 ## ---------------------------------------------------------------------- ##
   21339 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21340 ## ---------------------------------------------------------------------- ##
   21341 _ASBOX
   21342      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21343     ;;
   21344 esac
   21345 { echo "$as_me:$LINENO: checking for exa.h" >&5
   21346 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21347 if test "${ac_cv_header_exa_h+set}" = set; then
   21348   echo $ECHO_N "(cached) $ECHO_C" >&6
   21349 else
   21350   ac_cv_header_exa_h=$ac_header_preproc
   21351 fi
   21352 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21353 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21354 
   21355 fi
   21356 if test $ac_cv_header_exa_h = yes; then
   21357   have_exa_h="yes"
   21358 else
   21359   have_exa_h="no"
   21360 fi
   21361 
   21362 
   21363         CPPFLAGS="$SAVE_CPPFLAGS"
   21364 else
   21365         { echo "$as_me:$LINENO: result: no" >&5
   21366 echo "${ECHO_T}no" >&6; }
   21367 fi
   21368 
   21369 SAVE_CPPFLAGS="$CPPFLAGS"
   21370 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21371 if test "x$have_exa_h" = xyes; then
   21372         { echo "$as_me:$LINENO: checking whether EXA version is at least 2.0.0" >&5
   21373 echo $ECHO_N "checking whether EXA version is at least 2.0.0... $ECHO_C" >&6; }
   21374         cat >conftest.$ac_ext <<_ACEOF
   21375 /* confdefs.h.  */
   21376 _ACEOF
   21377 cat confdefs.h >>conftest.$ac_ext
   21378 cat >>conftest.$ac_ext <<_ACEOF
   21379 /* end confdefs.h.  */
   21380 
   21381 #include "exa.h"
   21382 #if EXA_VERSION_MAJOR < 2
   21383 #error OLD EXA!
   21384 #endif
   21385 
   21386 int
   21387 main ()
   21388 {
   21389 
   21390   ;
   21391   return 0;
   21392 }
   21393 _ACEOF
   21394 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21395 case "(($ac_try" in
   21396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21397   *) ac_try_echo=$ac_try;;
   21398 esac
   21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21400   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21401   ac_status=$?
   21402   grep -v '^ *+' conftest.er1 >conftest.err
   21403   rm -f conftest.er1
   21404   cat conftest.err >&5
   21405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21406   (exit $ac_status); } >/dev/null && {
   21407 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21408 	 test ! -s conftest.err
   21409        }; then
   21410   USE_EXA=yes
   21411 else
   21412   echo "$as_me: failed program was:" >&5
   21413 sed 's/^/| /' conftest.$ac_ext >&5
   21414 
   21415   USE_EXA=no
   21416 fi
   21417 
   21418 rm -f conftest.err conftest.$ac_ext
   21419         { echo "$as_me:$LINENO: result: $USE_EXA" >&5
   21420 echo "${ECHO_T}$USE_EXA" >&6; }
   21421 
   21422         if test "x$USE_EXA" = xyes; then
   21423 
   21424 cat >>confdefs.h <<\_ACEOF
   21425 #define USE_EXA 1
   21426 _ACEOF
   21427 
   21428         fi
   21429 fi
   21430 
   21431 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21432 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   21433 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21434   echo $ECHO_N "(cached) $ECHO_C" >&6
   21435 else
   21436   cat >conftest.$ac_ext <<_ACEOF
   21437 /* confdefs.h.  */
   21438 _ACEOF
   21439 cat confdefs.h >>conftest.$ac_ext
   21440 cat >>conftest.$ac_ext <<_ACEOF
   21441 /* end confdefs.h.  */
   21442 #include "xorg-server.h"
   21443 
   21444 int
   21445 main ()
   21446 {
   21447 #ifndef XSERVER_LIBPCIACCESS
   21448   (void) XSERVER_LIBPCIACCESS;
   21449 #endif
   21450 
   21451   ;
   21452   return 0;
   21453 }
   21454 _ACEOF
   21455 rm -f conftest.$ac_objext
   21456 if { (ac_try="$ac_compile"
   21457 case "(($ac_try" in
   21458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21459   *) ac_try_echo=$ac_try;;
   21460 esac
   21461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21462   (eval "$ac_compile") 2>conftest.er1
   21463   ac_status=$?
   21464   grep -v '^ *+' conftest.er1 >conftest.err
   21465   rm -f conftest.er1
   21466   cat conftest.err >&5
   21467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21468   (exit $ac_status); } && {
   21469 	 test -z "$ac_c_werror_flag" ||
   21470 	 test ! -s conftest.err
   21471        } && test -s conftest.$ac_objext; then
   21472   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21473 else
   21474   echo "$as_me: failed program was:" >&5
   21475 sed 's/^/| /' conftest.$ac_ext >&5
   21476 
   21477 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21478 fi
   21479 
   21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21481 fi
   21482 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21483 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21484 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   21485   XSERVER_LIBPCIACCESS=yes
   21486 else
   21487   XSERVER_LIBPCIACCESS=no
   21488 fi
   21489 
   21490 
   21491 CPPFLAGS="$SAVE_CPPFLAGS"
   21492 
   21493  if test "x$USE_EXA" = xyes; then
   21494   USE_EXA_TRUE=
   21495   USE_EXA_FALSE='#'
   21496 else
   21497   USE_EXA_TRUE='#'
   21498   USE_EXA_FALSE=
   21499 fi
   21500 
   21501 
   21502 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21503 
   21504 pkg_failed=no
   21505 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21506 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   21507 
   21508 if test -n "$PKG_CONFIG"; then
   21509         if test -n "$PKG_CONFIG" && \
   21510     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21511   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21512   ac_status=$?
   21513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21514   (exit $ac_status); }; then
   21515   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21516 else
   21517   pkg_failed=yes
   21518 fi
   21519 else
   21520 	pkg_failed=untried
   21521 fi
   21522 if test -n "$PKG_CONFIG"; then
   21523         if test -n "$PKG_CONFIG" && \
   21524     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21525   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21526   ac_status=$?
   21527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21528   (exit $ac_status); }; then
   21529   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21530 else
   21531   pkg_failed=yes
   21532 fi
   21533 else
   21534 	pkg_failed=untried
   21535 fi
   21536 
   21537 if test $pkg_failed = yes; then
   21538 	PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   21539 	# Put the nasty error message in config.log where it belongs
   21540 	echo "$PCIACCESS_PKG_ERRORS" 1>&5
   21541 
   21542 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met.
   21543 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21544 installed software in a non-standard prefix.
   21545 
   21546 Alternatively you may set the PCIACCESS_CFLAGS and PCIACCESS_LIBS environment variables
   21547 to avoid the need to call pkg-config.  See the pkg-config man page for
   21548 more details." >&5
   21549 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met.
   21550 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21551 installed software in a non-standard prefix.
   21552 
   21553 Alternatively you may set the PCIACCESS_CFLAGS and PCIACCESS_LIBS environment variables
   21554 to avoid the need to call pkg-config.  See the pkg-config man page for
   21555 more details." >&2;}
   21556    { (exit 1); exit 1; }; }
   21557 elif test $pkg_failed = untried; then
   21558 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21559 is in your PATH or set the PKG_CONFIG environment variable to the full
   21560 path to pkg-config.
   21561 
   21562 Alternatively you may set the PCIACCESS_CFLAGS and PCIACCESS_LIBS environment variables
   21563 to avoid the need to call pkg-config.  See the pkg-config man page for
   21564 more details.
   21565 
   21566 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   21567 See \`config.log' for more details." >&5
   21568 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21569 is in your PATH or set the PKG_CONFIG environment variable to the full
   21570 path to pkg-config.
   21571 
   21572 Alternatively you may set the PCIACCESS_CFLAGS and PCIACCESS_LIBS environment variables
   21573 to avoid the need to call pkg-config.  See the pkg-config man page for
   21574 more details.
   21575 
   21576 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   21577 See \`config.log' for more details." >&2;}
   21578    { (exit 1); exit 1; }; }
   21579 else
   21580 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21581 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21582         { echo "$as_me:$LINENO: result: yes" >&5
   21583 echo "${ECHO_T}yes" >&6; }
   21584 	:
   21585 fi
   21586     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21587 fi
   21588  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21589   XSERVER_LIBPCIACCESS_TRUE=
   21590   XSERVER_LIBPCIACCESS_FALSE='#'
   21591 else
   21592   XSERVER_LIBPCIACCESS_TRUE='#'
   21593   XSERVER_LIBPCIACCESS_FALSE=
   21594 fi
   21595 
   21596 
   21597 
   21598 
   21599 
   21600 
   21601 DRIVER_NAME=mach64
   21602 
   21603 
   21604 
   21605 
   21606 
   21607 if test x$APP_MAN_SUFFIX = x    ; then
   21608     APP_MAN_SUFFIX=1
   21609 fi
   21610 if test x$APP_MAN_DIR = x    ; then
   21611     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21612 fi
   21613 
   21614 if test x$LIB_MAN_SUFFIX = x    ; then
   21615     LIB_MAN_SUFFIX=3
   21616 fi
   21617 if test x$LIB_MAN_DIR = x    ; then
   21618     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21619 fi
   21620 
   21621 if test x$FILE_MAN_SUFFIX = x    ; then
   21622     case $host_os in
   21623 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21624 	*)		FILE_MAN_SUFFIX=5  ;;
   21625     esac
   21626 fi
   21627 if test x$FILE_MAN_DIR = x    ; then
   21628     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21629 fi
   21630 
   21631 if test x$MISC_MAN_SUFFIX = x    ; then
   21632     case $host_os in
   21633 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21634 	*)		MISC_MAN_SUFFIX=7  ;;
   21635     esac
   21636 fi
   21637 if test x$MISC_MAN_DIR = x    ; then
   21638     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21639 fi
   21640 
   21641 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21642     case $host_os in
   21643 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21644 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21645     esac
   21646 fi
   21647 if test x$DRIVER_MAN_DIR = x    ; then
   21648     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21649 fi
   21650 
   21651 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21652     case $host_os in
   21653 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21654 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21655     esac
   21656 fi
   21657 if test x$ADMIN_MAN_DIR = x    ; then
   21658     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21659 fi
   21660 
   21661 
   21662 
   21663 
   21664 
   21665 
   21666 
   21667 
   21668 
   21669 
   21670 
   21671 
   21672 
   21673 
   21674 
   21675 
   21676 
   21677 # Check whether --with-release-version was given.
   21678 if test "${with_release_version+set}" = set; then
   21679   withval=$with_release_version; RELEASE_VERSION="$withval"
   21680 else
   21681   RELEASE_VERSION=""
   21682 fi
   21683 
   21684 	if test "x$RELEASE_VERSION" != "x"; then
   21685 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21686 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21687 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21688 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21689 	fi
   21690 
   21691 cat >>confdefs.h <<_ACEOF
   21692 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21693 _ACEOF
   21694 
   21695 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21696 	if test "x$PVM" = "x"; then
   21697 		PVM="0"
   21698 	fi
   21699 
   21700 cat >>confdefs.h <<_ACEOF
   21701 #define PACKAGE_VERSION_MINOR $PVM
   21702 _ACEOF
   21703 
   21704 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21705 	if test "x$PVP" = "x"; then
   21706 		PVP="0"
   21707 	fi
   21708 
   21709 cat >>confdefs.h <<_ACEOF
   21710 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21711 _ACEOF
   21712 
   21713 
   21714 
   21715 if test x$XORG_SGML_PATH = x ; then
   21716     XORG_SGML_PATH=$prefix/share/sgml
   21717 fi
   21718 HAVE_DEFS_ENT=
   21719 
   21720 if test x"$cross_compiling" = x"yes" ; then
   21721   HAVE_DEFS_ENT=no
   21722 else
   21723   as_ac_File=`echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   21724 { echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   21725 echo $ECHO_N "checking for $XORG_SGML_PATH/X11/defs.ent... $ECHO_C" >&6; }
   21726 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21727   echo $ECHO_N "(cached) $ECHO_C" >&6
   21728 else
   21729   test "$cross_compiling" = yes &&
   21730   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21731 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21732    { (exit 1); exit 1; }; }
   21733 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   21734   eval "$as_ac_File=yes"
   21735 else
   21736   eval "$as_ac_File=no"
   21737 fi
   21738 fi
   21739 ac_res=`eval echo '${'$as_ac_File'}'`
   21740 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21741 echo "${ECHO_T}$ac_res" >&6; }
   21742 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21743   HAVE_DEFS_ENT=yes
   21744 fi
   21745 
   21746 fi
   21747 
   21748 # Extract the first word of "linuxdoc", so it can be a program name with args.
   21749 set dummy linuxdoc; ac_word=$2
   21750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21752 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   21753   echo $ECHO_N "(cached) $ECHO_C" >&6
   21754 else
   21755   case $LINUXDOC in
   21756   [\\/]* | ?:[\\/]*)
   21757   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   21758   ;;
   21759   *)
   21760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21761 for as_dir in $PATH
   21762 do
   21763   IFS=$as_save_IFS
   21764   test -z "$as_dir" && as_dir=.
   21765   for ac_exec_ext in '' $ac_executable_extensions; do
   21766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21767     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   21768     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21769     break 2
   21770   fi
   21771 done
   21772 done
   21773 IFS=$as_save_IFS
   21774 
   21775   ;;
   21776 esac
   21777 fi
   21778 LINUXDOC=$ac_cv_path_LINUXDOC
   21779 if test -n "$LINUXDOC"; then
   21780   { echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   21781 echo "${ECHO_T}$LINUXDOC" >&6; }
   21782 else
   21783   { echo "$as_me:$LINENO: result: no" >&5
   21784 echo "${ECHO_T}no" >&6; }
   21785 fi
   21786 
   21787 
   21788 # Extract the first word of "ps2pdf", so it can be a program name with args.
   21789 set dummy ps2pdf; ac_word=$2
   21790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21792 if test "${ac_cv_path_PS2PDF+set}" = set; then
   21793   echo $ECHO_N "(cached) $ECHO_C" >&6
   21794 else
   21795   case $PS2PDF in
   21796   [\\/]* | ?:[\\/]*)
   21797   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   21798   ;;
   21799   *)
   21800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21801 for as_dir in $PATH
   21802 do
   21803   IFS=$as_save_IFS
   21804   test -z "$as_dir" && as_dir=.
   21805   for ac_exec_ext in '' $ac_executable_extensions; do
   21806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21807     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   21808     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21809     break 2
   21810   fi
   21811 done
   21812 done
   21813 IFS=$as_save_IFS
   21814 
   21815   ;;
   21816 esac
   21817 fi
   21818 PS2PDF=$ac_cv_path_PS2PDF
   21819 if test -n "$PS2PDF"; then
   21820   { echo "$as_me:$LINENO: result: $PS2PDF" >&5
   21821 echo "${ECHO_T}$PS2PDF" >&6; }
   21822 else
   21823   { echo "$as_me:$LINENO: result: no" >&5
   21824 echo "${ECHO_T}no" >&6; }
   21825 fi
   21826 
   21827 
   21828 
   21829 { echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   21830 echo $ECHO_N "checking Whether to build documentation... $ECHO_C" >&6; }
   21831 
   21832 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   21833    BUILDDOC=yes
   21834 else
   21835    BUILDDOC=no
   21836 fi
   21837 
   21838  if test x$BUILDDOC = xyes; then
   21839   BUILD_LINUXDOC_TRUE=
   21840   BUILD_LINUXDOC_FALSE='#'
   21841 else
   21842   BUILD_LINUXDOC_TRUE='#'
   21843   BUILD_LINUXDOC_FALSE=
   21844 fi
   21845 
   21846 
   21847 { echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   21848 echo "${ECHO_T}$BUILDDOC" >&6; }
   21849 
   21850 { echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   21851 echo $ECHO_N "checking Whether to build pdf documentation... $ECHO_C" >&6; }
   21852 
   21853 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   21854    BUILDPDFDOC=yes
   21855 else
   21856    BUILDPDFDOC=no
   21857 fi
   21858 
   21859  if test x$BUILDPDFDOC = xyes; then
   21860   BUILD_PDFDOC_TRUE=
   21861   BUILD_PDFDOC_FALSE='#'
   21862 else
   21863   BUILD_PDFDOC_TRUE='#'
   21864   BUILD_PDFDOC_FALSE=
   21865 fi
   21866 
   21867 
   21868 { echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   21869 echo "${ECHO_T}$BUILDPDFDOC" >&6; }
   21870 
   21871 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   21872 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   21873 MAKE_PDF="$PS2PDF"
   21874 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   21875 
   21876 
   21877 
   21878 
   21879 
   21880 
   21881 
   21882 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   21883 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   21884 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   21885 
   21886 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   21887 
   21888 
   21889 
   21890 { echo "$as_me:$LINENO: Please change the Driver line in xorg.conf from \"ati\" to \"mach64\"
   21891  or install the ati wrapper as well:
   21892     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   21893 " >&5
   21894 echo "$as_me: Please change the Driver line in xorg.conf from \"ati\" to \"mach64\"
   21895  or install the ati wrapper as well:
   21896     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   21897 " >&6;}
   21898 
   21899 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21900 
   21901 cat >confcache <<\_ACEOF
   21902 # This file is a shell script that caches the results of configure
   21903 # tests run on this system so they can be shared between configure
   21904 # scripts and configure runs, see configure's option --config-cache.
   21905 # It is not useful on other systems.  If it contains results you don't
   21906 # want to keep, you may remove or edit it.
   21907 #
   21908 # config.status only pays attention to the cache file if you give it
   21909 # the --recheck option to rerun configure.
   21910 #
   21911 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21912 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21913 # following values.
   21914 
   21915 _ACEOF
   21916 
   21917 # The following way of writing the cache mishandles newlines in values,
   21918 # but we know of no workaround that is simple, portable, and efficient.
   21919 # So, we kill variables containing newlines.
   21920 # Ultrix sh set writes to stderr and can't be redirected directly,
   21921 # and sets the high bit in the cache file unless we assign to the vars.
   21922 (
   21923   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21924     eval ac_val=\$$ac_var
   21925     case $ac_val in #(
   21926     *${as_nl}*)
   21927       case $ac_var in #(
   21928       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   21929 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21930       esac
   21931       case $ac_var in #(
   21932       _ | IFS | as_nl) ;; #(
   21933       *) $as_unset $ac_var ;;
   21934       esac ;;
   21935     esac
   21936   done
   21937 
   21938   (set) 2>&1 |
   21939     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21940     *${as_nl}ac_space=\ *)
   21941       # `set' does not quote correctly, so add quotes (double-quote
   21942       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21943       sed -n \
   21944 	"s/'/'\\\\''/g;
   21945 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21946       ;; #(
   21947     *)
   21948       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21949       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21950       ;;
   21951     esac |
   21952     sort
   21953 ) |
   21954   sed '
   21955      /^ac_cv_env_/b end
   21956      t clear
   21957      :clear
   21958      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21959      t end
   21960      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21961      :end' >>confcache
   21962 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21963   if test -w "$cache_file"; then
   21964     test "x$cache_file" != "x/dev/null" &&
   21965       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21966 echo "$as_me: updating cache $cache_file" >&6;}
   21967     cat confcache >$cache_file
   21968   else
   21969     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21970 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21971   fi
   21972 fi
   21973 rm -f confcache
   21974 
   21975 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21976 # Let make expand exec_prefix.
   21977 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21978 
   21979 DEFS=-DHAVE_CONFIG_H
   21980 
   21981 ac_libobjs=
   21982 ac_ltlibobjs=
   21983 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21984   # 1. Remove the extension, and $U if already installed.
   21985   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21986   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21987   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21988   #    will be set to the directory where LIBOBJS objects are built.
   21989   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21990   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21991 done
   21992 LIBOBJS=$ac_libobjs
   21993 
   21994 LTLIBOBJS=$ac_ltlibobjs
   21995 
   21996 
   21997 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21998   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21999 Usually this means the macro was only invoked conditionally." >&5
   22000 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22001 Usually this means the macro was only invoked conditionally." >&2;}
   22002    { (exit 1); exit 1; }; }
   22003 fi
   22004 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22005   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22006 Usually this means the macro was only invoked conditionally." >&5
   22007 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22008 Usually this means the macro was only invoked conditionally." >&2;}
   22009    { (exit 1); exit 1; }; }
   22010 fi
   22011 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22012   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22013 Usually this means the macro was only invoked conditionally." >&5
   22014 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22015 Usually this means the macro was only invoked conditionally." >&2;}
   22016    { (exit 1); exit 1; }; }
   22017 fi
   22018 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22019   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22020 Usually this means the macro was only invoked conditionally." >&5
   22021 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22022 Usually this means the macro was only invoked conditionally." >&2;}
   22023    { (exit 1); exit 1; }; }
   22024 fi
   22025 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22026   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22027 Usually this means the macro was only invoked conditionally." >&5
   22028 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22029 Usually this means the macro was only invoked conditionally." >&2;}
   22030    { (exit 1); exit 1; }; }
   22031 fi
   22032 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   22033   { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   22034 Usually this means the macro was only invoked conditionally." >&5
   22035 echo "$as_me: error: conditional \"DRI\" was never defined.
   22036 Usually this means the macro was only invoked conditionally." >&2;}
   22037    { (exit 1); exit 1; }; }
   22038 fi
   22039 if test -z "${ATIMISC_CPIO_TRUE}" && test -z "${ATIMISC_CPIO_FALSE}"; then
   22040   { { echo "$as_me:$LINENO: error: conditional \"ATIMISC_CPIO\" was never defined.
   22041 Usually this means the macro was only invoked conditionally." >&5
   22042 echo "$as_me: error: conditional \"ATIMISC_CPIO\" was never defined.
   22043 Usually this means the macro was only invoked conditionally." >&2;}
   22044    { (exit 1); exit 1; }; }
   22045 fi
   22046 if test -z "${ATIMISC_DGA_TRUE}" && test -z "${ATIMISC_DGA_FALSE}"; then
   22047   { { echo "$as_me:$LINENO: error: conditional \"ATIMISC_DGA\" was never defined.
   22048 Usually this means the macro was only invoked conditionally." >&5
   22049 echo "$as_me: error: conditional \"ATIMISC_DGA\" was never defined.
   22050 Usually this means the macro was only invoked conditionally." >&2;}
   22051    { (exit 1); exit 1; }; }
   22052 fi
   22053 if test -z "${ATIMISC_TV_OUT_TRUE}" && test -z "${ATIMISC_TV_OUT_FALSE}"; then
   22054   { { echo "$as_me:$LINENO: error: conditional \"ATIMISC_TV_OUT\" was never defined.
   22055 Usually this means the macro was only invoked conditionally." >&5
   22056 echo "$as_me: error: conditional \"ATIMISC_TV_OUT\" was never defined.
   22057 Usually this means the macro was only invoked conditionally." >&2;}
   22058    { (exit 1); exit 1; }; }
   22059 fi
   22060 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   22061   { { echo "$as_me:$LINENO: error: conditional \"USE_EXA\" was never defined.
   22062 Usually this means the macro was only invoked conditionally." >&5
   22063 echo "$as_me: error: conditional \"USE_EXA\" was never defined.
   22064 Usually this means the macro was only invoked conditionally." >&2;}
   22065    { (exit 1); exit 1; }; }
   22066 fi
   22067 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22068   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22069 Usually this means the macro was only invoked conditionally." >&5
   22070 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22071 Usually this means the macro was only invoked conditionally." >&2;}
   22072    { (exit 1); exit 1; }; }
   22073 fi
   22074 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   22075   { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22076 Usually this means the macro was only invoked conditionally." >&5
   22077 echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22078 Usually this means the macro was only invoked conditionally." >&2;}
   22079    { (exit 1); exit 1; }; }
   22080 fi
   22081 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   22082   { { echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   22083 Usually this means the macro was only invoked conditionally." >&5
   22084 echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   22085 Usually this means the macro was only invoked conditionally." >&2;}
   22086    { (exit 1); exit 1; }; }
   22087 fi
   22088 
   22089 : ${CONFIG_STATUS=./config.status}
   22090 ac_clean_files_save=$ac_clean_files
   22091 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22092 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22093 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22094 cat >$CONFIG_STATUS <<_ACEOF
   22095 #! $SHELL
   22096 # Generated by $as_me.
   22097 # Run this file to recreate the current configuration.
   22098 # Compiler output produced by configure, useful for debugging
   22099 # configure, is in config.log if it exists.
   22100 
   22101 debug=false
   22102 ac_cs_recheck=false
   22103 ac_cs_silent=false
   22104 SHELL=\${CONFIG_SHELL-$SHELL}
   22105 _ACEOF
   22106 
   22107 cat >>$CONFIG_STATUS <<\_ACEOF
   22108 ## --------------------- ##
   22109 ## M4sh Initialization.  ##
   22110 ## --------------------- ##
   22111 
   22112 # Be more Bourne compatible
   22113 DUALCASE=1; export DUALCASE # for MKS sh
   22114 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22115   emulate sh
   22116   NULLCMD=:
   22117   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   22118   # is contrary to our usage.  Disable this feature.
   22119   alias -g '${1+"$@"}'='"$@"'
   22120   setopt NO_GLOB_SUBST
   22121 else
   22122   case `(set -o) 2>/dev/null` in
   22123   *posix*) set -o posix ;;
   22124 esac
   22125 
   22126 fi
   22127 
   22128 
   22129 
   22130 
   22131 # PATH needs CR
   22132 # Avoid depending upon Character Ranges.
   22133 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22134 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22135 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22136 as_cr_digits='0123456789'
   22137 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22138 
   22139 # The user is always right.
   22140 if test "${PATH_SEPARATOR+set}" != set; then
   22141   echo "#! /bin/sh" >conf$$.sh
   22142   echo  "exit 0"   >>conf$$.sh
   22143   chmod +x conf$$.sh
   22144   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   22145     PATH_SEPARATOR=';'
   22146   else
   22147     PATH_SEPARATOR=:
   22148   fi
   22149   rm -f conf$$.sh
   22150 fi
   22151 
   22152 # Support unset when possible.
   22153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22154   as_unset=unset
   22155 else
   22156   as_unset=false
   22157 fi
   22158 
   22159 
   22160 # IFS
   22161 # We need space, tab and new line, in precisely that order.  Quoting is
   22162 # there to prevent editors from complaining about space-tab.
   22163 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22164 # splitting by setting IFS to empty value.)
   22165 as_nl='
   22166 '
   22167 IFS=" ""	$as_nl"
   22168 
   22169 # Find who we are.  Look in the path if we contain no directory separator.
   22170 case $0 in
   22171   *[\\/]* ) as_myself=$0 ;;
   22172   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22173 for as_dir in $PATH
   22174 do
   22175   IFS=$as_save_IFS
   22176   test -z "$as_dir" && as_dir=.
   22177   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22178 done
   22179 IFS=$as_save_IFS
   22180 
   22181      ;;
   22182 esac
   22183 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22184 # in which case we are not to be found in the path.
   22185 if test "x$as_myself" = x; then
   22186   as_myself=$0
   22187 fi
   22188 if test ! -f "$as_myself"; then
   22189   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22190   { (exit 1); exit 1; }
   22191 fi
   22192 
   22193 # Work around bugs in pre-3.0 UWIN ksh.
   22194 for as_var in ENV MAIL MAILPATH
   22195 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22196 done
   22197 PS1='$ '
   22198 PS2='> '
   22199 PS4='+ '
   22200 
   22201 # NLS nuisances.
   22202 for as_var in \
   22203   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   22204   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   22205   LC_TELEPHONE LC_TIME
   22206 do
   22207   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   22208     eval $as_var=C; export $as_var
   22209   else
   22210     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22211   fi
   22212 done
   22213 
   22214 # Required to use basename.
   22215 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22216    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22217   as_expr=expr
   22218 else
   22219   as_expr=false
   22220 fi
   22221 
   22222 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22223   as_basename=basename
   22224 else
   22225   as_basename=false
   22226 fi
   22227 
   22228 
   22229 # Name of the executable.
   22230 as_me=`$as_basename -- "$0" ||
   22231 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22232 	 X"$0" : 'X\(//\)$' \| \
   22233 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22234 echo X/"$0" |
   22235     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22236 	    s//\1/
   22237 	    q
   22238 	  }
   22239 	  /^X\/\(\/\/\)$/{
   22240 	    s//\1/
   22241 	    q
   22242 	  }
   22243 	  /^X\/\(\/\).*/{
   22244 	    s//\1/
   22245 	    q
   22246 	  }
   22247 	  s/.*/./; q'`
   22248 
   22249 # CDPATH.
   22250 $as_unset CDPATH
   22251 
   22252 
   22253 
   22254   as_lineno_1=$LINENO
   22255   as_lineno_2=$LINENO
   22256   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22257   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22258 
   22259   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22260   # uniformly replaced by the line number.  The first 'sed' inserts a
   22261   # line-number line after each line using $LINENO; the second 'sed'
   22262   # does the real work.  The second script uses 'N' to pair each
   22263   # line-number line with the line containing $LINENO, and appends
   22264   # trailing '-' during substitution so that $LINENO is not a special
   22265   # case at line end.
   22266   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22267   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22268   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22269   sed -n '
   22270     p
   22271     /[$]LINENO/=
   22272   ' <$as_myself |
   22273     sed '
   22274       s/[$]LINENO.*/&-/
   22275       t lineno
   22276       b
   22277       :lineno
   22278       N
   22279       :loop
   22280       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22281       t loop
   22282       s/-\n.*//
   22283     ' >$as_me.lineno &&
   22284   chmod +x "$as_me.lineno" ||
   22285     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22286    { (exit 1); exit 1; }; }
   22287 
   22288   # Don't try to exec as it changes $[0], causing all sort of problems
   22289   # (the dirname of $[0] is not the place where we might find the
   22290   # original and so on.  Autoconf is especially sensitive to this).
   22291   . "./$as_me.lineno"
   22292   # Exit status is that of the last command.
   22293   exit
   22294 }
   22295 
   22296 
   22297 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22298   as_dirname=dirname
   22299 else
   22300   as_dirname=false
   22301 fi
   22302 
   22303 ECHO_C= ECHO_N= ECHO_T=
   22304 case `echo -n x` in
   22305 -n*)
   22306   case `echo 'x\c'` in
   22307   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22308   *)   ECHO_C='\c';;
   22309   esac;;
   22310 *)
   22311   ECHO_N='-n';;
   22312 esac
   22313 
   22314 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22315    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22316   as_expr=expr
   22317 else
   22318   as_expr=false
   22319 fi
   22320 
   22321 rm -f conf$$ conf$$.exe conf$$.file
   22322 if test -d conf$$.dir; then
   22323   rm -f conf$$.dir/conf$$.file
   22324 else
   22325   rm -f conf$$.dir
   22326   mkdir conf$$.dir
   22327 fi
   22328 echo >conf$$.file
   22329 if ln -s conf$$.file conf$$ 2>/dev/null; then
   22330   as_ln_s='ln -s'
   22331   # ... but there are two gotchas:
   22332   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22333   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22334   # In both cases, we have to default to `cp -p'.
   22335   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22336     as_ln_s='cp -p'
   22337 elif ln conf$$.file conf$$ 2>/dev/null; then
   22338   as_ln_s=ln
   22339 else
   22340   as_ln_s='cp -p'
   22341 fi
   22342 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22343 rmdir conf$$.dir 2>/dev/null
   22344 
   22345 if mkdir -p . 2>/dev/null; then
   22346   as_mkdir_p=:
   22347 else
   22348   test -d ./-p && rmdir ./-p
   22349   as_mkdir_p=false
   22350 fi
   22351 
   22352 if test -x / >/dev/null 2>&1; then
   22353   as_test_x='test -x'
   22354 else
   22355   if ls -dL / >/dev/null 2>&1; then
   22356     as_ls_L_option=L
   22357   else
   22358     as_ls_L_option=
   22359   fi
   22360   as_test_x='
   22361     eval sh -c '\''
   22362       if test -d "$1"; then
   22363         test -d "$1/.";
   22364       else
   22365 	case $1 in
   22366         -*)set "./$1";;
   22367 	esac;
   22368 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22369 	???[sx]*):;;*)false;;esac;fi
   22370     '\'' sh
   22371   '
   22372 fi
   22373 as_executable_p=$as_test_x
   22374 
   22375 # Sed expression to map a string onto a valid CPP name.
   22376 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22377 
   22378 # Sed expression to map a string onto a valid variable name.
   22379 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22380 
   22381 
   22382 exec 6>&1
   22383 
   22384 # Save the log message, to keep $[0] and so on meaningful, and to
   22385 # report actual input values of CONFIG_FILES etc. instead of their
   22386 # values after options handling.
   22387 ac_log="
   22388 This file was extended by xf86-video-mach64 $as_me 6.8.1, which was
   22389 generated by GNU Autoconf 2.61.  Invocation command line was
   22390 
   22391   CONFIG_FILES    = $CONFIG_FILES
   22392   CONFIG_HEADERS  = $CONFIG_HEADERS
   22393   CONFIG_LINKS    = $CONFIG_LINKS
   22394   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22395   $ $0 $@
   22396 
   22397 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22398 "
   22399 
   22400 _ACEOF
   22401 
   22402 cat >>$CONFIG_STATUS <<_ACEOF
   22403 # Files that config.status was made for.
   22404 config_files="$ac_config_files"
   22405 config_headers="$ac_config_headers"
   22406 config_commands="$ac_config_commands"
   22407 
   22408 _ACEOF
   22409 
   22410 cat >>$CONFIG_STATUS <<\_ACEOF
   22411 ac_cs_usage="\
   22412 \`$as_me' instantiates files from templates according to the
   22413 current configuration.
   22414 
   22415 Usage: $0 [OPTIONS] [FILE]...
   22416 
   22417   -h, --help       print this help, then exit
   22418   -V, --version    print version number and configuration settings, then exit
   22419   -q, --quiet      do not print progress messages
   22420   -d, --debug      don't remove temporary files
   22421       --recheck    update $as_me by reconfiguring in the same conditions
   22422   --file=FILE[:TEMPLATE]
   22423 		   instantiate the configuration file FILE
   22424   --header=FILE[:TEMPLATE]
   22425 		   instantiate the configuration header FILE
   22426 
   22427 Configuration files:
   22428 $config_files
   22429 
   22430 Configuration headers:
   22431 $config_headers
   22432 
   22433 Configuration commands:
   22434 $config_commands
   22435 
   22436 Report bugs to <bug-autoconf (at] gnu.org>."
   22437 
   22438 _ACEOF
   22439 cat >>$CONFIG_STATUS <<_ACEOF
   22440 ac_cs_version="\\
   22441 xf86-video-mach64 config.status 6.8.1
   22442 configured by $0, generated by GNU Autoconf 2.61,
   22443   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22444 
   22445 Copyright (C) 2006 Free Software Foundation, Inc.
   22446 This config.status script is free software; the Free Software Foundation
   22447 gives unlimited permission to copy, distribute and modify it."
   22448 
   22449 ac_pwd='$ac_pwd'
   22450 srcdir='$srcdir'
   22451 INSTALL='$INSTALL'
   22452 MKDIR_P='$MKDIR_P'
   22453 _ACEOF
   22454 
   22455 cat >>$CONFIG_STATUS <<\_ACEOF
   22456 # If no file are specified by the user, then we need to provide default
   22457 # value.  By we need to know if files were specified by the user.
   22458 ac_need_defaults=:
   22459 while test $# != 0
   22460 do
   22461   case $1 in
   22462   --*=*)
   22463     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22464     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22465     ac_shift=:
   22466     ;;
   22467   *)
   22468     ac_option=$1
   22469     ac_optarg=$2
   22470     ac_shift=shift
   22471     ;;
   22472   esac
   22473 
   22474   case $ac_option in
   22475   # Handling of the options.
   22476   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22477     ac_cs_recheck=: ;;
   22478   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22479     echo "$ac_cs_version"; exit ;;
   22480   --debug | --debu | --deb | --de | --d | -d )
   22481     debug=: ;;
   22482   --file | --fil | --fi | --f )
   22483     $ac_shift
   22484     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   22485     ac_need_defaults=false;;
   22486   --header | --heade | --head | --hea )
   22487     $ac_shift
   22488     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   22489     ac_need_defaults=false;;
   22490   --he | --h)
   22491     # Conflict between --help and --header
   22492     { echo "$as_me: error: ambiguous option: $1
   22493 Try \`$0 --help' for more information." >&2
   22494    { (exit 1); exit 1; }; };;
   22495   --help | --hel | -h )
   22496     echo "$ac_cs_usage"; exit ;;
   22497   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22498   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22499     ac_cs_silent=: ;;
   22500 
   22501   # This is an error.
   22502   -*) { echo "$as_me: error: unrecognized option: $1
   22503 Try \`$0 --help' for more information." >&2
   22504    { (exit 1); exit 1; }; } ;;
   22505 
   22506   *) ac_config_targets="$ac_config_targets $1"
   22507      ac_need_defaults=false ;;
   22508 
   22509   esac
   22510   shift
   22511 done
   22512 
   22513 ac_configure_extra_args=
   22514 
   22515 if $ac_cs_silent; then
   22516   exec 6>/dev/null
   22517   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22518 fi
   22519 
   22520 _ACEOF
   22521 cat >>$CONFIG_STATUS <<_ACEOF
   22522 if \$ac_cs_recheck; then
   22523   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   22524   CONFIG_SHELL=$SHELL
   22525   export CONFIG_SHELL
   22526   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22527 fi
   22528 
   22529 _ACEOF
   22530 cat >>$CONFIG_STATUS <<\_ACEOF
   22531 exec 5>>config.log
   22532 {
   22533   echo
   22534   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22535 ## Running $as_me. ##
   22536 _ASBOX
   22537   echo "$ac_log"
   22538 } >&5
   22539 
   22540 _ACEOF
   22541 cat >>$CONFIG_STATUS <<_ACEOF
   22542 #
   22543 # INIT-COMMANDS
   22544 #
   22545 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22546 
   22547 _ACEOF
   22548 
   22549 cat >>$CONFIG_STATUS <<\_ACEOF
   22550 
   22551 # Handling of arguments.
   22552 for ac_config_target in $ac_config_targets
   22553 do
   22554   case $ac_config_target in
   22555     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22556     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22557     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22558     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22559     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22560 
   22561   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22562 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22563    { (exit 1); exit 1; }; };;
   22564   esac
   22565 done
   22566 
   22567 
   22568 # If the user did not use the arguments to specify the items to instantiate,
   22569 # then the envvar interface is used.  Set only those that are not.
   22570 # We use the long form for the default assignment because of an extremely
   22571 # bizarre bug on SunOS 4.1.3.
   22572 if $ac_need_defaults; then
   22573   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22574   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22575   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22576 fi
   22577 
   22578 # Have a temporary directory for convenience.  Make it in the build tree
   22579 # simply because there is no reason against having it here, and in addition,
   22580 # creating and moving files from /tmp can sometimes cause problems.
   22581 # Hook for its removal unless debugging.
   22582 # Note that there is a small window in which the directory will not be cleaned:
   22583 # after its creation but before its name has been assigned to `$tmp'.
   22584 $debug ||
   22585 {
   22586   tmp=
   22587   trap 'exit_status=$?
   22588   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22589 ' 0
   22590   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22591 }
   22592 # Create a (secure) tmp directory for tmp files.
   22593 
   22594 {
   22595   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22596   test -n "$tmp" && test -d "$tmp"
   22597 }  ||
   22598 {
   22599   tmp=./conf$$-$RANDOM
   22600   (umask 077 && mkdir "$tmp")
   22601 } ||
   22602 {
   22603    echo "$me: cannot create a temporary directory in ." >&2
   22604    { (exit 1); exit 1; }
   22605 }
   22606 
   22607 #
   22608 # Set up the sed scripts for CONFIG_FILES section.
   22609 #
   22610 
   22611 # No need to generate the scripts if there are no CONFIG_FILES.
   22612 # This happens for instance when ./config.status config.h
   22613 if test -n "$CONFIG_FILES"; then
   22614 
   22615 _ACEOF
   22616 
   22617 
   22618 
   22619 ac_delim='%!_!# '
   22620 for ac_last_try in false false false false false :; do
   22621   cat >conf$$subs.sed <<_ACEOF
   22622 SHELL!$SHELL$ac_delim
   22623 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   22624 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   22625 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   22626 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   22627 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   22628 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   22629 exec_prefix!$exec_prefix$ac_delim
   22630 prefix!$prefix$ac_delim
   22631 program_transform_name!$program_transform_name$ac_delim
   22632 bindir!$bindir$ac_delim
   22633 sbindir!$sbindir$ac_delim
   22634 libexecdir!$libexecdir$ac_delim
   22635 datarootdir!$datarootdir$ac_delim
   22636 datadir!$datadir$ac_delim
   22637 sysconfdir!$sysconfdir$ac_delim
   22638 sharedstatedir!$sharedstatedir$ac_delim
   22639 localstatedir!$localstatedir$ac_delim
   22640 includedir!$includedir$ac_delim
   22641 oldincludedir!$oldincludedir$ac_delim
   22642 docdir!$docdir$ac_delim
   22643 infodir!$infodir$ac_delim
   22644 htmldir!$htmldir$ac_delim
   22645 dvidir!$dvidir$ac_delim
   22646 pdfdir!$pdfdir$ac_delim
   22647 psdir!$psdir$ac_delim
   22648 libdir!$libdir$ac_delim
   22649 localedir!$localedir$ac_delim
   22650 mandir!$mandir$ac_delim
   22651 DEFS!$DEFS$ac_delim
   22652 ECHO_C!$ECHO_C$ac_delim
   22653 ECHO_N!$ECHO_N$ac_delim
   22654 ECHO_T!$ECHO_T$ac_delim
   22655 LIBS!$LIBS$ac_delim
   22656 build_alias!$build_alias$ac_delim
   22657 host_alias!$host_alias$ac_delim
   22658 target_alias!$target_alias$ac_delim
   22659 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   22660 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   22661 INSTALL_DATA!$INSTALL_DATA$ac_delim
   22662 am__isrc!$am__isrc$ac_delim
   22663 CYGPATH_W!$CYGPATH_W$ac_delim
   22664 PACKAGE!$PACKAGE$ac_delim
   22665 VERSION!$VERSION$ac_delim
   22666 ACLOCAL!$ACLOCAL$ac_delim
   22667 AUTOCONF!$AUTOCONF$ac_delim
   22668 AUTOMAKE!$AUTOMAKE$ac_delim
   22669 AUTOHEADER!$AUTOHEADER$ac_delim
   22670 MAKEINFO!$MAKEINFO$ac_delim
   22671 install_sh!$install_sh$ac_delim
   22672 STRIP!$STRIP$ac_delim
   22673 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   22674 mkdir_p!$mkdir_p$ac_delim
   22675 AWK!$AWK$ac_delim
   22676 SET_MAKE!$SET_MAKE$ac_delim
   22677 am__leading_dot!$am__leading_dot$ac_delim
   22678 AMTAR!$AMTAR$ac_delim
   22679 am__tar!$am__tar$ac_delim
   22680 am__untar!$am__untar$ac_delim
   22681 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   22682 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   22683 MAINT!$MAINT$ac_delim
   22684 build!$build$ac_delim
   22685 build_cpu!$build_cpu$ac_delim
   22686 build_vendor!$build_vendor$ac_delim
   22687 build_os!$build_os$ac_delim
   22688 host!$host$ac_delim
   22689 host_cpu!$host_cpu$ac_delim
   22690 host_vendor!$host_vendor$ac_delim
   22691 host_os!$host_os$ac_delim
   22692 CC!$CC$ac_delim
   22693 CFLAGS!$CFLAGS$ac_delim
   22694 LDFLAGS!$LDFLAGS$ac_delim
   22695 CPPFLAGS!$CPPFLAGS$ac_delim
   22696 ac_ct_CC!$ac_ct_CC$ac_delim
   22697 EXEEXT!$EXEEXT$ac_delim
   22698 OBJEXT!$OBJEXT$ac_delim
   22699 DEPDIR!$DEPDIR$ac_delim
   22700 am__include!$am__include$ac_delim
   22701 am__quote!$am__quote$ac_delim
   22702 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   22703 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   22704 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   22705 CCDEPMODE!$CCDEPMODE$ac_delim
   22706 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   22707 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   22708 GREP!$GREP$ac_delim
   22709 EGREP!$EGREP$ac_delim
   22710 LN_S!$LN_S$ac_delim
   22711 ECHO!$ECHO$ac_delim
   22712 AR!$AR$ac_delim
   22713 RANLIB!$RANLIB$ac_delim
   22714 CPP!$CPP$ac_delim
   22715 CXX!$CXX$ac_delim
   22716 CXXFLAGS!$CXXFLAGS$ac_delim
   22717 ac_ct_CXX!$ac_ct_CXX$ac_delim
   22718 CXXDEPMODE!$CXXDEPMODE$ac_delim
   22719 _ACEOF
   22720 
   22721   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   22722     break
   22723   elif $ac_last_try; then
   22724     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22725 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22726    { (exit 1); exit 1; }; }
   22727   else
   22728     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22729   fi
   22730 done
   22731 
   22732 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22733 if test -n "$ac_eof"; then
   22734   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22735   ac_eof=`expr $ac_eof + 1`
   22736 fi
   22737 
   22738 cat >>$CONFIG_STATUS <<_ACEOF
   22739 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   22740 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22741 _ACEOF
   22742 sed '
   22743 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22744 s/^/s,@/; s/!/@,|#_!!_#|/
   22745 :n
   22746 t n
   22747 s/'"$ac_delim"'$/,g/; t
   22748 s/$/\\/; p
   22749 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22750 ' >>$CONFIG_STATUS <conf$$subs.sed
   22751 rm -f conf$$subs.sed
   22752 cat >>$CONFIG_STATUS <<_ACEOF
   22753 CEOF$ac_eof
   22754 _ACEOF
   22755 
   22756 
   22757 ac_delim='%!_!# '
   22758 for ac_last_try in false false false false false :; do
   22759   cat >conf$$subs.sed <<_ACEOF
   22760 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   22761 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   22762 CXXCPP!$CXXCPP$ac_delim
   22763 F77!$F77$ac_delim
   22764 FFLAGS!$FFLAGS$ac_delim
   22765 ac_ct_F77!$ac_ct_F77$ac_delim
   22766 LIBTOOL!$LIBTOOL$ac_delim
   22767 CWARNFLAGS!$CWARNFLAGS$ac_delim
   22768 PKG_CONFIG!$PKG_CONFIG$ac_delim
   22769 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   22770 XORG_LIBS!$XORG_LIBS$ac_delim
   22771 DRI_TRUE!$DRI_TRUE$ac_delim
   22772 DRI_FALSE!$DRI_FALSE$ac_delim
   22773 DRI_CFLAGS!$DRI_CFLAGS$ac_delim
   22774 DRI_LIBS!$DRI_LIBS$ac_delim
   22775 ATIMISC_CPIO_TRUE!$ATIMISC_CPIO_TRUE$ac_delim
   22776 ATIMISC_CPIO_FALSE!$ATIMISC_CPIO_FALSE$ac_delim
   22777 ATIMISC_DGA_TRUE!$ATIMISC_DGA_TRUE$ac_delim
   22778 ATIMISC_DGA_FALSE!$ATIMISC_DGA_FALSE$ac_delim
   22779 ATIMISC_TV_OUT_TRUE!$ATIMISC_TV_OUT_TRUE$ac_delim
   22780 ATIMISC_TV_OUT_FALSE!$ATIMISC_TV_OUT_FALSE$ac_delim
   22781 USE_EXA_TRUE!$USE_EXA_TRUE$ac_delim
   22782 USE_EXA_FALSE!$USE_EXA_FALSE$ac_delim
   22783 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   22784 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   22785 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   22786 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   22787 moduledir!$moduledir$ac_delim
   22788 DRIVER_NAME!$DRIVER_NAME$ac_delim
   22789 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   22790 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   22791 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   22792 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   22793 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   22794 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   22795 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   22796 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   22797 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   22798 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   22799 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   22800 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   22801 LINUXDOC!$LINUXDOC$ac_delim
   22802 PS2PDF!$PS2PDF$ac_delim
   22803 BUILD_LINUXDOC_TRUE!$BUILD_LINUXDOC_TRUE$ac_delim
   22804 BUILD_LINUXDOC_FALSE!$BUILD_LINUXDOC_FALSE$ac_delim
   22805 BUILD_PDFDOC_TRUE!$BUILD_PDFDOC_TRUE$ac_delim
   22806 BUILD_PDFDOC_FALSE!$BUILD_PDFDOC_FALSE$ac_delim
   22807 MAKE_TEXT!$MAKE_TEXT$ac_delim
   22808 MAKE_PS!$MAKE_PS$ac_delim
   22809 MAKE_PDF!$MAKE_PDF$ac_delim
   22810 MAKE_HTML!$MAKE_HTML$ac_delim
   22811 CHANGELOG_CMD!$CHANGELOG_CMD$ac_delim
   22812 distcleancheck_listfiles!$distcleancheck_listfiles$ac_delim
   22813 LIBOBJS!$LIBOBJS$ac_delim
   22814 LTLIBOBJS!$LTLIBOBJS$ac_delim
   22815 _ACEOF
   22816 
   22817   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
   22818     break
   22819   elif $ac_last_try; then
   22820     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22821 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22822    { (exit 1); exit 1; }; }
   22823   else
   22824     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22825   fi
   22826 done
   22827 
   22828 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22829 if test -n "$ac_eof"; then
   22830   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22831   ac_eof=`expr $ac_eof + 1`
   22832 fi
   22833 
   22834 cat >>$CONFIG_STATUS <<_ACEOF
   22835 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   22836 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   22837 _ACEOF
   22838 sed '
   22839 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22840 s/^/s,@/; s/!/@,|#_!!_#|/
   22841 :n
   22842 t n
   22843 s/'"$ac_delim"'$/,g/; t
   22844 s/$/\\/; p
   22845 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22846 ' >>$CONFIG_STATUS <conf$$subs.sed
   22847 rm -f conf$$subs.sed
   22848 cat >>$CONFIG_STATUS <<_ACEOF
   22849 :end
   22850 s/|#_!!_#|//g
   22851 CEOF$ac_eof
   22852 _ACEOF
   22853 
   22854 
   22855 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22856 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22857 # trailing colons and then remove the whole line if VPATH becomes empty
   22858 # (actually we leave an empty line to preserve line numbers).
   22859 if test "x$srcdir" = x.; then
   22860   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22861 s/:*\$(srcdir):*/:/
   22862 s/:*\${srcdir}:*/:/
   22863 s/:*@srcdir@:*/:/
   22864 s/^\([^=]*=[	 ]*\):*/\1/
   22865 s/:*$//
   22866 s/^[^=]*=[	 ]*$//
   22867 }'
   22868 fi
   22869 
   22870 cat >>$CONFIG_STATUS <<\_ACEOF
   22871 fi # test -n "$CONFIG_FILES"
   22872 
   22873 
   22874 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   22875 do
   22876   case $ac_tag in
   22877   :[FHLC]) ac_mode=$ac_tag; continue;;
   22878   esac
   22879   case $ac_mode$ac_tag in
   22880   :[FHL]*:*);;
   22881   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   22882 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   22883    { (exit 1); exit 1; }; };;
   22884   :[FH]-) ac_tag=-:-;;
   22885   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22886   esac
   22887   ac_save_IFS=$IFS
   22888   IFS=:
   22889   set x $ac_tag
   22890   IFS=$ac_save_IFS
   22891   shift
   22892   ac_file=$1
   22893   shift
   22894 
   22895   case $ac_mode in
   22896   :L) ac_source=$1;;
   22897   :[FH])
   22898     ac_file_inputs=
   22899     for ac_f
   22900     do
   22901       case $ac_f in
   22902       -) ac_f="$tmp/stdin";;
   22903       *) # Look for the file first in the build tree, then in the source tree
   22904 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22905 	 # because $ac_f cannot contain `:'.
   22906 	 test -f "$ac_f" ||
   22907 	   case $ac_f in
   22908 	   [\\/$]*) false;;
   22909 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22910 	   esac ||
   22911 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22912 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22913    { (exit 1); exit 1; }; };;
   22914       esac
   22915       ac_file_inputs="$ac_file_inputs $ac_f"
   22916     done
   22917 
   22918     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22919     # use $as_me), people would be surprised to read:
   22920     #    /* config.h.  Generated by config.status.  */
   22921     configure_input="Generated from "`IFS=:
   22922 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   22923     if test x"$ac_file" != x-; then
   22924       configure_input="$ac_file.  $configure_input"
   22925       { echo "$as_me:$LINENO: creating $ac_file" >&5
   22926 echo "$as_me: creating $ac_file" >&6;}
   22927     fi
   22928 
   22929     case $ac_tag in
   22930     *:-:* | *:-) cat >"$tmp/stdin";;
   22931     esac
   22932     ;;
   22933   esac
   22934 
   22935   ac_dir=`$as_dirname -- "$ac_file" ||
   22936 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22937 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22938 	 X"$ac_file" : 'X\(//\)$' \| \
   22939 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22940 echo X"$ac_file" |
   22941     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22942 	    s//\1/
   22943 	    q
   22944 	  }
   22945 	  /^X\(\/\/\)[^/].*/{
   22946 	    s//\1/
   22947 	    q
   22948 	  }
   22949 	  /^X\(\/\/\)$/{
   22950 	    s//\1/
   22951 	    q
   22952 	  }
   22953 	  /^X\(\/\).*/{
   22954 	    s//\1/
   22955 	    q
   22956 	  }
   22957 	  s/.*/./; q'`
   22958   { as_dir="$ac_dir"
   22959   case $as_dir in #(
   22960   -*) as_dir=./$as_dir;;
   22961   esac
   22962   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22963     as_dirs=
   22964     while :; do
   22965       case $as_dir in #(
   22966       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22967       *) as_qdir=$as_dir;;
   22968       esac
   22969       as_dirs="'$as_qdir' $as_dirs"
   22970       as_dir=`$as_dirname -- "$as_dir" ||
   22971 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22972 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22973 	 X"$as_dir" : 'X\(//\)$' \| \
   22974 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22975 echo X"$as_dir" |
   22976     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22977 	    s//\1/
   22978 	    q
   22979 	  }
   22980 	  /^X\(\/\/\)[^/].*/{
   22981 	    s//\1/
   22982 	    q
   22983 	  }
   22984 	  /^X\(\/\/\)$/{
   22985 	    s//\1/
   22986 	    q
   22987 	  }
   22988 	  /^X\(\/\).*/{
   22989 	    s//\1/
   22990 	    q
   22991 	  }
   22992 	  s/.*/./; q'`
   22993       test -d "$as_dir" && break
   22994     done
   22995     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22996   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22997 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22998    { (exit 1); exit 1; }; }; }
   22999   ac_builddir=.
   23000 
   23001 case "$ac_dir" in
   23002 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23003 *)
   23004   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   23005   # A ".." for each directory in $ac_dir_suffix.
   23006   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   23007   case $ac_top_builddir_sub in
   23008   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23009   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23010   esac ;;
   23011 esac
   23012 ac_abs_top_builddir=$ac_pwd
   23013 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23014 # for backward compatibility:
   23015 ac_top_builddir=$ac_top_build_prefix
   23016 
   23017 case $srcdir in
   23018   .)  # We are building in place.
   23019     ac_srcdir=.
   23020     ac_top_srcdir=$ac_top_builddir_sub
   23021     ac_abs_top_srcdir=$ac_pwd ;;
   23022   [\\/]* | ?:[\\/]* )  # Absolute name.
   23023     ac_srcdir=$srcdir$ac_dir_suffix;
   23024     ac_top_srcdir=$srcdir
   23025     ac_abs_top_srcdir=$srcdir ;;
   23026   *) # Relative name.
   23027     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23028     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23029     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23030 esac
   23031 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23032 
   23033 
   23034   case $ac_mode in
   23035   :F)
   23036   #
   23037   # CONFIG_FILE
   23038   #
   23039 
   23040   case $INSTALL in
   23041   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23042   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23043   esac
   23044   ac_MKDIR_P=$MKDIR_P
   23045   case $MKDIR_P in
   23046   [\\/$]* | ?:[\\/]* ) ;;
   23047   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23048   esac
   23049 _ACEOF
   23050 
   23051 cat >>$CONFIG_STATUS <<\_ACEOF
   23052 # If the template does not know about datarootdir, expand it.
   23053 # FIXME: This hack should be removed a few years after 2.60.
   23054 ac_datarootdir_hack=; ac_datarootdir_seen=
   23055 
   23056 case `sed -n '/datarootdir/ {
   23057   p
   23058   q
   23059 }
   23060 /@datadir@/p
   23061 /@docdir@/p
   23062 /@infodir@/p
   23063 /@localedir@/p
   23064 /@mandir@/p
   23065 ' $ac_file_inputs` in
   23066 *datarootdir*) ac_datarootdir_seen=yes;;
   23067 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23068   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23069 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23070 _ACEOF
   23071 cat >>$CONFIG_STATUS <<_ACEOF
   23072   ac_datarootdir_hack='
   23073   s&@datadir@&$datadir&g
   23074   s&@docdir@&$docdir&g
   23075   s&@infodir@&$infodir&g
   23076   s&@localedir@&$localedir&g
   23077   s&@mandir@&$mandir&g
   23078     s&\\\${datarootdir}&$datarootdir&g' ;;
   23079 esac
   23080 _ACEOF
   23081 
   23082 # Neutralize VPATH when `$srcdir' = `.'.
   23083 # Shell code in configure.ac might set extrasub.
   23084 # FIXME: do we really want to maintain this feature?
   23085 cat >>$CONFIG_STATUS <<_ACEOF
   23086   sed "$ac_vpsub
   23087 $extrasub
   23088 _ACEOF
   23089 cat >>$CONFIG_STATUS <<\_ACEOF
   23090 :t
   23091 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23092 s&@configure_input@&$configure_input&;t t
   23093 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23094 s&@srcdir@&$ac_srcdir&;t t
   23095 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23096 s&@top_srcdir@&$ac_top_srcdir&;t t
   23097 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23098 s&@builddir@&$ac_builddir&;t t
   23099 s&@abs_builddir@&$ac_abs_builddir&;t t
   23100 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23101 s&@INSTALL@&$ac_INSTALL&;t t
   23102 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23103 $ac_datarootdir_hack
   23104 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   23105 
   23106 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23107   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23108   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23109   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23110 which seems to be undefined.  Please make sure it is defined." >&5
   23111 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23112 which seems to be undefined.  Please make sure it is defined." >&2;}
   23113 
   23114   rm -f "$tmp/stdin"
   23115   case $ac_file in
   23116   -) cat "$tmp/out"; rm -f "$tmp/out";;
   23117   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   23118   esac
   23119  ;;
   23120   :H)
   23121   #
   23122   # CONFIG_HEADER
   23123   #
   23124 _ACEOF
   23125 
   23126 # Transform confdefs.h into a sed script `conftest.defines', that
   23127 # substitutes the proper values into config.h.in to produce config.h.
   23128 rm -f conftest.defines conftest.tail
   23129 # First, append a space to every undef/define line, to ease matching.
   23130 echo 's/$/ /' >conftest.defines
   23131 # Then, protect against being on the right side of a sed subst, or in
   23132 # an unquoted here document, in config.status.  If some macros were
   23133 # called several times there might be several #defines for the same
   23134 # symbol, which is useless.  But do not sort them, since the last
   23135 # AC_DEFINE must be honored.
   23136 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23137 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   23138 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   23139 # PARAMS is the parameter list in the macro definition--in most cases, it's
   23140 # just an empty string.
   23141 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   23142 ac_dB='\\)[	 (].*,\\1define\\2'
   23143 ac_dC=' '
   23144 ac_dD=' ,'
   23145 
   23146 uniq confdefs.h |
   23147   sed -n '
   23148 	t rset
   23149 	:rset
   23150 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   23151 	t ok
   23152 	d
   23153 	:ok
   23154 	s/[\\&,]/\\&/g
   23155 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   23156 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   23157   ' >>conftest.defines
   23158 
   23159 # Remove the space that was appended to ease matching.
   23160 # Then replace #undef with comments.  This is necessary, for
   23161 # example, in the case of _POSIX_SOURCE, which is predefined and required
   23162 # on some systems where configure will not decide to define it.
   23163 # (The regexp can be short, since the line contains either #define or #undef.)
   23164 echo 's/ $//
   23165 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   23166 
   23167 # Break up conftest.defines:
   23168 ac_max_sed_lines=50
   23169 
   23170 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   23171 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   23172 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   23173 # et cetera.
   23174 ac_in='$ac_file_inputs'
   23175 ac_out='"$tmp/out1"'
   23176 ac_nxt='"$tmp/out2"'
   23177 
   23178 while :
   23179 do
   23180   # Write a here document:
   23181     cat >>$CONFIG_STATUS <<_ACEOF
   23182     # First, check the format of the line:
   23183     cat >"\$tmp/defines.sed" <<\\CEOF
   23184 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   23185 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   23186 b
   23187 :def
   23188 _ACEOF
   23189   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   23190   echo 'CEOF
   23191     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   23192   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   23193   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   23194   grep . conftest.tail >/dev/null || break
   23195   rm -f conftest.defines
   23196   mv conftest.tail conftest.defines
   23197 done
   23198 rm -f conftest.defines conftest.tail
   23199 
   23200 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   23201 cat >>$CONFIG_STATUS <<\_ACEOF
   23202   if test x"$ac_file" != x-; then
   23203     echo "/* $configure_input  */" >"$tmp/config.h"
   23204     cat "$ac_result" >>"$tmp/config.h"
   23205     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   23206       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23207 echo "$as_me: $ac_file is unchanged" >&6;}
   23208     else
   23209       rm -f $ac_file
   23210       mv "$tmp/config.h" $ac_file
   23211     fi
   23212   else
   23213     echo "/* $configure_input  */"
   23214     cat "$ac_result"
   23215   fi
   23216   rm -f "$tmp/out12"
   23217 # Compute $ac_file's index in $config_headers.
   23218 _am_stamp_count=1
   23219 for _am_header in $config_headers :; do
   23220   case $_am_header in
   23221     $ac_file | $ac_file:* )
   23222       break ;;
   23223     * )
   23224       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23225   esac
   23226 done
   23227 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   23228 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23229 	 X$ac_file : 'X\(//\)[^/]' \| \
   23230 	 X$ac_file : 'X\(//\)$' \| \
   23231 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   23232 echo X$ac_file |
   23233     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23234 	    s//\1/
   23235 	    q
   23236 	  }
   23237 	  /^X\(\/\/\)[^/].*/{
   23238 	    s//\1/
   23239 	    q
   23240 	  }
   23241 	  /^X\(\/\/\)$/{
   23242 	    s//\1/
   23243 	    q
   23244 	  }
   23245 	  /^X\(\/\).*/{
   23246 	    s//\1/
   23247 	    q
   23248 	  }
   23249 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23250  ;;
   23251 
   23252   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23253 echo "$as_me: executing $ac_file commands" >&6;}
   23254  ;;
   23255   esac
   23256 
   23257 
   23258   case $ac_file$ac_mode in
   23259     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23260   # Strip MF so we end up with the name of the file.
   23261   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23262   # Check whether this is an Automake generated Makefile or not.
   23263   # We used to match only the files named `Makefile.in', but
   23264   # some people rename them; so instead we look at the file content.
   23265   # Grep'ing the first line is not enough: some people post-process
   23266   # each Makefile.in and add a new line on top of each file to say so.
   23267   # Grep'ing the whole file is not good either: AIX grep has a line
   23268   # limit of 2048, but all sed's we know have understand at least 4000.
   23269   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   23270     dirpart=`$as_dirname -- "$mf" ||
   23271 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23272 	 X"$mf" : 'X\(//\)[^/]' \| \
   23273 	 X"$mf" : 'X\(//\)$' \| \
   23274 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23275 echo X"$mf" |
   23276     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23277 	    s//\1/
   23278 	    q
   23279 	  }
   23280 	  /^X\(\/\/\)[^/].*/{
   23281 	    s//\1/
   23282 	    q
   23283 	  }
   23284 	  /^X\(\/\/\)$/{
   23285 	    s//\1/
   23286 	    q
   23287 	  }
   23288 	  /^X\(\/\).*/{
   23289 	    s//\1/
   23290 	    q
   23291 	  }
   23292 	  s/.*/./; q'`
   23293   else
   23294     continue
   23295   fi
   23296   # Extract the definition of DEPDIR, am__include, and am__quote
   23297   # from the Makefile without running `make'.
   23298   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23299   test -z "$DEPDIR" && continue
   23300   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23301   test -z "am__include" && continue
   23302   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23303   # When using ansi2knr, U may be empty or an underscore; expand it
   23304   U=`sed -n 's/^U = //p' < "$mf"`
   23305   # Find all dependency output files, they are included files with
   23306   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23307   # simplest approach to changing $(DEPDIR) to its actual value in the
   23308   # expansion.
   23309   for file in `sed -n "
   23310     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23311        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23312     # Make sure the directory exists.
   23313     test -f "$dirpart/$file" && continue
   23314     fdir=`$as_dirname -- "$file" ||
   23315 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23316 	 X"$file" : 'X\(//\)[^/]' \| \
   23317 	 X"$file" : 'X\(//\)$' \| \
   23318 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23319 echo X"$file" |
   23320     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23321 	    s//\1/
   23322 	    q
   23323 	  }
   23324 	  /^X\(\/\/\)[^/].*/{
   23325 	    s//\1/
   23326 	    q
   23327 	  }
   23328 	  /^X\(\/\/\)$/{
   23329 	    s//\1/
   23330 	    q
   23331 	  }
   23332 	  /^X\(\/\).*/{
   23333 	    s//\1/
   23334 	    q
   23335 	  }
   23336 	  s/.*/./; q'`
   23337     { as_dir=$dirpart/$fdir
   23338   case $as_dir in #(
   23339   -*) as_dir=./$as_dir;;
   23340   esac
   23341   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23342     as_dirs=
   23343     while :; do
   23344       case $as_dir in #(
   23345       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23346       *) as_qdir=$as_dir;;
   23347       esac
   23348       as_dirs="'$as_qdir' $as_dirs"
   23349       as_dir=`$as_dirname -- "$as_dir" ||
   23350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23351 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23352 	 X"$as_dir" : 'X\(//\)$' \| \
   23353 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23354 echo X"$as_dir" |
   23355     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23356 	    s//\1/
   23357 	    q
   23358 	  }
   23359 	  /^X\(\/\/\)[^/].*/{
   23360 	    s//\1/
   23361 	    q
   23362 	  }
   23363 	  /^X\(\/\/\)$/{
   23364 	    s//\1/
   23365 	    q
   23366 	  }
   23367 	  /^X\(\/\).*/{
   23368 	    s//\1/
   23369 	    q
   23370 	  }
   23371 	  s/.*/./; q'`
   23372       test -d "$as_dir" && break
   23373     done
   23374     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23375   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23376 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23377    { (exit 1); exit 1; }; }; }
   23378     # echo "creating $dirpart/$file"
   23379     echo '# dummy' > "$dirpart/$file"
   23380   done
   23381 done
   23382  ;;
   23383 
   23384   esac
   23385 done # for ac_tag
   23386 
   23387 
   23388 { (exit 0); exit 0; }
   23389 _ACEOF
   23390 chmod +x $CONFIG_STATUS
   23391 ac_clean_files=$ac_clean_files_save
   23392 
   23393 
   23394 # configure is writing to config.log, and then calls config.status.
   23395 # config.status does its own redirection, appending to config.log.
   23396 # Unfortunately, on DOS this fails, as config.log is still kept open
   23397 # by configure, so config.status won't be able to write to it; its
   23398 # output is simply discarded.  So we exec the FD to /dev/null,
   23399 # effectively closing config.log, so it can be properly (re)opened and
   23400 # appended to by config.status.  When coming back to configure, we
   23401 # need to make the FD available again.
   23402 if test "$no_create" != yes; then
   23403   ac_cs_success=:
   23404   ac_config_status_args=
   23405   test "$silent" = yes &&
   23406     ac_config_status_args="$ac_config_status_args --quiet"
   23407   exec 5>/dev/null
   23408   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23409   exec 5>>config.log
   23410   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23411   # would make configure fail if this is the last instruction.
   23412   $ac_cs_success || { (exit 1); exit 1; }
   23413 fi
   23414 
   23415