Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-mach64 6.8.0.
      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.0'
    732 PACKAGE_STRING='xf86-video-mach64 6.8.0'
    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 SED
    859 GREP
    860 EGREP
    861 LN_S
    862 ECHO
    863 AR
    864 RANLIB
    865 CPP
    866 CXX
    867 CXXFLAGS
    868 ac_ct_CXX
    869 CXXDEPMODE
    870 am__fastdepCXX_TRUE
    871 am__fastdepCXX_FALSE
    872 CXXCPP
    873 F77
    874 FFLAGS
    875 ac_ct_F77
    876 LIBTOOL
    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 LIBOBJS
    921 LTLIBOBJS'
    922 ac_subst_files=''
    923       ac_precious_vars='build_alias
    924 host_alias
    925 target_alias
    926 CC
    927 CFLAGS
    928 LDFLAGS
    929 LIBS
    930 CPPFLAGS
    931 CPP
    932 CXX
    933 CXXFLAGS
    934 CCC
    935 CXXCPP
    936 F77
    937 FFLAGS
    938 PKG_CONFIG
    939 XORG_CFLAGS
    940 XORG_LIBS
    941 DRI_CFLAGS
    942 DRI_LIBS
    943 PCIACCESS_CFLAGS
    944 PCIACCESS_LIBS'
    945 
    946 
    947 # Initialize some variables set by options.
    948 ac_init_help=
    949 ac_init_version=false
    950 # The variables have the same names as the options, with
    951 # dashes changed to underlines.
    952 cache_file=/dev/null
    953 exec_prefix=NONE
    954 no_create=
    955 no_recursion=
    956 prefix=NONE
    957 program_prefix=NONE
    958 program_suffix=NONE
    959 program_transform_name=s,x,x,
    960 silent=
    961 site=
    962 srcdir=
    963 verbose=
    964 x_includes=NONE
    965 x_libraries=NONE
    966 
    967 # Installation directory options.
    968 # These are left unexpanded so users can "make install exec_prefix=/foo"
    969 # and all the variables that are supposed to be based on exec_prefix
    970 # by default will actually change.
    971 # Use braces instead of parens because sh, perl, etc. also accept them.
    972 # (The list follows the same order as the GNU Coding Standards.)
    973 bindir='${exec_prefix}/bin'
    974 sbindir='${exec_prefix}/sbin'
    975 libexecdir='${exec_prefix}/libexec'
    976 datarootdir='${prefix}/share'
    977 datadir='${datarootdir}'
    978 sysconfdir='${prefix}/etc'
    979 sharedstatedir='${prefix}/com'
    980 localstatedir='${prefix}/var'
    981 includedir='${prefix}/include'
    982 oldincludedir='/usr/include'
    983 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    984 infodir='${datarootdir}/info'
    985 htmldir='${docdir}'
    986 dvidir='${docdir}'
    987 pdfdir='${docdir}'
    988 psdir='${docdir}'
    989 libdir='${exec_prefix}/lib'
    990 localedir='${datarootdir}/locale'
    991 mandir='${datarootdir}/man'
    992 
    993 ac_prev=
    994 ac_dashdash=
    995 for ac_option
    996 do
    997   # If the previous option needs an argument, assign it.
    998   if test -n "$ac_prev"; then
    999     eval $ac_prev=\$ac_option
   1000     ac_prev=
   1001     continue
   1002   fi
   1003 
   1004   case $ac_option in
   1005   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1006   *)	ac_optarg=yes ;;
   1007   esac
   1008 
   1009   # Accept the important Cygnus configure options, so we can diagnose typos.
   1010 
   1011   case $ac_dashdash$ac_option in
   1012   --)
   1013     ac_dashdash=yes ;;
   1014 
   1015   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1016     ac_prev=bindir ;;
   1017   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1018     bindir=$ac_optarg ;;
   1019 
   1020   -build | --build | --buil | --bui | --bu)
   1021     ac_prev=build_alias ;;
   1022   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1023     build_alias=$ac_optarg ;;
   1024 
   1025   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1026   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1027     ac_prev=cache_file ;;
   1028   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1029   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1030     cache_file=$ac_optarg ;;
   1031 
   1032   --config-cache | -C)
   1033     cache_file=config.cache ;;
   1034 
   1035   -datadir | --datadir | --datadi | --datad)
   1036     ac_prev=datadir ;;
   1037   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1038     datadir=$ac_optarg ;;
   1039 
   1040   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1041   | --dataroo | --dataro | --datar)
   1042     ac_prev=datarootdir ;;
   1043   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1044   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1045     datarootdir=$ac_optarg ;;
   1046 
   1047   -disable-* | --disable-*)
   1048     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1049     # Reject names that are not valid shell variable names.
   1050     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1051       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1052    { (exit 1); exit 1; }; }
   1053     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1054     eval enable_$ac_feature=no ;;
   1055 
   1056   -docdir | --docdir | --docdi | --doc | --do)
   1057     ac_prev=docdir ;;
   1058   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1059     docdir=$ac_optarg ;;
   1060 
   1061   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1062     ac_prev=dvidir ;;
   1063   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1064     dvidir=$ac_optarg ;;
   1065 
   1066   -enable-* | --enable-*)
   1067     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1068     # Reject names that are not valid shell variable names.
   1069     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1070       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1071    { (exit 1); exit 1; }; }
   1072     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1073     eval enable_$ac_feature=\$ac_optarg ;;
   1074 
   1075   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1076   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1077   | --exec | --exe | --ex)
   1078     ac_prev=exec_prefix ;;
   1079   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1080   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1081   | --exec=* | --exe=* | --ex=*)
   1082     exec_prefix=$ac_optarg ;;
   1083 
   1084   -gas | --gas | --ga | --g)
   1085     # Obsolete; use --with-gas.
   1086     with_gas=yes ;;
   1087 
   1088   -help | --help | --hel | --he | -h)
   1089     ac_init_help=long ;;
   1090   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1091     ac_init_help=recursive ;;
   1092   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1093     ac_init_help=short ;;
   1094 
   1095   -host | --host | --hos | --ho)
   1096     ac_prev=host_alias ;;
   1097   -host=* | --host=* | --hos=* | --ho=*)
   1098     host_alias=$ac_optarg ;;
   1099 
   1100   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1101     ac_prev=htmldir ;;
   1102   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1103   | --ht=*)
   1104     htmldir=$ac_optarg ;;
   1105 
   1106   -includedir | --includedir | --includedi | --included | --include \
   1107   | --includ | --inclu | --incl | --inc)
   1108     ac_prev=includedir ;;
   1109   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1110   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1111     includedir=$ac_optarg ;;
   1112 
   1113   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1114     ac_prev=infodir ;;
   1115   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1116     infodir=$ac_optarg ;;
   1117 
   1118   -libdir | --libdir | --libdi | --libd)
   1119     ac_prev=libdir ;;
   1120   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1121     libdir=$ac_optarg ;;
   1122 
   1123   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1124   | --libexe | --libex | --libe)
   1125     ac_prev=libexecdir ;;
   1126   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1127   | --libexe=* | --libex=* | --libe=*)
   1128     libexecdir=$ac_optarg ;;
   1129 
   1130   -localedir | --localedir | --localedi | --localed | --locale)
   1131     ac_prev=localedir ;;
   1132   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1133     localedir=$ac_optarg ;;
   1134 
   1135   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1136   | --localstate | --localstat | --localsta | --localst | --locals)
   1137     ac_prev=localstatedir ;;
   1138   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1139   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1140     localstatedir=$ac_optarg ;;
   1141 
   1142   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1143     ac_prev=mandir ;;
   1144   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1145     mandir=$ac_optarg ;;
   1146 
   1147   -nfp | --nfp | --nf)
   1148     # Obsolete; use --without-fp.
   1149     with_fp=no ;;
   1150 
   1151   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1152   | --no-cr | --no-c | -n)
   1153     no_create=yes ;;
   1154 
   1155   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1156   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1157     no_recursion=yes ;;
   1158 
   1159   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1160   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1161   | --oldin | --oldi | --old | --ol | --o)
   1162     ac_prev=oldincludedir ;;
   1163   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1164   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1165   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1166     oldincludedir=$ac_optarg ;;
   1167 
   1168   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1169     ac_prev=prefix ;;
   1170   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1171     prefix=$ac_optarg ;;
   1172 
   1173   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1174   | --program-pre | --program-pr | --program-p)
   1175     ac_prev=program_prefix ;;
   1176   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1177   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1178     program_prefix=$ac_optarg ;;
   1179 
   1180   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1181   | --program-suf | --program-su | --program-s)
   1182     ac_prev=program_suffix ;;
   1183   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1184   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1185     program_suffix=$ac_optarg ;;
   1186 
   1187   -program-transform-name | --program-transform-name \
   1188   | --program-transform-nam | --program-transform-na \
   1189   | --program-transform-n | --program-transform- \
   1190   | --program-transform | --program-transfor \
   1191   | --program-transfo | --program-transf \
   1192   | --program-trans | --program-tran \
   1193   | --progr-tra | --program-tr | --program-t)
   1194     ac_prev=program_transform_name ;;
   1195   -program-transform-name=* | --program-transform-name=* \
   1196   | --program-transform-nam=* | --program-transform-na=* \
   1197   | --program-transform-n=* | --program-transform-=* \
   1198   | --program-transform=* | --program-transfor=* \
   1199   | --program-transfo=* | --program-transf=* \
   1200   | --program-trans=* | --program-tran=* \
   1201   | --progr-tra=* | --program-tr=* | --program-t=*)
   1202     program_transform_name=$ac_optarg ;;
   1203 
   1204   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1205     ac_prev=pdfdir ;;
   1206   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1207     pdfdir=$ac_optarg ;;
   1208 
   1209   -psdir | --psdir | --psdi | --psd | --ps)
   1210     ac_prev=psdir ;;
   1211   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1212     psdir=$ac_optarg ;;
   1213 
   1214   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1215   | -silent | --silent | --silen | --sile | --sil)
   1216     silent=yes ;;
   1217 
   1218   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1219     ac_prev=sbindir ;;
   1220   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1221   | --sbi=* | --sb=*)
   1222     sbindir=$ac_optarg ;;
   1223 
   1224   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1225   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1226   | --sharedst | --shareds | --shared | --share | --shar \
   1227   | --sha | --sh)
   1228     ac_prev=sharedstatedir ;;
   1229   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1230   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1231   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1232   | --sha=* | --sh=*)
   1233     sharedstatedir=$ac_optarg ;;
   1234 
   1235   -site | --site | --sit)
   1236     ac_prev=site ;;
   1237   -site=* | --site=* | --sit=*)
   1238     site=$ac_optarg ;;
   1239 
   1240   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1241     ac_prev=srcdir ;;
   1242   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1243     srcdir=$ac_optarg ;;
   1244 
   1245   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1246   | --syscon | --sysco | --sysc | --sys | --sy)
   1247     ac_prev=sysconfdir ;;
   1248   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1249   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1250     sysconfdir=$ac_optarg ;;
   1251 
   1252   -target | --target | --targe | --targ | --tar | --ta | --t)
   1253     ac_prev=target_alias ;;
   1254   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1255     target_alias=$ac_optarg ;;
   1256 
   1257   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1258     verbose=yes ;;
   1259 
   1260   -version | --version | --versio | --versi | --vers | -V)
   1261     ac_init_version=: ;;
   1262 
   1263   -with-* | --with-*)
   1264     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1265     # Reject names that are not valid shell variable names.
   1266     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1267       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1268    { (exit 1); exit 1; }; }
   1269     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1270     eval with_$ac_package=\$ac_optarg ;;
   1271 
   1272   -without-* | --without-*)
   1273     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1274     # Reject names that are not valid shell variable names.
   1275     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1276       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1277    { (exit 1); exit 1; }; }
   1278     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1279     eval with_$ac_package=no ;;
   1280 
   1281   --x)
   1282     # Obsolete; use --with-x.
   1283     with_x=yes ;;
   1284 
   1285   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1286   | --x-incl | --x-inc | --x-in | --x-i)
   1287     ac_prev=x_includes ;;
   1288   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1289   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1290     x_includes=$ac_optarg ;;
   1291 
   1292   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1293   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1294     ac_prev=x_libraries ;;
   1295   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1296   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1297     x_libraries=$ac_optarg ;;
   1298 
   1299   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1300 Try \`$0 --help' for more information." >&2
   1301    { (exit 1); exit 1; }; }
   1302     ;;
   1303 
   1304   *=*)
   1305     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1306     # Reject names that are not valid shell variable names.
   1307     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1308       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1309    { (exit 1); exit 1; }; }
   1310     eval $ac_envvar=\$ac_optarg
   1311     export $ac_envvar ;;
   1312 
   1313   *)
   1314     # FIXME: should be removed in autoconf 3.0.
   1315     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1316     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1317       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1318     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1319     ;;
   1320 
   1321   esac
   1322 done
   1323 
   1324 if test -n "$ac_prev"; then
   1325   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1326   { echo "$as_me: error: missing argument to $ac_option" >&2
   1327    { (exit 1); exit 1; }; }
   1328 fi
   1329 
   1330 # Be sure to have absolute directory names.
   1331 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1332 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1333 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1334 		libdir localedir mandir
   1335 do
   1336   eval ac_val=\$$ac_var
   1337   case $ac_val in
   1338     [\\/$]* | ?:[\\/]* )  continue;;
   1339     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1340   esac
   1341   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1342    { (exit 1); exit 1; }; }
   1343 done
   1344 
   1345 # There might be people who depend on the old broken behavior: `$host'
   1346 # used to hold the argument of --host etc.
   1347 # FIXME: To remove some day.
   1348 build=$build_alias
   1349 host=$host_alias
   1350 target=$target_alias
   1351 
   1352 # FIXME: To remove some day.
   1353 if test "x$host_alias" != x; then
   1354   if test "x$build_alias" = x; then
   1355     cross_compiling=maybe
   1356     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1357     If a cross compiler is detected then cross compile mode will be used." >&2
   1358   elif test "x$build_alias" != "x$host_alias"; then
   1359     cross_compiling=yes
   1360   fi
   1361 fi
   1362 
   1363 ac_tool_prefix=
   1364 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1365 
   1366 test "$silent" = yes && exec 6>/dev/null
   1367 
   1368 
   1369 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1370 ac_ls_di=`ls -di .` &&
   1371 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1372   { echo "$as_me: error: Working directory cannot be determined" >&2
   1373    { (exit 1); exit 1; }; }
   1374 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1375   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1376    { (exit 1); exit 1; }; }
   1377 
   1378 
   1379 # Find the source files, if location was not specified.
   1380 if test -z "$srcdir"; then
   1381   ac_srcdir_defaulted=yes
   1382   # Try the directory containing this script, then the parent directory.
   1383   ac_confdir=`$as_dirname -- "$0" ||
   1384 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1385 	 X"$0" : 'X\(//\)[^/]' \| \
   1386 	 X"$0" : 'X\(//\)$' \| \
   1387 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1388 echo X"$0" |
   1389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1390 	    s//\1/
   1391 	    q
   1392 	  }
   1393 	  /^X\(\/\/\)[^/].*/{
   1394 	    s//\1/
   1395 	    q
   1396 	  }
   1397 	  /^X\(\/\/\)$/{
   1398 	    s//\1/
   1399 	    q
   1400 	  }
   1401 	  /^X\(\/\).*/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  s/.*/./; q'`
   1406   srcdir=$ac_confdir
   1407   if test ! -r "$srcdir/$ac_unique_file"; then
   1408     srcdir=..
   1409   fi
   1410 else
   1411   ac_srcdir_defaulted=no
   1412 fi
   1413 if test ! -r "$srcdir/$ac_unique_file"; then
   1414   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1415   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1416    { (exit 1); exit 1; }; }
   1417 fi
   1418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1419 ac_abs_confdir=`(
   1420 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1421    { (exit 1); exit 1; }; }
   1422 	pwd)`
   1423 # When building in place, set srcdir=.
   1424 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1425   srcdir=.
   1426 fi
   1427 # Remove unnecessary trailing slashes from srcdir.
   1428 # Double slashes in file names in object file debugging info
   1429 # mess up M-x gdb in Emacs.
   1430 case $srcdir in
   1431 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1432 esac
   1433 for ac_var in $ac_precious_vars; do
   1434   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1435   eval ac_env_${ac_var}_value=\$${ac_var}
   1436   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1437   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1438 done
   1439 
   1440 #
   1441 # Report the --help message.
   1442 #
   1443 if test "$ac_init_help" = "long"; then
   1444   # Omit some internal or obsolete options to make the list less imposing.
   1445   # This message is too long to be a string in the A/UX 3.1 sh.
   1446   cat <<_ACEOF
   1447 \`configure' configures xf86-video-mach64 6.8.0 to adapt to many kinds of systems.
   1448 
   1449 Usage: $0 [OPTION]... [VAR=VALUE]...
   1450 
   1451 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1452 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1453 
   1454 Defaults for the options are specified in brackets.
   1455 
   1456 Configuration:
   1457   -h, --help              display this help and exit
   1458       --help=short        display options specific to this package
   1459       --help=recursive    display the short help of all the included packages
   1460   -V, --version           display version information and exit
   1461   -q, --quiet, --silent   do not print \`checking...' messages
   1462       --cache-file=FILE   cache test results in FILE [disabled]
   1463   -C, --config-cache      alias for \`--cache-file=config.cache'
   1464   -n, --no-create         do not create output files
   1465       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1466 
   1467 Installation directories:
   1468   --prefix=PREFIX         install architecture-independent files in PREFIX
   1469 			  [$ac_default_prefix]
   1470   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1471 			  [PREFIX]
   1472 
   1473 By default, \`make install' will install all the files in
   1474 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1475 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1476 for instance \`--prefix=\$HOME'.
   1477 
   1478 For better control, use the options below.
   1479 
   1480 Fine tuning of the installation directories:
   1481   --bindir=DIR           user executables [EPREFIX/bin]
   1482   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1483   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1484   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1485   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1486   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1487   --libdir=DIR           object code libraries [EPREFIX/lib]
   1488   --includedir=DIR       C header files [PREFIX/include]
   1489   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1490   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1491   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1492   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1493   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1494   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1495   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-mach64]
   1496   --htmldir=DIR          html documentation [DOCDIR]
   1497   --dvidir=DIR           dvi documentation [DOCDIR]
   1498   --pdfdir=DIR           pdf documentation [DOCDIR]
   1499   --psdir=DIR            ps documentation [DOCDIR]
   1500 _ACEOF
   1501 
   1502   cat <<\_ACEOF
   1503 
   1504 Program names:
   1505   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1506   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1507   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1508 
   1509 System types:
   1510   --build=BUILD     configure for building on BUILD [guessed]
   1511   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1512 _ACEOF
   1513 fi
   1514 
   1515 if test -n "$ac_init_help"; then
   1516   case $ac_init_help in
   1517      short | recursive ) echo "Configuration of xf86-video-mach64 6.8.0:";;
   1518    esac
   1519   cat <<\_ACEOF
   1520 
   1521 Optional Features:
   1522   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1523   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1524   --enable-maintainer-mode  enable make rules and dependencies not useful
   1525 			  (and sometimes confusing) to the casual installer
   1526   --enable-static[=PKGS]  build static libraries [default=no]
   1527   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1528   --enable-fast-install[=PKGS]
   1529                           optimize for fast installation [default=yes]
   1530   --disable-dependency-tracking  speeds up one-time build
   1531   --enable-dependency-tracking   do not reject slow dependency extractors
   1532   --disable-libtool-lock  avoid locking (might break parallel builds)
   1533   --disable-dri           Disable DRI support [default=auto]
   1534   --disable-exa           Disable EXA support [default=enabled]
   1535 
   1536 Optional Packages:
   1537   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1538   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1539   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1540   --with-pic              try to use only PIC/non-PIC objects [default=use
   1541                           both]
   1542   --with-tags[=TAGS]      include additional configurations [automatic]
   1543   --with-xorg-module-dir=DIR
   1544                           Default xorg module directory
   1545                           [default=$libdir/xorg/modules]
   1546   --with-release-version=STRING
   1547                           Use release version string in package name
   1548 
   1549 Some influential environment variables:
   1550   CC          C compiler command
   1551   CFLAGS      C compiler flags
   1552   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1553               nonstandard directory <lib dir>
   1554   LIBS        libraries to pass to the linker, e.g. -l<library>
   1555   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1556               you have headers in a nonstandard directory <include dir>
   1557   CPP         C preprocessor
   1558   CXX         C++ compiler command
   1559   CXXFLAGS    C++ compiler flags
   1560   CXXCPP      C++ preprocessor
   1561   F77         Fortran 77 compiler command
   1562   FFLAGS      Fortran 77 compiler flags
   1563   PKG_CONFIG  path to pkg-config utility
   1564   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1565   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1566   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1567   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1568   PCIACCESS_CFLAGS
   1569               C compiler flags for PCIACCESS, overriding pkg-config
   1570   PCIACCESS_LIBS
   1571               linker flags for PCIACCESS, overriding pkg-config
   1572 
   1573 Use these variables to override the choices made by `configure' or to help
   1574 it to find libraries and programs with nonstandard names/locations.
   1575 
   1576 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1577 _ACEOF
   1578 ac_status=$?
   1579 fi
   1580 
   1581 if test "$ac_init_help" = "recursive"; then
   1582   # If there are subdirs, report their specific --help.
   1583   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1584     test -d "$ac_dir" || continue
   1585     ac_builddir=.
   1586 
   1587 case "$ac_dir" in
   1588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1589 *)
   1590   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1591   # A ".." for each directory in $ac_dir_suffix.
   1592   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1593   case $ac_top_builddir_sub in
   1594   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1595   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1596   esac ;;
   1597 esac
   1598 ac_abs_top_builddir=$ac_pwd
   1599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1600 # for backward compatibility:
   1601 ac_top_builddir=$ac_top_build_prefix
   1602 
   1603 case $srcdir in
   1604   .)  # We are building in place.
   1605     ac_srcdir=.
   1606     ac_top_srcdir=$ac_top_builddir_sub
   1607     ac_abs_top_srcdir=$ac_pwd ;;
   1608   [\\/]* | ?:[\\/]* )  # Absolute name.
   1609     ac_srcdir=$srcdir$ac_dir_suffix;
   1610     ac_top_srcdir=$srcdir
   1611     ac_abs_top_srcdir=$srcdir ;;
   1612   *) # Relative name.
   1613     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1614     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1615     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1616 esac
   1617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1618 
   1619     cd "$ac_dir" || { ac_status=$?; continue; }
   1620     # Check for guested configure.
   1621     if test -f "$ac_srcdir/configure.gnu"; then
   1622       echo &&
   1623       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1624     elif test -f "$ac_srcdir/configure"; then
   1625       echo &&
   1626       $SHELL "$ac_srcdir/configure" --help=recursive
   1627     else
   1628       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1629     fi || ac_status=$?
   1630     cd "$ac_pwd" || { ac_status=$?; break; }
   1631   done
   1632 fi
   1633 
   1634 test -n "$ac_init_help" && exit $ac_status
   1635 if $ac_init_version; then
   1636   cat <<\_ACEOF
   1637 xf86-video-mach64 configure 6.8.0
   1638 generated by GNU Autoconf 2.61
   1639 
   1640 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1641 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1642 This configure script is free software; the Free Software Foundation
   1643 gives unlimited permission to copy, distribute and modify it.
   1644 _ACEOF
   1645   exit
   1646 fi
   1647 cat >config.log <<_ACEOF
   1648 This file contains any messages produced by compilers while
   1649 running configure, to aid debugging if configure makes a mistake.
   1650 
   1651 It was created by xf86-video-mach64 $as_me 6.8.0, which was
   1652 generated by GNU Autoconf 2.61.  Invocation command line was
   1653 
   1654   $ $0 $@
   1655 
   1656 _ACEOF
   1657 exec 5>>config.log
   1658 {
   1659 cat <<_ASUNAME
   1660 ## --------- ##
   1661 ## Platform. ##
   1662 ## --------- ##
   1663 
   1664 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1665 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1666 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1667 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1668 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1669 
   1670 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1671 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1672 
   1673 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1674 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1675 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1676 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1677 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1678 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1679 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1680 
   1681 _ASUNAME
   1682 
   1683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1684 for as_dir in $PATH
   1685 do
   1686   IFS=$as_save_IFS
   1687   test -z "$as_dir" && as_dir=.
   1688   echo "PATH: $as_dir"
   1689 done
   1690 IFS=$as_save_IFS
   1691 
   1692 } >&5
   1693 
   1694 cat >&5 <<_ACEOF
   1695 
   1696 
   1697 ## ----------- ##
   1698 ## Core tests. ##
   1699 ## ----------- ##
   1700 
   1701 _ACEOF
   1702 
   1703 
   1704 # Keep a trace of the command line.
   1705 # Strip out --no-create and --no-recursion so they do not pile up.
   1706 # Strip out --silent because we don't want to record it for future runs.
   1707 # Also quote any args containing shell meta-characters.
   1708 # Make two passes to allow for proper duplicate-argument suppression.
   1709 ac_configure_args=
   1710 ac_configure_args0=
   1711 ac_configure_args1=
   1712 ac_must_keep_next=false
   1713 for ac_pass in 1 2
   1714 do
   1715   for ac_arg
   1716   do
   1717     case $ac_arg in
   1718     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1719     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1720     | -silent | --silent | --silen | --sile | --sil)
   1721       continue ;;
   1722     *\'*)
   1723       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1724     esac
   1725     case $ac_pass in
   1726     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1727     2)
   1728       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1729       if test $ac_must_keep_next = true; then
   1730 	ac_must_keep_next=false # Got value, back to normal.
   1731       else
   1732 	case $ac_arg in
   1733 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1734 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1735 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1736 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1737 	    case "$ac_configure_args0 " in
   1738 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1739 	    esac
   1740 	    ;;
   1741 	  -* ) ac_must_keep_next=true ;;
   1742 	esac
   1743       fi
   1744       ac_configure_args="$ac_configure_args '$ac_arg'"
   1745       ;;
   1746     esac
   1747   done
   1748 done
   1749 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1750 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1751 
   1752 # When interrupted or exit'd, cleanup temporary files, and complete
   1753 # config.log.  We remove comments because anyway the quotes in there
   1754 # would cause problems or look ugly.
   1755 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1756 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1757 trap 'exit_status=$?
   1758   # Save into config.log some information that might help in debugging.
   1759   {
   1760     echo
   1761 
   1762     cat <<\_ASBOX
   1763 ## ---------------- ##
   1764 ## Cache variables. ##
   1765 ## ---------------- ##
   1766 _ASBOX
   1767     echo
   1768     # The following way of writing the cache mishandles newlines in values,
   1769 (
   1770   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1771     eval ac_val=\$$ac_var
   1772     case $ac_val in #(
   1773     *${as_nl}*)
   1774       case $ac_var in #(
   1775       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1777       esac
   1778       case $ac_var in #(
   1779       _ | IFS | as_nl) ;; #(
   1780       *) $as_unset $ac_var ;;
   1781       esac ;;
   1782     esac
   1783   done
   1784   (set) 2>&1 |
   1785     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1786     *${as_nl}ac_space=\ *)
   1787       sed -n \
   1788 	"s/'\''/'\''\\\\'\'''\''/g;
   1789 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1790       ;; #(
   1791     *)
   1792       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1793       ;;
   1794     esac |
   1795     sort
   1796 )
   1797     echo
   1798 
   1799     cat <<\_ASBOX
   1800 ## ----------------- ##
   1801 ## Output variables. ##
   1802 ## ----------------- ##
   1803 _ASBOX
   1804     echo
   1805     for ac_var in $ac_subst_vars
   1806     do
   1807       eval ac_val=\$$ac_var
   1808       case $ac_val in
   1809       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1810       esac
   1811       echo "$ac_var='\''$ac_val'\''"
   1812     done | sort
   1813     echo
   1814 
   1815     if test -n "$ac_subst_files"; then
   1816       cat <<\_ASBOX
   1817 ## ------------------- ##
   1818 ## File substitutions. ##
   1819 ## ------------------- ##
   1820 _ASBOX
   1821       echo
   1822       for ac_var in $ac_subst_files
   1823       do
   1824 	eval ac_val=\$$ac_var
   1825 	case $ac_val in
   1826 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1827 	esac
   1828 	echo "$ac_var='\''$ac_val'\''"
   1829       done | sort
   1830       echo
   1831     fi
   1832 
   1833     if test -s confdefs.h; then
   1834       cat <<\_ASBOX
   1835 ## ----------- ##
   1836 ## confdefs.h. ##
   1837 ## ----------- ##
   1838 _ASBOX
   1839       echo
   1840       cat confdefs.h
   1841       echo
   1842     fi
   1843     test "$ac_signal" != 0 &&
   1844       echo "$as_me: caught signal $ac_signal"
   1845     echo "$as_me: exit $exit_status"
   1846   } >&5
   1847   rm -f core *.core core.conftest.* &&
   1848     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1849     exit $exit_status
   1850 ' 0
   1851 for ac_signal in 1 2 13 15; do
   1852   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1853 done
   1854 ac_signal=0
   1855 
   1856 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1857 rm -f -r conftest* confdefs.h
   1858 
   1859 # Predefined preprocessor variables.
   1860 
   1861 cat >>confdefs.h <<_ACEOF
   1862 #define PACKAGE_NAME "$PACKAGE_NAME"
   1863 _ACEOF
   1864 
   1865 
   1866 cat >>confdefs.h <<_ACEOF
   1867 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1868 _ACEOF
   1869 
   1870 
   1871 cat >>confdefs.h <<_ACEOF
   1872 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1873 _ACEOF
   1874 
   1875 
   1876 cat >>confdefs.h <<_ACEOF
   1877 #define PACKAGE_STRING "$PACKAGE_STRING"
   1878 _ACEOF
   1879 
   1880 
   1881 cat >>confdefs.h <<_ACEOF
   1882 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1883 _ACEOF
   1884 
   1885 
   1886 # Let the site file select an alternate cache file if it wants to.
   1887 # Prefer explicitly selected file to automatically selected ones.
   1888 if test -n "$CONFIG_SITE"; then
   1889   set x "$CONFIG_SITE"
   1890 elif test "x$prefix" != xNONE; then
   1891   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1892 else
   1893   set x "$ac_default_prefix/share/config.site" \
   1894 	"$ac_default_prefix/etc/config.site"
   1895 fi
   1896 shift
   1897 for ac_site_file
   1898 do
   1899   if test -r "$ac_site_file"; then
   1900     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1901 echo "$as_me: loading site script $ac_site_file" >&6;}
   1902     sed 's/^/| /' "$ac_site_file" >&5
   1903     . "$ac_site_file"
   1904   fi
   1905 done
   1906 
   1907 if test -r "$cache_file"; then
   1908   # Some versions of bash will fail to source /dev/null (special
   1909   # files actually), so we avoid doing that.
   1910   if test -f "$cache_file"; then
   1911     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1912 echo "$as_me: loading cache $cache_file" >&6;}
   1913     case $cache_file in
   1914       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1915       *)                      . "./$cache_file";;
   1916     esac
   1917   fi
   1918 else
   1919   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1920 echo "$as_me: creating cache $cache_file" >&6;}
   1921   >$cache_file
   1922 fi
   1923 
   1924 # Check that the precious variables saved in the cache have kept the same
   1925 # value.
   1926 ac_cache_corrupted=false
   1927 for ac_var in $ac_precious_vars; do
   1928   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1929   eval ac_new_set=\$ac_env_${ac_var}_set
   1930   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1931   eval ac_new_val=\$ac_env_${ac_var}_value
   1932   case $ac_old_set,$ac_new_set in
   1933     set,)
   1934       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1935 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1936       ac_cache_corrupted=: ;;
   1937     ,set)
   1938       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1939 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1940       ac_cache_corrupted=: ;;
   1941     ,);;
   1942     *)
   1943       if test "x$ac_old_val" != "x$ac_new_val"; then
   1944 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1945 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1946 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1947 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1948 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1949 echo "$as_me:   current value: $ac_new_val" >&2;}
   1950 	ac_cache_corrupted=:
   1951       fi;;
   1952   esac
   1953   # Pass precious variables to config.status.
   1954   if test "$ac_new_set" = set; then
   1955     case $ac_new_val in
   1956     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1957     *) ac_arg=$ac_var=$ac_new_val ;;
   1958     esac
   1959     case " $ac_configure_args " in
   1960       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1961       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1962     esac
   1963   fi
   1964 done
   1965 if $ac_cache_corrupted; then
   1966   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1967 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1968   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1969 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1970    { (exit 1); exit 1; }; }
   1971 fi
   1972 
   1973 
   1974 
   1975 
   1976 
   1977 
   1978 
   1979 
   1980 
   1981 
   1982 
   1983 
   1984 
   1985 
   1986 
   1987 
   1988 
   1989 
   1990 
   1991 
   1992 
   1993 
   1994 
   1995 
   1996 
   1997 ac_ext=c
   1998 ac_cpp='$CPP $CPPFLAGS'
   1999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2002 
   2003 
   2004 
   2005 
   2006 ac_config_headers="$ac_config_headers config.h"
   2007 
   2008 ac_aux_dir=
   2009 for ac_dir in . "$srcdir"/.; do
   2010   if test -f "$ac_dir/install-sh"; then
   2011     ac_aux_dir=$ac_dir
   2012     ac_install_sh="$ac_aux_dir/install-sh -c"
   2013     break
   2014   elif test -f "$ac_dir/install.sh"; then
   2015     ac_aux_dir=$ac_dir
   2016     ac_install_sh="$ac_aux_dir/install.sh -c"
   2017     break
   2018   elif test -f "$ac_dir/shtool"; then
   2019     ac_aux_dir=$ac_dir
   2020     ac_install_sh="$ac_aux_dir/shtool install -c"
   2021     break
   2022   fi
   2023 done
   2024 if test -z "$ac_aux_dir"; then
   2025   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2026 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2027    { (exit 1); exit 1; }; }
   2028 fi
   2029 
   2030 # These three variables are undocumented and unsupported,
   2031 # and are intended to be withdrawn in a future Autoconf release.
   2032 # They can cause serious problems if a builder's source tree is in a directory
   2033 # whose full name contains unusual characters.
   2034 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2035 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2036 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2037 
   2038 
   2039 
   2040 am__api_version='1.10'
   2041 
   2042 # Find a good install program.  We prefer a C program (faster),
   2043 # so one script is as good as another.  But avoid the broken or
   2044 # incompatible versions:
   2045 # SysV /etc/install, /usr/sbin/install
   2046 # SunOS /usr/etc/install
   2047 # IRIX /sbin/install
   2048 # AIX /bin/install
   2049 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2050 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2051 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2052 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2053 # OS/2's system install, which has a completely different semantic
   2054 # ./install, which can be erroneously created by make from ./install.sh.
   2055 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2056 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2057 if test -z "$INSTALL"; then
   2058 if test "${ac_cv_path_install+set}" = set; then
   2059   echo $ECHO_N "(cached) $ECHO_C" >&6
   2060 else
   2061   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2062 for as_dir in $PATH
   2063 do
   2064   IFS=$as_save_IFS
   2065   test -z "$as_dir" && as_dir=.
   2066   # Account for people who put trailing slashes in PATH elements.
   2067 case $as_dir/ in
   2068   ./ | .// | /cC/* | \
   2069   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2070   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2071   /usr/ucb/* ) ;;
   2072   *)
   2073     # OSF1 and SCO ODT 3.0 have their own names for install.
   2074     # Don't use installbsd from OSF since it installs stuff as root
   2075     # by default.
   2076     for ac_prog in ginstall scoinst install; do
   2077       for ac_exec_ext in '' $ac_executable_extensions; do
   2078 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2079 	  if test $ac_prog = install &&
   2080 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2081 	    # AIX install.  It has an incompatible calling convention.
   2082 	    :
   2083 	  elif test $ac_prog = install &&
   2084 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2085 	    # program-specific install script used by HP pwplus--don't use.
   2086 	    :
   2087 	  else
   2088 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2089 	    break 3
   2090 	  fi
   2091 	fi
   2092       done
   2093     done
   2094     ;;
   2095 esac
   2096 done
   2097 IFS=$as_save_IFS
   2098 
   2099 
   2100 fi
   2101   if test "${ac_cv_path_install+set}" = set; then
   2102     INSTALL=$ac_cv_path_install
   2103   else
   2104     # As a last resort, use the slow shell script.  Don't cache a
   2105     # value for INSTALL within a source directory, because that will
   2106     # break other packages using the cache if that directory is
   2107     # removed, or if the value is a relative name.
   2108     INSTALL=$ac_install_sh
   2109   fi
   2110 fi
   2111 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2112 echo "${ECHO_T}$INSTALL" >&6; }
   2113 
   2114 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2115 # It thinks the first close brace ends the variable substitution.
   2116 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2117 
   2118 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2119 
   2120 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2121 
   2122 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2123 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2124 # Just in case
   2125 sleep 1
   2126 echo timestamp > conftest.file
   2127 # Do `set' in a subshell so we don't clobber the current shell's
   2128 # arguments.  Must try -L first in case configure is actually a
   2129 # symlink; some systems play weird games with the mod time of symlinks
   2130 # (eg FreeBSD returns the mod time of the symlink's containing
   2131 # directory).
   2132 if (
   2133    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2134    if test "$*" = "X"; then
   2135       # -L didn't work.
   2136       set X `ls -t $srcdir/configure conftest.file`
   2137    fi
   2138    rm -f conftest.file
   2139    if test "$*" != "X $srcdir/configure conftest.file" \
   2140       && test "$*" != "X conftest.file $srcdir/configure"; then
   2141 
   2142       # If neither matched, then we have a broken ls.  This can happen
   2143       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2144       # broken ls alias from the environment.  This has actually
   2145       # happened.  Such a system could not be considered "sane".
   2146       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2147 alias in your environment" >&5
   2148 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2149 alias in your environment" >&2;}
   2150    { (exit 1); exit 1; }; }
   2151    fi
   2152 
   2153    test "$2" = conftest.file
   2154    )
   2155 then
   2156    # Ok.
   2157    :
   2158 else
   2159    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2160 Check your system clock" >&5
   2161 echo "$as_me: error: newly created file is older than distributed files!
   2162 Check your system clock" >&2;}
   2163    { (exit 1); exit 1; }; }
   2164 fi
   2165 { echo "$as_me:$LINENO: result: yes" >&5
   2166 echo "${ECHO_T}yes" >&6; }
   2167 test "$program_prefix" != NONE &&
   2168   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2169 # Use a double $ so make ignores it.
   2170 test "$program_suffix" != NONE &&
   2171   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2172 # Double any \ or $.  echo might interpret backslashes.
   2173 # By default was `s,x,x', remove it if useless.
   2174 cat <<\_ACEOF >conftest.sed
   2175 s/[\\$]/&&/g;s/;s,x,x,$//
   2176 _ACEOF
   2177 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2178 rm -f conftest.sed
   2179 
   2180 # expand $ac_aux_dir to an absolute path
   2181 am_aux_dir=`cd $ac_aux_dir && pwd`
   2182 
   2183 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2184 # Use eval to expand $SHELL
   2185 if eval "$MISSING --run true"; then
   2186   am_missing_run="$MISSING --run "
   2187 else
   2188   am_missing_run=
   2189   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2190 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2191 fi
   2192 
   2193 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2194 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2195 if test -z "$MKDIR_P"; then
   2196   if test "${ac_cv_path_mkdir+set}" = set; then
   2197   echo $ECHO_N "(cached) $ECHO_C" >&6
   2198 else
   2199   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2200 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2201 do
   2202   IFS=$as_save_IFS
   2203   test -z "$as_dir" && as_dir=.
   2204   for ac_prog in mkdir gmkdir; do
   2205 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2206 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2207 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2208 	     'mkdir (GNU coreutils) '* | \
   2209 	     'mkdir (coreutils) '* | \
   2210 	     'mkdir (fileutils) '4.1*)
   2211 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2212 	       break 3;;
   2213 	   esac
   2214 	 done
   2215        done
   2216 done
   2217 IFS=$as_save_IFS
   2218 
   2219 fi
   2220 
   2221   if test "${ac_cv_path_mkdir+set}" = set; then
   2222     MKDIR_P="$ac_cv_path_mkdir -p"
   2223   else
   2224     # As a last resort, use the slow shell script.  Don't cache a
   2225     # value for MKDIR_P within a source directory, because that will
   2226     # break other packages using the cache if that directory is
   2227     # removed, or if the value is a relative name.
   2228     test -d ./--version && rmdir ./--version
   2229     MKDIR_P="$ac_install_sh -d"
   2230   fi
   2231 fi
   2232 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2233 echo "${ECHO_T}$MKDIR_P" >&6; }
   2234 
   2235 mkdir_p="$MKDIR_P"
   2236 case $mkdir_p in
   2237   [\\/$]* | ?:[\\/]*) ;;
   2238   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2239 esac
   2240 
   2241 for ac_prog in gawk mawk nawk awk
   2242 do
   2243   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2244 set dummy $ac_prog; ac_word=$2
   2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2247 if test "${ac_cv_prog_AWK+set}" = set; then
   2248   echo $ECHO_N "(cached) $ECHO_C" >&6
   2249 else
   2250   if test -n "$AWK"; then
   2251   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2252 else
   2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2254 for as_dir in $PATH
   2255 do
   2256   IFS=$as_save_IFS
   2257   test -z "$as_dir" && as_dir=.
   2258   for ac_exec_ext in '' $ac_executable_extensions; do
   2259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2260     ac_cv_prog_AWK="$ac_prog"
   2261     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2262     break 2
   2263   fi
   2264 done
   2265 done
   2266 IFS=$as_save_IFS
   2267 
   2268 fi
   2269 fi
   2270 AWK=$ac_cv_prog_AWK
   2271 if test -n "$AWK"; then
   2272   { echo "$as_me:$LINENO: result: $AWK" >&5
   2273 echo "${ECHO_T}$AWK" >&6; }
   2274 else
   2275   { echo "$as_me:$LINENO: result: no" >&5
   2276 echo "${ECHO_T}no" >&6; }
   2277 fi
   2278 
   2279 
   2280   test -n "$AWK" && break
   2281 done
   2282 
   2283 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2284 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2285 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2286 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2287   echo $ECHO_N "(cached) $ECHO_C" >&6
   2288 else
   2289   cat >conftest.make <<\_ACEOF
   2290 SHELL = /bin/sh
   2291 all:
   2292 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2293 _ACEOF
   2294 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2295 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2296   *@@@%%%=?*=@@@%%%*)
   2297     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2298   *)
   2299     eval ac_cv_prog_make_${ac_make}_set=no;;
   2300 esac
   2301 rm -f conftest.make
   2302 fi
   2303 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2304   { echo "$as_me:$LINENO: result: yes" >&5
   2305 echo "${ECHO_T}yes" >&6; }
   2306   SET_MAKE=
   2307 else
   2308   { echo "$as_me:$LINENO: result: no" >&5
   2309 echo "${ECHO_T}no" >&6; }
   2310   SET_MAKE="MAKE=${MAKE-make}"
   2311 fi
   2312 
   2313 rm -rf .tst 2>/dev/null
   2314 mkdir .tst 2>/dev/null
   2315 if test -d .tst; then
   2316   am__leading_dot=.
   2317 else
   2318   am__leading_dot=_
   2319 fi
   2320 rmdir .tst 2>/dev/null
   2321 
   2322 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2323   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2324   # is not polluted with repeated "-I."
   2325   am__isrc=' -I$(srcdir)'
   2326   # test to see if srcdir already configured
   2327   if test -f $srcdir/config.status; then
   2328     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2329 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2330    { (exit 1); exit 1; }; }
   2331   fi
   2332 fi
   2333 
   2334 # test whether we have cygpath
   2335 if test -z "$CYGPATH_W"; then
   2336   if (cygpath --version) >/dev/null 2>/dev/null; then
   2337     CYGPATH_W='cygpath -w'
   2338   else
   2339     CYGPATH_W=echo
   2340   fi
   2341 fi
   2342 
   2343 
   2344 # Define the identity of the package.
   2345  PACKAGE='xf86-video-mach64'
   2346  VERSION='6.8.0'
   2347 
   2348 
   2349 cat >>confdefs.h <<_ACEOF
   2350 #define PACKAGE "$PACKAGE"
   2351 _ACEOF
   2352 
   2353 
   2354 cat >>confdefs.h <<_ACEOF
   2355 #define VERSION "$VERSION"
   2356 _ACEOF
   2357 
   2358 # Some tools Automake needs.
   2359 
   2360 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2361 
   2362 
   2363 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2364 
   2365 
   2366 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2367 
   2368 
   2369 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2370 
   2371 
   2372 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2373 
   2374 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2375 
   2376 # Installed binaries are usually stripped using `strip' when the user
   2377 # run `make install-strip'.  However `strip' might not be the right
   2378 # tool to use in cross-compilation environments, therefore Automake
   2379 # will honor the `STRIP' environment variable to overrule this program.
   2380 if test "$cross_compiling" != no; then
   2381   if test -n "$ac_tool_prefix"; then
   2382   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2383 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2386 if test "${ac_cv_prog_STRIP+set}" = set; then
   2387   echo $ECHO_N "(cached) $ECHO_C" >&6
   2388 else
   2389   if test -n "$STRIP"; then
   2390   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2391 else
   2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2393 for as_dir in $PATH
   2394 do
   2395   IFS=$as_save_IFS
   2396   test -z "$as_dir" && as_dir=.
   2397   for ac_exec_ext in '' $ac_executable_extensions; do
   2398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2399     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2400     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2401     break 2
   2402   fi
   2403 done
   2404 done
   2405 IFS=$as_save_IFS
   2406 
   2407 fi
   2408 fi
   2409 STRIP=$ac_cv_prog_STRIP
   2410 if test -n "$STRIP"; then
   2411   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2412 echo "${ECHO_T}$STRIP" >&6; }
   2413 else
   2414   { echo "$as_me:$LINENO: result: no" >&5
   2415 echo "${ECHO_T}no" >&6; }
   2416 fi
   2417 
   2418 
   2419 fi
   2420 if test -z "$ac_cv_prog_STRIP"; then
   2421   ac_ct_STRIP=$STRIP
   2422   # Extract the first word of "strip", so it can be a program name with args.
   2423 set dummy strip; ac_word=$2
   2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2426 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2427   echo $ECHO_N "(cached) $ECHO_C" >&6
   2428 else
   2429   if test -n "$ac_ct_STRIP"; then
   2430   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2431 else
   2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437   for ac_exec_ext in '' $ac_executable_extensions; do
   2438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2439     ac_cv_prog_ac_ct_STRIP="strip"
   2440     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2441     break 2
   2442   fi
   2443 done
   2444 done
   2445 IFS=$as_save_IFS
   2446 
   2447 fi
   2448 fi
   2449 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2450 if test -n "$ac_ct_STRIP"; then
   2451   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2452 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2453 else
   2454   { echo "$as_me:$LINENO: result: no" >&5
   2455 echo "${ECHO_T}no" >&6; }
   2456 fi
   2457 
   2458   if test "x$ac_ct_STRIP" = x; then
   2459     STRIP=":"
   2460   else
   2461     case $cross_compiling:$ac_tool_warned in
   2462 yes:)
   2463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2464 whose name does not start with the host triplet.  If you think this
   2465 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2467 whose name does not start with the host triplet.  If you think this
   2468 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2469 ac_tool_warned=yes ;;
   2470 esac
   2471     STRIP=$ac_ct_STRIP
   2472   fi
   2473 else
   2474   STRIP="$ac_cv_prog_STRIP"
   2475 fi
   2476 
   2477 fi
   2478 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2479 
   2480 # We need awk for the "check" target.  The system "awk" is bad on
   2481 # some platforms.
   2482 # Always define AMTAR for backward compatibility.
   2483 
   2484 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2485 
   2486 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2487 
   2488 
   2489 
   2490 
   2491 
   2492 
   2493 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2494 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2495     # Check whether --enable-maintainer-mode was given.
   2496 if test "${enable_maintainer_mode+set}" = set; then
   2497   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2498 else
   2499   USE_MAINTAINER_MODE=no
   2500 fi
   2501 
   2502   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2503 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2504    if test $USE_MAINTAINER_MODE = yes; then
   2505   MAINTAINER_MODE_TRUE=
   2506   MAINTAINER_MODE_FALSE='#'
   2507 else
   2508   MAINTAINER_MODE_TRUE='#'
   2509   MAINTAINER_MODE_FALSE=
   2510 fi
   2511 
   2512   MAINT=$MAINTAINER_MODE_TRUE
   2513 
   2514 
   2515 
   2516 # Checks for programs.
   2517 # Check whether --enable-static was given.
   2518 if test "${enable_static+set}" = set; then
   2519   enableval=$enable_static; p=${PACKAGE-default}
   2520     case $enableval in
   2521     yes) enable_static=yes ;;
   2522     no) enable_static=no ;;
   2523     *)
   2524      enable_static=no
   2525       # Look at the argument we got.  We use all the common list separators.
   2526       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2527       for pkg in $enableval; do
   2528 	IFS="$lt_save_ifs"
   2529 	if test "X$pkg" = "X$p"; then
   2530 	  enable_static=yes
   2531 	fi
   2532       done
   2533       IFS="$lt_save_ifs"
   2534       ;;
   2535     esac
   2536 else
   2537   enable_static=no
   2538 fi
   2539 
   2540 
   2541 
   2542 # Check whether --enable-shared was given.
   2543 if test "${enable_shared+set}" = set; then
   2544   enableval=$enable_shared; p=${PACKAGE-default}
   2545     case $enableval in
   2546     yes) enable_shared=yes ;;
   2547     no) enable_shared=no ;;
   2548     *)
   2549       enable_shared=no
   2550       # Look at the argument we got.  We use all the common list separators.
   2551       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2552       for pkg in $enableval; do
   2553 	IFS="$lt_save_ifs"
   2554 	if test "X$pkg" = "X$p"; then
   2555 	  enable_shared=yes
   2556 	fi
   2557       done
   2558       IFS="$lt_save_ifs"
   2559       ;;
   2560     esac
   2561 else
   2562   enable_shared=yes
   2563 fi
   2564 
   2565 
   2566 # Check whether --enable-fast-install was given.
   2567 if test "${enable_fast_install+set}" = set; then
   2568   enableval=$enable_fast_install; p=${PACKAGE-default}
   2569     case $enableval in
   2570     yes) enable_fast_install=yes ;;
   2571     no) enable_fast_install=no ;;
   2572     *)
   2573       enable_fast_install=no
   2574       # Look at the argument we got.  We use all the common list separators.
   2575       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2576       for pkg in $enableval; do
   2577 	IFS="$lt_save_ifs"
   2578 	if test "X$pkg" = "X$p"; then
   2579 	  enable_fast_install=yes
   2580 	fi
   2581       done
   2582       IFS="$lt_save_ifs"
   2583       ;;
   2584     esac
   2585 else
   2586   enable_fast_install=yes
   2587 fi
   2588 
   2589 
   2590 # Make sure we can run config.sub.
   2591 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2592   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2593 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2594    { (exit 1); exit 1; }; }
   2595 
   2596 { echo "$as_me:$LINENO: checking build system type" >&5
   2597 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2598 if test "${ac_cv_build+set}" = set; then
   2599   echo $ECHO_N "(cached) $ECHO_C" >&6
   2600 else
   2601   ac_build_alias=$build_alias
   2602 test "x$ac_build_alias" = x &&
   2603   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2604 test "x$ac_build_alias" = x &&
   2605   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2606 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2607    { (exit 1); exit 1; }; }
   2608 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2609   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2610 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2611    { (exit 1); exit 1; }; }
   2612 
   2613 fi
   2614 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2615 echo "${ECHO_T}$ac_cv_build" >&6; }
   2616 case $ac_cv_build in
   2617 *-*-*) ;;
   2618 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2619 echo "$as_me: error: invalid value of canonical build" >&2;}
   2620    { (exit 1); exit 1; }; };;
   2621 esac
   2622 build=$ac_cv_build
   2623 ac_save_IFS=$IFS; IFS='-'
   2624 set x $ac_cv_build
   2625 shift
   2626 build_cpu=$1
   2627 build_vendor=$2
   2628 shift; shift
   2629 # Remember, the first character of IFS is used to create $*,
   2630 # except with old shells:
   2631 build_os=$*
   2632 IFS=$ac_save_IFS
   2633 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2634 
   2635 
   2636 { echo "$as_me:$LINENO: checking host system type" >&5
   2637 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2638 if test "${ac_cv_host+set}" = set; then
   2639   echo $ECHO_N "(cached) $ECHO_C" >&6
   2640 else
   2641   if test "x$host_alias" = x; then
   2642   ac_cv_host=$ac_cv_build
   2643 else
   2644   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2645     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2646 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2647    { (exit 1); exit 1; }; }
   2648 fi
   2649 
   2650 fi
   2651 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2652 echo "${ECHO_T}$ac_cv_host" >&6; }
   2653 case $ac_cv_host in
   2654 *-*-*) ;;
   2655 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2656 echo "$as_me: error: invalid value of canonical host" >&2;}
   2657    { (exit 1); exit 1; }; };;
   2658 esac
   2659 host=$ac_cv_host
   2660 ac_save_IFS=$IFS; IFS='-'
   2661 set x $ac_cv_host
   2662 shift
   2663 host_cpu=$1
   2664 host_vendor=$2
   2665 shift; shift
   2666 # Remember, the first character of IFS is used to create $*,
   2667 # except with old shells:
   2668 host_os=$*
   2669 IFS=$ac_save_IFS
   2670 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2671 
   2672 
   2673 DEPDIR="${am__leading_dot}deps"
   2674 
   2675 ac_config_commands="$ac_config_commands depfiles"
   2676 
   2677 
   2678 am_make=${MAKE-make}
   2679 cat > confinc << 'END'
   2680 am__doit:
   2681 	@echo done
   2682 .PHONY: am__doit
   2683 END
   2684 # If we don't find an include directive, just comment out the code.
   2685 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2686 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2687 am__include="#"
   2688 am__quote=
   2689 _am_result=none
   2690 # First try GNU make style include.
   2691 echo "include confinc" > confmf
   2692 # We grep out `Entering directory' and `Leaving directory'
   2693 # messages which can occur if `w' ends up in MAKEFLAGS.
   2694 # In particular we don't look at `^make:' because GNU make might
   2695 # be invoked under some other name (usually "gmake"), in which
   2696 # case it prints its new name instead of `make'.
   2697 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2698    am__include=include
   2699    am__quote=
   2700    _am_result=GNU
   2701 fi
   2702 # Now try BSD make style include.
   2703 if test "$am__include" = "#"; then
   2704    echo '.include "confinc"' > confmf
   2705    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2706       am__include=.include
   2707       am__quote="\""
   2708       _am_result=BSD
   2709    fi
   2710 fi
   2711 
   2712 
   2713 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2714 echo "${ECHO_T}$_am_result" >&6; }
   2715 rm -f confinc confmf
   2716 
   2717 # Check whether --enable-dependency-tracking was given.
   2718 if test "${enable_dependency_tracking+set}" = set; then
   2719   enableval=$enable_dependency_tracking;
   2720 fi
   2721 
   2722 if test "x$enable_dependency_tracking" != xno; then
   2723   am_depcomp="$ac_aux_dir/depcomp"
   2724   AMDEPBACKSLASH='\'
   2725 fi
   2726  if test "x$enable_dependency_tracking" != xno; then
   2727   AMDEP_TRUE=
   2728   AMDEP_FALSE='#'
   2729 else
   2730   AMDEP_TRUE='#'
   2731   AMDEP_FALSE=
   2732 fi
   2733 
   2734 
   2735 ac_ext=c
   2736 ac_cpp='$CPP $CPPFLAGS'
   2737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2740 if test -n "$ac_tool_prefix"; then
   2741   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2742 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2745 if test "${ac_cv_prog_CC+set}" = set; then
   2746   echo $ECHO_N "(cached) $ECHO_C" >&6
   2747 else
   2748   if test -n "$CC"; then
   2749   ac_cv_prog_CC="$CC" # Let the user override the test.
   2750 else
   2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2752 for as_dir in $PATH
   2753 do
   2754   IFS=$as_save_IFS
   2755   test -z "$as_dir" && as_dir=.
   2756   for ac_exec_ext in '' $ac_executable_extensions; do
   2757   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2758     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2759     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2760     break 2
   2761   fi
   2762 done
   2763 done
   2764 IFS=$as_save_IFS
   2765 
   2766 fi
   2767 fi
   2768 CC=$ac_cv_prog_CC
   2769 if test -n "$CC"; then
   2770   { echo "$as_me:$LINENO: result: $CC" >&5
   2771 echo "${ECHO_T}$CC" >&6; }
   2772 else
   2773   { echo "$as_me:$LINENO: result: no" >&5
   2774 echo "${ECHO_T}no" >&6; }
   2775 fi
   2776 
   2777 
   2778 fi
   2779 if test -z "$ac_cv_prog_CC"; then
   2780   ac_ct_CC=$CC
   2781   # Extract the first word of "gcc", so it can be a program name with args.
   2782 set dummy gcc; ac_word=$2
   2783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2786   echo $ECHO_N "(cached) $ECHO_C" >&6
   2787 else
   2788   if test -n "$ac_ct_CC"; then
   2789   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2790 else
   2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2792 for as_dir in $PATH
   2793 do
   2794   IFS=$as_save_IFS
   2795   test -z "$as_dir" && as_dir=.
   2796   for ac_exec_ext in '' $ac_executable_extensions; do
   2797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2798     ac_cv_prog_ac_ct_CC="gcc"
   2799     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2800     break 2
   2801   fi
   2802 done
   2803 done
   2804 IFS=$as_save_IFS
   2805 
   2806 fi
   2807 fi
   2808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2809 if test -n "$ac_ct_CC"; then
   2810   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2811 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2812 else
   2813   { echo "$as_me:$LINENO: result: no" >&5
   2814 echo "${ECHO_T}no" >&6; }
   2815 fi
   2816 
   2817   if test "x$ac_ct_CC" = x; then
   2818     CC=""
   2819   else
   2820     case $cross_compiling:$ac_tool_warned in
   2821 yes:)
   2822 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2823 whose name does not start with the host triplet.  If you think this
   2824 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2825 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2826 whose name does not start with the host triplet.  If you think this
   2827 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2828 ac_tool_warned=yes ;;
   2829 esac
   2830     CC=$ac_ct_CC
   2831   fi
   2832 else
   2833   CC="$ac_cv_prog_CC"
   2834 fi
   2835 
   2836 if test -z "$CC"; then
   2837           if test -n "$ac_tool_prefix"; then
   2838     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2839 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2842 if test "${ac_cv_prog_CC+set}" = set; then
   2843   echo $ECHO_N "(cached) $ECHO_C" >&6
   2844 else
   2845   if test -n "$CC"; then
   2846   ac_cv_prog_CC="$CC" # Let the user override the test.
   2847 else
   2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2849 for as_dir in $PATH
   2850 do
   2851   IFS=$as_save_IFS
   2852   test -z "$as_dir" && as_dir=.
   2853   for ac_exec_ext in '' $ac_executable_extensions; do
   2854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2855     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2856     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2857     break 2
   2858   fi
   2859 done
   2860 done
   2861 IFS=$as_save_IFS
   2862 
   2863 fi
   2864 fi
   2865 CC=$ac_cv_prog_CC
   2866 if test -n "$CC"; then
   2867   { echo "$as_me:$LINENO: result: $CC" >&5
   2868 echo "${ECHO_T}$CC" >&6; }
   2869 else
   2870   { echo "$as_me:$LINENO: result: no" >&5
   2871 echo "${ECHO_T}no" >&6; }
   2872 fi
   2873 
   2874 
   2875   fi
   2876 fi
   2877 if test -z "$CC"; then
   2878   # Extract the first word of "cc", so it can be a program name with args.
   2879 set dummy cc; ac_word=$2
   2880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2882 if test "${ac_cv_prog_CC+set}" = set; then
   2883   echo $ECHO_N "(cached) $ECHO_C" >&6
   2884 else
   2885   if test -n "$CC"; then
   2886   ac_cv_prog_CC="$CC" # Let the user override the test.
   2887 else
   2888   ac_prog_rejected=no
   2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2890 for as_dir in $PATH
   2891 do
   2892   IFS=$as_save_IFS
   2893   test -z "$as_dir" && as_dir=.
   2894   for ac_exec_ext in '' $ac_executable_extensions; do
   2895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2896     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2897        ac_prog_rejected=yes
   2898        continue
   2899      fi
   2900     ac_cv_prog_CC="cc"
   2901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2902     break 2
   2903   fi
   2904 done
   2905 done
   2906 IFS=$as_save_IFS
   2907 
   2908 if test $ac_prog_rejected = yes; then
   2909   # We found a bogon in the path, so make sure we never use it.
   2910   set dummy $ac_cv_prog_CC
   2911   shift
   2912   if test $# != 0; then
   2913     # We chose a different compiler from the bogus one.
   2914     # However, it has the same basename, so the bogon will be chosen
   2915     # first if we set CC to just the basename; use the full file name.
   2916     shift
   2917     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2918   fi
   2919 fi
   2920 fi
   2921 fi
   2922 CC=$ac_cv_prog_CC
   2923 if test -n "$CC"; then
   2924   { echo "$as_me:$LINENO: result: $CC" >&5
   2925 echo "${ECHO_T}$CC" >&6; }
   2926 else
   2927   { echo "$as_me:$LINENO: result: no" >&5
   2928 echo "${ECHO_T}no" >&6; }
   2929 fi
   2930 
   2931 
   2932 fi
   2933 if test -z "$CC"; then
   2934   if test -n "$ac_tool_prefix"; then
   2935   for ac_prog in cl.exe
   2936   do
   2937     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2941 if test "${ac_cv_prog_CC+set}" = set; then
   2942   echo $ECHO_N "(cached) $ECHO_C" >&6
   2943 else
   2944   if test -n "$CC"; then
   2945   ac_cv_prog_CC="$CC" # Let the user override the test.
   2946 else
   2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2948 for as_dir in $PATH
   2949 do
   2950   IFS=$as_save_IFS
   2951   test -z "$as_dir" && as_dir=.
   2952   for ac_exec_ext in '' $ac_executable_extensions; do
   2953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2954     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2955     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2956     break 2
   2957   fi
   2958 done
   2959 done
   2960 IFS=$as_save_IFS
   2961 
   2962 fi
   2963 fi
   2964 CC=$ac_cv_prog_CC
   2965 if test -n "$CC"; then
   2966   { echo "$as_me:$LINENO: result: $CC" >&5
   2967 echo "${ECHO_T}$CC" >&6; }
   2968 else
   2969   { echo "$as_me:$LINENO: result: no" >&5
   2970 echo "${ECHO_T}no" >&6; }
   2971 fi
   2972 
   2973 
   2974     test -n "$CC" && break
   2975   done
   2976 fi
   2977 if test -z "$CC"; then
   2978   ac_ct_CC=$CC
   2979   for ac_prog in cl.exe
   2980 do
   2981   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2982 set dummy $ac_prog; ac_word=$2
   2983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2986   echo $ECHO_N "(cached) $ECHO_C" >&6
   2987 else
   2988   if test -n "$ac_ct_CC"; then
   2989   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2990 else
   2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2992 for as_dir in $PATH
   2993 do
   2994   IFS=$as_save_IFS
   2995   test -z "$as_dir" && as_dir=.
   2996   for ac_exec_ext in '' $ac_executable_extensions; do
   2997   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2998     ac_cv_prog_ac_ct_CC="$ac_prog"
   2999     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3000     break 2
   3001   fi
   3002 done
   3003 done
   3004 IFS=$as_save_IFS
   3005 
   3006 fi
   3007 fi
   3008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3009 if test -n "$ac_ct_CC"; then
   3010   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3011 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3012 else
   3013   { echo "$as_me:$LINENO: result: no" >&5
   3014 echo "${ECHO_T}no" >&6; }
   3015 fi
   3016 
   3017 
   3018   test -n "$ac_ct_CC" && break
   3019 done
   3020 
   3021   if test "x$ac_ct_CC" = x; then
   3022     CC=""
   3023   else
   3024     case $cross_compiling:$ac_tool_warned in
   3025 yes:)
   3026 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3027 whose name does not start with the host triplet.  If you think this
   3028 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3029 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3030 whose name does not start with the host triplet.  If you think this
   3031 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3032 ac_tool_warned=yes ;;
   3033 esac
   3034     CC=$ac_ct_CC
   3035   fi
   3036 fi
   3037 
   3038 fi
   3039 
   3040 
   3041 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3042 See \`config.log' for more details." >&5
   3043 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3044 See \`config.log' for more details." >&2;}
   3045    { (exit 1); exit 1; }; }
   3046 
   3047 # Provide some information about the compiler.
   3048 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3049 ac_compiler=`set X $ac_compile; echo $2`
   3050 { (ac_try="$ac_compiler --version >&5"
   3051 case "(($ac_try" in
   3052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3053   *) ac_try_echo=$ac_try;;
   3054 esac
   3055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3056   (eval "$ac_compiler --version >&5") 2>&5
   3057   ac_status=$?
   3058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3059   (exit $ac_status); }
   3060 { (ac_try="$ac_compiler -v >&5"
   3061 case "(($ac_try" in
   3062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3063   *) ac_try_echo=$ac_try;;
   3064 esac
   3065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3066   (eval "$ac_compiler -v >&5") 2>&5
   3067   ac_status=$?
   3068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3069   (exit $ac_status); }
   3070 { (ac_try="$ac_compiler -V >&5"
   3071 case "(($ac_try" in
   3072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3073   *) ac_try_echo=$ac_try;;
   3074 esac
   3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3076   (eval "$ac_compiler -V >&5") 2>&5
   3077   ac_status=$?
   3078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3079   (exit $ac_status); }
   3080 
   3081 cat >conftest.$ac_ext <<_ACEOF
   3082 /* confdefs.h.  */
   3083 _ACEOF
   3084 cat confdefs.h >>conftest.$ac_ext
   3085 cat >>conftest.$ac_ext <<_ACEOF
   3086 /* end confdefs.h.  */
   3087 
   3088 int
   3089 main ()
   3090 {
   3091 
   3092   ;
   3093   return 0;
   3094 }
   3095 _ACEOF
   3096 ac_clean_files_save=$ac_clean_files
   3097 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3098 # Try to create an executable without -o first, disregard a.out.
   3099 # It will help us diagnose broken compilers, and finding out an intuition
   3100 # of exeext.
   3101 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3102 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3103 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3104 #
   3105 # List of possible output files, starting from the most likely.
   3106 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3107 # only as a last resort.  b.out is created by i960 compilers.
   3108 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3109 #
   3110 # The IRIX 6 linker writes into existing files which may not be
   3111 # executable, retaining their permissions.  Remove them first so a
   3112 # subsequent execution test works.
   3113 ac_rmfiles=
   3114 for ac_file in $ac_files
   3115 do
   3116   case $ac_file in
   3117     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3118     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3119   esac
   3120 done
   3121 rm -f $ac_rmfiles
   3122 
   3123 if { (ac_try="$ac_link_default"
   3124 case "(($ac_try" in
   3125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3126   *) ac_try_echo=$ac_try;;
   3127 esac
   3128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3129   (eval "$ac_link_default") 2>&5
   3130   ac_status=$?
   3131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3132   (exit $ac_status); }; then
   3133   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3134 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3135 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3136 # so that the user can short-circuit this test for compilers unknown to
   3137 # Autoconf.
   3138 for ac_file in $ac_files ''
   3139 do
   3140   test -f "$ac_file" || continue
   3141   case $ac_file in
   3142     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3143 	;;
   3144     [ab].out )
   3145 	# We found the default executable, but exeext='' is most
   3146 	# certainly right.
   3147 	break;;
   3148     *.* )
   3149         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3150 	then :; else
   3151 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3152 	fi
   3153 	# We set ac_cv_exeext here because the later test for it is not
   3154 	# safe: cross compilers may not add the suffix if given an `-o'
   3155 	# argument, so we may need to know it at that point already.
   3156 	# Even if this section looks crufty: it has the advantage of
   3157 	# actually working.
   3158 	break;;
   3159     * )
   3160 	break;;
   3161   esac
   3162 done
   3163 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3164 
   3165 else
   3166   ac_file=''
   3167 fi
   3168 
   3169 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3170 echo "${ECHO_T}$ac_file" >&6; }
   3171 if test -z "$ac_file"; then
   3172   echo "$as_me: failed program was:" >&5
   3173 sed 's/^/| /' conftest.$ac_ext >&5
   3174 
   3175 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3176 See \`config.log' for more details." >&5
   3177 echo "$as_me: error: C compiler cannot create executables
   3178 See \`config.log' for more details." >&2;}
   3179    { (exit 77); exit 77; }; }
   3180 fi
   3181 
   3182 ac_exeext=$ac_cv_exeext
   3183 
   3184 # Check that the compiler produces executables we can run.  If not, either
   3185 # the compiler is broken, or we cross compile.
   3186 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3187 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3188 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3189 # If not cross compiling, check that we can run a simple program.
   3190 if test "$cross_compiling" != yes; then
   3191   if { ac_try='./$ac_file'
   3192   { (case "(($ac_try" in
   3193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3194   *) ac_try_echo=$ac_try;;
   3195 esac
   3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3197   (eval "$ac_try") 2>&5
   3198   ac_status=$?
   3199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3200   (exit $ac_status); }; }; then
   3201     cross_compiling=no
   3202   else
   3203     if test "$cross_compiling" = maybe; then
   3204 	cross_compiling=yes
   3205     else
   3206 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3207 If you meant to cross compile, use \`--host'.
   3208 See \`config.log' for more details." >&5
   3209 echo "$as_me: error: cannot run C compiled programs.
   3210 If you meant to cross compile, use \`--host'.
   3211 See \`config.log' for more details." >&2;}
   3212    { (exit 1); exit 1; }; }
   3213     fi
   3214   fi
   3215 fi
   3216 { echo "$as_me:$LINENO: result: yes" >&5
   3217 echo "${ECHO_T}yes" >&6; }
   3218 
   3219 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3220 ac_clean_files=$ac_clean_files_save
   3221 # Check that the compiler produces executables we can run.  If not, either
   3222 # the compiler is broken, or we cross compile.
   3223 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3224 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3225 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3226 echo "${ECHO_T}$cross_compiling" >&6; }
   3227 
   3228 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3229 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3230 if { (ac_try="$ac_link"
   3231 case "(($ac_try" in
   3232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3233   *) ac_try_echo=$ac_try;;
   3234 esac
   3235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3236   (eval "$ac_link") 2>&5
   3237   ac_status=$?
   3238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3239   (exit $ac_status); }; then
   3240   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3241 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3242 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3243 # `rm'.
   3244 for ac_file in conftest.exe conftest conftest.*; do
   3245   test -f "$ac_file" || continue
   3246   case $ac_file in
   3247     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3248     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3249 	  break;;
   3250     * ) break;;
   3251   esac
   3252 done
   3253 else
   3254   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3255 See \`config.log' for more details." >&5
   3256 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3257 See \`config.log' for more details." >&2;}
   3258    { (exit 1); exit 1; }; }
   3259 fi
   3260 
   3261 rm -f conftest$ac_cv_exeext
   3262 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3263 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3264 
   3265 rm -f conftest.$ac_ext
   3266 EXEEXT=$ac_cv_exeext
   3267 ac_exeext=$EXEEXT
   3268 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3269 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3270 if test "${ac_cv_objext+set}" = set; then
   3271   echo $ECHO_N "(cached) $ECHO_C" >&6
   3272 else
   3273   cat >conftest.$ac_ext <<_ACEOF
   3274 /* confdefs.h.  */
   3275 _ACEOF
   3276 cat confdefs.h >>conftest.$ac_ext
   3277 cat >>conftest.$ac_ext <<_ACEOF
   3278 /* end confdefs.h.  */
   3279 
   3280 int
   3281 main ()
   3282 {
   3283 
   3284   ;
   3285   return 0;
   3286 }
   3287 _ACEOF
   3288 rm -f conftest.o conftest.obj
   3289 if { (ac_try="$ac_compile"
   3290 case "(($ac_try" in
   3291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3292   *) ac_try_echo=$ac_try;;
   3293 esac
   3294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3295   (eval "$ac_compile") 2>&5
   3296   ac_status=$?
   3297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3298   (exit $ac_status); }; then
   3299   for ac_file in conftest.o conftest.obj conftest.*; do
   3300   test -f "$ac_file" || continue;
   3301   case $ac_file in
   3302     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3303     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3304        break;;
   3305   esac
   3306 done
   3307 else
   3308   echo "$as_me: failed program was:" >&5
   3309 sed 's/^/| /' conftest.$ac_ext >&5
   3310 
   3311 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3312 See \`config.log' for more details." >&5
   3313 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3314 See \`config.log' for more details." >&2;}
   3315    { (exit 1); exit 1; }; }
   3316 fi
   3317 
   3318 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3319 fi
   3320 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3321 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3322 OBJEXT=$ac_cv_objext
   3323 ac_objext=$OBJEXT
   3324 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3325 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3326 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3327   echo $ECHO_N "(cached) $ECHO_C" >&6
   3328 else
   3329   cat >conftest.$ac_ext <<_ACEOF
   3330 /* confdefs.h.  */
   3331 _ACEOF
   3332 cat confdefs.h >>conftest.$ac_ext
   3333 cat >>conftest.$ac_ext <<_ACEOF
   3334 /* end confdefs.h.  */
   3335 
   3336 int
   3337 main ()
   3338 {
   3339 #ifndef __GNUC__
   3340        choke me
   3341 #endif
   3342 
   3343   ;
   3344   return 0;
   3345 }
   3346 _ACEOF
   3347 rm -f conftest.$ac_objext
   3348 if { (ac_try="$ac_compile"
   3349 case "(($ac_try" in
   3350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3351   *) ac_try_echo=$ac_try;;
   3352 esac
   3353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3354   (eval "$ac_compile") 2>conftest.er1
   3355   ac_status=$?
   3356   grep -v '^ *+' conftest.er1 >conftest.err
   3357   rm -f conftest.er1
   3358   cat conftest.err >&5
   3359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3360   (exit $ac_status); } && {
   3361 	 test -z "$ac_c_werror_flag" ||
   3362 	 test ! -s conftest.err
   3363        } && test -s conftest.$ac_objext; then
   3364   ac_compiler_gnu=yes
   3365 else
   3366   echo "$as_me: failed program was:" >&5
   3367 sed 's/^/| /' conftest.$ac_ext >&5
   3368 
   3369 	ac_compiler_gnu=no
   3370 fi
   3371 
   3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3373 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3374 
   3375 fi
   3376 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3377 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3378 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3379 ac_test_CFLAGS=${CFLAGS+set}
   3380 ac_save_CFLAGS=$CFLAGS
   3381 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3382 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3383 if test "${ac_cv_prog_cc_g+set}" = set; then
   3384   echo $ECHO_N "(cached) $ECHO_C" >&6
   3385 else
   3386   ac_save_c_werror_flag=$ac_c_werror_flag
   3387    ac_c_werror_flag=yes
   3388    ac_cv_prog_cc_g=no
   3389    CFLAGS="-g"
   3390    cat >conftest.$ac_ext <<_ACEOF
   3391 /* confdefs.h.  */
   3392 _ACEOF
   3393 cat confdefs.h >>conftest.$ac_ext
   3394 cat >>conftest.$ac_ext <<_ACEOF
   3395 /* end confdefs.h.  */
   3396 
   3397 int
   3398 main ()
   3399 {
   3400 
   3401   ;
   3402   return 0;
   3403 }
   3404 _ACEOF
   3405 rm -f conftest.$ac_objext
   3406 if { (ac_try="$ac_compile"
   3407 case "(($ac_try" in
   3408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3409   *) ac_try_echo=$ac_try;;
   3410 esac
   3411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3412   (eval "$ac_compile") 2>conftest.er1
   3413   ac_status=$?
   3414   grep -v '^ *+' conftest.er1 >conftest.err
   3415   rm -f conftest.er1
   3416   cat conftest.err >&5
   3417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3418   (exit $ac_status); } && {
   3419 	 test -z "$ac_c_werror_flag" ||
   3420 	 test ! -s conftest.err
   3421        } && test -s conftest.$ac_objext; then
   3422   ac_cv_prog_cc_g=yes
   3423 else
   3424   echo "$as_me: failed program was:" >&5
   3425 sed 's/^/| /' conftest.$ac_ext >&5
   3426 
   3427 	CFLAGS=""
   3428       cat >conftest.$ac_ext <<_ACEOF
   3429 /* confdefs.h.  */
   3430 _ACEOF
   3431 cat confdefs.h >>conftest.$ac_ext
   3432 cat >>conftest.$ac_ext <<_ACEOF
   3433 /* end confdefs.h.  */
   3434 
   3435 int
   3436 main ()
   3437 {
   3438 
   3439   ;
   3440   return 0;
   3441 }
   3442 _ACEOF
   3443 rm -f conftest.$ac_objext
   3444 if { (ac_try="$ac_compile"
   3445 case "(($ac_try" in
   3446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3447   *) ac_try_echo=$ac_try;;
   3448 esac
   3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3450   (eval "$ac_compile") 2>conftest.er1
   3451   ac_status=$?
   3452   grep -v '^ *+' conftest.er1 >conftest.err
   3453   rm -f conftest.er1
   3454   cat conftest.err >&5
   3455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3456   (exit $ac_status); } && {
   3457 	 test -z "$ac_c_werror_flag" ||
   3458 	 test ! -s conftest.err
   3459        } && test -s conftest.$ac_objext; then
   3460   :
   3461 else
   3462   echo "$as_me: failed program was:" >&5
   3463 sed 's/^/| /' conftest.$ac_ext >&5
   3464 
   3465 	ac_c_werror_flag=$ac_save_c_werror_flag
   3466 	 CFLAGS="-g"
   3467 	 cat >conftest.$ac_ext <<_ACEOF
   3468 /* confdefs.h.  */
   3469 _ACEOF
   3470 cat confdefs.h >>conftest.$ac_ext
   3471 cat >>conftest.$ac_ext <<_ACEOF
   3472 /* end confdefs.h.  */
   3473 
   3474 int
   3475 main ()
   3476 {
   3477 
   3478   ;
   3479   return 0;
   3480 }
   3481 _ACEOF
   3482 rm -f conftest.$ac_objext
   3483 if { (ac_try="$ac_compile"
   3484 case "(($ac_try" in
   3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3486   *) ac_try_echo=$ac_try;;
   3487 esac
   3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3489   (eval "$ac_compile") 2>conftest.er1
   3490   ac_status=$?
   3491   grep -v '^ *+' conftest.er1 >conftest.err
   3492   rm -f conftest.er1
   3493   cat conftest.err >&5
   3494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3495   (exit $ac_status); } && {
   3496 	 test -z "$ac_c_werror_flag" ||
   3497 	 test ! -s conftest.err
   3498        } && test -s conftest.$ac_objext; then
   3499   ac_cv_prog_cc_g=yes
   3500 else
   3501   echo "$as_me: failed program was:" >&5
   3502 sed 's/^/| /' conftest.$ac_ext >&5
   3503 
   3504 
   3505 fi
   3506 
   3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3508 fi
   3509 
   3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3511 fi
   3512 
   3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3514    ac_c_werror_flag=$ac_save_c_werror_flag
   3515 fi
   3516 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3518 if test "$ac_test_CFLAGS" = set; then
   3519   CFLAGS=$ac_save_CFLAGS
   3520 elif test $ac_cv_prog_cc_g = yes; then
   3521   if test "$GCC" = yes; then
   3522     CFLAGS="-g -O2"
   3523   else
   3524     CFLAGS="-g"
   3525   fi
   3526 else
   3527   if test "$GCC" = yes; then
   3528     CFLAGS="-O2"
   3529   else
   3530     CFLAGS=
   3531   fi
   3532 fi
   3533 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3534 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3535 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3536   echo $ECHO_N "(cached) $ECHO_C" >&6
   3537 else
   3538   ac_cv_prog_cc_c89=no
   3539 ac_save_CC=$CC
   3540 cat >conftest.$ac_ext <<_ACEOF
   3541 /* confdefs.h.  */
   3542 _ACEOF
   3543 cat confdefs.h >>conftest.$ac_ext
   3544 cat >>conftest.$ac_ext <<_ACEOF
   3545 /* end confdefs.h.  */
   3546 #include <stdarg.h>
   3547 #include <stdio.h>
   3548 #include <sys/types.h>
   3549 #include <sys/stat.h>
   3550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3551 struct buf { int x; };
   3552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3553 static char *e (p, i)
   3554      char **p;
   3555      int i;
   3556 {
   3557   return p[i];
   3558 }
   3559 static char *f (char * (*g) (char **, int), char **p, ...)
   3560 {
   3561   char *s;
   3562   va_list v;
   3563   va_start (v,p);
   3564   s = g (p, va_arg (v,int));
   3565   va_end (v);
   3566   return s;
   3567 }
   3568 
   3569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3570    function prototypes and stuff, but not '\xHH' hex character constants.
   3571    These don't provoke an error unfortunately, instead are silently treated
   3572    as 'x'.  The following induces an error, until -std is added to get
   3573    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3574    array size at least.  It's necessary to write '\x00'==0 to get something
   3575    that's true only with -std.  */
   3576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3577 
   3578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3579    inside strings and character constants.  */
   3580 #define FOO(x) 'x'
   3581 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3582 
   3583 int test (int i, double x);
   3584 struct s1 {int (*f) (int a);};
   3585 struct s2 {int (*f) (double a);};
   3586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3587 int argc;
   3588 char **argv;
   3589 int
   3590 main ()
   3591 {
   3592 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3593   ;
   3594   return 0;
   3595 }
   3596 _ACEOF
   3597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3598 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3599 do
   3600   CC="$ac_save_CC $ac_arg"
   3601   rm -f conftest.$ac_objext
   3602 if { (ac_try="$ac_compile"
   3603 case "(($ac_try" in
   3604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3605   *) ac_try_echo=$ac_try;;
   3606 esac
   3607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3608   (eval "$ac_compile") 2>conftest.er1
   3609   ac_status=$?
   3610   grep -v '^ *+' conftest.er1 >conftest.err
   3611   rm -f conftest.er1
   3612   cat conftest.err >&5
   3613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3614   (exit $ac_status); } && {
   3615 	 test -z "$ac_c_werror_flag" ||
   3616 	 test ! -s conftest.err
   3617        } && test -s conftest.$ac_objext; then
   3618   ac_cv_prog_cc_c89=$ac_arg
   3619 else
   3620   echo "$as_me: failed program was:" >&5
   3621 sed 's/^/| /' conftest.$ac_ext >&5
   3622 
   3623 
   3624 fi
   3625 
   3626 rm -f core conftest.err conftest.$ac_objext
   3627   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3628 done
   3629 rm -f conftest.$ac_ext
   3630 CC=$ac_save_CC
   3631 
   3632 fi
   3633 # AC_CACHE_VAL
   3634 case "x$ac_cv_prog_cc_c89" in
   3635   x)
   3636     { echo "$as_me:$LINENO: result: none needed" >&5
   3637 echo "${ECHO_T}none needed" >&6; } ;;
   3638   xno)
   3639     { echo "$as_me:$LINENO: result: unsupported" >&5
   3640 echo "${ECHO_T}unsupported" >&6; } ;;
   3641   *)
   3642     CC="$CC $ac_cv_prog_cc_c89"
   3643     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3644 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3645 esac
   3646 
   3647 
   3648 ac_ext=c
   3649 ac_cpp='$CPP $CPPFLAGS'
   3650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3653 
   3654 depcc="$CC"   am_compiler_list=
   3655 
   3656 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3657 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3658 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3659   echo $ECHO_N "(cached) $ECHO_C" >&6
   3660 else
   3661   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3662   # We make a subdir and do the tests there.  Otherwise we can end up
   3663   # making bogus files that we don't know about and never remove.  For
   3664   # instance it was reported that on HP-UX the gcc test will end up
   3665   # making a dummy file named `D' -- because `-MD' means `put the output
   3666   # in D'.
   3667   mkdir conftest.dir
   3668   # Copy depcomp to subdir because otherwise we won't find it if we're
   3669   # using a relative directory.
   3670   cp "$am_depcomp" conftest.dir
   3671   cd conftest.dir
   3672   # We will build objects and dependencies in a subdirectory because
   3673   # it helps to detect inapplicable dependency modes.  For instance
   3674   # both Tru64's cc and ICC support -MD to output dependencies as a
   3675   # side effect of compilation, but ICC will put the dependencies in
   3676   # the current directory while Tru64 will put them in the object
   3677   # directory.
   3678   mkdir sub
   3679 
   3680   am_cv_CC_dependencies_compiler_type=none
   3681   if test "$am_compiler_list" = ""; then
   3682      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3683   fi
   3684   for depmode in $am_compiler_list; do
   3685     # Setup a source with many dependencies, because some compilers
   3686     # like to wrap large dependency lists on column 80 (with \), and
   3687     # we should not choose a depcomp mode which is confused by this.
   3688     #
   3689     # We need to recreate these files for each test, as the compiler may
   3690     # overwrite some of them when testing with obscure command lines.
   3691     # This happens at least with the AIX C compiler.
   3692     : > sub/conftest.c
   3693     for i in 1 2 3 4 5 6; do
   3694       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3695       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3696       # Solaris 8's {/usr,}/bin/sh.
   3697       touch sub/conftst$i.h
   3698     done
   3699     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3700 
   3701     case $depmode in
   3702     nosideeffect)
   3703       # after this tag, mechanisms are not by side-effect, so they'll
   3704       # only be used when explicitly requested
   3705       if test "x$enable_dependency_tracking" = xyes; then
   3706 	continue
   3707       else
   3708 	break
   3709       fi
   3710       ;;
   3711     none) break ;;
   3712     esac
   3713     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3714     # mode.  It turns out that the SunPro C++ compiler does not properly
   3715     # handle `-M -o', and we need to detect this.
   3716     if depmode=$depmode \
   3717        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3718        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3719        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3720          >/dev/null 2>conftest.err &&
   3721        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3722        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3723        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3724        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3725       # icc doesn't choke on unknown options, it will just issue warnings
   3726       # or remarks (even with -Werror).  So we grep stderr for any message
   3727       # that says an option was ignored or not supported.
   3728       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3729       #   icc: Command line warning: ignoring option '-M'; no argument required
   3730       # The diagnosis changed in icc 8.0:
   3731       #   icc: Command line remark: option '-MP' not supported
   3732       if (grep 'ignoring option' conftest.err ||
   3733           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3734         am_cv_CC_dependencies_compiler_type=$depmode
   3735         break
   3736       fi
   3737     fi
   3738   done
   3739 
   3740   cd ..
   3741   rm -rf conftest.dir
   3742 else
   3743   am_cv_CC_dependencies_compiler_type=none
   3744 fi
   3745 
   3746 fi
   3747 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3748 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3749 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3750 
   3751  if
   3752   test "x$enable_dependency_tracking" != xno \
   3753   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3754   am__fastdepCC_TRUE=
   3755   am__fastdepCC_FALSE='#'
   3756 else
   3757   am__fastdepCC_TRUE='#'
   3758   am__fastdepCC_FALSE=
   3759 fi
   3760 
   3761 
   3762 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3763 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3764 if test "${lt_cv_path_SED+set}" = set; then
   3765   echo $ECHO_N "(cached) $ECHO_C" >&6
   3766 else
   3767   # Loop through the user's path and test for sed and gsed.
   3768 # Then use that list of sed's as ones to test for truncation.
   3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3770 for as_dir in $PATH
   3771 do
   3772   IFS=$as_save_IFS
   3773   test -z "$as_dir" && as_dir=.
   3774   for lt_ac_prog in sed gsed; do
   3775     for ac_exec_ext in '' $ac_executable_extensions; do
   3776       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3777         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3778       fi
   3779     done
   3780   done
   3781 done
   3782 IFS=$as_save_IFS
   3783 lt_ac_max=0
   3784 lt_ac_count=0
   3785 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3786 # along with /bin/sed that truncates output.
   3787 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3788   test ! -f $lt_ac_sed && continue
   3789   cat /dev/null > conftest.in
   3790   lt_ac_count=0
   3791   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3792   # Check for GNU sed and select it if it is found.
   3793   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3794     lt_cv_path_SED=$lt_ac_sed
   3795     break
   3796   fi
   3797   while true; do
   3798     cat conftest.in conftest.in >conftest.tmp
   3799     mv conftest.tmp conftest.in
   3800     cp conftest.in conftest.nl
   3801     echo >>conftest.nl
   3802     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3803     cmp -s conftest.out conftest.nl || break
   3804     # 10000 chars as input seems more than enough
   3805     test $lt_ac_count -gt 10 && break
   3806     lt_ac_count=`expr $lt_ac_count + 1`
   3807     if test $lt_ac_count -gt $lt_ac_max; then
   3808       lt_ac_max=$lt_ac_count
   3809       lt_cv_path_SED=$lt_ac_sed
   3810     fi
   3811   done
   3812 done
   3813 
   3814 fi
   3815 
   3816 SED=$lt_cv_path_SED
   3817 
   3818 { echo "$as_me:$LINENO: result: $SED" >&5
   3819 echo "${ECHO_T}$SED" >&6; }
   3820 
   3821 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3822 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3823 if test "${ac_cv_path_GREP+set}" = set; then
   3824   echo $ECHO_N "(cached) $ECHO_C" >&6
   3825 else
   3826   # Extract the first word of "grep ggrep" to use in msg output
   3827 if test -z "$GREP"; then
   3828 set dummy grep ggrep; ac_prog_name=$2
   3829 if test "${ac_cv_path_GREP+set}" = set; then
   3830   echo $ECHO_N "(cached) $ECHO_C" >&6
   3831 else
   3832   ac_path_GREP_found=false
   3833 # Loop through the user's path and test for each of PROGNAME-LIST
   3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3835 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3836 do
   3837   IFS=$as_save_IFS
   3838   test -z "$as_dir" && as_dir=.
   3839   for ac_prog in grep ggrep; do
   3840   for ac_exec_ext in '' $ac_executable_extensions; do
   3841     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3842     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3843     # Check for GNU ac_path_GREP and select it if it is found.
   3844   # Check for GNU $ac_path_GREP
   3845 case `"$ac_path_GREP" --version 2>&1` in
   3846 *GNU*)
   3847   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3848 *)
   3849   ac_count=0
   3850   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3851   while :
   3852   do
   3853     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3854     mv "conftest.tmp" "conftest.in"
   3855     cp "conftest.in" "conftest.nl"
   3856     echo 'GREP' >> "conftest.nl"
   3857     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3858     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3859     ac_count=`expr $ac_count + 1`
   3860     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3861       # Best one so far, save it but keep looking for a better one
   3862       ac_cv_path_GREP="$ac_path_GREP"
   3863       ac_path_GREP_max=$ac_count
   3864     fi
   3865     # 10*(2^10) chars as input seems more than enough
   3866     test $ac_count -gt 10 && break
   3867   done
   3868   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3869 esac
   3870 
   3871 
   3872     $ac_path_GREP_found && break 3
   3873   done
   3874 done
   3875 
   3876 done
   3877 IFS=$as_save_IFS
   3878 
   3879 
   3880 fi
   3881 
   3882 GREP="$ac_cv_path_GREP"
   3883 if test -z "$GREP"; then
   3884   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3885 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3886    { (exit 1); exit 1; }; }
   3887 fi
   3888 
   3889 else
   3890   ac_cv_path_GREP=$GREP
   3891 fi
   3892 
   3893 
   3894 fi
   3895 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3896 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3897  GREP="$ac_cv_path_GREP"
   3898 
   3899 
   3900 { echo "$as_me:$LINENO: checking for egrep" >&5
   3901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3902 if test "${ac_cv_path_EGREP+set}" = set; then
   3903   echo $ECHO_N "(cached) $ECHO_C" >&6
   3904 else
   3905   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3906    then ac_cv_path_EGREP="$GREP -E"
   3907    else
   3908      # Extract the first word of "egrep" to use in msg output
   3909 if test -z "$EGREP"; then
   3910 set dummy egrep; ac_prog_name=$2
   3911 if test "${ac_cv_path_EGREP+set}" = set; then
   3912   echo $ECHO_N "(cached) $ECHO_C" >&6
   3913 else
   3914   ac_path_EGREP_found=false
   3915 # Loop through the user's path and test for each of PROGNAME-LIST
   3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3918 do
   3919   IFS=$as_save_IFS
   3920   test -z "$as_dir" && as_dir=.
   3921   for ac_prog in egrep; do
   3922   for ac_exec_ext in '' $ac_executable_extensions; do
   3923     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3924     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3925     # Check for GNU ac_path_EGREP and select it if it is found.
   3926   # Check for GNU $ac_path_EGREP
   3927 case `"$ac_path_EGREP" --version 2>&1` in
   3928 *GNU*)
   3929   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3930 *)
   3931   ac_count=0
   3932   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3933   while :
   3934   do
   3935     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3936     mv "conftest.tmp" "conftest.in"
   3937     cp "conftest.in" "conftest.nl"
   3938     echo 'EGREP' >> "conftest.nl"
   3939     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3940     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3941     ac_count=`expr $ac_count + 1`
   3942     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3943       # Best one so far, save it but keep looking for a better one
   3944       ac_cv_path_EGREP="$ac_path_EGREP"
   3945       ac_path_EGREP_max=$ac_count
   3946     fi
   3947     # 10*(2^10) chars as input seems more than enough
   3948     test $ac_count -gt 10 && break
   3949   done
   3950   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3951 esac
   3952 
   3953 
   3954     $ac_path_EGREP_found && break 3
   3955   done
   3956 done
   3957 
   3958 done
   3959 IFS=$as_save_IFS
   3960 
   3961 
   3962 fi
   3963 
   3964 EGREP="$ac_cv_path_EGREP"
   3965 if test -z "$EGREP"; then
   3966   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3967 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3968    { (exit 1); exit 1; }; }
   3969 fi
   3970 
   3971 else
   3972   ac_cv_path_EGREP=$EGREP
   3973 fi
   3974 
   3975 
   3976    fi
   3977 fi
   3978 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3979 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3980  EGREP="$ac_cv_path_EGREP"
   3981 
   3982 
   3983 
   3984 # Check whether --with-gnu-ld was given.
   3985 if test "${with_gnu_ld+set}" = set; then
   3986   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3987 else
   3988   with_gnu_ld=no
   3989 fi
   3990 
   3991 ac_prog=ld
   3992 if test "$GCC" = yes; then
   3993   # Check if gcc -print-prog-name=ld gives a path.
   3994   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3995 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3996   case $host in
   3997   *-*-mingw*)
   3998     # gcc leaves a trailing carriage return which upsets mingw
   3999     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4000   *)
   4001     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4002   esac
   4003   case $ac_prog in
   4004     # Accept absolute paths.
   4005     [\\/]* | ?:[\\/]*)
   4006       re_direlt='/[^/][^/]*/\.\./'
   4007       # Canonicalize the pathname of ld
   4008       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4009       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4010 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4011       done
   4012       test -z "$LD" && LD="$ac_prog"
   4013       ;;
   4014   "")
   4015     # If it fails, then pretend we aren't using GCC.
   4016     ac_prog=ld
   4017     ;;
   4018   *)
   4019     # If it is relative, then search for the first ld in PATH.
   4020     with_gnu_ld=unknown
   4021     ;;
   4022   esac
   4023 elif test "$with_gnu_ld" = yes; then
   4024   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4025 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4026 else
   4027   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4028 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4029 fi
   4030 if test "${lt_cv_path_LD+set}" = set; then
   4031   echo $ECHO_N "(cached) $ECHO_C" >&6
   4032 else
   4033   if test -z "$LD"; then
   4034   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4035   for ac_dir in $PATH; do
   4036     IFS="$lt_save_ifs"
   4037     test -z "$ac_dir" && ac_dir=.
   4038     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4039       lt_cv_path_LD="$ac_dir/$ac_prog"
   4040       # Check to see if the program is GNU ld.  I'd rather use --version,
   4041       # but apparently some variants of GNU ld only accept -v.
   4042       # Break only if it was the GNU/non-GNU ld that we prefer.
   4043       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4044       *GNU* | *'with BFD'*)
   4045 	test "$with_gnu_ld" != no && break
   4046 	;;
   4047       *)
   4048 	test "$with_gnu_ld" != yes && break
   4049 	;;
   4050       esac
   4051     fi
   4052   done
   4053   IFS="$lt_save_ifs"
   4054 else
   4055   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4056 fi
   4057 fi
   4058 
   4059 LD="$lt_cv_path_LD"
   4060 if test -n "$LD"; then
   4061   { echo "$as_me:$LINENO: result: $LD" >&5
   4062 echo "${ECHO_T}$LD" >&6; }
   4063 else
   4064   { echo "$as_me:$LINENO: result: no" >&5
   4065 echo "${ECHO_T}no" >&6; }
   4066 fi
   4067 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4068 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4069    { (exit 1); exit 1; }; }
   4070 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4071 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4072 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4073   echo $ECHO_N "(cached) $ECHO_C" >&6
   4074 else
   4075   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4076 case `$LD -v 2>&1 </dev/null` in
   4077 *GNU* | *'with BFD'*)
   4078   lt_cv_prog_gnu_ld=yes
   4079   ;;
   4080 *)
   4081   lt_cv_prog_gnu_ld=no
   4082   ;;
   4083 esac
   4084 fi
   4085 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4086 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4087 with_gnu_ld=$lt_cv_prog_gnu_ld
   4088 
   4089 
   4090 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4091 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4092 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4093   echo $ECHO_N "(cached) $ECHO_C" >&6
   4094 else
   4095   lt_cv_ld_reload_flag='-r'
   4096 fi
   4097 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4098 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4099 reload_flag=$lt_cv_ld_reload_flag
   4100 case $reload_flag in
   4101 "" | " "*) ;;
   4102 *) reload_flag=" $reload_flag" ;;
   4103 esac
   4104 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4105 case $host_os in
   4106   darwin*)
   4107     if test "$GCC" = yes; then
   4108       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4109     else
   4110       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4111     fi
   4112     ;;
   4113 esac
   4114 
   4115 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4116 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4117 if test "${lt_cv_path_NM+set}" = set; then
   4118   echo $ECHO_N "(cached) $ECHO_C" >&6
   4119 else
   4120   if test -n "$NM"; then
   4121   # Let the user override the test.
   4122   lt_cv_path_NM="$NM"
   4123 else
   4124   lt_nm_to_check="${ac_tool_prefix}nm"
   4125   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4126     lt_nm_to_check="$lt_nm_to_check nm"
   4127   fi
   4128   for lt_tmp_nm in $lt_nm_to_check; do
   4129     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4130     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4131       IFS="$lt_save_ifs"
   4132       test -z "$ac_dir" && ac_dir=.
   4133       tmp_nm="$ac_dir/$lt_tmp_nm"
   4134       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4135 	# Check to see if the nm accepts a BSD-compat flag.
   4136 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4137 	#   nm: unknown option "B" ignored
   4138 	# Tru64's nm complains that /dev/null is an invalid object file
   4139 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4140 	*/dev/null* | *'Invalid file or object type'*)
   4141 	  lt_cv_path_NM="$tmp_nm -B"
   4142 	  break
   4143 	  ;;
   4144 	*)
   4145 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4146 	  */dev/null*)
   4147 	    lt_cv_path_NM="$tmp_nm -p"
   4148 	    break
   4149 	    ;;
   4150 	  *)
   4151 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4152 	    continue # so that we can try to find one that supports BSD flags
   4153 	    ;;
   4154 	  esac
   4155 	  ;;
   4156 	esac
   4157       fi
   4158     done
   4159     IFS="$lt_save_ifs"
   4160   done
   4161   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4162 fi
   4163 fi
   4164 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4165 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4166 NM="$lt_cv_path_NM"
   4167 
   4168 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4169 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4170 LN_S=$as_ln_s
   4171 if test "$LN_S" = "ln -s"; then
   4172   { echo "$as_me:$LINENO: result: yes" >&5
   4173 echo "${ECHO_T}yes" >&6; }
   4174 else
   4175   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4176 echo "${ECHO_T}no, using $LN_S" >&6; }
   4177 fi
   4178 
   4179 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4180 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4181 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4182   echo $ECHO_N "(cached) $ECHO_C" >&6
   4183 else
   4184   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4185 lt_cv_file_magic_test_file=
   4186 lt_cv_deplibs_check_method='unknown'
   4187 # Need to set the preceding variable on all platforms that support
   4188 # interlibrary dependencies.
   4189 # 'none' -- dependencies not supported.
   4190 # `unknown' -- same as none, but documents that we really don't know.
   4191 # 'pass_all' -- all dependencies passed with no checks.
   4192 # 'test_compile' -- check by making test program.
   4193 # 'file_magic [[regex]]' -- check by looking for files in library path
   4194 # which responds to the $file_magic_cmd with a given extended regex.
   4195 # If you have `file' or equivalent on your system and you're not sure
   4196 # whether `pass_all' will *always* work, you probably want this one.
   4197 
   4198 case $host_os in
   4199 aix4* | aix5*)
   4200   lt_cv_deplibs_check_method=pass_all
   4201   ;;
   4202 
   4203 beos*)
   4204   lt_cv_deplibs_check_method=pass_all
   4205   ;;
   4206 
   4207 bsdi[45]*)
   4208   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4209   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4210   lt_cv_file_magic_test_file=/shlib/libc.so
   4211   ;;
   4212 
   4213 cygwin*)
   4214   # func_win32_libid is a shell function defined in ltmain.sh
   4215   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4216   lt_cv_file_magic_cmd='func_win32_libid'
   4217   ;;
   4218 
   4219 mingw* | pw32*)
   4220   # Base MSYS/MinGW do not provide the 'file' command needed by
   4221   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4222   # unless we find 'file', for example because we are cross-compiling.
   4223   if ( file / ) >/dev/null 2>&1; then
   4224     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4225     lt_cv_file_magic_cmd='func_win32_libid'
   4226   else
   4227     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4228     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4229   fi
   4230   ;;
   4231 
   4232 darwin* | rhapsody*)
   4233   lt_cv_deplibs_check_method=pass_all
   4234   ;;
   4235 
   4236 freebsd* | dragonfly*)
   4237   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4238     case $host_cpu in
   4239     i*86 )
   4240       # Not sure whether the presence of OpenBSD here was a mistake.
   4241       # Let's accept both of them until this is cleared up.
   4242       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4243       lt_cv_file_magic_cmd=/usr/bin/file
   4244       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4245       ;;
   4246     esac
   4247   else
   4248     lt_cv_deplibs_check_method=pass_all
   4249   fi
   4250   ;;
   4251 
   4252 gnu*)
   4253   lt_cv_deplibs_check_method=pass_all
   4254   ;;
   4255 
   4256 hpux10.20* | hpux11*)
   4257   lt_cv_file_magic_cmd=/usr/bin/file
   4258   case $host_cpu in
   4259   ia64*)
   4260     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4261     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4262     ;;
   4263   hppa*64*)
   4264     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]'
   4265     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4266     ;;
   4267   *)
   4268     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4269     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4270     ;;
   4271   esac
   4272   ;;
   4273 
   4274 interix[3-9]*)
   4275   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4276   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4277   ;;
   4278 
   4279 irix5* | irix6* | nonstopux*)
   4280   case $LD in
   4281   *-32|*"-32 ") libmagic=32-bit;;
   4282   *-n32|*"-n32 ") libmagic=N32;;
   4283   *-64|*"-64 ") libmagic=64-bit;;
   4284   *) libmagic=never-match;;
   4285   esac
   4286   lt_cv_deplibs_check_method=pass_all
   4287   ;;
   4288 
   4289 # This must be Linux ELF.
   4290 linux* | k*bsd*-gnu)
   4291   lt_cv_deplibs_check_method=pass_all
   4292   ;;
   4293 
   4294 netbsd*)
   4295   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4296     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4297   else
   4298     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4299   fi
   4300   ;;
   4301 
   4302 newos6*)
   4303   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4304   lt_cv_file_magic_cmd=/usr/bin/file
   4305   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4306   ;;
   4307 
   4308 nto-qnx*)
   4309   lt_cv_deplibs_check_method=unknown
   4310   ;;
   4311 
   4312 openbsd*)
   4313   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4314     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4315   else
   4316     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4317   fi
   4318   ;;
   4319 
   4320 osf3* | osf4* | osf5*)
   4321   lt_cv_deplibs_check_method=pass_all
   4322   ;;
   4323 
   4324 rdos*)
   4325   lt_cv_deplibs_check_method=pass_all
   4326   ;;
   4327 
   4328 solaris*)
   4329   lt_cv_deplibs_check_method=pass_all
   4330   ;;
   4331 
   4332 sysv4 | sysv4.3*)
   4333   case $host_vendor in
   4334   motorola)
   4335     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]'
   4336     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4337     ;;
   4338   ncr)
   4339     lt_cv_deplibs_check_method=pass_all
   4340     ;;
   4341   sequent)
   4342     lt_cv_file_magic_cmd='/bin/file'
   4343     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4344     ;;
   4345   sni)
   4346     lt_cv_file_magic_cmd='/bin/file'
   4347     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4348     lt_cv_file_magic_test_file=/lib/libc.so
   4349     ;;
   4350   siemens)
   4351     lt_cv_deplibs_check_method=pass_all
   4352     ;;
   4353   pc)
   4354     lt_cv_deplibs_check_method=pass_all
   4355     ;;
   4356   esac
   4357   ;;
   4358 
   4359 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4360   lt_cv_deplibs_check_method=pass_all
   4361   ;;
   4362 esac
   4363 
   4364 fi
   4365 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4366 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4367 file_magic_cmd=$lt_cv_file_magic_cmd
   4368 deplibs_check_method=$lt_cv_deplibs_check_method
   4369 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4370 
   4371 
   4372 
   4373 
   4374 # If no C compiler was specified, use CC.
   4375 LTCC=${LTCC-"$CC"}
   4376 
   4377 # If no C compiler flags were specified, use CFLAGS.
   4378 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4379 
   4380 # Allow CC to be a program name with arguments.
   4381 compiler=$CC
   4382 
   4383 
   4384 # Check whether --enable-libtool-lock was given.
   4385 if test "${enable_libtool_lock+set}" = set; then
   4386   enableval=$enable_libtool_lock;
   4387 fi
   4388 
   4389 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4390 
   4391 # Some flags need to be propagated to the compiler or linker for good
   4392 # libtool support.
   4393 case $host in
   4394 ia64-*-hpux*)
   4395   # Find out which ABI we are using.
   4396   echo 'int i;' > conftest.$ac_ext
   4397   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4398   (eval $ac_compile) 2>&5
   4399   ac_status=$?
   4400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4401   (exit $ac_status); }; then
   4402     case `/usr/bin/file conftest.$ac_objext` in
   4403     *ELF-32*)
   4404       HPUX_IA64_MODE="32"
   4405       ;;
   4406     *ELF-64*)
   4407       HPUX_IA64_MODE="64"
   4408       ;;
   4409     esac
   4410   fi
   4411   rm -rf conftest*
   4412   ;;
   4413 *-*-irix6*)
   4414   # Find out which ABI we are using.
   4415   echo '#line 4415 "configure"' > conftest.$ac_ext
   4416   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4417   (eval $ac_compile) 2>&5
   4418   ac_status=$?
   4419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4420   (exit $ac_status); }; then
   4421    if test "$lt_cv_prog_gnu_ld" = yes; then
   4422     case `/usr/bin/file conftest.$ac_objext` in
   4423     *32-bit*)
   4424       LD="${LD-ld} -melf32bsmip"
   4425       ;;
   4426     *N32*)
   4427       LD="${LD-ld} -melf32bmipn32"
   4428       ;;
   4429     *64-bit*)
   4430       LD="${LD-ld} -melf64bmip"
   4431       ;;
   4432     esac
   4433    else
   4434     case `/usr/bin/file conftest.$ac_objext` in
   4435     *32-bit*)
   4436       LD="${LD-ld} -32"
   4437       ;;
   4438     *N32*)
   4439       LD="${LD-ld} -n32"
   4440       ;;
   4441     *64-bit*)
   4442       LD="${LD-ld} -64"
   4443       ;;
   4444     esac
   4445    fi
   4446   fi
   4447   rm -rf conftest*
   4448   ;;
   4449 
   4450 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4451 s390*-*linux*|sparc*-*linux*)
   4452   # Find out which ABI we are using.
   4453   echo 'int i;' > conftest.$ac_ext
   4454   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4455   (eval $ac_compile) 2>&5
   4456   ac_status=$?
   4457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4458   (exit $ac_status); }; then
   4459     case `/usr/bin/file conftest.o` in
   4460     *32-bit*)
   4461       case $host in
   4462         x86_64-*kfreebsd*-gnu)
   4463           LD="${LD-ld} -m elf_i386_fbsd"
   4464           ;;
   4465         x86_64-*linux*)
   4466           LD="${LD-ld} -m elf_i386"
   4467           ;;
   4468         ppc64-*linux*|powerpc64-*linux*)
   4469           LD="${LD-ld} -m elf32ppclinux"
   4470           ;;
   4471         s390x-*linux*)
   4472           LD="${LD-ld} -m elf_s390"
   4473           ;;
   4474         sparc64-*linux*)
   4475           LD="${LD-ld} -m elf32_sparc"
   4476           ;;
   4477       esac
   4478       ;;
   4479     *64-bit*)
   4480       libsuff=64
   4481       case $host in
   4482         x86_64-*kfreebsd*-gnu)
   4483           LD="${LD-ld} -m elf_x86_64_fbsd"
   4484           ;;
   4485         x86_64-*linux*)
   4486           LD="${LD-ld} -m elf_x86_64"
   4487           ;;
   4488         ppc*-*linux*|powerpc*-*linux*)
   4489           LD="${LD-ld} -m elf64ppc"
   4490           ;;
   4491         s390*-*linux*)
   4492           LD="${LD-ld} -m elf64_s390"
   4493           ;;
   4494         sparc*-*linux*)
   4495           LD="${LD-ld} -m elf64_sparc"
   4496           ;;
   4497       esac
   4498       ;;
   4499     esac
   4500   fi
   4501   rm -rf conftest*
   4502   ;;
   4503 
   4504 *-*-sco3.2v5*)
   4505   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4506   SAVE_CFLAGS="$CFLAGS"
   4507   CFLAGS="$CFLAGS -belf"
   4508   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4509 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4510 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4511   echo $ECHO_N "(cached) $ECHO_C" >&6
   4512 else
   4513   ac_ext=c
   4514 ac_cpp='$CPP $CPPFLAGS'
   4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4518 
   4519      cat >conftest.$ac_ext <<_ACEOF
   4520 /* confdefs.h.  */
   4521 _ACEOF
   4522 cat confdefs.h >>conftest.$ac_ext
   4523 cat >>conftest.$ac_ext <<_ACEOF
   4524 /* end confdefs.h.  */
   4525 
   4526 int
   4527 main ()
   4528 {
   4529 
   4530   ;
   4531   return 0;
   4532 }
   4533 _ACEOF
   4534 rm -f conftest.$ac_objext conftest$ac_exeext
   4535 if { (ac_try="$ac_link"
   4536 case "(($ac_try" in
   4537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4538   *) ac_try_echo=$ac_try;;
   4539 esac
   4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4541   (eval "$ac_link") 2>conftest.er1
   4542   ac_status=$?
   4543   grep -v '^ *+' conftest.er1 >conftest.err
   4544   rm -f conftest.er1
   4545   cat conftest.err >&5
   4546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4547   (exit $ac_status); } && {
   4548 	 test -z "$ac_c_werror_flag" ||
   4549 	 test ! -s conftest.err
   4550        } && test -s conftest$ac_exeext &&
   4551        $as_test_x conftest$ac_exeext; then
   4552   lt_cv_cc_needs_belf=yes
   4553 else
   4554   echo "$as_me: failed program was:" >&5
   4555 sed 's/^/| /' conftest.$ac_ext >&5
   4556 
   4557 	lt_cv_cc_needs_belf=no
   4558 fi
   4559 
   4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4561       conftest$ac_exeext conftest.$ac_ext
   4562      ac_ext=c
   4563 ac_cpp='$CPP $CPPFLAGS'
   4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4567 
   4568 fi
   4569 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4570 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4571   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4572     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4573     CFLAGS="$SAVE_CFLAGS"
   4574   fi
   4575   ;;
   4576 sparc*-*solaris*)
   4577   # Find out which ABI we are using.
   4578   echo 'int i;' > conftest.$ac_ext
   4579   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4580   (eval $ac_compile) 2>&5
   4581   ac_status=$?
   4582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4583   (exit $ac_status); }; then
   4584     case `/usr/bin/file conftest.o` in
   4585     *64-bit*)
   4586       case $lt_cv_prog_gnu_ld in
   4587       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4588       *)    LD="${LD-ld} -64" ;;
   4589       esac
   4590       ;;
   4591     esac
   4592   fi
   4593   rm -rf conftest*
   4594   ;;
   4595 
   4596 
   4597 esac
   4598 
   4599 need_locks="$enable_libtool_lock"
   4600 
   4601 
   4602 ac_ext=c
   4603 ac_cpp='$CPP $CPPFLAGS'
   4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4607 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4608 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4609 # On Suns, sometimes $CPP names a directory.
   4610 if test -n "$CPP" && test -d "$CPP"; then
   4611   CPP=
   4612 fi
   4613 if test -z "$CPP"; then
   4614   if test "${ac_cv_prog_CPP+set}" = set; then
   4615   echo $ECHO_N "(cached) $ECHO_C" >&6
   4616 else
   4617       # Double quotes because CPP needs to be expanded
   4618     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4619     do
   4620       ac_preproc_ok=false
   4621 for ac_c_preproc_warn_flag in '' yes
   4622 do
   4623   # Use a header file that comes with gcc, so configuring glibc
   4624   # with a fresh cross-compiler works.
   4625   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4626   # <limits.h> exists even on freestanding compilers.
   4627   # On the NeXT, cc -E runs the code through the compiler's parser,
   4628   # not just through cpp. "Syntax error" is here to catch this case.
   4629   cat >conftest.$ac_ext <<_ACEOF
   4630 /* confdefs.h.  */
   4631 _ACEOF
   4632 cat confdefs.h >>conftest.$ac_ext
   4633 cat >>conftest.$ac_ext <<_ACEOF
   4634 /* end confdefs.h.  */
   4635 #ifdef __STDC__
   4636 # include <limits.h>
   4637 #else
   4638 # include <assert.h>
   4639 #endif
   4640 		     Syntax error
   4641 _ACEOF
   4642 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4643 case "(($ac_try" in
   4644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4645   *) ac_try_echo=$ac_try;;
   4646 esac
   4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4648   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4649   ac_status=$?
   4650   grep -v '^ *+' conftest.er1 >conftest.err
   4651   rm -f conftest.er1
   4652   cat conftest.err >&5
   4653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4654   (exit $ac_status); } >/dev/null && {
   4655 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4656 	 test ! -s conftest.err
   4657        }; then
   4658   :
   4659 else
   4660   echo "$as_me: failed program was:" >&5
   4661 sed 's/^/| /' conftest.$ac_ext >&5
   4662 
   4663   # Broken: fails on valid input.
   4664 continue
   4665 fi
   4666 
   4667 rm -f conftest.err conftest.$ac_ext
   4668 
   4669   # OK, works on sane cases.  Now check whether nonexistent headers
   4670   # can be detected and how.
   4671   cat >conftest.$ac_ext <<_ACEOF
   4672 /* confdefs.h.  */
   4673 _ACEOF
   4674 cat confdefs.h >>conftest.$ac_ext
   4675 cat >>conftest.$ac_ext <<_ACEOF
   4676 /* end confdefs.h.  */
   4677 #include <ac_nonexistent.h>
   4678 _ACEOF
   4679 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4680 case "(($ac_try" in
   4681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4682   *) ac_try_echo=$ac_try;;
   4683 esac
   4684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4685   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4686   ac_status=$?
   4687   grep -v '^ *+' conftest.er1 >conftest.err
   4688   rm -f conftest.er1
   4689   cat conftest.err >&5
   4690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4691   (exit $ac_status); } >/dev/null && {
   4692 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4693 	 test ! -s conftest.err
   4694        }; then
   4695   # Broken: success on invalid input.
   4696 continue
   4697 else
   4698   echo "$as_me: failed program was:" >&5
   4699 sed 's/^/| /' conftest.$ac_ext >&5
   4700 
   4701   # Passes both tests.
   4702 ac_preproc_ok=:
   4703 break
   4704 fi
   4705 
   4706 rm -f conftest.err conftest.$ac_ext
   4707 
   4708 done
   4709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4710 rm -f conftest.err conftest.$ac_ext
   4711 if $ac_preproc_ok; then
   4712   break
   4713 fi
   4714 
   4715     done
   4716     ac_cv_prog_CPP=$CPP
   4717 
   4718 fi
   4719   CPP=$ac_cv_prog_CPP
   4720 else
   4721   ac_cv_prog_CPP=$CPP
   4722 fi
   4723 { echo "$as_me:$LINENO: result: $CPP" >&5
   4724 echo "${ECHO_T}$CPP" >&6; }
   4725 ac_preproc_ok=false
   4726 for ac_c_preproc_warn_flag in '' yes
   4727 do
   4728   # Use a header file that comes with gcc, so configuring glibc
   4729   # with a fresh cross-compiler works.
   4730   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4731   # <limits.h> exists even on freestanding compilers.
   4732   # On the NeXT, cc -E runs the code through the compiler's parser,
   4733   # not just through cpp. "Syntax error" is here to catch this case.
   4734   cat >conftest.$ac_ext <<_ACEOF
   4735 /* confdefs.h.  */
   4736 _ACEOF
   4737 cat confdefs.h >>conftest.$ac_ext
   4738 cat >>conftest.$ac_ext <<_ACEOF
   4739 /* end confdefs.h.  */
   4740 #ifdef __STDC__
   4741 # include <limits.h>
   4742 #else
   4743 # include <assert.h>
   4744 #endif
   4745 		     Syntax error
   4746 _ACEOF
   4747 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4748 case "(($ac_try" in
   4749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4750   *) ac_try_echo=$ac_try;;
   4751 esac
   4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4753   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4754   ac_status=$?
   4755   grep -v '^ *+' conftest.er1 >conftest.err
   4756   rm -f conftest.er1
   4757   cat conftest.err >&5
   4758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4759   (exit $ac_status); } >/dev/null && {
   4760 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4761 	 test ! -s conftest.err
   4762        }; then
   4763   :
   4764 else
   4765   echo "$as_me: failed program was:" >&5
   4766 sed 's/^/| /' conftest.$ac_ext >&5
   4767 
   4768   # Broken: fails on valid input.
   4769 continue
   4770 fi
   4771 
   4772 rm -f conftest.err conftest.$ac_ext
   4773 
   4774   # OK, works on sane cases.  Now check whether nonexistent headers
   4775   # can be detected and how.
   4776   cat >conftest.$ac_ext <<_ACEOF
   4777 /* confdefs.h.  */
   4778 _ACEOF
   4779 cat confdefs.h >>conftest.$ac_ext
   4780 cat >>conftest.$ac_ext <<_ACEOF
   4781 /* end confdefs.h.  */
   4782 #include <ac_nonexistent.h>
   4783 _ACEOF
   4784 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4785 case "(($ac_try" in
   4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4787   *) ac_try_echo=$ac_try;;
   4788 esac
   4789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4790   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4791   ac_status=$?
   4792   grep -v '^ *+' conftest.er1 >conftest.err
   4793   rm -f conftest.er1
   4794   cat conftest.err >&5
   4795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4796   (exit $ac_status); } >/dev/null && {
   4797 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4798 	 test ! -s conftest.err
   4799        }; then
   4800   # Broken: success on invalid input.
   4801 continue
   4802 else
   4803   echo "$as_me: failed program was:" >&5
   4804 sed 's/^/| /' conftest.$ac_ext >&5
   4805 
   4806   # Passes both tests.
   4807 ac_preproc_ok=:
   4808 break
   4809 fi
   4810 
   4811 rm -f conftest.err conftest.$ac_ext
   4812 
   4813 done
   4814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4815 rm -f conftest.err conftest.$ac_ext
   4816 if $ac_preproc_ok; then
   4817   :
   4818 else
   4819   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4820 See \`config.log' for more details." >&5
   4821 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4822 See \`config.log' for more details." >&2;}
   4823    { (exit 1); exit 1; }; }
   4824 fi
   4825 
   4826 ac_ext=c
   4827 ac_cpp='$CPP $CPPFLAGS'
   4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4831 
   4832 
   4833 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4834 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4835 if test "${ac_cv_header_stdc+set}" = set; then
   4836   echo $ECHO_N "(cached) $ECHO_C" >&6
   4837 else
   4838   cat >conftest.$ac_ext <<_ACEOF
   4839 /* confdefs.h.  */
   4840 _ACEOF
   4841 cat confdefs.h >>conftest.$ac_ext
   4842 cat >>conftest.$ac_ext <<_ACEOF
   4843 /* end confdefs.h.  */
   4844 #include <stdlib.h>
   4845 #include <stdarg.h>
   4846 #include <string.h>
   4847 #include <float.h>
   4848 
   4849 int
   4850 main ()
   4851 {
   4852 
   4853   ;
   4854   return 0;
   4855 }
   4856 _ACEOF
   4857 rm -f conftest.$ac_objext
   4858 if { (ac_try="$ac_compile"
   4859 case "(($ac_try" in
   4860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4861   *) ac_try_echo=$ac_try;;
   4862 esac
   4863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4864   (eval "$ac_compile") 2>conftest.er1
   4865   ac_status=$?
   4866   grep -v '^ *+' conftest.er1 >conftest.err
   4867   rm -f conftest.er1
   4868   cat conftest.err >&5
   4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4870   (exit $ac_status); } && {
   4871 	 test -z "$ac_c_werror_flag" ||
   4872 	 test ! -s conftest.err
   4873        } && test -s conftest.$ac_objext; then
   4874   ac_cv_header_stdc=yes
   4875 else
   4876   echo "$as_me: failed program was:" >&5
   4877 sed 's/^/| /' conftest.$ac_ext >&5
   4878 
   4879 	ac_cv_header_stdc=no
   4880 fi
   4881 
   4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4883 
   4884 if test $ac_cv_header_stdc = yes; then
   4885   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4886   cat >conftest.$ac_ext <<_ACEOF
   4887 /* confdefs.h.  */
   4888 _ACEOF
   4889 cat confdefs.h >>conftest.$ac_ext
   4890 cat >>conftest.$ac_ext <<_ACEOF
   4891 /* end confdefs.h.  */
   4892 #include <string.h>
   4893 
   4894 _ACEOF
   4895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4896   $EGREP "memchr" >/dev/null 2>&1; then
   4897   :
   4898 else
   4899   ac_cv_header_stdc=no
   4900 fi
   4901 rm -f conftest*
   4902 
   4903 fi
   4904 
   4905 if test $ac_cv_header_stdc = yes; then
   4906   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4907   cat >conftest.$ac_ext <<_ACEOF
   4908 /* confdefs.h.  */
   4909 _ACEOF
   4910 cat confdefs.h >>conftest.$ac_ext
   4911 cat >>conftest.$ac_ext <<_ACEOF
   4912 /* end confdefs.h.  */
   4913 #include <stdlib.h>
   4914 
   4915 _ACEOF
   4916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4917   $EGREP "free" >/dev/null 2>&1; then
   4918   :
   4919 else
   4920   ac_cv_header_stdc=no
   4921 fi
   4922 rm -f conftest*
   4923 
   4924 fi
   4925 
   4926 if test $ac_cv_header_stdc = yes; then
   4927   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4928   if test "$cross_compiling" = yes; then
   4929   :
   4930 else
   4931   cat >conftest.$ac_ext <<_ACEOF
   4932 /* confdefs.h.  */
   4933 _ACEOF
   4934 cat confdefs.h >>conftest.$ac_ext
   4935 cat >>conftest.$ac_ext <<_ACEOF
   4936 /* end confdefs.h.  */
   4937 #include <ctype.h>
   4938 #include <stdlib.h>
   4939 #if ((' ' & 0x0FF) == 0x020)
   4940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4942 #else
   4943 # define ISLOWER(c) \
   4944 		   (('a' <= (c) && (c) <= 'i') \
   4945 		     || ('j' <= (c) && (c) <= 'r') \
   4946 		     || ('s' <= (c) && (c) <= 'z'))
   4947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4948 #endif
   4949 
   4950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4951 int
   4952 main ()
   4953 {
   4954   int i;
   4955   for (i = 0; i < 256; i++)
   4956     if (XOR (islower (i), ISLOWER (i))
   4957 	|| toupper (i) != TOUPPER (i))
   4958       return 2;
   4959   return 0;
   4960 }
   4961 _ACEOF
   4962 rm -f conftest$ac_exeext
   4963 if { (ac_try="$ac_link"
   4964 case "(($ac_try" in
   4965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4966   *) ac_try_echo=$ac_try;;
   4967 esac
   4968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4969   (eval "$ac_link") 2>&5
   4970   ac_status=$?
   4971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4972   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4973   { (case "(($ac_try" in
   4974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4975   *) ac_try_echo=$ac_try;;
   4976 esac
   4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4978   (eval "$ac_try") 2>&5
   4979   ac_status=$?
   4980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4981   (exit $ac_status); }; }; then
   4982   :
   4983 else
   4984   echo "$as_me: program exited with status $ac_status" >&5
   4985 echo "$as_me: failed program was:" >&5
   4986 sed 's/^/| /' conftest.$ac_ext >&5
   4987 
   4988 ( exit $ac_status )
   4989 ac_cv_header_stdc=no
   4990 fi
   4991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4992 fi
   4993 
   4994 
   4995 fi
   4996 fi
   4997 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4998 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4999 if test $ac_cv_header_stdc = yes; then
   5000 
   5001 cat >>confdefs.h <<\_ACEOF
   5002 #define STDC_HEADERS 1
   5003 _ACEOF
   5004 
   5005 fi
   5006 
   5007 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5018 		  inttypes.h stdint.h unistd.h
   5019 do
   5020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5024   echo $ECHO_N "(cached) $ECHO_C" >&6
   5025 else
   5026   cat >conftest.$ac_ext <<_ACEOF
   5027 /* confdefs.h.  */
   5028 _ACEOF
   5029 cat confdefs.h >>conftest.$ac_ext
   5030 cat >>conftest.$ac_ext <<_ACEOF
   5031 /* end confdefs.h.  */
   5032 $ac_includes_default
   5033 
   5034 #include <$ac_header>
   5035 _ACEOF
   5036 rm -f conftest.$ac_objext
   5037 if { (ac_try="$ac_compile"
   5038 case "(($ac_try" in
   5039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5040   *) ac_try_echo=$ac_try;;
   5041 esac
   5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5043   (eval "$ac_compile") 2>conftest.er1
   5044   ac_status=$?
   5045   grep -v '^ *+' conftest.er1 >conftest.err
   5046   rm -f conftest.er1
   5047   cat conftest.err >&5
   5048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5049   (exit $ac_status); } && {
   5050 	 test -z "$ac_c_werror_flag" ||
   5051 	 test ! -s conftest.err
   5052        } && test -s conftest.$ac_objext; then
   5053   eval "$as_ac_Header=yes"
   5054 else
   5055   echo "$as_me: failed program was:" >&5
   5056 sed 's/^/| /' conftest.$ac_ext >&5
   5057 
   5058 	eval "$as_ac_Header=no"
   5059 fi
   5060 
   5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5062 fi
   5063 ac_res=`eval echo '${'$as_ac_Header'}'`
   5064 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5065 echo "${ECHO_T}$ac_res" >&6; }
   5066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5067   cat >>confdefs.h <<_ACEOF
   5068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5069 _ACEOF
   5070 
   5071 fi
   5072 
   5073 done
   5074 
   5075 
   5076 
   5077 for ac_header in dlfcn.h
   5078 do
   5079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5081   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5084   echo $ECHO_N "(cached) $ECHO_C" >&6
   5085 fi
   5086 ac_res=`eval echo '${'$as_ac_Header'}'`
   5087 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5088 echo "${ECHO_T}$ac_res" >&6; }
   5089 else
   5090   # Is the header compilable?
   5091 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5093 cat >conftest.$ac_ext <<_ACEOF
   5094 /* confdefs.h.  */
   5095 _ACEOF
   5096 cat confdefs.h >>conftest.$ac_ext
   5097 cat >>conftest.$ac_ext <<_ACEOF
   5098 /* end confdefs.h.  */
   5099 $ac_includes_default
   5100 #include <$ac_header>
   5101 _ACEOF
   5102 rm -f conftest.$ac_objext
   5103 if { (ac_try="$ac_compile"
   5104 case "(($ac_try" in
   5105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5106   *) ac_try_echo=$ac_try;;
   5107 esac
   5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5109   (eval "$ac_compile") 2>conftest.er1
   5110   ac_status=$?
   5111   grep -v '^ *+' conftest.er1 >conftest.err
   5112   rm -f conftest.er1
   5113   cat conftest.err >&5
   5114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5115   (exit $ac_status); } && {
   5116 	 test -z "$ac_c_werror_flag" ||
   5117 	 test ! -s conftest.err
   5118        } && test -s conftest.$ac_objext; then
   5119   ac_header_compiler=yes
   5120 else
   5121   echo "$as_me: failed program was:" >&5
   5122 sed 's/^/| /' conftest.$ac_ext >&5
   5123 
   5124 	ac_header_compiler=no
   5125 fi
   5126 
   5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5128 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5129 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5130 
   5131 # Is the header present?
   5132 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5134 cat >conftest.$ac_ext <<_ACEOF
   5135 /* confdefs.h.  */
   5136 _ACEOF
   5137 cat confdefs.h >>conftest.$ac_ext
   5138 cat >>conftest.$ac_ext <<_ACEOF
   5139 /* end confdefs.h.  */
   5140 #include <$ac_header>
   5141 _ACEOF
   5142 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5143 case "(($ac_try" in
   5144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5145   *) ac_try_echo=$ac_try;;
   5146 esac
   5147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5148   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5149   ac_status=$?
   5150   grep -v '^ *+' conftest.er1 >conftest.err
   5151   rm -f conftest.er1
   5152   cat conftest.err >&5
   5153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5154   (exit $ac_status); } >/dev/null && {
   5155 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5156 	 test ! -s conftest.err
   5157        }; then
   5158   ac_header_preproc=yes
   5159 else
   5160   echo "$as_me: failed program was:" >&5
   5161 sed 's/^/| /' conftest.$ac_ext >&5
   5162 
   5163   ac_header_preproc=no
   5164 fi
   5165 
   5166 rm -f conftest.err conftest.$ac_ext
   5167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5168 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5169 
   5170 # So?  What about this header?
   5171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5172   yes:no: )
   5173     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5175     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5177     ac_header_preproc=yes
   5178     ;;
   5179   no:yes:* )
   5180     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5182     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5183 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5184     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5186     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5187 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5188     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5190     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5192     ( cat <<\_ASBOX
   5193 ## ---------------------------------------------------------------------- ##
   5194 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5195 ## ---------------------------------------------------------------------- ##
   5196 _ASBOX
   5197      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5198     ;;
   5199 esac
   5200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5203   echo $ECHO_N "(cached) $ECHO_C" >&6
   5204 else
   5205   eval "$as_ac_Header=\$ac_header_preproc"
   5206 fi
   5207 ac_res=`eval echo '${'$as_ac_Header'}'`
   5208 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5209 echo "${ECHO_T}$ac_res" >&6; }
   5210 
   5211 fi
   5212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5213   cat >>confdefs.h <<_ACEOF
   5214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5215 _ACEOF
   5216 
   5217 fi
   5218 
   5219 done
   5220 
   5221 ac_ext=cpp
   5222 ac_cpp='$CXXCPP $CPPFLAGS'
   5223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5226 if test -z "$CXX"; then
   5227   if test -n "$CCC"; then
   5228     CXX=$CCC
   5229   else
   5230     if test -n "$ac_tool_prefix"; then
   5231   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5232   do
   5233     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5237 if test "${ac_cv_prog_CXX+set}" = set; then
   5238   echo $ECHO_N "(cached) $ECHO_C" >&6
   5239 else
   5240   if test -n "$CXX"; then
   5241   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5242 else
   5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5244 for as_dir in $PATH
   5245 do
   5246   IFS=$as_save_IFS
   5247   test -z "$as_dir" && as_dir=.
   5248   for ac_exec_ext in '' $ac_executable_extensions; do
   5249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5250     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5251     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5252     break 2
   5253   fi
   5254 done
   5255 done
   5256 IFS=$as_save_IFS
   5257 
   5258 fi
   5259 fi
   5260 CXX=$ac_cv_prog_CXX
   5261 if test -n "$CXX"; then
   5262   { echo "$as_me:$LINENO: result: $CXX" >&5
   5263 echo "${ECHO_T}$CXX" >&6; }
   5264 else
   5265   { echo "$as_me:$LINENO: result: no" >&5
   5266 echo "${ECHO_T}no" >&6; }
   5267 fi
   5268 
   5269 
   5270     test -n "$CXX" && break
   5271   done
   5272 fi
   5273 if test -z "$CXX"; then
   5274   ac_ct_CXX=$CXX
   5275   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5276 do
   5277   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5278 set dummy $ac_prog; ac_word=$2
   5279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5281 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5282   echo $ECHO_N "(cached) $ECHO_C" >&6
   5283 else
   5284   if test -n "$ac_ct_CXX"; then
   5285   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5286 else
   5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5288 for as_dir in $PATH
   5289 do
   5290   IFS=$as_save_IFS
   5291   test -z "$as_dir" && as_dir=.
   5292   for ac_exec_ext in '' $ac_executable_extensions; do
   5293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5294     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5295     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5296     break 2
   5297   fi
   5298 done
   5299 done
   5300 IFS=$as_save_IFS
   5301 
   5302 fi
   5303 fi
   5304 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5305 if test -n "$ac_ct_CXX"; then
   5306   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5307 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5308 else
   5309   { echo "$as_me:$LINENO: result: no" >&5
   5310 echo "${ECHO_T}no" >&6; }
   5311 fi
   5312 
   5313 
   5314   test -n "$ac_ct_CXX" && break
   5315 done
   5316 
   5317   if test "x$ac_ct_CXX" = x; then
   5318     CXX="g++"
   5319   else
   5320     case $cross_compiling:$ac_tool_warned in
   5321 yes:)
   5322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5323 whose name does not start with the host triplet.  If you think this
   5324 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5326 whose name does not start with the host triplet.  If you think this
   5327 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5328 ac_tool_warned=yes ;;
   5329 esac
   5330     CXX=$ac_ct_CXX
   5331   fi
   5332 fi
   5333 
   5334   fi
   5335 fi
   5336 # Provide some information about the compiler.
   5337 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5338 ac_compiler=`set X $ac_compile; echo $2`
   5339 { (ac_try="$ac_compiler --version >&5"
   5340 case "(($ac_try" in
   5341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5342   *) ac_try_echo=$ac_try;;
   5343 esac
   5344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5345   (eval "$ac_compiler --version >&5") 2>&5
   5346   ac_status=$?
   5347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5348   (exit $ac_status); }
   5349 { (ac_try="$ac_compiler -v >&5"
   5350 case "(($ac_try" in
   5351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5352   *) ac_try_echo=$ac_try;;
   5353 esac
   5354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5355   (eval "$ac_compiler -v >&5") 2>&5
   5356   ac_status=$?
   5357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5358   (exit $ac_status); }
   5359 { (ac_try="$ac_compiler -V >&5"
   5360 case "(($ac_try" in
   5361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5362   *) ac_try_echo=$ac_try;;
   5363 esac
   5364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5365   (eval "$ac_compiler -V >&5") 2>&5
   5366   ac_status=$?
   5367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5368   (exit $ac_status); }
   5369 
   5370 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5371 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5372 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5373   echo $ECHO_N "(cached) $ECHO_C" >&6
   5374 else
   5375   cat >conftest.$ac_ext <<_ACEOF
   5376 /* confdefs.h.  */
   5377 _ACEOF
   5378 cat confdefs.h >>conftest.$ac_ext
   5379 cat >>conftest.$ac_ext <<_ACEOF
   5380 /* end confdefs.h.  */
   5381 
   5382 int
   5383 main ()
   5384 {
   5385 #ifndef __GNUC__
   5386        choke me
   5387 #endif
   5388 
   5389   ;
   5390   return 0;
   5391 }
   5392 _ACEOF
   5393 rm -f conftest.$ac_objext
   5394 if { (ac_try="$ac_compile"
   5395 case "(($ac_try" in
   5396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5397   *) ac_try_echo=$ac_try;;
   5398 esac
   5399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5400   (eval "$ac_compile") 2>conftest.er1
   5401   ac_status=$?
   5402   grep -v '^ *+' conftest.er1 >conftest.err
   5403   rm -f conftest.er1
   5404   cat conftest.err >&5
   5405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5406   (exit $ac_status); } && {
   5407 	 test -z "$ac_cxx_werror_flag" ||
   5408 	 test ! -s conftest.err
   5409        } && test -s conftest.$ac_objext; then
   5410   ac_compiler_gnu=yes
   5411 else
   5412   echo "$as_me: failed program was:" >&5
   5413 sed 's/^/| /' conftest.$ac_ext >&5
   5414 
   5415 	ac_compiler_gnu=no
   5416 fi
   5417 
   5418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5419 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5420 
   5421 fi
   5422 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5423 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5424 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5425 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5426 ac_save_CXXFLAGS=$CXXFLAGS
   5427 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5428 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5429 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5430   echo $ECHO_N "(cached) $ECHO_C" >&6
   5431 else
   5432   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5433    ac_cxx_werror_flag=yes
   5434    ac_cv_prog_cxx_g=no
   5435    CXXFLAGS="-g"
   5436    cat >conftest.$ac_ext <<_ACEOF
   5437 /* confdefs.h.  */
   5438 _ACEOF
   5439 cat confdefs.h >>conftest.$ac_ext
   5440 cat >>conftest.$ac_ext <<_ACEOF
   5441 /* end confdefs.h.  */
   5442 
   5443 int
   5444 main ()
   5445 {
   5446 
   5447   ;
   5448   return 0;
   5449 }
   5450 _ACEOF
   5451 rm -f conftest.$ac_objext
   5452 if { (ac_try="$ac_compile"
   5453 case "(($ac_try" in
   5454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5455   *) ac_try_echo=$ac_try;;
   5456 esac
   5457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5458   (eval "$ac_compile") 2>conftest.er1
   5459   ac_status=$?
   5460   grep -v '^ *+' conftest.er1 >conftest.err
   5461   rm -f conftest.er1
   5462   cat conftest.err >&5
   5463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5464   (exit $ac_status); } && {
   5465 	 test -z "$ac_cxx_werror_flag" ||
   5466 	 test ! -s conftest.err
   5467        } && test -s conftest.$ac_objext; then
   5468   ac_cv_prog_cxx_g=yes
   5469 else
   5470   echo "$as_me: failed program was:" >&5
   5471 sed 's/^/| /' conftest.$ac_ext >&5
   5472 
   5473 	CXXFLAGS=""
   5474       cat >conftest.$ac_ext <<_ACEOF
   5475 /* confdefs.h.  */
   5476 _ACEOF
   5477 cat confdefs.h >>conftest.$ac_ext
   5478 cat >>conftest.$ac_ext <<_ACEOF
   5479 /* end confdefs.h.  */
   5480 
   5481 int
   5482 main ()
   5483 {
   5484 
   5485   ;
   5486   return 0;
   5487 }
   5488 _ACEOF
   5489 rm -f conftest.$ac_objext
   5490 if { (ac_try="$ac_compile"
   5491 case "(($ac_try" in
   5492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5493   *) ac_try_echo=$ac_try;;
   5494 esac
   5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5496   (eval "$ac_compile") 2>conftest.er1
   5497   ac_status=$?
   5498   grep -v '^ *+' conftest.er1 >conftest.err
   5499   rm -f conftest.er1
   5500   cat conftest.err >&5
   5501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5502   (exit $ac_status); } && {
   5503 	 test -z "$ac_cxx_werror_flag" ||
   5504 	 test ! -s conftest.err
   5505        } && test -s conftest.$ac_objext; then
   5506   :
   5507 else
   5508   echo "$as_me: failed program was:" >&5
   5509 sed 's/^/| /' conftest.$ac_ext >&5
   5510 
   5511 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5512 	 CXXFLAGS="-g"
   5513 	 cat >conftest.$ac_ext <<_ACEOF
   5514 /* confdefs.h.  */
   5515 _ACEOF
   5516 cat confdefs.h >>conftest.$ac_ext
   5517 cat >>conftest.$ac_ext <<_ACEOF
   5518 /* end confdefs.h.  */
   5519 
   5520 int
   5521 main ()
   5522 {
   5523 
   5524   ;
   5525   return 0;
   5526 }
   5527 _ACEOF
   5528 rm -f conftest.$ac_objext
   5529 if { (ac_try="$ac_compile"
   5530 case "(($ac_try" in
   5531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5532   *) ac_try_echo=$ac_try;;
   5533 esac
   5534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5535   (eval "$ac_compile") 2>conftest.er1
   5536   ac_status=$?
   5537   grep -v '^ *+' conftest.er1 >conftest.err
   5538   rm -f conftest.er1
   5539   cat conftest.err >&5
   5540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5541   (exit $ac_status); } && {
   5542 	 test -z "$ac_cxx_werror_flag" ||
   5543 	 test ! -s conftest.err
   5544        } && test -s conftest.$ac_objext; then
   5545   ac_cv_prog_cxx_g=yes
   5546 else
   5547   echo "$as_me: failed program was:" >&5
   5548 sed 's/^/| /' conftest.$ac_ext >&5
   5549 
   5550 
   5551 fi
   5552 
   5553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5554 fi
   5555 
   5556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5557 fi
   5558 
   5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5560    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5561 fi
   5562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5563 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5564 if test "$ac_test_CXXFLAGS" = set; then
   5565   CXXFLAGS=$ac_save_CXXFLAGS
   5566 elif test $ac_cv_prog_cxx_g = yes; then
   5567   if test "$GXX" = yes; then
   5568     CXXFLAGS="-g -O2"
   5569   else
   5570     CXXFLAGS="-g"
   5571   fi
   5572 else
   5573   if test "$GXX" = yes; then
   5574     CXXFLAGS="-O2"
   5575   else
   5576     CXXFLAGS=
   5577   fi
   5578 fi
   5579 ac_ext=cpp
   5580 ac_cpp='$CXXCPP $CPPFLAGS'
   5581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5584 
   5585 depcc="$CXX"  am_compiler_list=
   5586 
   5587 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5588 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5589 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5590   echo $ECHO_N "(cached) $ECHO_C" >&6
   5591 else
   5592   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5593   # We make a subdir and do the tests there.  Otherwise we can end up
   5594   # making bogus files that we don't know about and never remove.  For
   5595   # instance it was reported that on HP-UX the gcc test will end up
   5596   # making a dummy file named `D' -- because `-MD' means `put the output
   5597   # in D'.
   5598   mkdir conftest.dir
   5599   # Copy depcomp to subdir because otherwise we won't find it if we're
   5600   # using a relative directory.
   5601   cp "$am_depcomp" conftest.dir
   5602   cd conftest.dir
   5603   # We will build objects and dependencies in a subdirectory because
   5604   # it helps to detect inapplicable dependency modes.  For instance
   5605   # both Tru64's cc and ICC support -MD to output dependencies as a
   5606   # side effect of compilation, but ICC will put the dependencies in
   5607   # the current directory while Tru64 will put them in the object
   5608   # directory.
   5609   mkdir sub
   5610 
   5611   am_cv_CXX_dependencies_compiler_type=none
   5612   if test "$am_compiler_list" = ""; then
   5613      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5614   fi
   5615   for depmode in $am_compiler_list; do
   5616     # Setup a source with many dependencies, because some compilers
   5617     # like to wrap large dependency lists on column 80 (with \), and
   5618     # we should not choose a depcomp mode which is confused by this.
   5619     #
   5620     # We need to recreate these files for each test, as the compiler may
   5621     # overwrite some of them when testing with obscure command lines.
   5622     # This happens at least with the AIX C compiler.
   5623     : > sub/conftest.c
   5624     for i in 1 2 3 4 5 6; do
   5625       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5626       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5627       # Solaris 8's {/usr,}/bin/sh.
   5628       touch sub/conftst$i.h
   5629     done
   5630     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5631 
   5632     case $depmode in
   5633     nosideeffect)
   5634       # after this tag, mechanisms are not by side-effect, so they'll
   5635       # only be used when explicitly requested
   5636       if test "x$enable_dependency_tracking" = xyes; then
   5637 	continue
   5638       else
   5639 	break
   5640       fi
   5641       ;;
   5642     none) break ;;
   5643     esac
   5644     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5645     # mode.  It turns out that the SunPro C++ compiler does not properly
   5646     # handle `-M -o', and we need to detect this.
   5647     if depmode=$depmode \
   5648        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5649        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5650        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5651          >/dev/null 2>conftest.err &&
   5652        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5653        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5654        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5655        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5656       # icc doesn't choke on unknown options, it will just issue warnings
   5657       # or remarks (even with -Werror).  So we grep stderr for any message
   5658       # that says an option was ignored or not supported.
   5659       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5660       #   icc: Command line warning: ignoring option '-M'; no argument required
   5661       # The diagnosis changed in icc 8.0:
   5662       #   icc: Command line remark: option '-MP' not supported
   5663       if (grep 'ignoring option' conftest.err ||
   5664           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5665         am_cv_CXX_dependencies_compiler_type=$depmode
   5666         break
   5667       fi
   5668     fi
   5669   done
   5670 
   5671   cd ..
   5672   rm -rf conftest.dir
   5673 else
   5674   am_cv_CXX_dependencies_compiler_type=none
   5675 fi
   5676 
   5677 fi
   5678 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5679 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5680 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5681 
   5682  if
   5683   test "x$enable_dependency_tracking" != xno \
   5684   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5685   am__fastdepCXX_TRUE=
   5686   am__fastdepCXX_FALSE='#'
   5687 else
   5688   am__fastdepCXX_TRUE='#'
   5689   am__fastdepCXX_FALSE=
   5690 fi
   5691 
   5692 
   5693 
   5694 
   5695 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5696     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5697     (test "X$CXX" != "Xg++"))) ; then
   5698   ac_ext=cpp
   5699 ac_cpp='$CXXCPP $CPPFLAGS'
   5700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5703 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5704 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5705 if test -z "$CXXCPP"; then
   5706   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5707   echo $ECHO_N "(cached) $ECHO_C" >&6
   5708 else
   5709       # Double quotes because CXXCPP needs to be expanded
   5710     for CXXCPP in "$CXX -E" "/lib/cpp"
   5711     do
   5712       ac_preproc_ok=false
   5713 for ac_cxx_preproc_warn_flag in '' yes
   5714 do
   5715   # Use a header file that comes with gcc, so configuring glibc
   5716   # with a fresh cross-compiler works.
   5717   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5718   # <limits.h> exists even on freestanding compilers.
   5719   # On the NeXT, cc -E runs the code through the compiler's parser,
   5720   # not just through cpp. "Syntax error" is here to catch this case.
   5721   cat >conftest.$ac_ext <<_ACEOF
   5722 /* confdefs.h.  */
   5723 _ACEOF
   5724 cat confdefs.h >>conftest.$ac_ext
   5725 cat >>conftest.$ac_ext <<_ACEOF
   5726 /* end confdefs.h.  */
   5727 #ifdef __STDC__
   5728 # include <limits.h>
   5729 #else
   5730 # include <assert.h>
   5731 #endif
   5732 		     Syntax error
   5733 _ACEOF
   5734 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5735 case "(($ac_try" in
   5736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5737   *) ac_try_echo=$ac_try;;
   5738 esac
   5739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5741   ac_status=$?
   5742   grep -v '^ *+' conftest.er1 >conftest.err
   5743   rm -f conftest.er1
   5744   cat conftest.err >&5
   5745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5746   (exit $ac_status); } >/dev/null && {
   5747 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5748 	 test ! -s conftest.err
   5749        }; then
   5750   :
   5751 else
   5752   echo "$as_me: failed program was:" >&5
   5753 sed 's/^/| /' conftest.$ac_ext >&5
   5754 
   5755   # Broken: fails on valid input.
   5756 continue
   5757 fi
   5758 
   5759 rm -f conftest.err conftest.$ac_ext
   5760 
   5761   # OK, works on sane cases.  Now check whether nonexistent headers
   5762   # can be detected and how.
   5763   cat >conftest.$ac_ext <<_ACEOF
   5764 /* confdefs.h.  */
   5765 _ACEOF
   5766 cat confdefs.h >>conftest.$ac_ext
   5767 cat >>conftest.$ac_ext <<_ACEOF
   5768 /* end confdefs.h.  */
   5769 #include <ac_nonexistent.h>
   5770 _ACEOF
   5771 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5772 case "(($ac_try" in
   5773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5774   *) ac_try_echo=$ac_try;;
   5775 esac
   5776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5777   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5778   ac_status=$?
   5779   grep -v '^ *+' conftest.er1 >conftest.err
   5780   rm -f conftest.er1
   5781   cat conftest.err >&5
   5782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5783   (exit $ac_status); } >/dev/null && {
   5784 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5785 	 test ! -s conftest.err
   5786        }; then
   5787   # Broken: success on invalid input.
   5788 continue
   5789 else
   5790   echo "$as_me: failed program was:" >&5
   5791 sed 's/^/| /' conftest.$ac_ext >&5
   5792 
   5793   # Passes both tests.
   5794 ac_preproc_ok=:
   5795 break
   5796 fi
   5797 
   5798 rm -f conftest.err conftest.$ac_ext
   5799 
   5800 done
   5801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5802 rm -f conftest.err conftest.$ac_ext
   5803 if $ac_preproc_ok; then
   5804   break
   5805 fi
   5806 
   5807     done
   5808     ac_cv_prog_CXXCPP=$CXXCPP
   5809 
   5810 fi
   5811   CXXCPP=$ac_cv_prog_CXXCPP
   5812 else
   5813   ac_cv_prog_CXXCPP=$CXXCPP
   5814 fi
   5815 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5816 echo "${ECHO_T}$CXXCPP" >&6; }
   5817 ac_preproc_ok=false
   5818 for ac_cxx_preproc_warn_flag in '' yes
   5819 do
   5820   # Use a header file that comes with gcc, so configuring glibc
   5821   # with a fresh cross-compiler works.
   5822   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5823   # <limits.h> exists even on freestanding compilers.
   5824   # On the NeXT, cc -E runs the code through the compiler's parser,
   5825   # not just through cpp. "Syntax error" is here to catch this case.
   5826   cat >conftest.$ac_ext <<_ACEOF
   5827 /* confdefs.h.  */
   5828 _ACEOF
   5829 cat confdefs.h >>conftest.$ac_ext
   5830 cat >>conftest.$ac_ext <<_ACEOF
   5831 /* end confdefs.h.  */
   5832 #ifdef __STDC__
   5833 # include <limits.h>
   5834 #else
   5835 # include <assert.h>
   5836 #endif
   5837 		     Syntax error
   5838 _ACEOF
   5839 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5840 case "(($ac_try" in
   5841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5842   *) ac_try_echo=$ac_try;;
   5843 esac
   5844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5845   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5846   ac_status=$?
   5847   grep -v '^ *+' conftest.er1 >conftest.err
   5848   rm -f conftest.er1
   5849   cat conftest.err >&5
   5850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5851   (exit $ac_status); } >/dev/null && {
   5852 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5853 	 test ! -s conftest.err
   5854        }; then
   5855   :
   5856 else
   5857   echo "$as_me: failed program was:" >&5
   5858 sed 's/^/| /' conftest.$ac_ext >&5
   5859 
   5860   # Broken: fails on valid input.
   5861 continue
   5862 fi
   5863 
   5864 rm -f conftest.err conftest.$ac_ext
   5865 
   5866   # OK, works on sane cases.  Now check whether nonexistent headers
   5867   # can be detected and how.
   5868   cat >conftest.$ac_ext <<_ACEOF
   5869 /* confdefs.h.  */
   5870 _ACEOF
   5871 cat confdefs.h >>conftest.$ac_ext
   5872 cat >>conftest.$ac_ext <<_ACEOF
   5873 /* end confdefs.h.  */
   5874 #include <ac_nonexistent.h>
   5875 _ACEOF
   5876 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5877 case "(($ac_try" in
   5878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5879   *) ac_try_echo=$ac_try;;
   5880 esac
   5881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5882   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5883   ac_status=$?
   5884   grep -v '^ *+' conftest.er1 >conftest.err
   5885   rm -f conftest.er1
   5886   cat conftest.err >&5
   5887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5888   (exit $ac_status); } >/dev/null && {
   5889 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5890 	 test ! -s conftest.err
   5891        }; then
   5892   # Broken: success on invalid input.
   5893 continue
   5894 else
   5895   echo "$as_me: failed program was:" >&5
   5896 sed 's/^/| /' conftest.$ac_ext >&5
   5897 
   5898   # Passes both tests.
   5899 ac_preproc_ok=:
   5900 break
   5901 fi
   5902 
   5903 rm -f conftest.err conftest.$ac_ext
   5904 
   5905 done
   5906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5907 rm -f conftest.err conftest.$ac_ext
   5908 if $ac_preproc_ok; then
   5909   :
   5910 else
   5911   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5912 See \`config.log' for more details." >&5
   5913 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5914 See \`config.log' for more details." >&2;}
   5915    { (exit 1); exit 1; }; }
   5916 fi
   5917 
   5918 ac_ext=cpp
   5919 ac_cpp='$CXXCPP $CPPFLAGS'
   5920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5923 
   5924 fi
   5925 
   5926 
   5927 ac_ext=f
   5928 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5929 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5930 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5931 if test -n "$ac_tool_prefix"; then
   5932   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
   5933   do
   5934     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5938 if test "${ac_cv_prog_F77+set}" = set; then
   5939   echo $ECHO_N "(cached) $ECHO_C" >&6
   5940 else
   5941   if test -n "$F77"; then
   5942   ac_cv_prog_F77="$F77" # Let the user override the test.
   5943 else
   5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5945 for as_dir in $PATH
   5946 do
   5947   IFS=$as_save_IFS
   5948   test -z "$as_dir" && as_dir=.
   5949   for ac_exec_ext in '' $ac_executable_extensions; do
   5950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5951     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5952     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5953     break 2
   5954   fi
   5955 done
   5956 done
   5957 IFS=$as_save_IFS
   5958 
   5959 fi
   5960 fi
   5961 F77=$ac_cv_prog_F77
   5962 if test -n "$F77"; then
   5963   { echo "$as_me:$LINENO: result: $F77" >&5
   5964 echo "${ECHO_T}$F77" >&6; }
   5965 else
   5966   { echo "$as_me:$LINENO: result: no" >&5
   5967 echo "${ECHO_T}no" >&6; }
   5968 fi
   5969 
   5970 
   5971     test -n "$F77" && break
   5972   done
   5973 fi
   5974 if test -z "$F77"; then
   5975   ac_ct_F77=$F77
   5976   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
   5977 do
   5978   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5979 set dummy $ac_prog; ac_word=$2
   5980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5982 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5983   echo $ECHO_N "(cached) $ECHO_C" >&6
   5984 else
   5985   if test -n "$ac_ct_F77"; then
   5986   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5987 else
   5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5989 for as_dir in $PATH
   5990 do
   5991   IFS=$as_save_IFS
   5992   test -z "$as_dir" && as_dir=.
   5993   for ac_exec_ext in '' $ac_executable_extensions; do
   5994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5995     ac_cv_prog_ac_ct_F77="$ac_prog"
   5996     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5997     break 2
   5998   fi
   5999 done
   6000 done
   6001 IFS=$as_save_IFS
   6002 
   6003 fi
   6004 fi
   6005 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6006 if test -n "$ac_ct_F77"; then
   6007   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6008 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6009 else
   6010   { echo "$as_me:$LINENO: result: no" >&5
   6011 echo "${ECHO_T}no" >&6; }
   6012 fi
   6013 
   6014 
   6015   test -n "$ac_ct_F77" && break
   6016 done
   6017 
   6018   if test "x$ac_ct_F77" = x; then
   6019     F77=""
   6020   else
   6021     case $cross_compiling:$ac_tool_warned in
   6022 yes:)
   6023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6024 whose name does not start with the host triplet.  If you think this
   6025 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6027 whose name does not start with the host triplet.  If you think this
   6028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6029 ac_tool_warned=yes ;;
   6030 esac
   6031     F77=$ac_ct_F77
   6032   fi
   6033 fi
   6034 
   6035 
   6036 # Provide some information about the compiler.
   6037 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6038 ac_compiler=`set X $ac_compile; echo $2`
   6039 { (ac_try="$ac_compiler --version >&5"
   6040 case "(($ac_try" in
   6041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6042   *) ac_try_echo=$ac_try;;
   6043 esac
   6044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6045   (eval "$ac_compiler --version >&5") 2>&5
   6046   ac_status=$?
   6047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6048   (exit $ac_status); }
   6049 { (ac_try="$ac_compiler -v >&5"
   6050 case "(($ac_try" in
   6051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6052   *) ac_try_echo=$ac_try;;
   6053 esac
   6054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6055   (eval "$ac_compiler -v >&5") 2>&5
   6056   ac_status=$?
   6057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6058   (exit $ac_status); }
   6059 { (ac_try="$ac_compiler -V >&5"
   6060 case "(($ac_try" in
   6061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6062   *) ac_try_echo=$ac_try;;
   6063 esac
   6064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6065   (eval "$ac_compiler -V >&5") 2>&5
   6066   ac_status=$?
   6067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6068   (exit $ac_status); }
   6069 rm -f a.out
   6070 
   6071 # If we don't use `.F' as extension, the preprocessor is not run on the
   6072 # input file.  (Note that this only needs to work for GNU compilers.)
   6073 ac_save_ext=$ac_ext
   6074 ac_ext=F
   6075 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6076 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6077 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6078   echo $ECHO_N "(cached) $ECHO_C" >&6
   6079 else
   6080   cat >conftest.$ac_ext <<_ACEOF
   6081       program main
   6082 #ifndef __GNUC__
   6083        choke me
   6084 #endif
   6085 
   6086       end
   6087 _ACEOF
   6088 rm -f conftest.$ac_objext
   6089 if { (ac_try="$ac_compile"
   6090 case "(($ac_try" in
   6091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6092   *) ac_try_echo=$ac_try;;
   6093 esac
   6094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6095   (eval "$ac_compile") 2>conftest.er1
   6096   ac_status=$?
   6097   grep -v '^ *+' conftest.er1 >conftest.err
   6098   rm -f conftest.er1
   6099   cat conftest.err >&5
   6100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6101   (exit $ac_status); } && {
   6102 	 test -z "$ac_f77_werror_flag" ||
   6103 	 test ! -s conftest.err
   6104        } && test -s conftest.$ac_objext; then
   6105   ac_compiler_gnu=yes
   6106 else
   6107   echo "$as_me: failed program was:" >&5
   6108 sed 's/^/| /' conftest.$ac_ext >&5
   6109 
   6110 	ac_compiler_gnu=no
   6111 fi
   6112 
   6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6114 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6115 
   6116 fi
   6117 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6118 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6119 ac_ext=$ac_save_ext
   6120 ac_test_FFLAGS=${FFLAGS+set}
   6121 ac_save_FFLAGS=$FFLAGS
   6122 FFLAGS=
   6123 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6124 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6125 if test "${ac_cv_prog_f77_g+set}" = set; then
   6126   echo $ECHO_N "(cached) $ECHO_C" >&6
   6127 else
   6128   FFLAGS=-g
   6129 cat >conftest.$ac_ext <<_ACEOF
   6130       program main
   6131 
   6132       end
   6133 _ACEOF
   6134 rm -f conftest.$ac_objext
   6135 if { (ac_try="$ac_compile"
   6136 case "(($ac_try" in
   6137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6138   *) ac_try_echo=$ac_try;;
   6139 esac
   6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6141   (eval "$ac_compile") 2>conftest.er1
   6142   ac_status=$?
   6143   grep -v '^ *+' conftest.er1 >conftest.err
   6144   rm -f conftest.er1
   6145   cat conftest.err >&5
   6146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6147   (exit $ac_status); } && {
   6148 	 test -z "$ac_f77_werror_flag" ||
   6149 	 test ! -s conftest.err
   6150        } && test -s conftest.$ac_objext; then
   6151   ac_cv_prog_f77_g=yes
   6152 else
   6153   echo "$as_me: failed program was:" >&5
   6154 sed 's/^/| /' conftest.$ac_ext >&5
   6155 
   6156 	ac_cv_prog_f77_g=no
   6157 fi
   6158 
   6159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6160 
   6161 fi
   6162 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6163 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6164 if test "$ac_test_FFLAGS" = set; then
   6165   FFLAGS=$ac_save_FFLAGS
   6166 elif test $ac_cv_prog_f77_g = yes; then
   6167   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6168     FFLAGS="-g -O2"
   6169   else
   6170     FFLAGS="-g"
   6171   fi
   6172 else
   6173   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6174     FFLAGS="-O2"
   6175   else
   6176     FFLAGS=
   6177   fi
   6178 fi
   6179 
   6180 G77=`test $ac_compiler_gnu = yes && echo yes`
   6181 ac_ext=c
   6182 ac_cpp='$CPP $CPPFLAGS'
   6183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6186 
   6187 
   6188 
   6189 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6190 
   6191 # find the maximum length of command line arguments
   6192 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6193 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6194 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6195   echo $ECHO_N "(cached) $ECHO_C" >&6
   6196 else
   6197     i=0
   6198   teststring="ABCD"
   6199 
   6200   case $build_os in
   6201   msdosdjgpp*)
   6202     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6203     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6204     # during glob expansion).  Even if it were fixed, the result of this
   6205     # check would be larger than it should be.
   6206     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6207     ;;
   6208 
   6209   gnu*)
   6210     # Under GNU Hurd, this test is not required because there is
   6211     # no limit to the length of command line arguments.
   6212     # Libtool will interpret -1 as no limit whatsoever
   6213     lt_cv_sys_max_cmd_len=-1;
   6214     ;;
   6215 
   6216   cygwin* | mingw*)
   6217     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6218     # about 5 minutes as the teststring grows exponentially.
   6219     # Worse, since 9x/ME are not pre-emptively multitasking,
   6220     # you end up with a "frozen" computer, even though with patience
   6221     # the test eventually succeeds (with a max line length of 256k).
   6222     # Instead, let's just punt: use the minimum linelength reported by
   6223     # all of the supported platforms: 8192 (on NT/2K/XP).
   6224     lt_cv_sys_max_cmd_len=8192;
   6225     ;;
   6226 
   6227   amigaos*)
   6228     # On AmigaOS with pdksh, this test takes hours, literally.
   6229     # So we just punt and use a minimum line length of 8192.
   6230     lt_cv_sys_max_cmd_len=8192;
   6231     ;;
   6232 
   6233   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6234     # This has been around since 386BSD, at least.  Likely further.
   6235     if test -x /sbin/sysctl; then
   6236       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6237     elif test -x /usr/sbin/sysctl; then
   6238       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6239     else
   6240       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6241     fi
   6242     # And add a safety zone
   6243     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6244     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6245     ;;
   6246 
   6247   interix*)
   6248     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6249     lt_cv_sys_max_cmd_len=196608
   6250     ;;
   6251 
   6252   osf*)
   6253     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6254     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6255     # nice to cause kernel panics so lets avoid the loop below.
   6256     # First set a reasonable default.
   6257     lt_cv_sys_max_cmd_len=16384
   6258     #
   6259     if test -x /sbin/sysconfig; then
   6260       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6261         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6262       esac
   6263     fi
   6264     ;;
   6265   sco3.2v5*)
   6266     lt_cv_sys_max_cmd_len=102400
   6267     ;;
   6268   sysv5* | sco5v6* | sysv4.2uw2*)
   6269     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6270     if test -n "$kargmax"; then
   6271       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6272     else
   6273       lt_cv_sys_max_cmd_len=32768
   6274     fi
   6275     ;;
   6276   *)
   6277     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6278     if test -n "$lt_cv_sys_max_cmd_len"; then
   6279       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6280       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6281     else
   6282       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6283       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6284 	       = "XX$teststring") >/dev/null 2>&1 &&
   6285 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6286 	      lt_cv_sys_max_cmd_len=$new_result &&
   6287 	      test $i != 17 # 1/2 MB should be enough
   6288       do
   6289         i=`expr $i + 1`
   6290         teststring=$teststring$teststring
   6291       done
   6292       teststring=
   6293       # Add a significant safety factor because C++ compilers can tack on massive
   6294       # amounts of additional arguments before passing them to the linker.
   6295       # It appears as though 1/2 is a usable value.
   6296       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6297     fi
   6298     ;;
   6299   esac
   6300 
   6301 fi
   6302 
   6303 if test -n $lt_cv_sys_max_cmd_len ; then
   6304   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6305 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6306 else
   6307   { echo "$as_me:$LINENO: result: none" >&5
   6308 echo "${ECHO_T}none" >&6; }
   6309 fi
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6316 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6317 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6318 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6319   echo $ECHO_N "(cached) $ECHO_C" >&6
   6320 else
   6321 
   6322 # These are sane defaults that work on at least a few old systems.
   6323 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6324 
   6325 # Character class describing NM global symbol codes.
   6326 symcode='[BCDEGRST]'
   6327 
   6328 # Regexp to match symbols that can be accessed directly from C.
   6329 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6330 
   6331 # Transform an extracted symbol line into a proper C declaration
   6332 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6333 
   6334 # Transform an extracted symbol line into symbol name and symbol address
   6335 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'"
   6336 
   6337 # Define system-specific variables.
   6338 case $host_os in
   6339 aix*)
   6340   symcode='[BCDT]'
   6341   ;;
   6342 cygwin* | mingw* | pw32*)
   6343   symcode='[ABCDGISTW]'
   6344   ;;
   6345 hpux*) # Its linker distinguishes data from code symbols
   6346   if test "$host_cpu" = ia64; then
   6347     symcode='[ABCDEGRST]'
   6348   fi
   6349   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6350   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'"
   6351   ;;
   6352 linux* | k*bsd*-gnu)
   6353   if test "$host_cpu" = ia64; then
   6354     symcode='[ABCDGIRSTW]'
   6355     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6356     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'"
   6357   fi
   6358   ;;
   6359 irix* | nonstopux*)
   6360   symcode='[BCDEGRST]'
   6361   ;;
   6362 osf*)
   6363   symcode='[BCDEGQRST]'
   6364   ;;
   6365 solaris*)
   6366   symcode='[BDRT]'
   6367   ;;
   6368 sco3.2v5*)
   6369   symcode='[DT]'
   6370   ;;
   6371 sysv4.2uw2*)
   6372   symcode='[DT]'
   6373   ;;
   6374 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6375   symcode='[ABDT]'
   6376   ;;
   6377 sysv4)
   6378   symcode='[DFNSTU]'
   6379   ;;
   6380 esac
   6381 
   6382 # Handle CRLF in mingw tool chain
   6383 opt_cr=
   6384 case $build_os in
   6385 mingw*)
   6386   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6387   ;;
   6388 esac
   6389 
   6390 # If we're using GNU nm, then use its standard symbol codes.
   6391 case `$NM -V 2>&1` in
   6392 *GNU* | *'with BFD'*)
   6393   symcode='[ABCDGIRSTW]' ;;
   6394 esac
   6395 
   6396 # Try without a prefix undercore, then with it.
   6397 for ac_symprfx in "" "_"; do
   6398 
   6399   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6400   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6401 
   6402   # Write the raw and C identifiers.
   6403   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6404 
   6405   # Check to see that the pipe works correctly.
   6406   pipe_works=no
   6407 
   6408   rm -f conftest*
   6409   cat > conftest.$ac_ext <<EOF
   6410 #ifdef __cplusplus
   6411 extern "C" {
   6412 #endif
   6413 char nm_test_var;
   6414 void nm_test_func(){}
   6415 #ifdef __cplusplus
   6416 }
   6417 #endif
   6418 int main(){nm_test_var='a';nm_test_func();return(0);}
   6419 EOF
   6420 
   6421   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6422   (eval $ac_compile) 2>&5
   6423   ac_status=$?
   6424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6425   (exit $ac_status); }; then
   6426     # Now try to grab the symbols.
   6427     nlist=conftest.nm
   6428     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6429   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6430   ac_status=$?
   6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6432   (exit $ac_status); } && test -s "$nlist"; then
   6433       # Try sorting and uniquifying the output.
   6434       if sort "$nlist" | uniq > "$nlist"T; then
   6435 	mv -f "$nlist"T "$nlist"
   6436       else
   6437 	rm -f "$nlist"T
   6438       fi
   6439 
   6440       # Make sure that we snagged all the symbols we need.
   6441       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6442 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6443 	  cat <<EOF > conftest.$ac_ext
   6444 #ifdef __cplusplus
   6445 extern "C" {
   6446 #endif
   6447 
   6448 EOF
   6449 	  # Now generate the symbol file.
   6450 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6451 
   6452 	  cat <<EOF >> conftest.$ac_ext
   6453 #if defined (__STDC__) && __STDC__
   6454 # define lt_ptr_t void *
   6455 #else
   6456 # define lt_ptr_t char *
   6457 # define const
   6458 #endif
   6459 
   6460 /* The mapping between symbol names and symbols. */
   6461 const struct {
   6462   const char *name;
   6463   lt_ptr_t address;
   6464 }
   6465 lt_preloaded_symbols[] =
   6466 {
   6467 EOF
   6468 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6469 	  cat <<\EOF >> conftest.$ac_ext
   6470   {0, (lt_ptr_t) 0}
   6471 };
   6472 
   6473 #ifdef __cplusplus
   6474 }
   6475 #endif
   6476 EOF
   6477 	  # Now try linking the two files.
   6478 	  mv conftest.$ac_objext conftstm.$ac_objext
   6479 	  lt_save_LIBS="$LIBS"
   6480 	  lt_save_CFLAGS="$CFLAGS"
   6481 	  LIBS="conftstm.$ac_objext"
   6482 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6483 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6484   (eval $ac_link) 2>&5
   6485   ac_status=$?
   6486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6487   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6488 	    pipe_works=yes
   6489 	  fi
   6490 	  LIBS="$lt_save_LIBS"
   6491 	  CFLAGS="$lt_save_CFLAGS"
   6492 	else
   6493 	  echo "cannot find nm_test_func in $nlist" >&5
   6494 	fi
   6495       else
   6496 	echo "cannot find nm_test_var in $nlist" >&5
   6497       fi
   6498     else
   6499       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6500     fi
   6501   else
   6502     echo "$progname: failed program was:" >&5
   6503     cat conftest.$ac_ext >&5
   6504   fi
   6505   rm -f conftest* conftst*
   6506 
   6507   # Do not use the global_symbol_pipe unless it works.
   6508   if test "$pipe_works" = yes; then
   6509     break
   6510   else
   6511     lt_cv_sys_global_symbol_pipe=
   6512   fi
   6513 done
   6514 
   6515 fi
   6516 
   6517 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6518   lt_cv_sys_global_symbol_to_cdecl=
   6519 fi
   6520 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6521   { echo "$as_me:$LINENO: result: failed" >&5
   6522 echo "${ECHO_T}failed" >&6; }
   6523 else
   6524   { echo "$as_me:$LINENO: result: ok" >&5
   6525 echo "${ECHO_T}ok" >&6; }
   6526 fi
   6527 
   6528 { echo "$as_me:$LINENO: checking for objdir" >&5
   6529 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6530 if test "${lt_cv_objdir+set}" = set; then
   6531   echo $ECHO_N "(cached) $ECHO_C" >&6
   6532 else
   6533   rm -f .libs 2>/dev/null
   6534 mkdir .libs 2>/dev/null
   6535 if test -d .libs; then
   6536   lt_cv_objdir=.libs
   6537 else
   6538   # MS-DOS does not allow filenames that begin with a dot.
   6539   lt_cv_objdir=_libs
   6540 fi
   6541 rmdir .libs 2>/dev/null
   6542 fi
   6543 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6544 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6545 objdir=$lt_cv_objdir
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 case $host_os in
   6552 aix3*)
   6553   # AIX sometimes has problems with the GCC collect2 program.  For some
   6554   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6555   # vanish in a puff of smoke.
   6556   if test "X${COLLECT_NAMES+set}" != Xset; then
   6557     COLLECT_NAMES=
   6558     export COLLECT_NAMES
   6559   fi
   6560   ;;
   6561 esac
   6562 
   6563 # Sed substitution that helps us do robust quoting.  It backslashifies
   6564 # metacharacters that are still active within double-quoted strings.
   6565 Xsed='sed -e 1s/^X//'
   6566 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6567 
   6568 # Same as above, but do not quote variable references.
   6569 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6570 
   6571 # Sed substitution to delay expansion of an escaped shell variable in a
   6572 # double_quote_subst'ed string.
   6573 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6574 
   6575 # Sed substitution to avoid accidental globbing in evaled expressions
   6576 no_glob_subst='s/\*/\\\*/g'
   6577 
   6578 # Constants:
   6579 rm="rm -f"
   6580 
   6581 # Global variables:
   6582 default_ofile=libtool
   6583 can_build_shared=yes
   6584 
   6585 # All known linkers require a `.a' archive for static linking (except MSVC,
   6586 # which needs '.lib').
   6587 libext=a
   6588 ltmain="$ac_aux_dir/ltmain.sh"
   6589 ofile="$default_ofile"
   6590 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6591 
   6592 if test -n "$ac_tool_prefix"; then
   6593   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6594 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6597 if test "${ac_cv_prog_AR+set}" = set; then
   6598   echo $ECHO_N "(cached) $ECHO_C" >&6
   6599 else
   6600   if test -n "$AR"; then
   6601   ac_cv_prog_AR="$AR" # Let the user override the test.
   6602 else
   6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6604 for as_dir in $PATH
   6605 do
   6606   IFS=$as_save_IFS
   6607   test -z "$as_dir" && as_dir=.
   6608   for ac_exec_ext in '' $ac_executable_extensions; do
   6609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6610     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6611     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6612     break 2
   6613   fi
   6614 done
   6615 done
   6616 IFS=$as_save_IFS
   6617 
   6618 fi
   6619 fi
   6620 AR=$ac_cv_prog_AR
   6621 if test -n "$AR"; then
   6622   { echo "$as_me:$LINENO: result: $AR" >&5
   6623 echo "${ECHO_T}$AR" >&6; }
   6624 else
   6625   { echo "$as_me:$LINENO: result: no" >&5
   6626 echo "${ECHO_T}no" >&6; }
   6627 fi
   6628 
   6629 
   6630 fi
   6631 if test -z "$ac_cv_prog_AR"; then
   6632   ac_ct_AR=$AR
   6633   # Extract the first word of "ar", so it can be a program name with args.
   6634 set dummy ar; ac_word=$2
   6635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6637 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6638   echo $ECHO_N "(cached) $ECHO_C" >&6
   6639 else
   6640   if test -n "$ac_ct_AR"; then
   6641   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6642 else
   6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6644 for as_dir in $PATH
   6645 do
   6646   IFS=$as_save_IFS
   6647   test -z "$as_dir" && as_dir=.
   6648   for ac_exec_ext in '' $ac_executable_extensions; do
   6649   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6650     ac_cv_prog_ac_ct_AR="ar"
   6651     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6652     break 2
   6653   fi
   6654 done
   6655 done
   6656 IFS=$as_save_IFS
   6657 
   6658 fi
   6659 fi
   6660 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6661 if test -n "$ac_ct_AR"; then
   6662   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6663 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6664 else
   6665   { echo "$as_me:$LINENO: result: no" >&5
   6666 echo "${ECHO_T}no" >&6; }
   6667 fi
   6668 
   6669   if test "x$ac_ct_AR" = x; then
   6670     AR="false"
   6671   else
   6672     case $cross_compiling:$ac_tool_warned in
   6673 yes:)
   6674 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6675 whose name does not start with the host triplet.  If you think this
   6676 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6677 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6678 whose name does not start with the host triplet.  If you think this
   6679 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6680 ac_tool_warned=yes ;;
   6681 esac
   6682     AR=$ac_ct_AR
   6683   fi
   6684 else
   6685   AR="$ac_cv_prog_AR"
   6686 fi
   6687 
   6688 if test -n "$ac_tool_prefix"; then
   6689   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6690 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6693 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6694   echo $ECHO_N "(cached) $ECHO_C" >&6
   6695 else
   6696   if test -n "$RANLIB"; then
   6697   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6698 else
   6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6700 for as_dir in $PATH
   6701 do
   6702   IFS=$as_save_IFS
   6703   test -z "$as_dir" && as_dir=.
   6704   for ac_exec_ext in '' $ac_executable_extensions; do
   6705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6706     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6707     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6708     break 2
   6709   fi
   6710 done
   6711 done
   6712 IFS=$as_save_IFS
   6713 
   6714 fi
   6715 fi
   6716 RANLIB=$ac_cv_prog_RANLIB
   6717 if test -n "$RANLIB"; then
   6718   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6719 echo "${ECHO_T}$RANLIB" >&6; }
   6720 else
   6721   { echo "$as_me:$LINENO: result: no" >&5
   6722 echo "${ECHO_T}no" >&6; }
   6723 fi
   6724 
   6725 
   6726 fi
   6727 if test -z "$ac_cv_prog_RANLIB"; then
   6728   ac_ct_RANLIB=$RANLIB
   6729   # Extract the first word of "ranlib", so it can be a program name with args.
   6730 set dummy ranlib; ac_word=$2
   6731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6733 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6734   echo $ECHO_N "(cached) $ECHO_C" >&6
   6735 else
   6736   if test -n "$ac_ct_RANLIB"; then
   6737   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6738 else
   6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6740 for as_dir in $PATH
   6741 do
   6742   IFS=$as_save_IFS
   6743   test -z "$as_dir" && as_dir=.
   6744   for ac_exec_ext in '' $ac_executable_extensions; do
   6745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6746     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6747     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6748     break 2
   6749   fi
   6750 done
   6751 done
   6752 IFS=$as_save_IFS
   6753 
   6754 fi
   6755 fi
   6756 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6757 if test -n "$ac_ct_RANLIB"; then
   6758   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6759 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6760 else
   6761   { echo "$as_me:$LINENO: result: no" >&5
   6762 echo "${ECHO_T}no" >&6; }
   6763 fi
   6764 
   6765   if test "x$ac_ct_RANLIB" = x; then
   6766     RANLIB=":"
   6767   else
   6768     case $cross_compiling:$ac_tool_warned in
   6769 yes:)
   6770 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6771 whose name does not start with the host triplet.  If you think this
   6772 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6773 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6774 whose name does not start with the host triplet.  If you think this
   6775 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6776 ac_tool_warned=yes ;;
   6777 esac
   6778     RANLIB=$ac_ct_RANLIB
   6779   fi
   6780 else
   6781   RANLIB="$ac_cv_prog_RANLIB"
   6782 fi
   6783 
   6784 if test -n "$ac_tool_prefix"; then
   6785   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6786 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6789 if test "${ac_cv_prog_STRIP+set}" = set; then
   6790   echo $ECHO_N "(cached) $ECHO_C" >&6
   6791 else
   6792   if test -n "$STRIP"; then
   6793   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6794 else
   6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6796 for as_dir in $PATH
   6797 do
   6798   IFS=$as_save_IFS
   6799   test -z "$as_dir" && as_dir=.
   6800   for ac_exec_ext in '' $ac_executable_extensions; do
   6801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6802     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6803     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6804     break 2
   6805   fi
   6806 done
   6807 done
   6808 IFS=$as_save_IFS
   6809 
   6810 fi
   6811 fi
   6812 STRIP=$ac_cv_prog_STRIP
   6813 if test -n "$STRIP"; then
   6814   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6815 echo "${ECHO_T}$STRIP" >&6; }
   6816 else
   6817   { echo "$as_me:$LINENO: result: no" >&5
   6818 echo "${ECHO_T}no" >&6; }
   6819 fi
   6820 
   6821 
   6822 fi
   6823 if test -z "$ac_cv_prog_STRIP"; then
   6824   ac_ct_STRIP=$STRIP
   6825   # Extract the first word of "strip", so it can be a program name with args.
   6826 set dummy strip; ac_word=$2
   6827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6829 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6830   echo $ECHO_N "(cached) $ECHO_C" >&6
   6831 else
   6832   if test -n "$ac_ct_STRIP"; then
   6833   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6834 else
   6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6836 for as_dir in $PATH
   6837 do
   6838   IFS=$as_save_IFS
   6839   test -z "$as_dir" && as_dir=.
   6840   for ac_exec_ext in '' $ac_executable_extensions; do
   6841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6842     ac_cv_prog_ac_ct_STRIP="strip"
   6843     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6844     break 2
   6845   fi
   6846 done
   6847 done
   6848 IFS=$as_save_IFS
   6849 
   6850 fi
   6851 fi
   6852 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6853 if test -n "$ac_ct_STRIP"; then
   6854   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6855 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6856 else
   6857   { echo "$as_me:$LINENO: result: no" >&5
   6858 echo "${ECHO_T}no" >&6; }
   6859 fi
   6860 
   6861   if test "x$ac_ct_STRIP" = x; then
   6862     STRIP=":"
   6863   else
   6864     case $cross_compiling:$ac_tool_warned in
   6865 yes:)
   6866 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6867 whose name does not start with the host triplet.  If you think this
   6868 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6869 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6870 whose name does not start with the host triplet.  If you think this
   6871 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6872 ac_tool_warned=yes ;;
   6873 esac
   6874     STRIP=$ac_ct_STRIP
   6875   fi
   6876 else
   6877   STRIP="$ac_cv_prog_STRIP"
   6878 fi
   6879 
   6880 
   6881 old_CC="$CC"
   6882 old_CFLAGS="$CFLAGS"
   6883 
   6884 # Set sane defaults for various variables
   6885 test -z "$AR" && AR=ar
   6886 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6887 test -z "$AS" && AS=as
   6888 test -z "$CC" && CC=cc
   6889 test -z "$LTCC" && LTCC=$CC
   6890 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6891 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6892 test -z "$LD" && LD=ld
   6893 test -z "$LN_S" && LN_S="ln -s"
   6894 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6895 test -z "$NM" && NM=nm
   6896 test -z "$SED" && SED=sed
   6897 test -z "$OBJDUMP" && OBJDUMP=objdump
   6898 test -z "$RANLIB" && RANLIB=:
   6899 test -z "$STRIP" && STRIP=:
   6900 test -z "$ac_objext" && ac_objext=o
   6901 
   6902 # Determine commands to create old-style static archives.
   6903 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6904 old_postinstall_cmds='chmod 644 $oldlib'
   6905 old_postuninstall_cmds=
   6906 
   6907 if test -n "$RANLIB"; then
   6908   case $host_os in
   6909   openbsd*)
   6910     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6911     ;;
   6912   *)
   6913     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6914     ;;
   6915   esac
   6916   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6917 fi
   6918 
   6919 for cc_temp in $compiler""; do
   6920   case $cc_temp in
   6921     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6922     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6923     \-*) ;;
   6924     *) break;;
   6925   esac
   6926 done
   6927 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6928 
   6929 
   6930 # Only perform the check for file, if the check method requires it
   6931 case $deplibs_check_method in
   6932 file_magic*)
   6933   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6934     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6935 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6936 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6937   echo $ECHO_N "(cached) $ECHO_C" >&6
   6938 else
   6939   case $MAGIC_CMD in
   6940 [\\/*] |  ?:[\\/]*)
   6941   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6942   ;;
   6943 *)
   6944   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6945   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6946   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6947   for ac_dir in $ac_dummy; do
   6948     IFS="$lt_save_ifs"
   6949     test -z "$ac_dir" && ac_dir=.
   6950     if test -f $ac_dir/${ac_tool_prefix}file; then
   6951       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6952       if test -n "$file_magic_test_file"; then
   6953 	case $deplibs_check_method in
   6954 	"file_magic "*)
   6955 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6956 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6957 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6958 	    $EGREP "$file_magic_regex" > /dev/null; then
   6959 	    :
   6960 	  else
   6961 	    cat <<EOF 1>&2
   6962 
   6963 *** Warning: the command libtool uses to detect shared libraries,
   6964 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6965 *** The result is that libtool may fail to recognize shared libraries
   6966 *** as such.  This will affect the creation of libtool libraries that
   6967 *** depend on shared libraries, but programs linked with such libtool
   6968 *** libraries will work regardless of this problem.  Nevertheless, you
   6969 *** may want to report the problem to your system manager and/or to
   6970 *** bug-libtool@gnu.org
   6971 
   6972 EOF
   6973 	  fi ;;
   6974 	esac
   6975       fi
   6976       break
   6977     fi
   6978   done
   6979   IFS="$lt_save_ifs"
   6980   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6981   ;;
   6982 esac
   6983 fi
   6984 
   6985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6986 if test -n "$MAGIC_CMD"; then
   6987   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6988 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6989 else
   6990   { echo "$as_me:$LINENO: result: no" >&5
   6991 echo "${ECHO_T}no" >&6; }
   6992 fi
   6993 
   6994 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6995   if test -n "$ac_tool_prefix"; then
   6996     { echo "$as_me:$LINENO: checking for file" >&5
   6997 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6998 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6999   echo $ECHO_N "(cached) $ECHO_C" >&6
   7000 else
   7001   case $MAGIC_CMD in
   7002 [\\/*] |  ?:[\\/]*)
   7003   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7004   ;;
   7005 *)
   7006   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7007   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7008   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7009   for ac_dir in $ac_dummy; do
   7010     IFS="$lt_save_ifs"
   7011     test -z "$ac_dir" && ac_dir=.
   7012     if test -f $ac_dir/file; then
   7013       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7014       if test -n "$file_magic_test_file"; then
   7015 	case $deplibs_check_method in
   7016 	"file_magic "*)
   7017 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7018 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7019 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7020 	    $EGREP "$file_magic_regex" > /dev/null; then
   7021 	    :
   7022 	  else
   7023 	    cat <<EOF 1>&2
   7024 
   7025 *** Warning: the command libtool uses to detect shared libraries,
   7026 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7027 *** The result is that libtool may fail to recognize shared libraries
   7028 *** as such.  This will affect the creation of libtool libraries that
   7029 *** depend on shared libraries, but programs linked with such libtool
   7030 *** libraries will work regardless of this problem.  Nevertheless, you
   7031 *** may want to report the problem to your system manager and/or to
   7032 *** bug-libtool@gnu.org
   7033 
   7034 EOF
   7035 	  fi ;;
   7036 	esac
   7037       fi
   7038       break
   7039     fi
   7040   done
   7041   IFS="$lt_save_ifs"
   7042   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7043   ;;
   7044 esac
   7045 fi
   7046 
   7047 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7048 if test -n "$MAGIC_CMD"; then
   7049   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7050 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7051 else
   7052   { echo "$as_me:$LINENO: result: no" >&5
   7053 echo "${ECHO_T}no" >&6; }
   7054 fi
   7055 
   7056   else
   7057     MAGIC_CMD=:
   7058   fi
   7059 fi
   7060 
   7061   fi
   7062   ;;
   7063 esac
   7064 
   7065 enable_dlopen=no
   7066 enable_win32_dll=no
   7067 
   7068 # Check whether --enable-libtool-lock was given.
   7069 if test "${enable_libtool_lock+set}" = set; then
   7070   enableval=$enable_libtool_lock;
   7071 fi
   7072 
   7073 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7074 
   7075 
   7076 # Check whether --with-pic was given.
   7077 if test "${with_pic+set}" = set; then
   7078   withval=$with_pic; pic_mode="$withval"
   7079 else
   7080   pic_mode=default
   7081 fi
   7082 
   7083 test -z "$pic_mode" && pic_mode=default
   7084 
   7085 # Use C for the default configuration in the libtool script
   7086 tagname=
   7087 lt_save_CC="$CC"
   7088 ac_ext=c
   7089 ac_cpp='$CPP $CPPFLAGS'
   7090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7093 
   7094 
   7095 # Source file extension for C test sources.
   7096 ac_ext=c
   7097 
   7098 # Object file extension for compiled C test sources.
   7099 objext=o
   7100 objext=$objext
   7101 
   7102 # Code to be used in simple compile tests
   7103 lt_simple_compile_test_code="int some_variable = 0;"
   7104 
   7105 # Code to be used in simple link tests
   7106 lt_simple_link_test_code='int main(){return(0);}'
   7107 
   7108 
   7109 # If no C compiler was specified, use CC.
   7110 LTCC=${LTCC-"$CC"}
   7111 
   7112 # If no C compiler flags were specified, use CFLAGS.
   7113 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7114 
   7115 # Allow CC to be a program name with arguments.
   7116 compiler=$CC
   7117 
   7118 
   7119 # save warnings/boilerplate of simple test code
   7120 ac_outfile=conftest.$ac_objext
   7121 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7122 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7123 _lt_compiler_boilerplate=`cat conftest.err`
   7124 $rm conftest*
   7125 
   7126 ac_outfile=conftest.$ac_objext
   7127 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7128 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7129 _lt_linker_boilerplate=`cat conftest.err`
   7130 $rm conftest*
   7131 
   7132 
   7133 
   7134 lt_prog_compiler_no_builtin_flag=
   7135 
   7136 if test "$GCC" = yes; then
   7137   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7138 
   7139 
   7140 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7143   echo $ECHO_N "(cached) $ECHO_C" >&6
   7144 else
   7145   lt_cv_prog_compiler_rtti_exceptions=no
   7146   ac_outfile=conftest.$ac_objext
   7147    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7148    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7149    # Insert the option either (1) after the last *FLAGS variable, or
   7150    # (2) before a word containing "conftest.", or (3) at the end.
   7151    # Note that $ac_compile itself does not contain backslashes and begins
   7152    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7153    # The option is referenced via a variable to avoid confusing sed.
   7154    lt_compile=`echo "$ac_compile" | $SED \
   7155    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7156    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7157    -e 's:$: $lt_compiler_flag:'`
   7158    (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
   7159    (eval "$lt_compile" 2>conftest.err)
   7160    ac_status=$?
   7161    cat conftest.err >&5
   7162    echo "$as_me:7162: \$? = $ac_status" >&5
   7163    if (exit $ac_status) && test -s "$ac_outfile"; then
   7164      # The compiler can only warn and ignore the option if not recognized
   7165      # So say no if there are warnings other than the usual output.
   7166      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7167      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7168      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7169        lt_cv_prog_compiler_rtti_exceptions=yes
   7170      fi
   7171    fi
   7172    $rm conftest*
   7173 
   7174 fi
   7175 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7177 
   7178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7179     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7180 else
   7181     :
   7182 fi
   7183 
   7184 fi
   7185 
   7186 lt_prog_compiler_wl=
   7187 lt_prog_compiler_pic=
   7188 lt_prog_compiler_static=
   7189 
   7190 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7191 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7192 
   7193   if test "$GCC" = yes; then
   7194     lt_prog_compiler_wl='-Wl,'
   7195     lt_prog_compiler_static='-static'
   7196 
   7197     case $host_os in
   7198       aix*)
   7199       # All AIX code is PIC.
   7200       if test "$host_cpu" = ia64; then
   7201 	# AIX 5 now supports IA64 processor
   7202 	lt_prog_compiler_static='-Bstatic'
   7203       fi
   7204       ;;
   7205 
   7206     amigaos*)
   7207       # FIXME: we need at least 68020 code to build shared libraries, but
   7208       # adding the `-m68020' flag to GCC prevents building anything better,
   7209       # like `-m68040'.
   7210       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7211       ;;
   7212 
   7213     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7214       # PIC is the default for these OSes.
   7215       ;;
   7216 
   7217     mingw* | cygwin* | pw32* | os2*)
   7218       # This hack is so that the source file can tell whether it is being
   7219       # built for inclusion in a dll (and should export symbols for example).
   7220       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7221       # (--disable-auto-import) libraries
   7222       lt_prog_compiler_pic='-DDLL_EXPORT'
   7223       ;;
   7224 
   7225     darwin* | rhapsody*)
   7226       # PIC is the default on this platform
   7227       # Common symbols not allowed in MH_DYLIB files
   7228       lt_prog_compiler_pic='-fno-common'
   7229       ;;
   7230 
   7231     interix[3-9]*)
   7232       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7233       # Instead, we relocate shared libraries at runtime.
   7234       ;;
   7235 
   7236     msdosdjgpp*)
   7237       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7238       # on systems that don't support them.
   7239       lt_prog_compiler_can_build_shared=no
   7240       enable_shared=no
   7241       ;;
   7242 
   7243     sysv4*MP*)
   7244       if test -d /usr/nec; then
   7245 	lt_prog_compiler_pic=-Kconform_pic
   7246       fi
   7247       ;;
   7248 
   7249     hpux*)
   7250       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7251       # not for PA HP-UX.
   7252       case $host_cpu in
   7253       hppa*64*|ia64*)
   7254 	# +Z the default
   7255 	;;
   7256       *)
   7257 	lt_prog_compiler_pic='-fPIC'
   7258 	;;
   7259       esac
   7260       ;;
   7261 
   7262     *)
   7263       lt_prog_compiler_pic='-fPIC'
   7264       ;;
   7265     esac
   7266   else
   7267     # PORTME Check for flag to pass linker flags through the system compiler.
   7268     case $host_os in
   7269     aix*)
   7270       lt_prog_compiler_wl='-Wl,'
   7271       if test "$host_cpu" = ia64; then
   7272 	# AIX 5 now supports IA64 processor
   7273 	lt_prog_compiler_static='-Bstatic'
   7274       else
   7275 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7276       fi
   7277       ;;
   7278       darwin*)
   7279         # PIC is the default on this platform
   7280         # Common symbols not allowed in MH_DYLIB files
   7281        case $cc_basename in
   7282          xlc*)
   7283          lt_prog_compiler_pic='-qnocommon'
   7284          lt_prog_compiler_wl='-Wl,'
   7285          ;;
   7286        esac
   7287        ;;
   7288 
   7289     mingw* | cygwin* | pw32* | os2*)
   7290       # This hack is so that the source file can tell whether it is being
   7291       # built for inclusion in a dll (and should export symbols for example).
   7292       lt_prog_compiler_pic='-DDLL_EXPORT'
   7293       ;;
   7294 
   7295     hpux9* | hpux10* | hpux11*)
   7296       lt_prog_compiler_wl='-Wl,'
   7297       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7298       # not for PA HP-UX.
   7299       case $host_cpu in
   7300       hppa*64*|ia64*)
   7301 	# +Z the default
   7302 	;;
   7303       *)
   7304 	lt_prog_compiler_pic='+Z'
   7305 	;;
   7306       esac
   7307       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7308       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7309       ;;
   7310 
   7311     irix5* | irix6* | nonstopux*)
   7312       lt_prog_compiler_wl='-Wl,'
   7313       # PIC (with -KPIC) is the default.
   7314       lt_prog_compiler_static='-non_shared'
   7315       ;;
   7316 
   7317     newsos6)
   7318       lt_prog_compiler_pic='-KPIC'
   7319       lt_prog_compiler_static='-Bstatic'
   7320       ;;
   7321 
   7322     linux* | k*bsd*-gnu)
   7323       case $cc_basename in
   7324       icc* | ecc*)
   7325 	lt_prog_compiler_wl='-Wl,'
   7326 	lt_prog_compiler_pic='-KPIC'
   7327 	lt_prog_compiler_static='-static'
   7328         ;;
   7329       pgcc* | pgf77* | pgf90* | pgf95*)
   7330         # Portland Group compilers (*not* the Pentium gcc compiler,
   7331 	# which looks to be a dead project)
   7332 	lt_prog_compiler_wl='-Wl,'
   7333 	lt_prog_compiler_pic='-fpic'
   7334 	lt_prog_compiler_static='-Bstatic'
   7335         ;;
   7336       ccc*)
   7337         lt_prog_compiler_wl='-Wl,'
   7338         # All Alpha code is PIC.
   7339         lt_prog_compiler_static='-non_shared'
   7340         ;;
   7341       *)
   7342         case `$CC -V 2>&1 | sed 5q` in
   7343 	*Sun\ C*)
   7344 	  # Sun C 5.9
   7345 	  lt_prog_compiler_pic='-KPIC'
   7346 	  lt_prog_compiler_static='-Bstatic'
   7347 	  lt_prog_compiler_wl='-Wl,'
   7348 	  ;;
   7349 	*Sun\ F*)
   7350 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7351 	  lt_prog_compiler_pic='-KPIC'
   7352 	  lt_prog_compiler_static='-Bstatic'
   7353 	  lt_prog_compiler_wl=''
   7354 	  ;;
   7355 	esac
   7356 	;;
   7357       esac
   7358       ;;
   7359 
   7360     osf3* | osf4* | osf5*)
   7361       lt_prog_compiler_wl='-Wl,'
   7362       # All OSF/1 code is PIC.
   7363       lt_prog_compiler_static='-non_shared'
   7364       ;;
   7365 
   7366     rdos*)
   7367       lt_prog_compiler_static='-non_shared'
   7368       ;;
   7369 
   7370     solaris*)
   7371       lt_prog_compiler_pic='-KPIC'
   7372       lt_prog_compiler_static='-Bstatic'
   7373       case $cc_basename in
   7374       f77* | f90* | f95*)
   7375 	lt_prog_compiler_wl='-Qoption ld ';;
   7376       *)
   7377 	lt_prog_compiler_wl='-Wl,';;
   7378       esac
   7379       ;;
   7380 
   7381     sunos4*)
   7382       lt_prog_compiler_wl='-Qoption ld '
   7383       lt_prog_compiler_pic='-PIC'
   7384       lt_prog_compiler_static='-Bstatic'
   7385       ;;
   7386 
   7387     sysv4 | sysv4.2uw2* | sysv4.3*)
   7388       lt_prog_compiler_wl='-Wl,'
   7389       lt_prog_compiler_pic='-KPIC'
   7390       lt_prog_compiler_static='-Bstatic'
   7391       ;;
   7392 
   7393     sysv4*MP*)
   7394       if test -d /usr/nec ;then
   7395 	lt_prog_compiler_pic='-Kconform_pic'
   7396 	lt_prog_compiler_static='-Bstatic'
   7397       fi
   7398       ;;
   7399 
   7400     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7401       lt_prog_compiler_wl='-Wl,'
   7402       lt_prog_compiler_pic='-KPIC'
   7403       lt_prog_compiler_static='-Bstatic'
   7404       ;;
   7405 
   7406     unicos*)
   7407       lt_prog_compiler_wl='-Wl,'
   7408       lt_prog_compiler_can_build_shared=no
   7409       ;;
   7410 
   7411     uts4*)
   7412       lt_prog_compiler_pic='-pic'
   7413       lt_prog_compiler_static='-Bstatic'
   7414       ;;
   7415 
   7416     *)
   7417       lt_prog_compiler_can_build_shared=no
   7418       ;;
   7419     esac
   7420   fi
   7421 
   7422 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7423 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7424 
   7425 #
   7426 # Check to make sure the PIC flag actually works.
   7427 #
   7428 if test -n "$lt_prog_compiler_pic"; then
   7429 
   7430 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7431 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7432 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7433   echo $ECHO_N "(cached) $ECHO_C" >&6
   7434 else
   7435   lt_prog_compiler_pic_works=no
   7436   ac_outfile=conftest.$ac_objext
   7437    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7438    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7439    # Insert the option either (1) after the last *FLAGS variable, or
   7440    # (2) before a word containing "conftest.", or (3) at the end.
   7441    # Note that $ac_compile itself does not contain backslashes and begins
   7442    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7443    # The option is referenced via a variable to avoid confusing sed.
   7444    lt_compile=`echo "$ac_compile" | $SED \
   7445    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7446    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7447    -e 's:$: $lt_compiler_flag:'`
   7448    (eval echo "\"\$as_me:7448: $lt_compile\"" >&5)
   7449    (eval "$lt_compile" 2>conftest.err)
   7450    ac_status=$?
   7451    cat conftest.err >&5
   7452    echo "$as_me:7452: \$? = $ac_status" >&5
   7453    if (exit $ac_status) && test -s "$ac_outfile"; then
   7454      # The compiler can only warn and ignore the option if not recognized
   7455      # So say no if there are warnings other than the usual output.
   7456      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7457      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7458      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7459        lt_prog_compiler_pic_works=yes
   7460      fi
   7461    fi
   7462    $rm conftest*
   7463 
   7464 fi
   7465 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7466 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7467 
   7468 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7469     case $lt_prog_compiler_pic in
   7470      "" | " "*) ;;
   7471      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7472      esac
   7473 else
   7474     lt_prog_compiler_pic=
   7475      lt_prog_compiler_can_build_shared=no
   7476 fi
   7477 
   7478 fi
   7479 case $host_os in
   7480   # For platforms which do not support PIC, -DPIC is meaningless:
   7481   *djgpp*)
   7482     lt_prog_compiler_pic=
   7483     ;;
   7484   *)
   7485     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7486     ;;
   7487 esac
   7488 
   7489 #
   7490 # Check to make sure the static flag actually works.
   7491 #
   7492 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7493 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7494 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7495 if test "${lt_prog_compiler_static_works+set}" = set; then
   7496   echo $ECHO_N "(cached) $ECHO_C" >&6
   7497 else
   7498   lt_prog_compiler_static_works=no
   7499    save_LDFLAGS="$LDFLAGS"
   7500    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7501    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7502    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7503      # The linker can only warn and ignore the option if not recognized
   7504      # So say no if there are warnings
   7505      if test -s conftest.err; then
   7506        # Append any errors to the config.log.
   7507        cat conftest.err 1>&5
   7508        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7509        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7510        if diff conftest.exp conftest.er2 >/dev/null; then
   7511          lt_prog_compiler_static_works=yes
   7512        fi
   7513      else
   7514        lt_prog_compiler_static_works=yes
   7515      fi
   7516    fi
   7517    $rm conftest*
   7518    LDFLAGS="$save_LDFLAGS"
   7519 
   7520 fi
   7521 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7522 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7523 
   7524 if test x"$lt_prog_compiler_static_works" = xyes; then
   7525     :
   7526 else
   7527     lt_prog_compiler_static=
   7528 fi
   7529 
   7530 
   7531 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7532 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7533 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7534   echo $ECHO_N "(cached) $ECHO_C" >&6
   7535 else
   7536   lt_cv_prog_compiler_c_o=no
   7537    $rm -r conftest 2>/dev/null
   7538    mkdir conftest
   7539    cd conftest
   7540    mkdir out
   7541    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7542 
   7543    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7544    # Insert the option either (1) after the last *FLAGS variable, or
   7545    # (2) before a word containing "conftest.", or (3) at the end.
   7546    # Note that $ac_compile itself does not contain backslashes and begins
   7547    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7548    lt_compile=`echo "$ac_compile" | $SED \
   7549    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7550    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7551    -e 's:$: $lt_compiler_flag:'`
   7552    (eval echo "\"\$as_me:7552: $lt_compile\"" >&5)
   7553    (eval "$lt_compile" 2>out/conftest.err)
   7554    ac_status=$?
   7555    cat out/conftest.err >&5
   7556    echo "$as_me:7556: \$? = $ac_status" >&5
   7557    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7558    then
   7559      # The compiler can only warn and ignore the option if not recognized
   7560      # So say no if there are warnings
   7561      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7562      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7563      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7564        lt_cv_prog_compiler_c_o=yes
   7565      fi
   7566    fi
   7567    chmod u+w . 2>&5
   7568    $rm conftest*
   7569    # SGI C++ compiler will create directory out/ii_files/ for
   7570    # template instantiation
   7571    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7572    $rm out/* && rmdir out
   7573    cd ..
   7574    rmdir conftest
   7575    $rm conftest*
   7576 
   7577 fi
   7578 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7579 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7580 
   7581 
   7582 hard_links="nottested"
   7583 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7584   # do not overwrite the value of need_locks provided by the user
   7585   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7586 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7587   hard_links=yes
   7588   $rm conftest*
   7589   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7590   touch conftest.a
   7591   ln conftest.a conftest.b 2>&5 || hard_links=no
   7592   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7593   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7594 echo "${ECHO_T}$hard_links" >&6; }
   7595   if test "$hard_links" = no; then
   7596     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7597 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7598     need_locks=warn
   7599   fi
   7600 else
   7601   need_locks=no
   7602 fi
   7603 
   7604 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7605 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7606 
   7607   runpath_var=
   7608   allow_undefined_flag=
   7609   enable_shared_with_static_runtimes=no
   7610   archive_cmds=
   7611   archive_expsym_cmds=
   7612   old_archive_From_new_cmds=
   7613   old_archive_from_expsyms_cmds=
   7614   export_dynamic_flag_spec=
   7615   whole_archive_flag_spec=
   7616   thread_safe_flag_spec=
   7617   hardcode_libdir_flag_spec=
   7618   hardcode_libdir_flag_spec_ld=
   7619   hardcode_libdir_separator=
   7620   hardcode_direct=no
   7621   hardcode_minus_L=no
   7622   hardcode_shlibpath_var=unsupported
   7623   link_all_deplibs=unknown
   7624   hardcode_automatic=no
   7625   module_cmds=
   7626   module_expsym_cmds=
   7627   always_export_symbols=no
   7628   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7629   # include_expsyms should be a list of space-separated symbols to be *always*
   7630   # included in the symbol list
   7631   include_expsyms=
   7632   # exclude_expsyms can be an extended regexp of symbols to exclude
   7633   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7634   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7635   # as well as any symbol that contains `d'.
   7636   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7637   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7638   # platforms (ab)use it in PIC code, but their linkers get confused if
   7639   # the symbol is explicitly referenced.  Since portable code cannot
   7640   # rely on this symbol name, it's probably fine to never include it in
   7641   # preloaded symbol tables.
   7642   extract_expsyms_cmds=
   7643   # Just being paranoid about ensuring that cc_basename is set.
   7644   for cc_temp in $compiler""; do
   7645   case $cc_temp in
   7646     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7647     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7648     \-*) ;;
   7649     *) break;;
   7650   esac
   7651 done
   7652 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7653 
   7654   case $host_os in
   7655   cygwin* | mingw* | pw32*)
   7656     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7657     # When not using gcc, we currently assume that we are using
   7658     # Microsoft Visual C++.
   7659     if test "$GCC" != yes; then
   7660       with_gnu_ld=no
   7661     fi
   7662     ;;
   7663   interix*)
   7664     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7665     with_gnu_ld=yes
   7666     ;;
   7667   openbsd*)
   7668     with_gnu_ld=no
   7669     ;;
   7670   esac
   7671 
   7672   ld_shlibs=yes
   7673   if test "$with_gnu_ld" = yes; then
   7674     # If archive_cmds runs LD, not CC, wlarc should be empty
   7675     wlarc='${wl}'
   7676 
   7677     # Set some defaults for GNU ld with shared library support. These
   7678     # are reset later if shared libraries are not supported. Putting them
   7679     # here allows them to be overridden if necessary.
   7680     runpath_var=LD_RUN_PATH
   7681     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7682     export_dynamic_flag_spec='${wl}--export-dynamic'
   7683     # ancient GNU ld didn't support --whole-archive et. al.
   7684     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7685 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7686       else
   7687   	whole_archive_flag_spec=
   7688     fi
   7689     supports_anon_versioning=no
   7690     case `$LD -v 2>/dev/null` in
   7691       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7692       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7693       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7694       *\ 2.11.*) ;; # other 2.11 versions
   7695       *) supports_anon_versioning=yes ;;
   7696     esac
   7697 
   7698     # See if GNU ld supports shared libraries.
   7699     case $host_os in
   7700     aix3* | aix4* | aix5*)
   7701       # On AIX/PPC, the GNU linker is very broken
   7702       if test "$host_cpu" != ia64; then
   7703 	ld_shlibs=no
   7704 	cat <<EOF 1>&2
   7705 
   7706 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7707 *** to be unable to reliably create shared libraries on AIX.
   7708 *** Therefore, libtool is disabling shared libraries support.  If you
   7709 *** really care for shared libraries, you may want to modify your PATH
   7710 *** so that a non-GNU linker is found, and then restart.
   7711 
   7712 EOF
   7713       fi
   7714       ;;
   7715 
   7716     amigaos*)
   7717       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)'
   7718       hardcode_libdir_flag_spec='-L$libdir'
   7719       hardcode_minus_L=yes
   7720 
   7721       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7722       # that the semantics of dynamic libraries on AmigaOS, at least up
   7723       # to version 4, is to share data among multiple programs linked
   7724       # with the same dynamic library.  Since this doesn't match the
   7725       # behavior of shared libraries on other platforms, we can't use
   7726       # them.
   7727       ld_shlibs=no
   7728       ;;
   7729 
   7730     beos*)
   7731       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7732 	allow_undefined_flag=unsupported
   7733 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7734 	# support --undefined.  This deserves some investigation.  FIXME
   7735 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7736       else
   7737 	ld_shlibs=no
   7738       fi
   7739       ;;
   7740 
   7741     cygwin* | mingw* | pw32*)
   7742       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7743       # as there is no search path for DLLs.
   7744       hardcode_libdir_flag_spec='-L$libdir'
   7745       allow_undefined_flag=unsupported
   7746       always_export_symbols=no
   7747       enable_shared_with_static_runtimes=yes
   7748       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7749 
   7750       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7751         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7752 	# If the export-symbols file already is a .def file (1st line
   7753 	# is EXPORTS), use it as is; otherwise, prepend...
   7754 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7755 	  cp $export_symbols $output_objdir/$soname.def;
   7756 	else
   7757 	  echo EXPORTS > $output_objdir/$soname.def;
   7758 	  cat $export_symbols >> $output_objdir/$soname.def;
   7759 	fi~
   7760 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7761       else
   7762 	ld_shlibs=no
   7763       fi
   7764       ;;
   7765 
   7766     interix[3-9]*)
   7767       hardcode_direct=no
   7768       hardcode_shlibpath_var=no
   7769       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7770       export_dynamic_flag_spec='${wl}-E'
   7771       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7772       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7773       # default) and relocated if they conflict, which is a slow very memory
   7774       # consuming and fragmenting process.  To avoid this, we pick a random,
   7775       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7776       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7777       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7778       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'
   7779       ;;
   7780 
   7781     gnu* | linux* | k*bsd*-gnu)
   7782       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7783 	tmp_addflag=
   7784 	case $cc_basename,$host_cpu in
   7785 	pgcc*)				# Portland Group C compiler
   7786 	  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'
   7787 	  tmp_addflag=' $pic_flag'
   7788 	  ;;
   7789 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7790 	  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'
   7791 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7792 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7793 	  tmp_addflag=' -i_dynamic' ;;
   7794 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7795 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7796 	ifc* | ifort*)			# Intel Fortran compiler
   7797 	  tmp_addflag=' -nofor_main' ;;
   7798 	esac
   7799 	case `$CC -V 2>&1 | sed 5q` in
   7800 	*Sun\ C*)			# Sun C 5.9
   7801 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   7802 	  tmp_sharedflag='-G' ;;
   7803 	*Sun\ F*)			# Sun Fortran 8.3
   7804 	  tmp_sharedflag='-G' ;;
   7805 	*)
   7806 	  tmp_sharedflag='-shared' ;;
   7807 	esac
   7808 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7809 
   7810 	if test $supports_anon_versioning = yes; then
   7811 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7812   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7813   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7814 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7815 	fi
   7816       else
   7817 	ld_shlibs=no
   7818       fi
   7819       ;;
   7820 
   7821     netbsd*)
   7822       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7823 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7824 	wlarc=
   7825       else
   7826 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7827 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7828       fi
   7829       ;;
   7830 
   7831     solaris*)
   7832       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7833 	ld_shlibs=no
   7834 	cat <<EOF 1>&2
   7835 
   7836 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7837 *** create shared libraries on Solaris systems.  Therefore, libtool
   7838 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7839 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7840 *** your PATH or compiler configuration so that the native linker is
   7841 *** used, and then restart.
   7842 
   7843 EOF
   7844       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7845 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7846 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7847       else
   7848 	ld_shlibs=no
   7849       fi
   7850       ;;
   7851 
   7852     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7853       case `$LD -v 2>&1` in
   7854         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7855 	ld_shlibs=no
   7856 	cat <<_LT_EOF 1>&2
   7857 
   7858 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7859 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7860 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7861 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7862 *** your PATH or compiler configuration so that the native linker is
   7863 *** used, and then restart.
   7864 
   7865 _LT_EOF
   7866 	;;
   7867 	*)
   7868 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7869 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7870 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7871 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7872 	  else
   7873 	    ld_shlibs=no
   7874 	  fi
   7875 	;;
   7876       esac
   7877       ;;
   7878 
   7879     sunos4*)
   7880       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7881       wlarc=
   7882       hardcode_direct=yes
   7883       hardcode_shlibpath_var=no
   7884       ;;
   7885 
   7886     *)
   7887       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7888 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7889 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7890       else
   7891 	ld_shlibs=no
   7892       fi
   7893       ;;
   7894     esac
   7895 
   7896     if test "$ld_shlibs" = no; then
   7897       runpath_var=
   7898       hardcode_libdir_flag_spec=
   7899       export_dynamic_flag_spec=
   7900       whole_archive_flag_spec=
   7901     fi
   7902   else
   7903     # PORTME fill in a description of your system's linker (not GNU ld)
   7904     case $host_os in
   7905     aix3*)
   7906       allow_undefined_flag=unsupported
   7907       always_export_symbols=yes
   7908       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'
   7909       # Note: this linker hardcodes the directories in LIBPATH if there
   7910       # are no directories specified by -L.
   7911       hardcode_minus_L=yes
   7912       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7913 	# Neither direct hardcoding nor static linking is supported with a
   7914 	# broken collect2.
   7915 	hardcode_direct=unsupported
   7916       fi
   7917       ;;
   7918 
   7919     aix4* | aix5*)
   7920       if test "$host_cpu" = ia64; then
   7921 	# On IA64, the linker does run time linking by default, so we don't
   7922 	# have to do anything special.
   7923 	aix_use_runtimelinking=no
   7924 	exp_sym_flag='-Bexport'
   7925 	no_entry_flag=""
   7926       else
   7927 	# If we're using GNU nm, then we don't want the "-C" option.
   7928 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7929 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7930 	  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'
   7931 	else
   7932 	  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'
   7933 	fi
   7934 	aix_use_runtimelinking=no
   7935 
   7936 	# Test if we are trying to use run time linking or normal
   7937 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7938 	# need to do runtime linking.
   7939 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7940 	  for ld_flag in $LDFLAGS; do
   7941   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7942   	    aix_use_runtimelinking=yes
   7943   	    break
   7944   	  fi
   7945 	  done
   7946 	  ;;
   7947 	esac
   7948 
   7949 	exp_sym_flag='-bexport'
   7950 	no_entry_flag='-bnoentry'
   7951       fi
   7952 
   7953       # When large executables or shared objects are built, AIX ld can
   7954       # have problems creating the table of contents.  If linking a library
   7955       # or program results in "error TOC overflow" add -mminimal-toc to
   7956       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7957       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7958 
   7959       archive_cmds=''
   7960       hardcode_direct=yes
   7961       hardcode_libdir_separator=':'
   7962       link_all_deplibs=yes
   7963 
   7964       if test "$GCC" = yes; then
   7965 	case $host_os in aix4.[012]|aix4.[012].*)
   7966 	# We only want to do this on AIX 4.2 and lower, the check
   7967 	# below for broken collect2 doesn't work under 4.3+
   7968 	  collect2name=`${CC} -print-prog-name=collect2`
   7969 	  if test -f "$collect2name" && \
   7970   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7971 	  then
   7972   	  # We have reworked collect2
   7973   	  :
   7974 	  else
   7975   	  # We have old collect2
   7976   	  hardcode_direct=unsupported
   7977   	  # It fails to find uninstalled libraries when the uninstalled
   7978   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7979   	  # to unsupported forces relinking
   7980   	  hardcode_minus_L=yes
   7981   	  hardcode_libdir_flag_spec='-L$libdir'
   7982   	  hardcode_libdir_separator=
   7983 	  fi
   7984 	  ;;
   7985 	esac
   7986 	shared_flag='-shared'
   7987 	if test "$aix_use_runtimelinking" = yes; then
   7988 	  shared_flag="$shared_flag "'${wl}-G'
   7989 	fi
   7990       else
   7991 	# not using gcc
   7992 	if test "$host_cpu" = ia64; then
   7993   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7994   	# chokes on -Wl,-G. The following line is correct:
   7995 	  shared_flag='-G'
   7996 	else
   7997 	  if test "$aix_use_runtimelinking" = yes; then
   7998 	    shared_flag='${wl}-G'
   7999 	  else
   8000 	    shared_flag='${wl}-bM:SRE'
   8001 	  fi
   8002 	fi
   8003       fi
   8004 
   8005       # It seems that -bexpall does not export symbols beginning with
   8006       # underscore (_), so it is better to generate a list of symbols to export.
   8007       always_export_symbols=yes
   8008       if test "$aix_use_runtimelinking" = yes; then
   8009 	# Warning - without using the other runtime loading flags (-brtl),
   8010 	# -berok will link without error, but may produce a broken library.
   8011 	allow_undefined_flag='-berok'
   8012        # Determine the default libpath from the value encoded in an empty executable.
   8013        cat >conftest.$ac_ext <<_ACEOF
   8014 /* confdefs.h.  */
   8015 _ACEOF
   8016 cat confdefs.h >>conftest.$ac_ext
   8017 cat >>conftest.$ac_ext <<_ACEOF
   8018 /* end confdefs.h.  */
   8019 
   8020 int
   8021 main ()
   8022 {
   8023 
   8024   ;
   8025   return 0;
   8026 }
   8027 _ACEOF
   8028 rm -f conftest.$ac_objext conftest$ac_exeext
   8029 if { (ac_try="$ac_link"
   8030 case "(($ac_try" in
   8031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8032   *) ac_try_echo=$ac_try;;
   8033 esac
   8034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8035   (eval "$ac_link") 2>conftest.er1
   8036   ac_status=$?
   8037   grep -v '^ *+' conftest.er1 >conftest.err
   8038   rm -f conftest.er1
   8039   cat conftest.err >&5
   8040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8041   (exit $ac_status); } && {
   8042 	 test -z "$ac_c_werror_flag" ||
   8043 	 test ! -s conftest.err
   8044        } && test -s conftest$ac_exeext &&
   8045        $as_test_x conftest$ac_exeext; then
   8046 
   8047 lt_aix_libpath_sed='
   8048     /Import File Strings/,/^$/ {
   8049 	/^0/ {
   8050 	    s/^0  *\(.*\)$/\1/
   8051 	    p
   8052 	}
   8053     }'
   8054 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8055 # Check for a 64-bit object if we didn't find anything.
   8056 if test -z "$aix_libpath"; then
   8057   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8058 fi
   8059 else
   8060   echo "$as_me: failed program was:" >&5
   8061 sed 's/^/| /' conftest.$ac_ext >&5
   8062 
   8063 
   8064 fi
   8065 
   8066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8067       conftest$ac_exeext conftest.$ac_ext
   8068 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8069 
   8070        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8071 	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"
   8072        else
   8073 	if test "$host_cpu" = ia64; then
   8074 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8075 	  allow_undefined_flag="-z nodefs"
   8076 	  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"
   8077 	else
   8078 	 # Determine the default libpath from the value encoded in an empty executable.
   8079 	 cat >conftest.$ac_ext <<_ACEOF
   8080 /* confdefs.h.  */
   8081 _ACEOF
   8082 cat confdefs.h >>conftest.$ac_ext
   8083 cat >>conftest.$ac_ext <<_ACEOF
   8084 /* end confdefs.h.  */
   8085 
   8086 int
   8087 main ()
   8088 {
   8089 
   8090   ;
   8091   return 0;
   8092 }
   8093 _ACEOF
   8094 rm -f conftest.$ac_objext conftest$ac_exeext
   8095 if { (ac_try="$ac_link"
   8096 case "(($ac_try" in
   8097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8098   *) ac_try_echo=$ac_try;;
   8099 esac
   8100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8101   (eval "$ac_link") 2>conftest.er1
   8102   ac_status=$?
   8103   grep -v '^ *+' conftest.er1 >conftest.err
   8104   rm -f conftest.er1
   8105   cat conftest.err >&5
   8106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8107   (exit $ac_status); } && {
   8108 	 test -z "$ac_c_werror_flag" ||
   8109 	 test ! -s conftest.err
   8110        } && test -s conftest$ac_exeext &&
   8111        $as_test_x conftest$ac_exeext; then
   8112 
   8113 lt_aix_libpath_sed='
   8114     /Import File Strings/,/^$/ {
   8115 	/^0/ {
   8116 	    s/^0  *\(.*\)$/\1/
   8117 	    p
   8118 	}
   8119     }'
   8120 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8121 # Check for a 64-bit object if we didn't find anything.
   8122 if test -z "$aix_libpath"; then
   8123   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8124 fi
   8125 else
   8126   echo "$as_me: failed program was:" >&5
   8127 sed 's/^/| /' conftest.$ac_ext >&5
   8128 
   8129 
   8130 fi
   8131 
   8132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8133       conftest$ac_exeext conftest.$ac_ext
   8134 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8135 
   8136 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8137 	  # Warning - without using the other run time loading flags,
   8138 	  # -berok will link without error, but may produce a broken library.
   8139 	  no_undefined_flag=' ${wl}-bernotok'
   8140 	  allow_undefined_flag=' ${wl}-berok'
   8141 	  # Exported symbols can be pulled into shared objects from archives
   8142 	  whole_archive_flag_spec='$convenience'
   8143 	  archive_cmds_need_lc=yes
   8144 	  # This is similar to how AIX traditionally builds its shared libraries.
   8145 	  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'
   8146 	fi
   8147       fi
   8148       ;;
   8149 
   8150     amigaos*)
   8151       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)'
   8152       hardcode_libdir_flag_spec='-L$libdir'
   8153       hardcode_minus_L=yes
   8154       # see comment about different semantics on the GNU ld section
   8155       ld_shlibs=no
   8156       ;;
   8157 
   8158     bsdi[45]*)
   8159       export_dynamic_flag_spec=-rdynamic
   8160       ;;
   8161 
   8162     cygwin* | mingw* | pw32*)
   8163       # When not using gcc, we currently assume that we are using
   8164       # Microsoft Visual C++.
   8165       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8166       # no search path for DLLs.
   8167       hardcode_libdir_flag_spec=' '
   8168       allow_undefined_flag=unsupported
   8169       # Tell ltmain to make .lib files, not .a files.
   8170       libext=lib
   8171       # Tell ltmain to make .dll files, not .so files.
   8172       shrext_cmds=".dll"
   8173       # FIXME: Setting linknames here is a bad hack.
   8174       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8175       # The linker will automatically build a .lib file if we build a DLL.
   8176       old_archive_From_new_cmds='true'
   8177       # FIXME: Should let the user specify the lib program.
   8178       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8179       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8180       enable_shared_with_static_runtimes=yes
   8181       ;;
   8182 
   8183     darwin* | rhapsody*)
   8184       case $host_os in
   8185         rhapsody* | darwin1.[012])
   8186          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8187          ;;
   8188        *) # Darwin 1.3 on
   8189          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8190            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8191          else
   8192            case ${MACOSX_DEPLOYMENT_TARGET} in
   8193              10.[012])
   8194                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8195                ;;
   8196              10.*)
   8197                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8198                ;;
   8199            esac
   8200          fi
   8201          ;;
   8202       esac
   8203       archive_cmds_need_lc=no
   8204       hardcode_direct=no
   8205       hardcode_automatic=yes
   8206       hardcode_shlibpath_var=unsupported
   8207       whole_archive_flag_spec=''
   8208       link_all_deplibs=yes
   8209     if test "$GCC" = yes ; then
   8210     	output_verbose_link_cmd='echo'
   8211         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8212       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8213       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8214       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}'
   8215       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}'
   8216     else
   8217       case $cc_basename in
   8218         xlc*)
   8219          output_verbose_link_cmd='echo'
   8220          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8221          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8222           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8223          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8224           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}'
   8225           ;;
   8226        *)
   8227          ld_shlibs=no
   8228           ;;
   8229       esac
   8230     fi
   8231       ;;
   8232 
   8233     dgux*)
   8234       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8235       hardcode_libdir_flag_spec='-L$libdir'
   8236       hardcode_shlibpath_var=no
   8237       ;;
   8238 
   8239     freebsd1*)
   8240       ld_shlibs=no
   8241       ;;
   8242 
   8243     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8244     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8245     # does not break anything, and helps significantly (at the cost of a little
   8246     # extra space).
   8247     freebsd2.2*)
   8248       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8249       hardcode_libdir_flag_spec='-R$libdir'
   8250       hardcode_direct=yes
   8251       hardcode_shlibpath_var=no
   8252       ;;
   8253 
   8254     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8255     freebsd2*)
   8256       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8257       hardcode_direct=yes
   8258       hardcode_minus_L=yes
   8259       hardcode_shlibpath_var=no
   8260       ;;
   8261 
   8262     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8263     freebsd* | dragonfly*)
   8264       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8265       hardcode_libdir_flag_spec='-R$libdir'
   8266       hardcode_direct=yes
   8267       hardcode_shlibpath_var=no
   8268       ;;
   8269 
   8270     hpux9*)
   8271       if test "$GCC" = yes; then
   8272 	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'
   8273       else
   8274 	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'
   8275       fi
   8276       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8277       hardcode_libdir_separator=:
   8278       hardcode_direct=yes
   8279 
   8280       # hardcode_minus_L: Not really in the search PATH,
   8281       # but as the default location of the library.
   8282       hardcode_minus_L=yes
   8283       export_dynamic_flag_spec='${wl}-E'
   8284       ;;
   8285 
   8286     hpux10*)
   8287       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8288 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8289       else
   8290 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8291       fi
   8292       if test "$with_gnu_ld" = no; then
   8293 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8294 	hardcode_libdir_separator=:
   8295 
   8296 	hardcode_direct=yes
   8297 	export_dynamic_flag_spec='${wl}-E'
   8298 
   8299 	# hardcode_minus_L: Not really in the search PATH,
   8300 	# but as the default location of the library.
   8301 	hardcode_minus_L=yes
   8302       fi
   8303       ;;
   8304 
   8305     hpux11*)
   8306       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8307 	case $host_cpu in
   8308 	hppa*64*)
   8309 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8310 	  ;;
   8311 	ia64*)
   8312 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8313 	  ;;
   8314 	*)
   8315 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8316 	  ;;
   8317 	esac
   8318       else
   8319 	case $host_cpu in
   8320 	hppa*64*)
   8321 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8322 	  ;;
   8323 	ia64*)
   8324 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8325 	  ;;
   8326 	*)
   8327 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8328 	  ;;
   8329 	esac
   8330       fi
   8331       if test "$with_gnu_ld" = no; then
   8332 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8333 	hardcode_libdir_separator=:
   8334 
   8335 	case $host_cpu in
   8336 	hppa*64*|ia64*)
   8337 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8338 	  hardcode_direct=no
   8339 	  hardcode_shlibpath_var=no
   8340 	  ;;
   8341 	*)
   8342 	  hardcode_direct=yes
   8343 	  export_dynamic_flag_spec='${wl}-E'
   8344 
   8345 	  # hardcode_minus_L: Not really in the search PATH,
   8346 	  # but as the default location of the library.
   8347 	  hardcode_minus_L=yes
   8348 	  ;;
   8349 	esac
   8350       fi
   8351       ;;
   8352 
   8353     irix5* | irix6* | nonstopux*)
   8354       if test "$GCC" = yes; then
   8355 	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'
   8356       else
   8357 	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'
   8358 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8359       fi
   8360       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8361       hardcode_libdir_separator=:
   8362       link_all_deplibs=yes
   8363       ;;
   8364 
   8365     netbsd*)
   8366       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8367 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8368       else
   8369 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8370       fi
   8371       hardcode_libdir_flag_spec='-R$libdir'
   8372       hardcode_direct=yes
   8373       hardcode_shlibpath_var=no
   8374       ;;
   8375 
   8376     newsos6)
   8377       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8378       hardcode_direct=yes
   8379       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8380       hardcode_libdir_separator=:
   8381       hardcode_shlibpath_var=no
   8382       ;;
   8383 
   8384     openbsd*)
   8385       if test -f /usr/libexec/ld.so; then
   8386 	hardcode_direct=yes
   8387 	hardcode_shlibpath_var=no
   8388 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8389 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8390 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8391 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8392 	  export_dynamic_flag_spec='${wl}-E'
   8393 	else
   8394 	  case $host_os in
   8395 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8396 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8397 	     hardcode_libdir_flag_spec='-R$libdir'
   8398 	     ;;
   8399 	   *)
   8400 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8401 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8402 	     ;;
   8403 	  esac
   8404         fi
   8405       else
   8406 	ld_shlibs=no
   8407       fi
   8408       ;;
   8409 
   8410     os2*)
   8411       hardcode_libdir_flag_spec='-L$libdir'
   8412       hardcode_minus_L=yes
   8413       allow_undefined_flag=unsupported
   8414       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'
   8415       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8416       ;;
   8417 
   8418     osf3*)
   8419       if test "$GCC" = yes; then
   8420 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8421 	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'
   8422       else
   8423 	allow_undefined_flag=' -expect_unresolved \*'
   8424 	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'
   8425       fi
   8426       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8427       hardcode_libdir_separator=:
   8428       ;;
   8429 
   8430     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8431       if test "$GCC" = yes; then
   8432 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8433 	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'
   8434 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8435       else
   8436 	allow_undefined_flag=' -expect_unresolved \*'
   8437 	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'
   8438 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8439 	$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'
   8440 
   8441 	# Both c and cxx compiler support -rpath directly
   8442 	hardcode_libdir_flag_spec='-rpath $libdir'
   8443       fi
   8444       hardcode_libdir_separator=:
   8445       ;;
   8446 
   8447     solaris*)
   8448       no_undefined_flag=' -z text'
   8449       if test "$GCC" = yes; then
   8450 	wlarc='${wl}'
   8451 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8452 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8453 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8454       else
   8455 	wlarc=''
   8456 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8457 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8458   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8459       fi
   8460       hardcode_libdir_flag_spec='-R$libdir'
   8461       hardcode_shlibpath_var=no
   8462       case $host_os in
   8463       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8464       *)
   8465 	# The compiler driver will combine and reorder linker options,
   8466 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8467 	# but is careful enough not to reorder.
   8468  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8469 	if test "$GCC" = yes; then
   8470 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8471 	else
   8472 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8473 	fi
   8474 	;;
   8475       esac
   8476       link_all_deplibs=yes
   8477       ;;
   8478 
   8479     sunos4*)
   8480       if test "x$host_vendor" = xsequent; then
   8481 	# Use $CC to link under sequent, because it throws in some extra .o
   8482 	# files that make .init and .fini sections work.
   8483 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8484       else
   8485 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8486       fi
   8487       hardcode_libdir_flag_spec='-L$libdir'
   8488       hardcode_direct=yes
   8489       hardcode_minus_L=yes
   8490       hardcode_shlibpath_var=no
   8491       ;;
   8492 
   8493     sysv4)
   8494       case $host_vendor in
   8495 	sni)
   8496 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8497 	  hardcode_direct=yes # is this really true???
   8498 	;;
   8499 	siemens)
   8500 	  ## LD is ld it makes a PLAMLIB
   8501 	  ## CC just makes a GrossModule.
   8502 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8503 	  reload_cmds='$CC -r -o $output$reload_objs'
   8504 	  hardcode_direct=no
   8505         ;;
   8506 	motorola)
   8507 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8508 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8509 	;;
   8510       esac
   8511       runpath_var='LD_RUN_PATH'
   8512       hardcode_shlibpath_var=no
   8513       ;;
   8514 
   8515     sysv4.3*)
   8516       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8517       hardcode_shlibpath_var=no
   8518       export_dynamic_flag_spec='-Bexport'
   8519       ;;
   8520 
   8521     sysv4*MP*)
   8522       if test -d /usr/nec; then
   8523 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8524 	hardcode_shlibpath_var=no
   8525 	runpath_var=LD_RUN_PATH
   8526 	hardcode_runpath_var=yes
   8527 	ld_shlibs=yes
   8528       fi
   8529       ;;
   8530 
   8531     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8532       no_undefined_flag='${wl}-z,text'
   8533       archive_cmds_need_lc=no
   8534       hardcode_shlibpath_var=no
   8535       runpath_var='LD_RUN_PATH'
   8536 
   8537       if test "$GCC" = yes; then
   8538 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8539 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8540       else
   8541 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8542 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8543       fi
   8544       ;;
   8545 
   8546     sysv5* | sco3.2v5* | sco5v6*)
   8547       # Note: We can NOT use -z defs as we might desire, because we do not
   8548       # link with -lc, and that would cause any symbols used from libc to
   8549       # always be unresolved, which means just about no library would
   8550       # ever link correctly.  If we're not using GNU ld we use -z text
   8551       # though, which does catch some bad symbols but isn't as heavy-handed
   8552       # as -z defs.
   8553       no_undefined_flag='${wl}-z,text'
   8554       allow_undefined_flag='${wl}-z,nodefs'
   8555       archive_cmds_need_lc=no
   8556       hardcode_shlibpath_var=no
   8557       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8558       hardcode_libdir_separator=':'
   8559       link_all_deplibs=yes
   8560       export_dynamic_flag_spec='${wl}-Bexport'
   8561       runpath_var='LD_RUN_PATH'
   8562 
   8563       if test "$GCC" = yes; then
   8564 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8565 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8566       else
   8567 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8568 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8569       fi
   8570       ;;
   8571 
   8572     uts4*)
   8573       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8574       hardcode_libdir_flag_spec='-L$libdir'
   8575       hardcode_shlibpath_var=no
   8576       ;;
   8577 
   8578     *)
   8579       ld_shlibs=no
   8580       ;;
   8581     esac
   8582   fi
   8583 
   8584 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8585 echo "${ECHO_T}$ld_shlibs" >&6; }
   8586 test "$ld_shlibs" = no && can_build_shared=no
   8587 
   8588 #
   8589 # Do we need to explicitly link libc?
   8590 #
   8591 case "x$archive_cmds_need_lc" in
   8592 x|xyes)
   8593   # Assume -lc should be added
   8594   archive_cmds_need_lc=yes
   8595 
   8596   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8597     case $archive_cmds in
   8598     *'~'*)
   8599       # FIXME: we may have to deal with multi-command sequences.
   8600       ;;
   8601     '$CC '*)
   8602       # Test whether the compiler implicitly links with -lc since on some
   8603       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8604       # to ld, don't add -lc before -lgcc.
   8605       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8606 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8607       $rm conftest*
   8608       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8609 
   8610       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8611   (eval $ac_compile) 2>&5
   8612   ac_status=$?
   8613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8614   (exit $ac_status); } 2>conftest.err; then
   8615         soname=conftest
   8616         lib=conftest
   8617         libobjs=conftest.$ac_objext
   8618         deplibs=
   8619         wl=$lt_prog_compiler_wl
   8620 	pic_flag=$lt_prog_compiler_pic
   8621         compiler_flags=-v
   8622         linker_flags=-v
   8623         verstring=
   8624         output_objdir=.
   8625         libname=conftest
   8626         lt_save_allow_undefined_flag=$allow_undefined_flag
   8627         allow_undefined_flag=
   8628         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8629   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8630   ac_status=$?
   8631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8632   (exit $ac_status); }
   8633         then
   8634 	  archive_cmds_need_lc=no
   8635         else
   8636 	  archive_cmds_need_lc=yes
   8637         fi
   8638         allow_undefined_flag=$lt_save_allow_undefined_flag
   8639       else
   8640         cat conftest.err 1>&5
   8641       fi
   8642       $rm conftest*
   8643       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8644 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8645       ;;
   8646     esac
   8647   fi
   8648   ;;
   8649 esac
   8650 
   8651 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8652 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8653 library_names_spec=
   8654 libname_spec='lib$name'
   8655 soname_spec=
   8656 shrext_cmds=".so"
   8657 postinstall_cmds=
   8658 postuninstall_cmds=
   8659 finish_cmds=
   8660 finish_eval=
   8661 shlibpath_var=
   8662 shlibpath_overrides_runpath=unknown
   8663 version_type=none
   8664 dynamic_linker="$host_os ld.so"
   8665 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8666 
   8667 if test "$GCC" = yes; then
   8668   case $host_os in
   8669     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   8670     *) lt_awk_arg="/^libraries:/" ;;
   8671   esac
   8672   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8673   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   8674     # if the path contains ";" then we assume it to be the separator
   8675     # otherwise default to the standard path separator (i.e. ":") - it is
   8676     # assumed that no part of a normal pathname contains ";" but that should
   8677     # okay in the real world where ";" in dirpaths is itself problematic.
   8678     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   8679   else
   8680     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8681   fi
   8682   # Ok, now we have the path, separated by spaces, we can step through it
   8683   # and add multilib dir if necessary.
   8684   lt_tmp_lt_search_path_spec=
   8685   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   8686   for lt_sys_path in $lt_search_path_spec; do
   8687     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   8688       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   8689     else
   8690       test -d "$lt_sys_path" && \
   8691 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   8692     fi
   8693   done
   8694   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   8695 BEGIN {RS=" "; FS="/|\n";} {
   8696   lt_foo="";
   8697   lt_count=0;
   8698   for (lt_i = NF; lt_i > 0; lt_i--) {
   8699     if ($lt_i != "" && $lt_i != ".") {
   8700       if ($lt_i == "..") {
   8701         lt_count++;
   8702       } else {
   8703         if (lt_count == 0) {
   8704           lt_foo="/" $lt_i lt_foo;
   8705         } else {
   8706           lt_count--;
   8707         }
   8708       }
   8709     }
   8710   }
   8711   if (lt_foo != "") { lt_freq[lt_foo]++; }
   8712   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   8713 }'`
   8714   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   8715 else
   8716   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8717 fi
   8718 need_lib_prefix=unknown
   8719 hardcode_into_libs=no
   8720 
   8721 # when you set need_version to no, make sure it does not cause -set_version
   8722 # flags to be left without arguments
   8723 need_version=unknown
   8724 
   8725 case $host_os in
   8726 aix3*)
   8727   version_type=linux
   8728   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8729   shlibpath_var=LIBPATH
   8730 
   8731   # AIX 3 has no versioning support, so we append a major version to the name.
   8732   soname_spec='${libname}${release}${shared_ext}$major'
   8733   ;;
   8734 
   8735 aix4* | aix5*)
   8736   version_type=linux
   8737   need_lib_prefix=no
   8738   need_version=no
   8739   hardcode_into_libs=yes
   8740   if test "$host_cpu" = ia64; then
   8741     # AIX 5 supports IA64
   8742     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8743     shlibpath_var=LD_LIBRARY_PATH
   8744   else
   8745     # With GCC up to 2.95.x, collect2 would create an import file
   8746     # for dependence libraries.  The import file would start with
   8747     # the line `#! .'.  This would cause the generated library to
   8748     # depend on `.', always an invalid library.  This was fixed in
   8749     # development snapshots of GCC prior to 3.0.
   8750     case $host_os in
   8751       aix4 | aix4.[01] | aix4.[01].*)
   8752       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8753 	   echo ' yes '
   8754 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8755 	:
   8756       else
   8757 	can_build_shared=no
   8758       fi
   8759       ;;
   8760     esac
   8761     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8762     # soname into executable. Probably we can add versioning support to
   8763     # collect2, so additional links can be useful in future.
   8764     if test "$aix_use_runtimelinking" = yes; then
   8765       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8766       # instead of lib<name>.a to let people know that these are not
   8767       # typical AIX shared libraries.
   8768       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8769     else
   8770       # We preserve .a as extension for shared libraries through AIX4.2
   8771       # and later when we are not doing run time linking.
   8772       library_names_spec='${libname}${release}.a $libname.a'
   8773       soname_spec='${libname}${release}${shared_ext}$major'
   8774     fi
   8775     shlibpath_var=LIBPATH
   8776   fi
   8777   ;;
   8778 
   8779 amigaos*)
   8780   library_names_spec='$libname.ixlibrary $libname.a'
   8781   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8782   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'
   8783   ;;
   8784 
   8785 beos*)
   8786   library_names_spec='${libname}${shared_ext}'
   8787   dynamic_linker="$host_os ld.so"
   8788   shlibpath_var=LIBRARY_PATH
   8789   ;;
   8790 
   8791 bsdi[45]*)
   8792   version_type=linux
   8793   need_version=no
   8794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8795   soname_spec='${libname}${release}${shared_ext}$major'
   8796   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8797   shlibpath_var=LD_LIBRARY_PATH
   8798   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8799   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8800   # the default ld.so.conf also contains /usr/contrib/lib and
   8801   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8802   # libtool to hard-code these into programs
   8803   ;;
   8804 
   8805 cygwin* | mingw* | pw32*)
   8806   version_type=windows
   8807   shrext_cmds=".dll"
   8808   need_version=no
   8809   need_lib_prefix=no
   8810 
   8811   case $GCC,$host_os in
   8812   yes,cygwin* | yes,mingw* | yes,pw32*)
   8813     library_names_spec='$libname.dll.a'
   8814     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8815     postinstall_cmds='base_file=`basename \${file}`~
   8816       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8817       dldir=$destdir/`dirname \$dlpath`~
   8818       test -d \$dldir || mkdir -p \$dldir~
   8819       $install_prog $dir/$dlname \$dldir/$dlname~
   8820       chmod a+x \$dldir/$dlname'
   8821     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8822       dlpath=$dir/\$dldll~
   8823        $rm \$dlpath'
   8824     shlibpath_overrides_runpath=yes
   8825 
   8826     case $host_os in
   8827     cygwin*)
   8828       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8829       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8830       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8831       ;;
   8832     mingw*)
   8833       # MinGW DLLs use traditional 'lib' prefix
   8834       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8835       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8836       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8837         # It is most probably a Windows format PATH printed by
   8838         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8839         # path with ; separators, and with drive letters. We can handle the
   8840         # drive letters (cygwin fileutils understands them), so leave them,
   8841         # especially as we might pass files found there to a mingw objdump,
   8842         # which wouldn't understand a cygwinified path. Ahh.
   8843         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8844       else
   8845         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8846       fi
   8847       ;;
   8848     pw32*)
   8849       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8850       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8851       ;;
   8852     esac
   8853     ;;
   8854 
   8855   *)
   8856     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8857     ;;
   8858   esac
   8859   dynamic_linker='Win32 ld.exe'
   8860   # FIXME: first we should search . and the directory the executable is in
   8861   shlibpath_var=PATH
   8862   ;;
   8863 
   8864 darwin* | rhapsody*)
   8865   dynamic_linker="$host_os dyld"
   8866   version_type=darwin
   8867   need_lib_prefix=no
   8868   need_version=no
   8869   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8870   soname_spec='${libname}${release}${major}$shared_ext'
   8871   shlibpath_overrides_runpath=yes
   8872   shlibpath_var=DYLD_LIBRARY_PATH
   8873   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8874 
   8875   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   8876   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8877   ;;
   8878 
   8879 dgux*)
   8880   version_type=linux
   8881   need_lib_prefix=no
   8882   need_version=no
   8883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8884   soname_spec='${libname}${release}${shared_ext}$major'
   8885   shlibpath_var=LD_LIBRARY_PATH
   8886   ;;
   8887 
   8888 freebsd1*)
   8889   dynamic_linker=no
   8890   ;;
   8891 
   8892 freebsd* | dragonfly*)
   8893   # DragonFly does not have aout.  When/if they implement a new
   8894   # versioning mechanism, adjust this.
   8895   if test -x /usr/bin/objformat; then
   8896     objformat=`/usr/bin/objformat`
   8897   else
   8898     case $host_os in
   8899     freebsd[123]*) objformat=aout ;;
   8900     *) objformat=elf ;;
   8901     esac
   8902   fi
   8903   version_type=freebsd-$objformat
   8904   case $version_type in
   8905     freebsd-elf*)
   8906       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8907       need_version=no
   8908       need_lib_prefix=no
   8909       ;;
   8910     freebsd-*)
   8911       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8912       need_version=yes
   8913       ;;
   8914   esac
   8915   shlibpath_var=LD_LIBRARY_PATH
   8916   case $host_os in
   8917   freebsd2*)
   8918     shlibpath_overrides_runpath=yes
   8919     ;;
   8920   freebsd3.[01]* | freebsdelf3.[01]*)
   8921     shlibpath_overrides_runpath=yes
   8922     hardcode_into_libs=yes
   8923     ;;
   8924   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8925   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8926     shlibpath_overrides_runpath=no
   8927     hardcode_into_libs=yes
   8928     ;;
   8929   *) # from 4.6 on, and DragonFly
   8930     shlibpath_overrides_runpath=yes
   8931     hardcode_into_libs=yes
   8932     ;;
   8933   esac
   8934   ;;
   8935 
   8936 gnu*)
   8937   version_type=linux
   8938   need_lib_prefix=no
   8939   need_version=no
   8940   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8941   soname_spec='${libname}${release}${shared_ext}$major'
   8942   shlibpath_var=LD_LIBRARY_PATH
   8943   hardcode_into_libs=yes
   8944   ;;
   8945 
   8946 hpux9* | hpux10* | hpux11*)
   8947   # Give a soname corresponding to the major version so that dld.sl refuses to
   8948   # link against other versions.
   8949   version_type=sunos
   8950   need_lib_prefix=no
   8951   need_version=no
   8952   case $host_cpu in
   8953   ia64*)
   8954     shrext_cmds='.so'
   8955     hardcode_into_libs=yes
   8956     dynamic_linker="$host_os dld.so"
   8957     shlibpath_var=LD_LIBRARY_PATH
   8958     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8959     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8960     soname_spec='${libname}${release}${shared_ext}$major'
   8961     if test "X$HPUX_IA64_MODE" = X32; then
   8962       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8963     else
   8964       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8965     fi
   8966     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8967     ;;
   8968    hppa*64*)
   8969      shrext_cmds='.sl'
   8970      hardcode_into_libs=yes
   8971      dynamic_linker="$host_os dld.sl"
   8972      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8973      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8974      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8975      soname_spec='${libname}${release}${shared_ext}$major'
   8976      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8977      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8978      ;;
   8979    *)
   8980     shrext_cmds='.sl'
   8981     dynamic_linker="$host_os dld.sl"
   8982     shlibpath_var=SHLIB_PATH
   8983     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8984     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8985     soname_spec='${libname}${release}${shared_ext}$major'
   8986     ;;
   8987   esac
   8988   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8989   postinstall_cmds='chmod 555 $lib'
   8990   ;;
   8991 
   8992 interix[3-9]*)
   8993   version_type=linux
   8994   need_lib_prefix=no
   8995   need_version=no
   8996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8997   soname_spec='${libname}${release}${shared_ext}$major'
   8998   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8999   shlibpath_var=LD_LIBRARY_PATH
   9000   shlibpath_overrides_runpath=no
   9001   hardcode_into_libs=yes
   9002   ;;
   9003 
   9004 irix5* | irix6* | nonstopux*)
   9005   case $host_os in
   9006     nonstopux*) version_type=nonstopux ;;
   9007     *)
   9008 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9009 		version_type=linux
   9010 	else
   9011 		version_type=irix
   9012 	fi ;;
   9013   esac
   9014   need_lib_prefix=no
   9015   need_version=no
   9016   soname_spec='${libname}${release}${shared_ext}$major'
   9017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9018   case $host_os in
   9019   irix5* | nonstopux*)
   9020     libsuff= shlibsuff=
   9021     ;;
   9022   *)
   9023     case $LD in # libtool.m4 will add one of these switches to LD
   9024     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9025       libsuff= shlibsuff= libmagic=32-bit;;
   9026     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9027       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9028     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9029       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9030     *) libsuff= shlibsuff= libmagic=never-match;;
   9031     esac
   9032     ;;
   9033   esac
   9034   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9035   shlibpath_overrides_runpath=no
   9036   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9037   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9038   hardcode_into_libs=yes
   9039   ;;
   9040 
   9041 # No shared lib support for Linux oldld, aout, or coff.
   9042 linux*oldld* | linux*aout* | linux*coff*)
   9043   dynamic_linker=no
   9044   ;;
   9045 
   9046 # This must be Linux ELF.
   9047 linux* | k*bsd*-gnu)
   9048   version_type=linux
   9049   need_lib_prefix=no
   9050   need_version=no
   9051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9052   soname_spec='${libname}${release}${shared_ext}$major'
   9053   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9054   shlibpath_var=LD_LIBRARY_PATH
   9055   shlibpath_overrides_runpath=no
   9056   # This implies no fast_install, which is unacceptable.
   9057   # Some rework will be needed to allow for fast_install
   9058   # before this can be enabled.
   9059   hardcode_into_libs=yes
   9060   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9061   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9062 
   9063   # Append ld.so.conf contents to the search path
   9064   if test -f /etc/ld.so.conf; then
   9065     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9066     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9067   fi
   9068 
   9069   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9070   # powerpc, because MkLinux only supported shared libraries with the
   9071   # GNU dynamic linker.  Since this was broken with cross compilers,
   9072   # most powerpc-linux boxes support dynamic linking these days and
   9073   # people can always --disable-shared, the test was removed, and we
   9074   # assume the GNU/Linux dynamic linker is in use.
   9075   dynamic_linker='GNU/Linux ld.so'
   9076   ;;
   9077 
   9078 netbsd*)
   9079   version_type=sunos
   9080   need_lib_prefix=no
   9081   need_version=no
   9082   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9083     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9084     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9085     dynamic_linker='NetBSD (a.out) ld.so'
   9086   else
   9087     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9088     soname_spec='${libname}${release}${shared_ext}$major'
   9089     dynamic_linker='NetBSD ld.elf_so'
   9090   fi
   9091   shlibpath_var=LD_LIBRARY_PATH
   9092   shlibpath_overrides_runpath=yes
   9093   hardcode_into_libs=yes
   9094   ;;
   9095 
   9096 newsos6)
   9097   version_type=linux
   9098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9099   shlibpath_var=LD_LIBRARY_PATH
   9100   shlibpath_overrides_runpath=yes
   9101   ;;
   9102 
   9103 nto-qnx*)
   9104   version_type=linux
   9105   need_lib_prefix=no
   9106   need_version=no
   9107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9108   soname_spec='${libname}${release}${shared_ext}$major'
   9109   shlibpath_var=LD_LIBRARY_PATH
   9110   shlibpath_overrides_runpath=yes
   9111   ;;
   9112 
   9113 openbsd*)
   9114   version_type=sunos
   9115   sys_lib_dlsearch_path_spec="/usr/lib"
   9116   need_lib_prefix=no
   9117   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9118   case $host_os in
   9119     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9120     *)                         need_version=no  ;;
   9121   esac
   9122   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9123   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9124   shlibpath_var=LD_LIBRARY_PATH
   9125   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9126     case $host_os in
   9127       openbsd2.[89] | openbsd2.[89].*)
   9128 	shlibpath_overrides_runpath=no
   9129 	;;
   9130       *)
   9131 	shlibpath_overrides_runpath=yes
   9132 	;;
   9133       esac
   9134   else
   9135     shlibpath_overrides_runpath=yes
   9136   fi
   9137   ;;
   9138 
   9139 os2*)
   9140   libname_spec='$name'
   9141   shrext_cmds=".dll"
   9142   need_lib_prefix=no
   9143   library_names_spec='$libname${shared_ext} $libname.a'
   9144   dynamic_linker='OS/2 ld.exe'
   9145   shlibpath_var=LIBPATH
   9146   ;;
   9147 
   9148 osf3* | osf4* | osf5*)
   9149   version_type=osf
   9150   need_lib_prefix=no
   9151   need_version=no
   9152   soname_spec='${libname}${release}${shared_ext}$major'
   9153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9154   shlibpath_var=LD_LIBRARY_PATH
   9155   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9156   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9157   ;;
   9158 
   9159 rdos*)
   9160   dynamic_linker=no
   9161   ;;
   9162 
   9163 solaris*)
   9164   version_type=linux
   9165   need_lib_prefix=no
   9166   need_version=no
   9167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9168   soname_spec='${libname}${release}${shared_ext}$major'
   9169   shlibpath_var=LD_LIBRARY_PATH
   9170   shlibpath_overrides_runpath=yes
   9171   hardcode_into_libs=yes
   9172   # ldd complains unless libraries are executable
   9173   postinstall_cmds='chmod +x $lib'
   9174   ;;
   9175 
   9176 sunos4*)
   9177   version_type=sunos
   9178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9179   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9180   shlibpath_var=LD_LIBRARY_PATH
   9181   shlibpath_overrides_runpath=yes
   9182   if test "$with_gnu_ld" = yes; then
   9183     need_lib_prefix=no
   9184   fi
   9185   need_version=yes
   9186   ;;
   9187 
   9188 sysv4 | sysv4.3*)
   9189   version_type=linux
   9190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9191   soname_spec='${libname}${release}${shared_ext}$major'
   9192   shlibpath_var=LD_LIBRARY_PATH
   9193   case $host_vendor in
   9194     sni)
   9195       shlibpath_overrides_runpath=no
   9196       need_lib_prefix=no
   9197       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9198       runpath_var=LD_RUN_PATH
   9199       ;;
   9200     siemens)
   9201       need_lib_prefix=no
   9202       ;;
   9203     motorola)
   9204       need_lib_prefix=no
   9205       need_version=no
   9206       shlibpath_overrides_runpath=no
   9207       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9208       ;;
   9209   esac
   9210   ;;
   9211 
   9212 sysv4*MP*)
   9213   if test -d /usr/nec ;then
   9214     version_type=linux
   9215     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9216     soname_spec='$libname${shared_ext}.$major'
   9217     shlibpath_var=LD_LIBRARY_PATH
   9218   fi
   9219   ;;
   9220 
   9221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9222   version_type=freebsd-elf
   9223   need_lib_prefix=no
   9224   need_version=no
   9225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9226   soname_spec='${libname}${release}${shared_ext}$major'
   9227   shlibpath_var=LD_LIBRARY_PATH
   9228   hardcode_into_libs=yes
   9229   if test "$with_gnu_ld" = yes; then
   9230     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9231     shlibpath_overrides_runpath=no
   9232   else
   9233     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9234     shlibpath_overrides_runpath=yes
   9235     case $host_os in
   9236       sco3.2v5*)
   9237         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9238 	;;
   9239     esac
   9240   fi
   9241   sys_lib_dlsearch_path_spec='/usr/lib'
   9242   ;;
   9243 
   9244 uts4*)
   9245   version_type=linux
   9246   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9247   soname_spec='${libname}${release}${shared_ext}$major'
   9248   shlibpath_var=LD_LIBRARY_PATH
   9249   ;;
   9250 
   9251 *)
   9252   dynamic_linker=no
   9253   ;;
   9254 esac
   9255 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9256 echo "${ECHO_T}$dynamic_linker" >&6; }
   9257 test "$dynamic_linker" = no && can_build_shared=no
   9258 
   9259 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9260 if test "$GCC" = yes; then
   9261   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9262 fi
   9263 
   9264 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9265 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9266 hardcode_action=
   9267 if test -n "$hardcode_libdir_flag_spec" || \
   9268    test -n "$runpath_var" || \
   9269    test "X$hardcode_automatic" = "Xyes" ; then
   9270 
   9271   # We can hardcode non-existant directories.
   9272   if test "$hardcode_direct" != no &&
   9273      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9274      # have to relink, otherwise we might link with an installed library
   9275      # when we should be linking with a yet-to-be-installed one
   9276      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9277      test "$hardcode_minus_L" != no; then
   9278     # Linking always hardcodes the temporary library directory.
   9279     hardcode_action=relink
   9280   else
   9281     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9282     hardcode_action=immediate
   9283   fi
   9284 else
   9285   # We cannot hardcode anything, or else we can only hardcode existing
   9286   # directories.
   9287   hardcode_action=unsupported
   9288 fi
   9289 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9290 echo "${ECHO_T}$hardcode_action" >&6; }
   9291 
   9292 if test "$hardcode_action" = relink; then
   9293   # Fast installation is not supported
   9294   enable_fast_install=no
   9295 elif test "$shlibpath_overrides_runpath" = yes ||
   9296      test "$enable_shared" = no; then
   9297   # Fast installation is not necessary
   9298   enable_fast_install=needless
   9299 fi
   9300 
   9301 striplib=
   9302 old_striplib=
   9303 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9304 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9305 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9306   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9307   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9308   { echo "$as_me:$LINENO: result: yes" >&5
   9309 echo "${ECHO_T}yes" >&6; }
   9310 else
   9311 # FIXME - insert some real tests, host_os isn't really good enough
   9312   case $host_os in
   9313    darwin*)
   9314        if test -n "$STRIP" ; then
   9315          striplib="$STRIP -x"
   9316          old_striplib="$STRIP -S"
   9317          { echo "$as_me:$LINENO: result: yes" >&5
   9318 echo "${ECHO_T}yes" >&6; }
   9319        else
   9320   { echo "$as_me:$LINENO: result: no" >&5
   9321 echo "${ECHO_T}no" >&6; }
   9322 fi
   9323        ;;
   9324    *)
   9325   { echo "$as_me:$LINENO: result: no" >&5
   9326 echo "${ECHO_T}no" >&6; }
   9327     ;;
   9328   esac
   9329 fi
   9330 
   9331 if test "x$enable_dlopen" != xyes; then
   9332   enable_dlopen=unknown
   9333   enable_dlopen_self=unknown
   9334   enable_dlopen_self_static=unknown
   9335 else
   9336   lt_cv_dlopen=no
   9337   lt_cv_dlopen_libs=
   9338 
   9339   case $host_os in
   9340   beos*)
   9341     lt_cv_dlopen="load_add_on"
   9342     lt_cv_dlopen_libs=
   9343     lt_cv_dlopen_self=yes
   9344     ;;
   9345 
   9346   mingw* | pw32*)
   9347     lt_cv_dlopen="LoadLibrary"
   9348     lt_cv_dlopen_libs=
   9349    ;;
   9350 
   9351   cygwin*)
   9352     lt_cv_dlopen="dlopen"
   9353     lt_cv_dlopen_libs=
   9354    ;;
   9355 
   9356   darwin*)
   9357   # if libdl is installed we need to link against it
   9358     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9359 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9360 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9361   echo $ECHO_N "(cached) $ECHO_C" >&6
   9362 else
   9363   ac_check_lib_save_LIBS=$LIBS
   9364 LIBS="-ldl  $LIBS"
   9365 cat >conftest.$ac_ext <<_ACEOF
   9366 /* confdefs.h.  */
   9367 _ACEOF
   9368 cat confdefs.h >>conftest.$ac_ext
   9369 cat >>conftest.$ac_ext <<_ACEOF
   9370 /* end confdefs.h.  */
   9371 
   9372 /* Override any GCC internal prototype to avoid an error.
   9373    Use char because int might match the return type of a GCC
   9374    builtin and then its argument prototype would still apply.  */
   9375 #ifdef __cplusplus
   9376 extern "C"
   9377 #endif
   9378 char dlopen ();
   9379 int
   9380 main ()
   9381 {
   9382 return dlopen ();
   9383   ;
   9384   return 0;
   9385 }
   9386 _ACEOF
   9387 rm -f conftest.$ac_objext conftest$ac_exeext
   9388 if { (ac_try="$ac_link"
   9389 case "(($ac_try" in
   9390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9391   *) ac_try_echo=$ac_try;;
   9392 esac
   9393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9394   (eval "$ac_link") 2>conftest.er1
   9395   ac_status=$?
   9396   grep -v '^ *+' conftest.er1 >conftest.err
   9397   rm -f conftest.er1
   9398   cat conftest.err >&5
   9399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9400   (exit $ac_status); } && {
   9401 	 test -z "$ac_c_werror_flag" ||
   9402 	 test ! -s conftest.err
   9403        } && test -s conftest$ac_exeext &&
   9404        $as_test_x conftest$ac_exeext; then
   9405   ac_cv_lib_dl_dlopen=yes
   9406 else
   9407   echo "$as_me: failed program was:" >&5
   9408 sed 's/^/| /' conftest.$ac_ext >&5
   9409 
   9410 	ac_cv_lib_dl_dlopen=no
   9411 fi
   9412 
   9413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9414       conftest$ac_exeext conftest.$ac_ext
   9415 LIBS=$ac_check_lib_save_LIBS
   9416 fi
   9417 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9418 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9419 if test $ac_cv_lib_dl_dlopen = yes; then
   9420   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9421 else
   9422 
   9423     lt_cv_dlopen="dyld"
   9424     lt_cv_dlopen_libs=
   9425     lt_cv_dlopen_self=yes
   9426 
   9427 fi
   9428 
   9429    ;;
   9430 
   9431   *)
   9432     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9433 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9434 if test "${ac_cv_func_shl_load+set}" = set; then
   9435   echo $ECHO_N "(cached) $ECHO_C" >&6
   9436 else
   9437   cat >conftest.$ac_ext <<_ACEOF
   9438 /* confdefs.h.  */
   9439 _ACEOF
   9440 cat confdefs.h >>conftest.$ac_ext
   9441 cat >>conftest.$ac_ext <<_ACEOF
   9442 /* end confdefs.h.  */
   9443 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9445 #define shl_load innocuous_shl_load
   9446 
   9447 /* System header to define __stub macros and hopefully few prototypes,
   9448     which can conflict with char shl_load (); below.
   9449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9450     <limits.h> exists even on freestanding compilers.  */
   9451 
   9452 #ifdef __STDC__
   9453 # include <limits.h>
   9454 #else
   9455 # include <assert.h>
   9456 #endif
   9457 
   9458 #undef shl_load
   9459 
   9460 /* Override any GCC internal prototype to avoid an error.
   9461    Use char because int might match the return type of a GCC
   9462    builtin and then its argument prototype would still apply.  */
   9463 #ifdef __cplusplus
   9464 extern "C"
   9465 #endif
   9466 char shl_load ();
   9467 /* The GNU C library defines this for functions which it implements
   9468     to always fail with ENOSYS.  Some functions are actually named
   9469     something starting with __ and the normal name is an alias.  */
   9470 #if defined __stub_shl_load || defined __stub___shl_load
   9471 choke me
   9472 #endif
   9473 
   9474 int
   9475 main ()
   9476 {
   9477 return shl_load ();
   9478   ;
   9479   return 0;
   9480 }
   9481 _ACEOF
   9482 rm -f conftest.$ac_objext conftest$ac_exeext
   9483 if { (ac_try="$ac_link"
   9484 case "(($ac_try" in
   9485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9486   *) ac_try_echo=$ac_try;;
   9487 esac
   9488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9489   (eval "$ac_link") 2>conftest.er1
   9490   ac_status=$?
   9491   grep -v '^ *+' conftest.er1 >conftest.err
   9492   rm -f conftest.er1
   9493   cat conftest.err >&5
   9494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9495   (exit $ac_status); } && {
   9496 	 test -z "$ac_c_werror_flag" ||
   9497 	 test ! -s conftest.err
   9498        } && test -s conftest$ac_exeext &&
   9499        $as_test_x conftest$ac_exeext; then
   9500   ac_cv_func_shl_load=yes
   9501 else
   9502   echo "$as_me: failed program was:" >&5
   9503 sed 's/^/| /' conftest.$ac_ext >&5
   9504 
   9505 	ac_cv_func_shl_load=no
   9506 fi
   9507 
   9508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9509       conftest$ac_exeext conftest.$ac_ext
   9510 fi
   9511 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9512 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9513 if test $ac_cv_func_shl_load = yes; then
   9514   lt_cv_dlopen="shl_load"
   9515 else
   9516   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9517 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9518 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9519   echo $ECHO_N "(cached) $ECHO_C" >&6
   9520 else
   9521   ac_check_lib_save_LIBS=$LIBS
   9522 LIBS="-ldld  $LIBS"
   9523 cat >conftest.$ac_ext <<_ACEOF
   9524 /* confdefs.h.  */
   9525 _ACEOF
   9526 cat confdefs.h >>conftest.$ac_ext
   9527 cat >>conftest.$ac_ext <<_ACEOF
   9528 /* end confdefs.h.  */
   9529 
   9530 /* Override any GCC internal prototype to avoid an error.
   9531    Use char because int might match the return type of a GCC
   9532    builtin and then its argument prototype would still apply.  */
   9533 #ifdef __cplusplus
   9534 extern "C"
   9535 #endif
   9536 char shl_load ();
   9537 int
   9538 main ()
   9539 {
   9540 return shl_load ();
   9541   ;
   9542   return 0;
   9543 }
   9544 _ACEOF
   9545 rm -f conftest.$ac_objext conftest$ac_exeext
   9546 if { (ac_try="$ac_link"
   9547 case "(($ac_try" in
   9548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9549   *) ac_try_echo=$ac_try;;
   9550 esac
   9551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9552   (eval "$ac_link") 2>conftest.er1
   9553   ac_status=$?
   9554   grep -v '^ *+' conftest.er1 >conftest.err
   9555   rm -f conftest.er1
   9556   cat conftest.err >&5
   9557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9558   (exit $ac_status); } && {
   9559 	 test -z "$ac_c_werror_flag" ||
   9560 	 test ! -s conftest.err
   9561        } && test -s conftest$ac_exeext &&
   9562        $as_test_x conftest$ac_exeext; then
   9563   ac_cv_lib_dld_shl_load=yes
   9564 else
   9565   echo "$as_me: failed program was:" >&5
   9566 sed 's/^/| /' conftest.$ac_ext >&5
   9567 
   9568 	ac_cv_lib_dld_shl_load=no
   9569 fi
   9570 
   9571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9572       conftest$ac_exeext conftest.$ac_ext
   9573 LIBS=$ac_check_lib_save_LIBS
   9574 fi
   9575 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9576 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9577 if test $ac_cv_lib_dld_shl_load = yes; then
   9578   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9579 else
   9580   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9581 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9582 if test "${ac_cv_func_dlopen+set}" = set; then
   9583   echo $ECHO_N "(cached) $ECHO_C" >&6
   9584 else
   9585   cat >conftest.$ac_ext <<_ACEOF
   9586 /* confdefs.h.  */
   9587 _ACEOF
   9588 cat confdefs.h >>conftest.$ac_ext
   9589 cat >>conftest.$ac_ext <<_ACEOF
   9590 /* end confdefs.h.  */
   9591 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9593 #define dlopen innocuous_dlopen
   9594 
   9595 /* System header to define __stub macros and hopefully few prototypes,
   9596     which can conflict with char dlopen (); below.
   9597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9598     <limits.h> exists even on freestanding compilers.  */
   9599 
   9600 #ifdef __STDC__
   9601 # include <limits.h>
   9602 #else
   9603 # include <assert.h>
   9604 #endif
   9605 
   9606 #undef dlopen
   9607 
   9608 /* Override any GCC internal prototype to avoid an error.
   9609    Use char because int might match the return type of a GCC
   9610    builtin and then its argument prototype would still apply.  */
   9611 #ifdef __cplusplus
   9612 extern "C"
   9613 #endif
   9614 char dlopen ();
   9615 /* The GNU C library defines this for functions which it implements
   9616     to always fail with ENOSYS.  Some functions are actually named
   9617     something starting with __ and the normal name is an alias.  */
   9618 #if defined __stub_dlopen || defined __stub___dlopen
   9619 choke me
   9620 #endif
   9621 
   9622 int
   9623 main ()
   9624 {
   9625 return dlopen ();
   9626   ;
   9627   return 0;
   9628 }
   9629 _ACEOF
   9630 rm -f conftest.$ac_objext conftest$ac_exeext
   9631 if { (ac_try="$ac_link"
   9632 case "(($ac_try" in
   9633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9634   *) ac_try_echo=$ac_try;;
   9635 esac
   9636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9637   (eval "$ac_link") 2>conftest.er1
   9638   ac_status=$?
   9639   grep -v '^ *+' conftest.er1 >conftest.err
   9640   rm -f conftest.er1
   9641   cat conftest.err >&5
   9642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9643   (exit $ac_status); } && {
   9644 	 test -z "$ac_c_werror_flag" ||
   9645 	 test ! -s conftest.err
   9646        } && test -s conftest$ac_exeext &&
   9647        $as_test_x conftest$ac_exeext; then
   9648   ac_cv_func_dlopen=yes
   9649 else
   9650   echo "$as_me: failed program was:" >&5
   9651 sed 's/^/| /' conftest.$ac_ext >&5
   9652 
   9653 	ac_cv_func_dlopen=no
   9654 fi
   9655 
   9656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9657       conftest$ac_exeext conftest.$ac_ext
   9658 fi
   9659 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9660 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9661 if test $ac_cv_func_dlopen = yes; then
   9662   lt_cv_dlopen="dlopen"
   9663 else
   9664   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9665 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9666 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9667   echo $ECHO_N "(cached) $ECHO_C" >&6
   9668 else
   9669   ac_check_lib_save_LIBS=$LIBS
   9670 LIBS="-ldl  $LIBS"
   9671 cat >conftest.$ac_ext <<_ACEOF
   9672 /* confdefs.h.  */
   9673 _ACEOF
   9674 cat confdefs.h >>conftest.$ac_ext
   9675 cat >>conftest.$ac_ext <<_ACEOF
   9676 /* end confdefs.h.  */
   9677 
   9678 /* Override any GCC internal prototype to avoid an error.
   9679    Use char because int might match the return type of a GCC
   9680    builtin and then its argument prototype would still apply.  */
   9681 #ifdef __cplusplus
   9682 extern "C"
   9683 #endif
   9684 char dlopen ();
   9685 int
   9686 main ()
   9687 {
   9688 return dlopen ();
   9689   ;
   9690   return 0;
   9691 }
   9692 _ACEOF
   9693 rm -f conftest.$ac_objext conftest$ac_exeext
   9694 if { (ac_try="$ac_link"
   9695 case "(($ac_try" in
   9696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9697   *) ac_try_echo=$ac_try;;
   9698 esac
   9699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9700   (eval "$ac_link") 2>conftest.er1
   9701   ac_status=$?
   9702   grep -v '^ *+' conftest.er1 >conftest.err
   9703   rm -f conftest.er1
   9704   cat conftest.err >&5
   9705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9706   (exit $ac_status); } && {
   9707 	 test -z "$ac_c_werror_flag" ||
   9708 	 test ! -s conftest.err
   9709        } && test -s conftest$ac_exeext &&
   9710        $as_test_x conftest$ac_exeext; then
   9711   ac_cv_lib_dl_dlopen=yes
   9712 else
   9713   echo "$as_me: failed program was:" >&5
   9714 sed 's/^/| /' conftest.$ac_ext >&5
   9715 
   9716 	ac_cv_lib_dl_dlopen=no
   9717 fi
   9718 
   9719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9720       conftest$ac_exeext conftest.$ac_ext
   9721 LIBS=$ac_check_lib_save_LIBS
   9722 fi
   9723 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9724 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9725 if test $ac_cv_lib_dl_dlopen = yes; then
   9726   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9727 else
   9728   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9729 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9730 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9731   echo $ECHO_N "(cached) $ECHO_C" >&6
   9732 else
   9733   ac_check_lib_save_LIBS=$LIBS
   9734 LIBS="-lsvld  $LIBS"
   9735 cat >conftest.$ac_ext <<_ACEOF
   9736 /* confdefs.h.  */
   9737 _ACEOF
   9738 cat confdefs.h >>conftest.$ac_ext
   9739 cat >>conftest.$ac_ext <<_ACEOF
   9740 /* end confdefs.h.  */
   9741 
   9742 /* Override any GCC internal prototype to avoid an error.
   9743    Use char because int might match the return type of a GCC
   9744    builtin and then its argument prototype would still apply.  */
   9745 #ifdef __cplusplus
   9746 extern "C"
   9747 #endif
   9748 char dlopen ();
   9749 int
   9750 main ()
   9751 {
   9752 return dlopen ();
   9753   ;
   9754   return 0;
   9755 }
   9756 _ACEOF
   9757 rm -f conftest.$ac_objext conftest$ac_exeext
   9758 if { (ac_try="$ac_link"
   9759 case "(($ac_try" in
   9760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9761   *) ac_try_echo=$ac_try;;
   9762 esac
   9763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9764   (eval "$ac_link") 2>conftest.er1
   9765   ac_status=$?
   9766   grep -v '^ *+' conftest.er1 >conftest.err
   9767   rm -f conftest.er1
   9768   cat conftest.err >&5
   9769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9770   (exit $ac_status); } && {
   9771 	 test -z "$ac_c_werror_flag" ||
   9772 	 test ! -s conftest.err
   9773        } && test -s conftest$ac_exeext &&
   9774        $as_test_x conftest$ac_exeext; then
   9775   ac_cv_lib_svld_dlopen=yes
   9776 else
   9777   echo "$as_me: failed program was:" >&5
   9778 sed 's/^/| /' conftest.$ac_ext >&5
   9779 
   9780 	ac_cv_lib_svld_dlopen=no
   9781 fi
   9782 
   9783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9784       conftest$ac_exeext conftest.$ac_ext
   9785 LIBS=$ac_check_lib_save_LIBS
   9786 fi
   9787 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9788 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9789 if test $ac_cv_lib_svld_dlopen = yes; then
   9790   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9791 else
   9792   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9793 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9794 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9795   echo $ECHO_N "(cached) $ECHO_C" >&6
   9796 else
   9797   ac_check_lib_save_LIBS=$LIBS
   9798 LIBS="-ldld  $LIBS"
   9799 cat >conftest.$ac_ext <<_ACEOF
   9800 /* confdefs.h.  */
   9801 _ACEOF
   9802 cat confdefs.h >>conftest.$ac_ext
   9803 cat >>conftest.$ac_ext <<_ACEOF
   9804 /* end confdefs.h.  */
   9805 
   9806 /* Override any GCC internal prototype to avoid an error.
   9807    Use char because int might match the return type of a GCC
   9808    builtin and then its argument prototype would still apply.  */
   9809 #ifdef __cplusplus
   9810 extern "C"
   9811 #endif
   9812 char dld_link ();
   9813 int
   9814 main ()
   9815 {
   9816 return dld_link ();
   9817   ;
   9818   return 0;
   9819 }
   9820 _ACEOF
   9821 rm -f conftest.$ac_objext conftest$ac_exeext
   9822 if { (ac_try="$ac_link"
   9823 case "(($ac_try" in
   9824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9825   *) ac_try_echo=$ac_try;;
   9826 esac
   9827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9828   (eval "$ac_link") 2>conftest.er1
   9829   ac_status=$?
   9830   grep -v '^ *+' conftest.er1 >conftest.err
   9831   rm -f conftest.er1
   9832   cat conftest.err >&5
   9833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9834   (exit $ac_status); } && {
   9835 	 test -z "$ac_c_werror_flag" ||
   9836 	 test ! -s conftest.err
   9837        } && test -s conftest$ac_exeext &&
   9838        $as_test_x conftest$ac_exeext; then
   9839   ac_cv_lib_dld_dld_link=yes
   9840 else
   9841   echo "$as_me: failed program was:" >&5
   9842 sed 's/^/| /' conftest.$ac_ext >&5
   9843 
   9844 	ac_cv_lib_dld_dld_link=no
   9845 fi
   9846 
   9847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9848       conftest$ac_exeext conftest.$ac_ext
   9849 LIBS=$ac_check_lib_save_LIBS
   9850 fi
   9851 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9852 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9853 if test $ac_cv_lib_dld_dld_link = yes; then
   9854   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9855 fi
   9856 
   9857 
   9858 fi
   9859 
   9860 
   9861 fi
   9862 
   9863 
   9864 fi
   9865 
   9866 
   9867 fi
   9868 
   9869 
   9870 fi
   9871 
   9872     ;;
   9873   esac
   9874 
   9875   if test "x$lt_cv_dlopen" != xno; then
   9876     enable_dlopen=yes
   9877   else
   9878     enable_dlopen=no
   9879   fi
   9880 
   9881   case $lt_cv_dlopen in
   9882   dlopen)
   9883     save_CPPFLAGS="$CPPFLAGS"
   9884     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9885 
   9886     save_LDFLAGS="$LDFLAGS"
   9887     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9888 
   9889     save_LIBS="$LIBS"
   9890     LIBS="$lt_cv_dlopen_libs $LIBS"
   9891 
   9892     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9893 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9894 if test "${lt_cv_dlopen_self+set}" = set; then
   9895   echo $ECHO_N "(cached) $ECHO_C" >&6
   9896 else
   9897   	  if test "$cross_compiling" = yes; then :
   9898   lt_cv_dlopen_self=cross
   9899 else
   9900   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9901   lt_status=$lt_dlunknown
   9902   cat > conftest.$ac_ext <<EOF
   9903 #line 9903 "configure"
   9904 #include "confdefs.h"
   9905 
   9906 #if HAVE_DLFCN_H
   9907 #include <dlfcn.h>
   9908 #endif
   9909 
   9910 #include <stdio.h>
   9911 
   9912 #ifdef RTLD_GLOBAL
   9913 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9914 #else
   9915 #  ifdef DL_GLOBAL
   9916 #    define LT_DLGLOBAL		DL_GLOBAL
   9917 #  else
   9918 #    define LT_DLGLOBAL		0
   9919 #  endif
   9920 #endif
   9921 
   9922 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9923    find out it does not work in some platform. */
   9924 #ifndef LT_DLLAZY_OR_NOW
   9925 #  ifdef RTLD_LAZY
   9926 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9927 #  else
   9928 #    ifdef DL_LAZY
   9929 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9930 #    else
   9931 #      ifdef RTLD_NOW
   9932 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9933 #      else
   9934 #        ifdef DL_NOW
   9935 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9936 #        else
   9937 #          define LT_DLLAZY_OR_NOW	0
   9938 #        endif
   9939 #      endif
   9940 #    endif
   9941 #  endif
   9942 #endif
   9943 
   9944 #ifdef __cplusplus
   9945 extern "C" void exit (int);
   9946 #endif
   9947 
   9948 void fnord() { int i=42;}
   9949 int main ()
   9950 {
   9951   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9952   int status = $lt_dlunknown;
   9953 
   9954   if (self)
   9955     {
   9956       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9957       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9958       /* dlclose (self); */
   9959     }
   9960   else
   9961     puts (dlerror ());
   9962 
   9963     exit (status);
   9964 }
   9965 EOF
   9966   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9967   (eval $ac_link) 2>&5
   9968   ac_status=$?
   9969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9970   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9971     (./conftest; exit; ) >&5 2>/dev/null
   9972     lt_status=$?
   9973     case x$lt_status in
   9974       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9975       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9976       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9977     esac
   9978   else :
   9979     # compilation failed
   9980     lt_cv_dlopen_self=no
   9981   fi
   9982 fi
   9983 rm -fr conftest*
   9984 
   9985 
   9986 fi
   9987 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9988 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9989 
   9990     if test "x$lt_cv_dlopen_self" = xyes; then
   9991       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9992       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9993 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9994 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9995   echo $ECHO_N "(cached) $ECHO_C" >&6
   9996 else
   9997   	  if test "$cross_compiling" = yes; then :
   9998   lt_cv_dlopen_self_static=cross
   9999 else
   10000   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10001   lt_status=$lt_dlunknown
   10002   cat > conftest.$ac_ext <<EOF
   10003 #line 10003 "configure"
   10004 #include "confdefs.h"
   10005 
   10006 #if HAVE_DLFCN_H
   10007 #include <dlfcn.h>
   10008 #endif
   10009 
   10010 #include <stdio.h>
   10011 
   10012 #ifdef RTLD_GLOBAL
   10013 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10014 #else
   10015 #  ifdef DL_GLOBAL
   10016 #    define LT_DLGLOBAL		DL_GLOBAL
   10017 #  else
   10018 #    define LT_DLGLOBAL		0
   10019 #  endif
   10020 #endif
   10021 
   10022 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10023    find out it does not work in some platform. */
   10024 #ifndef LT_DLLAZY_OR_NOW
   10025 #  ifdef RTLD_LAZY
   10026 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10027 #  else
   10028 #    ifdef DL_LAZY
   10029 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10030 #    else
   10031 #      ifdef RTLD_NOW
   10032 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10033 #      else
   10034 #        ifdef DL_NOW
   10035 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10036 #        else
   10037 #          define LT_DLLAZY_OR_NOW	0
   10038 #        endif
   10039 #      endif
   10040 #    endif
   10041 #  endif
   10042 #endif
   10043 
   10044 #ifdef __cplusplus
   10045 extern "C" void exit (int);
   10046 #endif
   10047 
   10048 void fnord() { int i=42;}
   10049 int main ()
   10050 {
   10051   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10052   int status = $lt_dlunknown;
   10053 
   10054   if (self)
   10055     {
   10056       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10057       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10058       /* dlclose (self); */
   10059     }
   10060   else
   10061     puts (dlerror ());
   10062 
   10063     exit (status);
   10064 }
   10065 EOF
   10066   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10067   (eval $ac_link) 2>&5
   10068   ac_status=$?
   10069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10070   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10071     (./conftest; exit; ) >&5 2>/dev/null
   10072     lt_status=$?
   10073     case x$lt_status in
   10074       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10075       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10076       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10077     esac
   10078   else :
   10079     # compilation failed
   10080     lt_cv_dlopen_self_static=no
   10081   fi
   10082 fi
   10083 rm -fr conftest*
   10084 
   10085 
   10086 fi
   10087 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10088 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10089     fi
   10090 
   10091     CPPFLAGS="$save_CPPFLAGS"
   10092     LDFLAGS="$save_LDFLAGS"
   10093     LIBS="$save_LIBS"
   10094     ;;
   10095   esac
   10096 
   10097   case $lt_cv_dlopen_self in
   10098   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10099   *) enable_dlopen_self=unknown ;;
   10100   esac
   10101 
   10102   case $lt_cv_dlopen_self_static in
   10103   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10104   *) enable_dlopen_self_static=unknown ;;
   10105   esac
   10106 fi
   10107 
   10108 
   10109 # Report which library types will actually be built
   10110 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10111 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10112 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10113 echo "${ECHO_T}$can_build_shared" >&6; }
   10114 
   10115 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10116 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10117 test "$can_build_shared" = "no" && enable_shared=no
   10118 
   10119 # On AIX, shared libraries and static libraries use the same namespace, and
   10120 # are all built from PIC.
   10121 case $host_os in
   10122 aix3*)
   10123   test "$enable_shared" = yes && enable_static=no
   10124   if test -n "$RANLIB"; then
   10125     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10126     postinstall_cmds='$RANLIB $lib'
   10127   fi
   10128   ;;
   10129 
   10130 aix4* | aix5*)
   10131   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10132     test "$enable_shared" = yes && enable_static=no
   10133   fi
   10134     ;;
   10135 esac
   10136 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10137 echo "${ECHO_T}$enable_shared" >&6; }
   10138 
   10139 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10140 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10141 # Make sure either enable_shared or enable_static is yes.
   10142 test "$enable_shared" = yes || enable_static=yes
   10143 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10144 echo "${ECHO_T}$enable_static" >&6; }
   10145 
   10146 # The else clause should only fire when bootstrapping the
   10147 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10148 # with your package, and you will get complaints that there are
   10149 # no rules to generate ltmain.sh.
   10150 if test -f "$ltmain"; then
   10151   # See if we are running on zsh, and set the options which allow our commands through
   10152   # without removal of \ escapes.
   10153   if test -n "${ZSH_VERSION+set}" ; then
   10154     setopt NO_GLOB_SUBST
   10155   fi
   10156   # Now quote all the things that may contain metacharacters while being
   10157   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10158   # variables and quote the copies for generation of the libtool script.
   10159   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10160     SED SHELL STRIP \
   10161     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10162     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10163     deplibs_check_method reload_flag reload_cmds need_locks \
   10164     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10165     lt_cv_sys_global_symbol_to_c_name_address \
   10166     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10167     old_postinstall_cmds old_postuninstall_cmds \
   10168     compiler \
   10169     CC \
   10170     LD \
   10171     lt_prog_compiler_wl \
   10172     lt_prog_compiler_pic \
   10173     lt_prog_compiler_static \
   10174     lt_prog_compiler_no_builtin_flag \
   10175     export_dynamic_flag_spec \
   10176     thread_safe_flag_spec \
   10177     whole_archive_flag_spec \
   10178     enable_shared_with_static_runtimes \
   10179     old_archive_cmds \
   10180     old_archive_from_new_cmds \
   10181     predep_objects \
   10182     postdep_objects \
   10183     predeps \
   10184     postdeps \
   10185     compiler_lib_search_path \
   10186     archive_cmds \
   10187     archive_expsym_cmds \
   10188     postinstall_cmds \
   10189     postuninstall_cmds \
   10190     old_archive_from_expsyms_cmds \
   10191     allow_undefined_flag \
   10192     no_undefined_flag \
   10193     export_symbols_cmds \
   10194     hardcode_libdir_flag_spec \
   10195     hardcode_libdir_flag_spec_ld \
   10196     hardcode_libdir_separator \
   10197     hardcode_automatic \
   10198     module_cmds \
   10199     module_expsym_cmds \
   10200     lt_cv_prog_compiler_c_o \
   10201     fix_srcfile_path \
   10202     exclude_expsyms \
   10203     include_expsyms; do
   10204 
   10205     case $var in
   10206     old_archive_cmds | \
   10207     old_archive_from_new_cmds | \
   10208     archive_cmds | \
   10209     archive_expsym_cmds | \
   10210     module_cmds | \
   10211     module_expsym_cmds | \
   10212     old_archive_from_expsyms_cmds | \
   10213     export_symbols_cmds | \
   10214     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10215     postinstall_cmds | postuninstall_cmds | \
   10216     old_postinstall_cmds | old_postuninstall_cmds | \
   10217     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10218       # Double-quote double-evaled strings.
   10219       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10220       ;;
   10221     *)
   10222       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10223       ;;
   10224     esac
   10225   done
   10226 
   10227   case $lt_echo in
   10228   *'\$0 --fallback-echo"')
   10229     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10230     ;;
   10231   esac
   10232 
   10233 cfgfile="${ofile}T"
   10234   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10235   $rm -f "$cfgfile"
   10236   { echo "$as_me:$LINENO: creating $ofile" >&5
   10237 echo "$as_me: creating $ofile" >&6;}
   10238 
   10239   cat <<__EOF__ >> "$cfgfile"
   10240 #! $SHELL
   10241 
   10242 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10243 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10244 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10245 #
   10246 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   10247 # Free Software Foundation, Inc.
   10248 #
   10249 # This file is part of GNU Libtool:
   10250 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10251 #
   10252 # This program is free software; you can redistribute it and/or modify
   10253 # it under the terms of the GNU General Public License as published by
   10254 # the Free Software Foundation; either version 2 of the License, or
   10255 # (at your option) any later version.
   10256 #
   10257 # This program is distributed in the hope that it will be useful, but
   10258 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10259 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10260 # General Public License for more details.
   10261 #
   10262 # You should have received a copy of the GNU General Public License
   10263 # along with this program; if not, write to the Free Software
   10264 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10265 #
   10266 # As a special exception to the GNU General Public License, if you
   10267 # distribute this file as part of a program that contains a
   10268 # configuration script generated by Autoconf, you may include it under
   10269 # the same distribution terms that you use for the rest of that program.
   10270 
   10271 # A sed program that does not truncate output.
   10272 SED=$lt_SED
   10273 
   10274 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10275 Xsed="$SED -e 1s/^X//"
   10276 
   10277 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10278 # if CDPATH is set.
   10279 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10280 
   10281 # The names of the tagged configurations supported by this script.
   10282 available_tags=
   10283 
   10284 # ### BEGIN LIBTOOL CONFIG
   10285 
   10286 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10287 
   10288 # Shell to use when invoking shell scripts.
   10289 SHELL=$lt_SHELL
   10290 
   10291 # Whether or not to build shared libraries.
   10292 build_libtool_libs=$enable_shared
   10293 
   10294 # Whether or not to build static libraries.
   10295 build_old_libs=$enable_static
   10296 
   10297 # Whether or not to add -lc for building shared libraries.
   10298 build_libtool_need_lc=$archive_cmds_need_lc
   10299 
   10300 # Whether or not to disallow shared libs when runtime libs are static
   10301 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10302 
   10303 # Whether or not to optimize for fast installation.
   10304 fast_install=$enable_fast_install
   10305 
   10306 # The host system.
   10307 host_alias=$host_alias
   10308 host=$host
   10309 host_os=$host_os
   10310 
   10311 # The build system.
   10312 build_alias=$build_alias
   10313 build=$build
   10314 build_os=$build_os
   10315 
   10316 # An echo program that does not interpret backslashes.
   10317 echo=$lt_echo
   10318 
   10319 # The archiver.
   10320 AR=$lt_AR
   10321 AR_FLAGS=$lt_AR_FLAGS
   10322 
   10323 # A C compiler.
   10324 LTCC=$lt_LTCC
   10325 
   10326 # LTCC compiler flags.
   10327 LTCFLAGS=$lt_LTCFLAGS
   10328 
   10329 # A language-specific compiler.
   10330 CC=$lt_compiler
   10331 
   10332 # Is the compiler the GNU C compiler?
   10333 with_gcc=$GCC
   10334 
   10335 # An ERE matcher.
   10336 EGREP=$lt_EGREP
   10337 
   10338 # The linker used to build libraries.
   10339 LD=$lt_LD
   10340 
   10341 # Whether we need hard or soft links.
   10342 LN_S=$lt_LN_S
   10343 
   10344 # A BSD-compatible nm program.
   10345 NM=$lt_NM
   10346 
   10347 # A symbol stripping program
   10348 STRIP=$lt_STRIP
   10349 
   10350 # Used to examine libraries when file_magic_cmd begins "file"
   10351 MAGIC_CMD=$MAGIC_CMD
   10352 
   10353 # Used on cygwin: DLL creation program.
   10354 DLLTOOL="$DLLTOOL"
   10355 
   10356 # Used on cygwin: object dumper.
   10357 OBJDUMP="$OBJDUMP"
   10358 
   10359 # Used on cygwin: assembler.
   10360 AS="$AS"
   10361 
   10362 # The name of the directory that contains temporary libtool files.
   10363 objdir=$objdir
   10364 
   10365 # How to create reloadable object files.
   10366 reload_flag=$lt_reload_flag
   10367 reload_cmds=$lt_reload_cmds
   10368 
   10369 # How to pass a linker flag through the compiler.
   10370 wl=$lt_lt_prog_compiler_wl
   10371 
   10372 # Object file suffix (normally "o").
   10373 objext="$ac_objext"
   10374 
   10375 # Old archive suffix (normally "a").
   10376 libext="$libext"
   10377 
   10378 # Shared library suffix (normally ".so").
   10379 shrext_cmds='$shrext_cmds'
   10380 
   10381 # Executable file suffix (normally "").
   10382 exeext="$exeext"
   10383 
   10384 # Additional compiler flags for building library objects.
   10385 pic_flag=$lt_lt_prog_compiler_pic
   10386 pic_mode=$pic_mode
   10387 
   10388 # What is the maximum length of a command?
   10389 max_cmd_len=$lt_cv_sys_max_cmd_len
   10390 
   10391 # Does compiler simultaneously support -c and -o options?
   10392 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10393 
   10394 # Must we lock files when doing compilation?
   10395 need_locks=$lt_need_locks
   10396 
   10397 # Do we need the lib prefix for modules?
   10398 need_lib_prefix=$need_lib_prefix
   10399 
   10400 # Do we need a version for libraries?
   10401 need_version=$need_version
   10402 
   10403 # Whether dlopen is supported.
   10404 dlopen_support=$enable_dlopen
   10405 
   10406 # Whether dlopen of programs is supported.
   10407 dlopen_self=$enable_dlopen_self
   10408 
   10409 # Whether dlopen of statically linked programs is supported.
   10410 dlopen_self_static=$enable_dlopen_self_static
   10411 
   10412 # Compiler flag to prevent dynamic linking.
   10413 link_static_flag=$lt_lt_prog_compiler_static
   10414 
   10415 # Compiler flag to turn off builtin functions.
   10416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10417 
   10418 # Compiler flag to allow reflexive dlopens.
   10419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10420 
   10421 # Compiler flag to generate shared objects directly from archives.
   10422 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10423 
   10424 # Compiler flag to generate thread-safe objects.
   10425 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10426 
   10427 # Library versioning type.
   10428 version_type=$version_type
   10429 
   10430 # Format of library name prefix.
   10431 libname_spec=$lt_libname_spec
   10432 
   10433 # List of archive names.  First name is the real one, the rest are links.
   10434 # The last name is the one that the linker finds with -lNAME.
   10435 library_names_spec=$lt_library_names_spec
   10436 
   10437 # The coded name of the library, if different from the real name.
   10438 soname_spec=$lt_soname_spec
   10439 
   10440 # Commands used to build and install an old-style archive.
   10441 RANLIB=$lt_RANLIB
   10442 old_archive_cmds=$lt_old_archive_cmds
   10443 old_postinstall_cmds=$lt_old_postinstall_cmds
   10444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10445 
   10446 # Create an old-style archive from a shared archive.
   10447 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10448 
   10449 # Create a temporary old-style archive to link instead of a shared archive.
   10450 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10451 
   10452 # Commands used to build and install a shared archive.
   10453 archive_cmds=$lt_archive_cmds
   10454 archive_expsym_cmds=$lt_archive_expsym_cmds
   10455 postinstall_cmds=$lt_postinstall_cmds
   10456 postuninstall_cmds=$lt_postuninstall_cmds
   10457 
   10458 # Commands used to build a loadable module (assumed same as above if empty)
   10459 module_cmds=$lt_module_cmds
   10460 module_expsym_cmds=$lt_module_expsym_cmds
   10461 
   10462 # Commands to strip libraries.
   10463 old_striplib=$lt_old_striplib
   10464 striplib=$lt_striplib
   10465 
   10466 # Dependencies to place before the objects being linked to create a
   10467 # shared library.
   10468 predep_objects=$lt_predep_objects
   10469 
   10470 # Dependencies to place after the objects being linked to create a
   10471 # shared library.
   10472 postdep_objects=$lt_postdep_objects
   10473 
   10474 # Dependencies to place before the objects being linked to create a
   10475 # shared library.
   10476 predeps=$lt_predeps
   10477 
   10478 # Dependencies to place after the objects being linked to create a
   10479 # shared library.
   10480 postdeps=$lt_postdeps
   10481 
   10482 # The library search path used internally by the compiler when linking
   10483 # a shared library.
   10484 compiler_lib_search_path=$lt_compiler_lib_search_path
   10485 
   10486 # Method to check whether dependent libraries are shared objects.
   10487 deplibs_check_method=$lt_deplibs_check_method
   10488 
   10489 # Command to use when deplibs_check_method == file_magic.
   10490 file_magic_cmd=$lt_file_magic_cmd
   10491 
   10492 # Flag that allows shared libraries with undefined symbols to be built.
   10493 allow_undefined_flag=$lt_allow_undefined_flag
   10494 
   10495 # Flag that forces no undefined symbols.
   10496 no_undefined_flag=$lt_no_undefined_flag
   10497 
   10498 # Commands used to finish a libtool library installation in a directory.
   10499 finish_cmds=$lt_finish_cmds
   10500 
   10501 # Same as above, but a single script fragment to be evaled but not shown.
   10502 finish_eval=$lt_finish_eval
   10503 
   10504 # Take the output of nm and produce a listing of raw symbols and C names.
   10505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10506 
   10507 # Transform the output of nm in a proper C declaration
   10508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10509 
   10510 # Transform the output of nm in a C name address pair
   10511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10512 
   10513 # This is the shared library runtime path variable.
   10514 runpath_var=$runpath_var
   10515 
   10516 # This is the shared library path variable.
   10517 shlibpath_var=$shlibpath_var
   10518 
   10519 # Is shlibpath searched before the hard-coded library search path?
   10520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10521 
   10522 # How to hardcode a shared library path into an executable.
   10523 hardcode_action=$hardcode_action
   10524 
   10525 # Whether we should hardcode library paths into libraries.
   10526 hardcode_into_libs=$hardcode_into_libs
   10527 
   10528 # Flag to hardcode \$libdir into a binary during linking.
   10529 # This must work even if \$libdir does not exist.
   10530 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10531 
   10532 # If ld is used when linking, flag to hardcode \$libdir into
   10533 # a binary during linking. This must work even if \$libdir does
   10534 # not exist.
   10535 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10536 
   10537 # Whether we need a single -rpath flag with a separated argument.
   10538 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10539 
   10540 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10541 # resulting binary.
   10542 hardcode_direct=$hardcode_direct
   10543 
   10544 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10545 # resulting binary.
   10546 hardcode_minus_L=$hardcode_minus_L
   10547 
   10548 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10549 # the resulting binary.
   10550 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10551 
   10552 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10553 # and all subsequent libraries and executables linked against it.
   10554 hardcode_automatic=$hardcode_automatic
   10555 
   10556 # Variables whose values should be saved in libtool wrapper scripts and
   10557 # restored at relink time.
   10558 variables_saved_for_relink="$variables_saved_for_relink"
   10559 
   10560 # Whether libtool must link a program against all its dependency libraries.
   10561 link_all_deplibs=$link_all_deplibs
   10562 
   10563 # Compile-time system search path for libraries
   10564 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10565 
   10566 # Run-time system search path for libraries
   10567 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10568 
   10569 # Fix the shell variable \$srcfile for the compiler.
   10570 fix_srcfile_path=$lt_fix_srcfile_path
   10571 
   10572 # Set to yes if exported symbols are required.
   10573 always_export_symbols=$always_export_symbols
   10574 
   10575 # The commands to list exported symbols.
   10576 export_symbols_cmds=$lt_export_symbols_cmds
   10577 
   10578 # The commands to extract the exported symbol list from a shared archive.
   10579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10580 
   10581 # Symbols that should not be listed in the preloaded symbols.
   10582 exclude_expsyms=$lt_exclude_expsyms
   10583 
   10584 # Symbols that must always be exported.
   10585 include_expsyms=$lt_include_expsyms
   10586 
   10587 # ### END LIBTOOL CONFIG
   10588 
   10589 __EOF__
   10590 
   10591 
   10592   case $host_os in
   10593   aix3*)
   10594     cat <<\EOF >> "$cfgfile"
   10595 
   10596 # AIX sometimes has problems with the GCC collect2 program.  For some
   10597 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10598 # vanish in a puff of smoke.
   10599 if test "X${COLLECT_NAMES+set}" != Xset; then
   10600   COLLECT_NAMES=
   10601   export COLLECT_NAMES
   10602 fi
   10603 EOF
   10604     ;;
   10605   esac
   10606 
   10607   # We use sed instead of cat because bash on DJGPP gets confused if
   10608   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10609   # text mode, it properly converts lines to CR/LF.  This bash problem
   10610   # is reportedly fixed, but why not run on old versions too?
   10611   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10612 
   10613   mv -f "$cfgfile" "$ofile" || \
   10614     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10615   chmod +x "$ofile"
   10616 
   10617 else
   10618   # If there is no Makefile yet, we rely on a make rule to execute
   10619   # `config.status --recheck' to rerun these tests and create the
   10620   # libtool script then.
   10621   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10622   if test -f "$ltmain_in"; then
   10623     test -f Makefile && make "$ltmain"
   10624   fi
   10625 fi
   10626 
   10627 
   10628 ac_ext=c
   10629 ac_cpp='$CPP $CPPFLAGS'
   10630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10633 
   10634 CC="$lt_save_CC"
   10635 
   10636 
   10637 # Check whether --with-tags was given.
   10638 if test "${with_tags+set}" = set; then
   10639   withval=$with_tags; tagnames="$withval"
   10640 fi
   10641 
   10642 
   10643 if test -f "$ltmain" && test -n "$tagnames"; then
   10644   if test ! -f "${ofile}"; then
   10645     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10646 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10647   fi
   10648 
   10649   if test -z "$LTCC"; then
   10650     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10651     if test -z "$LTCC"; then
   10652       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10653 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10654     else
   10655       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10656 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10657     fi
   10658   fi
   10659   if test -z "$LTCFLAGS"; then
   10660     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10661   fi
   10662 
   10663   # Extract list of available tagged configurations in $ofile.
   10664   # Note that this assumes the entire list is on one line.
   10665   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10666 
   10667   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10668   for tagname in $tagnames; do
   10669     IFS="$lt_save_ifs"
   10670     # Check whether tagname contains only valid characters
   10671     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10672     "") ;;
   10673     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10674 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10675    { (exit 1); exit 1; }; }
   10676 	;;
   10677     esac
   10678 
   10679     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10680     then
   10681       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10682 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10683    { (exit 1); exit 1; }; }
   10684     fi
   10685 
   10686     # Update the list of available tags.
   10687     if test -n "$tagname"; then
   10688       echo appending configuration tag \"$tagname\" to $ofile
   10689 
   10690       case $tagname in
   10691       CXX)
   10692 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10693 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10694 	    (test "X$CXX" != "Xg++"))) ; then
   10695 	  ac_ext=cpp
   10696 ac_cpp='$CXXCPP $CPPFLAGS'
   10697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10700 
   10701 
   10702 
   10703 
   10704 archive_cmds_need_lc_CXX=no
   10705 allow_undefined_flag_CXX=
   10706 always_export_symbols_CXX=no
   10707 archive_expsym_cmds_CXX=
   10708 export_dynamic_flag_spec_CXX=
   10709 hardcode_direct_CXX=no
   10710 hardcode_libdir_flag_spec_CXX=
   10711 hardcode_libdir_flag_spec_ld_CXX=
   10712 hardcode_libdir_separator_CXX=
   10713 hardcode_minus_L_CXX=no
   10714 hardcode_shlibpath_var_CXX=unsupported
   10715 hardcode_automatic_CXX=no
   10716 module_cmds_CXX=
   10717 module_expsym_cmds_CXX=
   10718 link_all_deplibs_CXX=unknown
   10719 old_archive_cmds_CXX=$old_archive_cmds
   10720 no_undefined_flag_CXX=
   10721 whole_archive_flag_spec_CXX=
   10722 enable_shared_with_static_runtimes_CXX=no
   10723 
   10724 # Dependencies to place before and after the object being linked:
   10725 predep_objects_CXX=
   10726 postdep_objects_CXX=
   10727 predeps_CXX=
   10728 postdeps_CXX=
   10729 compiler_lib_search_path_CXX=
   10730 
   10731 # Source file extension for C++ test sources.
   10732 ac_ext=cpp
   10733 
   10734 # Object file extension for compiled C++ test sources.
   10735 objext=o
   10736 objext_CXX=$objext
   10737 
   10738 # Code to be used in simple compile tests
   10739 lt_simple_compile_test_code="int some_variable = 0;"
   10740 
   10741 # Code to be used in simple link tests
   10742 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   10743 
   10744 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10745 
   10746 # If no C compiler was specified, use CC.
   10747 LTCC=${LTCC-"$CC"}
   10748 
   10749 # If no C compiler flags were specified, use CFLAGS.
   10750 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10751 
   10752 # Allow CC to be a program name with arguments.
   10753 compiler=$CC
   10754 
   10755 
   10756 # save warnings/boilerplate of simple test code
   10757 ac_outfile=conftest.$ac_objext
   10758 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10759 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10760 _lt_compiler_boilerplate=`cat conftest.err`
   10761 $rm conftest*
   10762 
   10763 ac_outfile=conftest.$ac_objext
   10764 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10765 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10766 _lt_linker_boilerplate=`cat conftest.err`
   10767 $rm conftest*
   10768 
   10769 
   10770 # Allow CC to be a program name with arguments.
   10771 lt_save_CC=$CC
   10772 lt_save_LD=$LD
   10773 lt_save_GCC=$GCC
   10774 GCC=$GXX
   10775 lt_save_with_gnu_ld=$with_gnu_ld
   10776 lt_save_path_LD=$lt_cv_path_LD
   10777 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10778   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10779 else
   10780   $as_unset lt_cv_prog_gnu_ld
   10781 fi
   10782 if test -n "${lt_cv_path_LDCXX+set}"; then
   10783   lt_cv_path_LD=$lt_cv_path_LDCXX
   10784 else
   10785   $as_unset lt_cv_path_LD
   10786 fi
   10787 test -z "${LDCXX+set}" || LD=$LDCXX
   10788 CC=${CXX-"c++"}
   10789 compiler=$CC
   10790 compiler_CXX=$CC
   10791 for cc_temp in $compiler""; do
   10792   case $cc_temp in
   10793     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10794     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10795     \-*) ;;
   10796     *) break;;
   10797   esac
   10798 done
   10799 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10800 
   10801 
   10802 # We don't want -fno-exception wen compiling C++ code, so set the
   10803 # no_builtin_flag separately
   10804 if test "$GXX" = yes; then
   10805   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10806 else
   10807   lt_prog_compiler_no_builtin_flag_CXX=
   10808 fi
   10809 
   10810 if test "$GXX" = yes; then
   10811   # Set up default GNU C++ configuration
   10812 
   10813 
   10814 # Check whether --with-gnu-ld was given.
   10815 if test "${with_gnu_ld+set}" = set; then
   10816   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10817 else
   10818   with_gnu_ld=no
   10819 fi
   10820 
   10821 ac_prog=ld
   10822 if test "$GCC" = yes; then
   10823   # Check if gcc -print-prog-name=ld gives a path.
   10824   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10825 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10826   case $host in
   10827   *-*-mingw*)
   10828     # gcc leaves a trailing carriage return which upsets mingw
   10829     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10830   *)
   10831     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10832   esac
   10833   case $ac_prog in
   10834     # Accept absolute paths.
   10835     [\\/]* | ?:[\\/]*)
   10836       re_direlt='/[^/][^/]*/\.\./'
   10837       # Canonicalize the pathname of ld
   10838       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10839       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10840 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10841       done
   10842       test -z "$LD" && LD="$ac_prog"
   10843       ;;
   10844   "")
   10845     # If it fails, then pretend we aren't using GCC.
   10846     ac_prog=ld
   10847     ;;
   10848   *)
   10849     # If it is relative, then search for the first ld in PATH.
   10850     with_gnu_ld=unknown
   10851     ;;
   10852   esac
   10853 elif test "$with_gnu_ld" = yes; then
   10854   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10855 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10856 else
   10857   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10858 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10859 fi
   10860 if test "${lt_cv_path_LD+set}" = set; then
   10861   echo $ECHO_N "(cached) $ECHO_C" >&6
   10862 else
   10863   if test -z "$LD"; then
   10864   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10865   for ac_dir in $PATH; do
   10866     IFS="$lt_save_ifs"
   10867     test -z "$ac_dir" && ac_dir=.
   10868     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10869       lt_cv_path_LD="$ac_dir/$ac_prog"
   10870       # Check to see if the program is GNU ld.  I'd rather use --version,
   10871       # but apparently some variants of GNU ld only accept -v.
   10872       # Break only if it was the GNU/non-GNU ld that we prefer.
   10873       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10874       *GNU* | *'with BFD'*)
   10875 	test "$with_gnu_ld" != no && break
   10876 	;;
   10877       *)
   10878 	test "$with_gnu_ld" != yes && break
   10879 	;;
   10880       esac
   10881     fi
   10882   done
   10883   IFS="$lt_save_ifs"
   10884 else
   10885   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10886 fi
   10887 fi
   10888 
   10889 LD="$lt_cv_path_LD"
   10890 if test -n "$LD"; then
   10891   { echo "$as_me:$LINENO: result: $LD" >&5
   10892 echo "${ECHO_T}$LD" >&6; }
   10893 else
   10894   { echo "$as_me:$LINENO: result: no" >&5
   10895 echo "${ECHO_T}no" >&6; }
   10896 fi
   10897 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10898 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10899    { (exit 1); exit 1; }; }
   10900 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10901 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10902 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10903   echo $ECHO_N "(cached) $ECHO_C" >&6
   10904 else
   10905   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10906 case `$LD -v 2>&1 </dev/null` in
   10907 *GNU* | *'with BFD'*)
   10908   lt_cv_prog_gnu_ld=yes
   10909   ;;
   10910 *)
   10911   lt_cv_prog_gnu_ld=no
   10912   ;;
   10913 esac
   10914 fi
   10915 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10916 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10917 with_gnu_ld=$lt_cv_prog_gnu_ld
   10918 
   10919 
   10920 
   10921   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10922   # archiving commands below assume that GNU ld is being used.
   10923   if test "$with_gnu_ld" = yes; then
   10924     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10925     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'
   10926 
   10927     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10928     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10929 
   10930     # If archive_cmds runs LD, not CC, wlarc should be empty
   10931     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10932     #     investigate it a little bit more. (MM)
   10933     wlarc='${wl}'
   10934 
   10935     # ancient GNU ld didn't support --whole-archive et. al.
   10936     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10937 	grep 'no-whole-archive' > /dev/null; then
   10938       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10939     else
   10940       whole_archive_flag_spec_CXX=
   10941     fi
   10942   else
   10943     with_gnu_ld=no
   10944     wlarc=
   10945 
   10946     # A generic and very simple default shared library creation
   10947     # command for GNU C++ for the case where it uses the native
   10948     # linker, instead of GNU ld.  If possible, this setting should
   10949     # overridden to take advantage of the native linker features on
   10950     # the platform it is being used on.
   10951     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10952   fi
   10953 
   10954   # Commands to make compiler produce verbose output that lists
   10955   # what "hidden" libraries, object files and flags are used when
   10956   # linking a shared library.
   10957   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10958 
   10959 else
   10960   GXX=no
   10961   with_gnu_ld=no
   10962   wlarc=
   10963 fi
   10964 
   10965 # PORTME: fill in a description of your system's C++ link characteristics
   10966 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10967 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10968 ld_shlibs_CXX=yes
   10969 case $host_os in
   10970   aix3*)
   10971     # FIXME: insert proper C++ library support
   10972     ld_shlibs_CXX=no
   10973     ;;
   10974   aix4* | aix5*)
   10975     if test "$host_cpu" = ia64; then
   10976       # On IA64, the linker does run time linking by default, so we don't
   10977       # have to do anything special.
   10978       aix_use_runtimelinking=no
   10979       exp_sym_flag='-Bexport'
   10980       no_entry_flag=""
   10981     else
   10982       aix_use_runtimelinking=no
   10983 
   10984       # Test if we are trying to use run time linking or normal
   10985       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10986       # need to do runtime linking.
   10987       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10988 	for ld_flag in $LDFLAGS; do
   10989 	  case $ld_flag in
   10990 	  *-brtl*)
   10991 	    aix_use_runtimelinking=yes
   10992 	    break
   10993 	    ;;
   10994 	  esac
   10995 	done
   10996 	;;
   10997       esac
   10998 
   10999       exp_sym_flag='-bexport'
   11000       no_entry_flag='-bnoentry'
   11001     fi
   11002 
   11003     # When large executables or shared objects are built, AIX ld can
   11004     # have problems creating the table of contents.  If linking a library
   11005     # or program results in "error TOC overflow" add -mminimal-toc to
   11006     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11007     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11008 
   11009     archive_cmds_CXX=''
   11010     hardcode_direct_CXX=yes
   11011     hardcode_libdir_separator_CXX=':'
   11012     link_all_deplibs_CXX=yes
   11013 
   11014     if test "$GXX" = yes; then
   11015       case $host_os in aix4.[012]|aix4.[012].*)
   11016       # We only want to do this on AIX 4.2 and lower, the check
   11017       # below for broken collect2 doesn't work under 4.3+
   11018 	collect2name=`${CC} -print-prog-name=collect2`
   11019 	if test -f "$collect2name" && \
   11020 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11021 	then
   11022 	  # We have reworked collect2
   11023 	  :
   11024 	else
   11025 	  # We have old collect2
   11026 	  hardcode_direct_CXX=unsupported
   11027 	  # It fails to find uninstalled libraries when the uninstalled
   11028 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11029 	  # to unsupported forces relinking
   11030 	  hardcode_minus_L_CXX=yes
   11031 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11032 	  hardcode_libdir_separator_CXX=
   11033 	fi
   11034 	;;
   11035       esac
   11036       shared_flag='-shared'
   11037       if test "$aix_use_runtimelinking" = yes; then
   11038 	shared_flag="$shared_flag "'${wl}-G'
   11039       fi
   11040     else
   11041       # not using gcc
   11042       if test "$host_cpu" = ia64; then
   11043 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11044 	# chokes on -Wl,-G. The following line is correct:
   11045 	shared_flag='-G'
   11046       else
   11047 	if test "$aix_use_runtimelinking" = yes; then
   11048 	  shared_flag='${wl}-G'
   11049 	else
   11050 	  shared_flag='${wl}-bM:SRE'
   11051 	fi
   11052       fi
   11053     fi
   11054 
   11055     # It seems that -bexpall does not export symbols beginning with
   11056     # underscore (_), so it is better to generate a list of symbols to export.
   11057     always_export_symbols_CXX=yes
   11058     if test "$aix_use_runtimelinking" = yes; then
   11059       # Warning - without using the other runtime loading flags (-brtl),
   11060       # -berok will link without error, but may produce a broken library.
   11061       allow_undefined_flag_CXX='-berok'
   11062       # Determine the default libpath from the value encoded in an empty executable.
   11063       cat >conftest.$ac_ext <<_ACEOF
   11064 /* confdefs.h.  */
   11065 _ACEOF
   11066 cat confdefs.h >>conftest.$ac_ext
   11067 cat >>conftest.$ac_ext <<_ACEOF
   11068 /* end confdefs.h.  */
   11069 
   11070 int
   11071 main ()
   11072 {
   11073 
   11074   ;
   11075   return 0;
   11076 }
   11077 _ACEOF
   11078 rm -f conftest.$ac_objext conftest$ac_exeext
   11079 if { (ac_try="$ac_link"
   11080 case "(($ac_try" in
   11081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11082   *) ac_try_echo=$ac_try;;
   11083 esac
   11084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11085   (eval "$ac_link") 2>conftest.er1
   11086   ac_status=$?
   11087   grep -v '^ *+' conftest.er1 >conftest.err
   11088   rm -f conftest.er1
   11089   cat conftest.err >&5
   11090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11091   (exit $ac_status); } && {
   11092 	 test -z "$ac_cxx_werror_flag" ||
   11093 	 test ! -s conftest.err
   11094        } && test -s conftest$ac_exeext &&
   11095        $as_test_x conftest$ac_exeext; then
   11096 
   11097 lt_aix_libpath_sed='
   11098     /Import File Strings/,/^$/ {
   11099 	/^0/ {
   11100 	    s/^0  *\(.*\)$/\1/
   11101 	    p
   11102 	}
   11103     }'
   11104 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11105 # Check for a 64-bit object if we didn't find anything.
   11106 if test -z "$aix_libpath"; then
   11107   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11108 fi
   11109 else
   11110   echo "$as_me: failed program was:" >&5
   11111 sed 's/^/| /' conftest.$ac_ext >&5
   11112 
   11113 
   11114 fi
   11115 
   11116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11117       conftest$ac_exeext conftest.$ac_ext
   11118 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11119 
   11120       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11121 
   11122       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"
   11123      else
   11124       if test "$host_cpu" = ia64; then
   11125 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11126 	allow_undefined_flag_CXX="-z nodefs"
   11127 	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"
   11128       else
   11129 	# Determine the default libpath from the value encoded in an empty executable.
   11130 	cat >conftest.$ac_ext <<_ACEOF
   11131 /* confdefs.h.  */
   11132 _ACEOF
   11133 cat confdefs.h >>conftest.$ac_ext
   11134 cat >>conftest.$ac_ext <<_ACEOF
   11135 /* end confdefs.h.  */
   11136 
   11137 int
   11138 main ()
   11139 {
   11140 
   11141   ;
   11142   return 0;
   11143 }
   11144 _ACEOF
   11145 rm -f conftest.$ac_objext conftest$ac_exeext
   11146 if { (ac_try="$ac_link"
   11147 case "(($ac_try" in
   11148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11149   *) ac_try_echo=$ac_try;;
   11150 esac
   11151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11152   (eval "$ac_link") 2>conftest.er1
   11153   ac_status=$?
   11154   grep -v '^ *+' conftest.er1 >conftest.err
   11155   rm -f conftest.er1
   11156   cat conftest.err >&5
   11157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11158   (exit $ac_status); } && {
   11159 	 test -z "$ac_cxx_werror_flag" ||
   11160 	 test ! -s conftest.err
   11161        } && test -s conftest$ac_exeext &&
   11162        $as_test_x conftest$ac_exeext; then
   11163 
   11164 lt_aix_libpath_sed='
   11165     /Import File Strings/,/^$/ {
   11166 	/^0/ {
   11167 	    s/^0  *\(.*\)$/\1/
   11168 	    p
   11169 	}
   11170     }'
   11171 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11172 # Check for a 64-bit object if we didn't find anything.
   11173 if test -z "$aix_libpath"; then
   11174   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11175 fi
   11176 else
   11177   echo "$as_me: failed program was:" >&5
   11178 sed 's/^/| /' conftest.$ac_ext >&5
   11179 
   11180 
   11181 fi
   11182 
   11183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11184       conftest$ac_exeext conftest.$ac_ext
   11185 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11186 
   11187 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11188 	# Warning - without using the other run time loading flags,
   11189 	# -berok will link without error, but may produce a broken library.
   11190 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11191 	allow_undefined_flag_CXX=' ${wl}-berok'
   11192 	# Exported symbols can be pulled into shared objects from archives
   11193 	whole_archive_flag_spec_CXX='$convenience'
   11194 	archive_cmds_need_lc_CXX=yes
   11195 	# This is similar to how AIX traditionally builds its shared libraries.
   11196 	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'
   11197       fi
   11198     fi
   11199     ;;
   11200 
   11201   beos*)
   11202     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11203       allow_undefined_flag_CXX=unsupported
   11204       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11205       # support --undefined.  This deserves some investigation.  FIXME
   11206       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11207     else
   11208       ld_shlibs_CXX=no
   11209     fi
   11210     ;;
   11211 
   11212   chorus*)
   11213     case $cc_basename in
   11214       *)
   11215 	# FIXME: insert proper C++ library support
   11216 	ld_shlibs_CXX=no
   11217 	;;
   11218     esac
   11219     ;;
   11220 
   11221   cygwin* | mingw* | pw32*)
   11222     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11223     # as there is no search path for DLLs.
   11224     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11225     allow_undefined_flag_CXX=unsupported
   11226     always_export_symbols_CXX=no
   11227     enable_shared_with_static_runtimes_CXX=yes
   11228 
   11229     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11230       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'
   11231       # If the export-symbols file already is a .def file (1st line
   11232       # is EXPORTS), use it as is; otherwise, prepend...
   11233       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11234 	cp $export_symbols $output_objdir/$soname.def;
   11235       else
   11236 	echo EXPORTS > $output_objdir/$soname.def;
   11237 	cat $export_symbols >> $output_objdir/$soname.def;
   11238       fi~
   11239       $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'
   11240     else
   11241       ld_shlibs_CXX=no
   11242     fi
   11243   ;;
   11244       darwin* | rhapsody*)
   11245         case $host_os in
   11246         rhapsody* | darwin1.[012])
   11247          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11248          ;;
   11249        *) # Darwin 1.3 on
   11250          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11251            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11252          else
   11253            case ${MACOSX_DEPLOYMENT_TARGET} in
   11254              10.[012])
   11255                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11256                ;;
   11257              10.*)
   11258                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11259                ;;
   11260            esac
   11261          fi
   11262          ;;
   11263         esac
   11264       archive_cmds_need_lc_CXX=no
   11265       hardcode_direct_CXX=no
   11266       hardcode_automatic_CXX=yes
   11267       hardcode_shlibpath_var_CXX=unsupported
   11268       whole_archive_flag_spec_CXX=''
   11269       link_all_deplibs_CXX=yes
   11270 
   11271     if test "$GXX" = yes ; then
   11272       lt_int_apple_cc_single_mod=no
   11273       output_verbose_link_cmd='echo'
   11274       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11275        lt_int_apple_cc_single_mod=yes
   11276       fi
   11277       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11278        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11279       else
   11280           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'
   11281         fi
   11282         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11283         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11284           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11285             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}'
   11286           else
   11287             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}'
   11288           fi
   11289             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}'
   11290       else
   11291       case $cc_basename in
   11292         xlc*)
   11293          output_verbose_link_cmd='echo'
   11294           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11295           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11296           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11297           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11298           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}'
   11299           ;;
   11300        *)
   11301          ld_shlibs_CXX=no
   11302           ;;
   11303       esac
   11304       fi
   11305         ;;
   11306 
   11307   dgux*)
   11308     case $cc_basename in
   11309       ec++*)
   11310 	# FIXME: insert proper C++ library support
   11311 	ld_shlibs_CXX=no
   11312 	;;
   11313       ghcx*)
   11314 	# Green Hills C++ Compiler
   11315 	# FIXME: insert proper C++ library support
   11316 	ld_shlibs_CXX=no
   11317 	;;
   11318       *)
   11319 	# FIXME: insert proper C++ library support
   11320 	ld_shlibs_CXX=no
   11321 	;;
   11322     esac
   11323     ;;
   11324   freebsd[12]*)
   11325     # C++ shared libraries reported to be fairly broken before switch to ELF
   11326     ld_shlibs_CXX=no
   11327     ;;
   11328   freebsd-elf*)
   11329     archive_cmds_need_lc_CXX=no
   11330     ;;
   11331   freebsd* | dragonfly*)
   11332     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11333     # conventions
   11334     ld_shlibs_CXX=yes
   11335     ;;
   11336   gnu*)
   11337     ;;
   11338   hpux9*)
   11339     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11340     hardcode_libdir_separator_CXX=:
   11341     export_dynamic_flag_spec_CXX='${wl}-E'
   11342     hardcode_direct_CXX=yes
   11343     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11344 				# but as the default
   11345 				# location of the library.
   11346 
   11347     case $cc_basename in
   11348     CC*)
   11349       # FIXME: insert proper C++ library support
   11350       ld_shlibs_CXX=no
   11351       ;;
   11352     aCC*)
   11353       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'
   11354       # Commands to make compiler produce verbose output that lists
   11355       # what "hidden" libraries, object files and flags are used when
   11356       # linking a shared library.
   11357       #
   11358       # There doesn't appear to be a way to prevent this compiler from
   11359       # explicitly linking system object files so we need to strip them
   11360       # from the output so that they don't get included in the library
   11361       # dependencies.
   11362       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'
   11363       ;;
   11364     *)
   11365       if test "$GXX" = yes; then
   11366         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'
   11367       else
   11368         # FIXME: insert proper C++ library support
   11369         ld_shlibs_CXX=no
   11370       fi
   11371       ;;
   11372     esac
   11373     ;;
   11374   hpux10*|hpux11*)
   11375     if test $with_gnu_ld = no; then
   11376       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11377       hardcode_libdir_separator_CXX=:
   11378 
   11379       case $host_cpu in
   11380       hppa*64*|ia64*) ;;
   11381       *)
   11382 	export_dynamic_flag_spec_CXX='${wl}-E'
   11383         ;;
   11384       esac
   11385     fi
   11386     case $host_cpu in
   11387     hppa*64*|ia64*)
   11388       hardcode_direct_CXX=no
   11389       hardcode_shlibpath_var_CXX=no
   11390       ;;
   11391     *)
   11392       hardcode_direct_CXX=yes
   11393       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11394 					      # but as the default
   11395 					      # location of the library.
   11396       ;;
   11397     esac
   11398 
   11399     case $cc_basename in
   11400       CC*)
   11401 	# FIXME: insert proper C++ library support
   11402 	ld_shlibs_CXX=no
   11403 	;;
   11404       aCC*)
   11405 	case $host_cpu in
   11406 	hppa*64*)
   11407 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11408 	  ;;
   11409 	ia64*)
   11410 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11411 	  ;;
   11412 	*)
   11413 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11414 	  ;;
   11415 	esac
   11416 	# Commands to make compiler produce verbose output that lists
   11417 	# what "hidden" libraries, object files and flags are used when
   11418 	# linking a shared library.
   11419 	#
   11420 	# There doesn't appear to be a way to prevent this compiler from
   11421 	# explicitly linking system object files so we need to strip them
   11422 	# from the output so that they don't get included in the library
   11423 	# dependencies.
   11424 	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'
   11425 	;;
   11426       *)
   11427 	if test "$GXX" = yes; then
   11428 	  if test $with_gnu_ld = no; then
   11429 	    case $host_cpu in
   11430 	    hppa*64*)
   11431 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11432 	      ;;
   11433 	    ia64*)
   11434 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11435 	      ;;
   11436 	    *)
   11437 	      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'
   11438 	      ;;
   11439 	    esac
   11440 	  fi
   11441 	else
   11442 	  # FIXME: insert proper C++ library support
   11443 	  ld_shlibs_CXX=no
   11444 	fi
   11445 	;;
   11446     esac
   11447     ;;
   11448   interix[3-9]*)
   11449     hardcode_direct_CXX=no
   11450     hardcode_shlibpath_var_CXX=no
   11451     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11452     export_dynamic_flag_spec_CXX='${wl}-E'
   11453     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11454     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11455     # default) and relocated if they conflict, which is a slow very memory
   11456     # consuming and fragmenting process.  To avoid this, we pick a random,
   11457     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11458     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11459     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'
   11460     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'
   11461     ;;
   11462   irix5* | irix6*)
   11463     case $cc_basename in
   11464       CC*)
   11465 	# SGI C++
   11466 	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'
   11467 
   11468 	# Archives containing C++ object files must be created using
   11469 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11470 	# necessary to make sure instantiated templates are included
   11471 	# in the archive.
   11472 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11473 	;;
   11474       *)
   11475 	if test "$GXX" = yes; then
   11476 	  if test "$with_gnu_ld" = no; then
   11477 	    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'
   11478 	  else
   11479 	    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'
   11480 	  fi
   11481 	fi
   11482 	link_all_deplibs_CXX=yes
   11483 	;;
   11484     esac
   11485     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11486     hardcode_libdir_separator_CXX=:
   11487     ;;
   11488   linux* | k*bsd*-gnu)
   11489     case $cc_basename in
   11490       KCC*)
   11491 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11492 
   11493 	# KCC will only create a shared library if the output file
   11494 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11495 	# to its proper name (with version) after linking.
   11496 	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'
   11497 	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'
   11498 	# Commands to make compiler produce verbose output that lists
   11499 	# what "hidden" libraries, object files and flags are used when
   11500 	# linking a shared library.
   11501 	#
   11502 	# There doesn't appear to be a way to prevent this compiler from
   11503 	# explicitly linking system object files so we need to strip them
   11504 	# from the output so that they don't get included in the library
   11505 	# dependencies.
   11506 	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'
   11507 
   11508 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11509 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11510 
   11511 	# Archives containing C++ object files must be created using
   11512 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11513 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11514 	;;
   11515       icpc*)
   11516 	# Intel C++
   11517 	with_gnu_ld=yes
   11518 	# version 8.0 and above of icpc choke on multiply defined symbols
   11519 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11520 	# earlier do not add the objects themselves.
   11521 	case `$CC -V 2>&1` in
   11522 	*"Version 7."*)
   11523   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11524   	  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'
   11525 	  ;;
   11526 	*)  # Version 8.0 or newer
   11527 	  tmp_idyn=
   11528 	  case $host_cpu in
   11529 	    ia64*) tmp_idyn=' -i_dynamic';;
   11530 	  esac
   11531   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11532 	  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'
   11533 	  ;;
   11534 	esac
   11535 	archive_cmds_need_lc_CXX=no
   11536 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11537 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11538 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11539 	;;
   11540       pgCC*)
   11541         # Portland Group C++ compiler
   11542 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11543   	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'
   11544 
   11545 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11546 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11547 	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'
   11548         ;;
   11549       cxx*)
   11550 	# Compaq C++
   11551 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11552 	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'
   11553 
   11554 	runpath_var=LD_RUN_PATH
   11555 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11556 	hardcode_libdir_separator_CXX=:
   11557 
   11558 	# Commands to make compiler produce verbose output that lists
   11559 	# what "hidden" libraries, object files and flags are used when
   11560 	# linking a shared library.
   11561 	#
   11562 	# There doesn't appear to be a way to prevent this compiler from
   11563 	# explicitly linking system object files so we need to strip them
   11564 	# from the output so that they don't get included in the library
   11565 	# dependencies.
   11566 	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'
   11567 	;;
   11568       *)
   11569 	case `$CC -V 2>&1 | sed 5q` in
   11570 	*Sun\ C*)
   11571 	  # Sun C++ 5.9
   11572 	  no_undefined_flag_CXX=' -zdefs'
   11573 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11574 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   11575 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11576 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   11577 
   11578 	  # Not sure whether something based on
   11579 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11580 	  # would be better.
   11581 	  output_verbose_link_cmd='echo'
   11582 
   11583 	  # Archives containing C++ object files must be created using
   11584 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11585 	  # necessary to make sure instantiated templates are included
   11586 	  # in the archive.
   11587 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11588 	  ;;
   11589 	esac
   11590 	;;
   11591     esac
   11592     ;;
   11593   lynxos*)
   11594     # FIXME: insert proper C++ library support
   11595     ld_shlibs_CXX=no
   11596     ;;
   11597   m88k*)
   11598     # FIXME: insert proper C++ library support
   11599     ld_shlibs_CXX=no
   11600     ;;
   11601   mvs*)
   11602     case $cc_basename in
   11603       cxx*)
   11604 	# FIXME: insert proper C++ library support
   11605 	ld_shlibs_CXX=no
   11606 	;;
   11607       *)
   11608 	# FIXME: insert proper C++ library support
   11609 	ld_shlibs_CXX=no
   11610 	;;
   11611     esac
   11612     ;;
   11613   netbsd*)
   11614     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11615       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11616       wlarc=
   11617       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11618       hardcode_direct_CXX=yes
   11619       hardcode_shlibpath_var_CXX=no
   11620     fi
   11621     # Workaround some broken pre-1.5 toolchains
   11622     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11623     ;;
   11624   openbsd2*)
   11625     # C++ shared libraries are fairly broken
   11626     ld_shlibs_CXX=no
   11627     ;;
   11628   openbsd*)
   11629     if test -f /usr/libexec/ld.so; then
   11630       hardcode_direct_CXX=yes
   11631       hardcode_shlibpath_var_CXX=no
   11632       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11633       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11634       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11635 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11636 	export_dynamic_flag_spec_CXX='${wl}-E'
   11637 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11638       fi
   11639       output_verbose_link_cmd='echo'
   11640     else
   11641       ld_shlibs_CXX=no
   11642     fi
   11643     ;;
   11644   osf3*)
   11645     case $cc_basename in
   11646       KCC*)
   11647 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11648 
   11649 	# KCC will only create a shared library if the output file
   11650 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11651 	# to its proper name (with version) after linking.
   11652 	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'
   11653 
   11654 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11655 	hardcode_libdir_separator_CXX=:
   11656 
   11657 	# Archives containing C++ object files must be created using
   11658 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11659 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11660 
   11661 	;;
   11662       RCC*)
   11663 	# Rational C++ 2.4.1
   11664 	# FIXME: insert proper C++ library support
   11665 	ld_shlibs_CXX=no
   11666 	;;
   11667       cxx*)
   11668 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11669 	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'
   11670 
   11671 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11672 	hardcode_libdir_separator_CXX=:
   11673 
   11674 	# Commands to make compiler produce verbose output that lists
   11675 	# what "hidden" libraries, object files and flags are used when
   11676 	# linking a shared library.
   11677 	#
   11678 	# There doesn't appear to be a way to prevent this compiler from
   11679 	# explicitly linking system object files so we need to strip them
   11680 	# from the output so that they don't get included in the library
   11681 	# dependencies.
   11682 	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'
   11683 	;;
   11684       *)
   11685 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11686 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11687 	  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'
   11688 
   11689 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11690 	  hardcode_libdir_separator_CXX=:
   11691 
   11692 	  # Commands to make compiler produce verbose output that lists
   11693 	  # what "hidden" libraries, object files and flags are used when
   11694 	  # linking a shared library.
   11695 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11696 
   11697 	else
   11698 	  # FIXME: insert proper C++ library support
   11699 	  ld_shlibs_CXX=no
   11700 	fi
   11701 	;;
   11702     esac
   11703     ;;
   11704   osf4* | osf5*)
   11705     case $cc_basename in
   11706       KCC*)
   11707 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11708 
   11709 	# KCC will only create a shared library if the output file
   11710 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11711 	# to its proper name (with version) after linking.
   11712 	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'
   11713 
   11714 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11715 	hardcode_libdir_separator_CXX=:
   11716 
   11717 	# Archives containing C++ object files must be created using
   11718 	# the KAI C++ compiler.
   11719 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11720 	;;
   11721       RCC*)
   11722 	# Rational C++ 2.4.1
   11723 	# FIXME: insert proper C++ library support
   11724 	ld_shlibs_CXX=no
   11725 	;;
   11726       cxx*)
   11727 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11728 	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'
   11729 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11730 	  echo "-hidden">> $lib.exp~
   11731 	  $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~
   11732 	  $rm $lib.exp'
   11733 
   11734 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11735 	hardcode_libdir_separator_CXX=:
   11736 
   11737 	# Commands to make compiler produce verbose output that lists
   11738 	# what "hidden" libraries, object files and flags are used when
   11739 	# linking a shared library.
   11740 	#
   11741 	# There doesn't appear to be a way to prevent this compiler from
   11742 	# explicitly linking system object files so we need to strip them
   11743 	# from the output so that they don't get included in the library
   11744 	# dependencies.
   11745 	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'
   11746 	;;
   11747       *)
   11748 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11749 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11750 	 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'
   11751 
   11752 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11753 	  hardcode_libdir_separator_CXX=:
   11754 
   11755 	  # Commands to make compiler produce verbose output that lists
   11756 	  # what "hidden" libraries, object files and flags are used when
   11757 	  # linking a shared library.
   11758 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11759 
   11760 	else
   11761 	  # FIXME: insert proper C++ library support
   11762 	  ld_shlibs_CXX=no
   11763 	fi
   11764 	;;
   11765     esac
   11766     ;;
   11767   psos*)
   11768     # FIXME: insert proper C++ library support
   11769     ld_shlibs_CXX=no
   11770     ;;
   11771   sunos4*)
   11772     case $cc_basename in
   11773       CC*)
   11774 	# Sun C++ 4.x
   11775 	# FIXME: insert proper C++ library support
   11776 	ld_shlibs_CXX=no
   11777 	;;
   11778       lcc*)
   11779 	# Lucid
   11780 	# FIXME: insert proper C++ library support
   11781 	ld_shlibs_CXX=no
   11782 	;;
   11783       *)
   11784 	# FIXME: insert proper C++ library support
   11785 	ld_shlibs_CXX=no
   11786 	;;
   11787     esac
   11788     ;;
   11789   solaris*)
   11790     case $cc_basename in
   11791       CC*)
   11792 	# Sun C++ 4.2, 5.x and Centerline C++
   11793         archive_cmds_need_lc_CXX=yes
   11794 	no_undefined_flag_CXX=' -zdefs'
   11795 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11796 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11797 	$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'
   11798 
   11799 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11800 	hardcode_shlibpath_var_CXX=no
   11801 	case $host_os in
   11802 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11803 	  *)
   11804 	    # The compiler driver will combine and reorder linker options,
   11805 	    # but understands `-z linker_flag'.
   11806 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11807 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   11808 	    ;;
   11809 	esac
   11810 	link_all_deplibs_CXX=yes
   11811 
   11812 	output_verbose_link_cmd='echo'
   11813 
   11814 	# Archives containing C++ object files must be created using
   11815 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11816 	# necessary to make sure instantiated templates are included
   11817 	# in the archive.
   11818 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11819 	;;
   11820       gcx*)
   11821 	# Green Hills C++ Compiler
   11822 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11823 
   11824 	# The C++ compiler must be used to create the archive.
   11825 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11826 	;;
   11827       *)
   11828 	# GNU C++ compiler with Solaris linker
   11829 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11830 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11831 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11832 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11833 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11834 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11835 
   11836 	    # Commands to make compiler produce verbose output that lists
   11837 	    # what "hidden" libraries, object files and flags are used when
   11838 	    # linking a shared library.
   11839 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11840 	  else
   11841 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11842 	    # platform.
   11843 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11844 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11845 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11846 
   11847 	    # Commands to make compiler produce verbose output that lists
   11848 	    # what "hidden" libraries, object files and flags are used when
   11849 	    # linking a shared library.
   11850 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11851 	  fi
   11852 
   11853 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11854 	  case $host_os in
   11855 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11856 	  *)
   11857 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11858 	    ;;
   11859 	  esac
   11860 	fi
   11861 	;;
   11862     esac
   11863     ;;
   11864   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11865     no_undefined_flag_CXX='${wl}-z,text'
   11866     archive_cmds_need_lc_CXX=no
   11867     hardcode_shlibpath_var_CXX=no
   11868     runpath_var='LD_RUN_PATH'
   11869 
   11870     case $cc_basename in
   11871       CC*)
   11872 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11873 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11874 	;;
   11875       *)
   11876 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11877 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11878 	;;
   11879     esac
   11880     ;;
   11881   sysv5* | sco3.2v5* | sco5v6*)
   11882     # Note: We can NOT use -z defs as we might desire, because we do not
   11883     # link with -lc, and that would cause any symbols used from libc to
   11884     # always be unresolved, which means just about no library would
   11885     # ever link correctly.  If we're not using GNU ld we use -z text
   11886     # though, which does catch some bad symbols but isn't as heavy-handed
   11887     # as -z defs.
   11888     # For security reasons, it is highly recommended that you always
   11889     # use absolute paths for naming shared libraries, and exclude the
   11890     # DT_RUNPATH tag from executables and libraries.  But doing so
   11891     # requires that you compile everything twice, which is a pain.
   11892     # So that behaviour is only enabled if SCOABSPATH is set to a
   11893     # non-empty value in the environment.  Most likely only useful for
   11894     # creating official distributions of packages.
   11895     # This is a hack until libtool officially supports absolute path
   11896     # names for shared libraries.
   11897     no_undefined_flag_CXX='${wl}-z,text'
   11898     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11899     archive_cmds_need_lc_CXX=no
   11900     hardcode_shlibpath_var_CXX=no
   11901     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11902     hardcode_libdir_separator_CXX=':'
   11903     link_all_deplibs_CXX=yes
   11904     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11905     runpath_var='LD_RUN_PATH'
   11906 
   11907     case $cc_basename in
   11908       CC*)
   11909 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11910 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11911 	;;
   11912       *)
   11913 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11914 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11915 	;;
   11916     esac
   11917     ;;
   11918   tandem*)
   11919     case $cc_basename in
   11920       NCC*)
   11921 	# NonStop-UX NCC 3.20
   11922 	# FIXME: insert proper C++ library support
   11923 	ld_shlibs_CXX=no
   11924 	;;
   11925       *)
   11926 	# FIXME: insert proper C++ library support
   11927 	ld_shlibs_CXX=no
   11928 	;;
   11929     esac
   11930     ;;
   11931   vxworks*)
   11932     # FIXME: insert proper C++ library support
   11933     ld_shlibs_CXX=no
   11934     ;;
   11935   *)
   11936     # FIXME: insert proper C++ library support
   11937     ld_shlibs_CXX=no
   11938     ;;
   11939 esac
   11940 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11941 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11942 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11943 
   11944 GCC_CXX="$GXX"
   11945 LD_CXX="$LD"
   11946 
   11947 
   11948 cat > conftest.$ac_ext <<EOF
   11949 class Foo
   11950 {
   11951 public:
   11952   Foo (void) { a = 0; }
   11953 private:
   11954   int a;
   11955 };
   11956 EOF
   11957 
   11958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11959   (eval $ac_compile) 2>&5
   11960   ac_status=$?
   11961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11962   (exit $ac_status); }; then
   11963   # Parse the compiler output and extract the necessary
   11964   # objects, libraries and library flags.
   11965 
   11966   # Sentinel used to keep track of whether or not we are before
   11967   # the conftest object file.
   11968   pre_test_object_deps_done=no
   11969 
   11970   # The `*' in the case matches for architectures that use `case' in
   11971   # $output_verbose_cmd can trigger glob expansion during the loop
   11972   # eval without this substitution.
   11973   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11974 
   11975   for p in `eval $output_verbose_link_cmd`; do
   11976     case $p in
   11977 
   11978     -L* | -R* | -l*)
   11979        # Some compilers place space between "-{L,R}" and the path.
   11980        # Remove the space.
   11981        if test $p = "-L" \
   11982 	  || test $p = "-R"; then
   11983 	 prev=$p
   11984 	 continue
   11985        else
   11986 	 prev=
   11987        fi
   11988 
   11989        if test "$pre_test_object_deps_done" = no; then
   11990 	 case $p in
   11991 	 -L* | -R*)
   11992 	   # Internal compiler library paths should come after those
   11993 	   # provided the user.  The postdeps already come after the
   11994 	   # user supplied libs so there is no need to process them.
   11995 	   if test -z "$compiler_lib_search_path_CXX"; then
   11996 	     compiler_lib_search_path_CXX="${prev}${p}"
   11997 	   else
   11998 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11999 	   fi
   12000 	   ;;
   12001 	 # The "-l" case would never come before the object being
   12002 	 # linked, so don't bother handling this case.
   12003 	 esac
   12004        else
   12005 	 if test -z "$postdeps_CXX"; then
   12006 	   postdeps_CXX="${prev}${p}"
   12007 	 else
   12008 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12009 	 fi
   12010        fi
   12011        ;;
   12012 
   12013     *.$objext)
   12014        # This assumes that the test object file only shows up
   12015        # once in the compiler output.
   12016        if test "$p" = "conftest.$objext"; then
   12017 	 pre_test_object_deps_done=yes
   12018 	 continue
   12019        fi
   12020 
   12021        if test "$pre_test_object_deps_done" = no; then
   12022 	 if test -z "$predep_objects_CXX"; then
   12023 	   predep_objects_CXX="$p"
   12024 	 else
   12025 	   predep_objects_CXX="$predep_objects_CXX $p"
   12026 	 fi
   12027        else
   12028 	 if test -z "$postdep_objects_CXX"; then
   12029 	   postdep_objects_CXX="$p"
   12030 	 else
   12031 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12032 	 fi
   12033        fi
   12034        ;;
   12035 
   12036     *) ;; # Ignore the rest.
   12037 
   12038     esac
   12039   done
   12040 
   12041   # Clean up.
   12042   rm -f a.out a.exe
   12043 else
   12044   echo "libtool.m4: error: problem compiling CXX test program"
   12045 fi
   12046 
   12047 $rm -f confest.$objext
   12048 
   12049 # PORTME: override above test on systems where it is broken
   12050 case $host_os in
   12051 interix[3-9]*)
   12052   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12053   # hack all around it, let's just trust "g++" to DTRT.
   12054   predep_objects_CXX=
   12055   postdep_objects_CXX=
   12056   postdeps_CXX=
   12057   ;;
   12058 
   12059 linux*)
   12060   case `$CC -V 2>&1 | sed 5q` in
   12061   *Sun\ C*)
   12062     # Sun C++ 5.9
   12063     #
   12064     # The more standards-conforming stlport4 library is
   12065     # incompatible with the Cstd library. Avoid specifying
   12066     # it if it's in CXXFLAGS. Ignore libCrun as
   12067     # -library=stlport4 depends on it.
   12068     case " $CXX $CXXFLAGS " in
   12069     *" -library=stlport4 "*)
   12070       solaris_use_stlport4=yes
   12071       ;;
   12072     esac
   12073     if test "$solaris_use_stlport4" != yes; then
   12074       postdeps_CXX='-library=Cstd -library=Crun'
   12075     fi
   12076     ;;
   12077   esac
   12078   ;;
   12079 
   12080 solaris*)
   12081   case $cc_basename in
   12082   CC*)
   12083     # The more standards-conforming stlport4 library is
   12084     # incompatible with the Cstd library. Avoid specifying
   12085     # it if it's in CXXFLAGS. Ignore libCrun as
   12086     # -library=stlport4 depends on it.
   12087     case " $CXX $CXXFLAGS " in
   12088     *" -library=stlport4 "*)
   12089       solaris_use_stlport4=yes
   12090       ;;
   12091     esac
   12092 
   12093     # Adding this requires a known-good setup of shared libraries for
   12094     # Sun compiler versions before 5.6, else PIC objects from an old
   12095     # archive will be linked into the output, leading to subtle bugs.
   12096     if test "$solaris_use_stlport4" != yes; then
   12097       postdeps_CXX='-library=Cstd -library=Crun'
   12098     fi
   12099     ;;
   12100   esac
   12101   ;;
   12102 esac
   12103 
   12104 
   12105 case " $postdeps_CXX " in
   12106 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12107 esac
   12108 
   12109 lt_prog_compiler_wl_CXX=
   12110 lt_prog_compiler_pic_CXX=
   12111 lt_prog_compiler_static_CXX=
   12112 
   12113 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12114 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12115 
   12116   # C++ specific cases for pic, static, wl, etc.
   12117   if test "$GXX" = yes; then
   12118     lt_prog_compiler_wl_CXX='-Wl,'
   12119     lt_prog_compiler_static_CXX='-static'
   12120 
   12121     case $host_os in
   12122     aix*)
   12123       # All AIX code is PIC.
   12124       if test "$host_cpu" = ia64; then
   12125 	# AIX 5 now supports IA64 processor
   12126 	lt_prog_compiler_static_CXX='-Bstatic'
   12127       fi
   12128       ;;
   12129     amigaos*)
   12130       # FIXME: we need at least 68020 code to build shared libraries, but
   12131       # adding the `-m68020' flag to GCC prevents building anything better,
   12132       # like `-m68040'.
   12133       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12134       ;;
   12135     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12136       # PIC is the default for these OSes.
   12137       ;;
   12138     mingw* | cygwin* | os2* | pw32*)
   12139       # This hack is so that the source file can tell whether it is being
   12140       # built for inclusion in a dll (and should export symbols for example).
   12141       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12142       # (--disable-auto-import) libraries
   12143       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12144       ;;
   12145     darwin* | rhapsody*)
   12146       # PIC is the default on this platform
   12147       # Common symbols not allowed in MH_DYLIB files
   12148       lt_prog_compiler_pic_CXX='-fno-common'
   12149       ;;
   12150     *djgpp*)
   12151       # DJGPP does not support shared libraries at all
   12152       lt_prog_compiler_pic_CXX=
   12153       ;;
   12154     interix[3-9]*)
   12155       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12156       # Instead, we relocate shared libraries at runtime.
   12157       ;;
   12158     sysv4*MP*)
   12159       if test -d /usr/nec; then
   12160 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12161       fi
   12162       ;;
   12163     hpux*)
   12164       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12165       # not for PA HP-UX.
   12166       case $host_cpu in
   12167       hppa*64*|ia64*)
   12168 	;;
   12169       *)
   12170 	lt_prog_compiler_pic_CXX='-fPIC'
   12171 	;;
   12172       esac
   12173       ;;
   12174     *)
   12175       lt_prog_compiler_pic_CXX='-fPIC'
   12176       ;;
   12177     esac
   12178   else
   12179     case $host_os in
   12180       aix4* | aix5*)
   12181 	# All AIX code is PIC.
   12182 	if test "$host_cpu" = ia64; then
   12183 	  # AIX 5 now supports IA64 processor
   12184 	  lt_prog_compiler_static_CXX='-Bstatic'
   12185 	else
   12186 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12187 	fi
   12188 	;;
   12189       chorus*)
   12190 	case $cc_basename in
   12191 	cxch68*)
   12192 	  # Green Hills C++ Compiler
   12193 	  # _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"
   12194 	  ;;
   12195 	esac
   12196 	;;
   12197        darwin*)
   12198          # PIC is the default on this platform
   12199          # Common symbols not allowed in MH_DYLIB files
   12200          case $cc_basename in
   12201            xlc*)
   12202            lt_prog_compiler_pic_CXX='-qnocommon'
   12203            lt_prog_compiler_wl_CXX='-Wl,'
   12204            ;;
   12205          esac
   12206        ;;
   12207       dgux*)
   12208 	case $cc_basename in
   12209 	  ec++*)
   12210 	    lt_prog_compiler_pic_CXX='-KPIC'
   12211 	    ;;
   12212 	  ghcx*)
   12213 	    # Green Hills C++ Compiler
   12214 	    lt_prog_compiler_pic_CXX='-pic'
   12215 	    ;;
   12216 	  *)
   12217 	    ;;
   12218 	esac
   12219 	;;
   12220       freebsd* | dragonfly*)
   12221 	# FreeBSD uses GNU C++
   12222 	;;
   12223       hpux9* | hpux10* | hpux11*)
   12224 	case $cc_basename in
   12225 	  CC*)
   12226 	    lt_prog_compiler_wl_CXX='-Wl,'
   12227 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12228 	    if test "$host_cpu" != ia64; then
   12229 	      lt_prog_compiler_pic_CXX='+Z'
   12230 	    fi
   12231 	    ;;
   12232 	  aCC*)
   12233 	    lt_prog_compiler_wl_CXX='-Wl,'
   12234 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12235 	    case $host_cpu in
   12236 	    hppa*64*|ia64*)
   12237 	      # +Z the default
   12238 	      ;;
   12239 	    *)
   12240 	      lt_prog_compiler_pic_CXX='+Z'
   12241 	      ;;
   12242 	    esac
   12243 	    ;;
   12244 	  *)
   12245 	    ;;
   12246 	esac
   12247 	;;
   12248       interix*)
   12249 	# This is c89, which is MS Visual C++ (no shared libs)
   12250 	# Anyone wants to do a port?
   12251 	;;
   12252       irix5* | irix6* | nonstopux*)
   12253 	case $cc_basename in
   12254 	  CC*)
   12255 	    lt_prog_compiler_wl_CXX='-Wl,'
   12256 	    lt_prog_compiler_static_CXX='-non_shared'
   12257 	    # CC pic flag -KPIC is the default.
   12258 	    ;;
   12259 	  *)
   12260 	    ;;
   12261 	esac
   12262 	;;
   12263       linux* | k*bsd*-gnu)
   12264 	case $cc_basename in
   12265 	  KCC*)
   12266 	    # KAI C++ Compiler
   12267 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12268 	    lt_prog_compiler_pic_CXX='-fPIC'
   12269 	    ;;
   12270 	  icpc* | ecpc*)
   12271 	    # Intel C++
   12272 	    lt_prog_compiler_wl_CXX='-Wl,'
   12273 	    lt_prog_compiler_pic_CXX='-KPIC'
   12274 	    lt_prog_compiler_static_CXX='-static'
   12275 	    ;;
   12276 	  pgCC*)
   12277 	    # Portland Group C++ compiler.
   12278 	    lt_prog_compiler_wl_CXX='-Wl,'
   12279 	    lt_prog_compiler_pic_CXX='-fpic'
   12280 	    lt_prog_compiler_static_CXX='-Bstatic'
   12281 	    ;;
   12282 	  cxx*)
   12283 	    # Compaq C++
   12284 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12285 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12286 	    lt_prog_compiler_pic_CXX=
   12287 	    lt_prog_compiler_static_CXX='-non_shared'
   12288 	    ;;
   12289 	  *)
   12290 	    case `$CC -V 2>&1 | sed 5q` in
   12291 	    *Sun\ C*)
   12292 	      # Sun C++ 5.9
   12293 	      lt_prog_compiler_pic_CXX='-KPIC'
   12294 	      lt_prog_compiler_static_CXX='-Bstatic'
   12295 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12296 	      ;;
   12297 	    esac
   12298 	    ;;
   12299 	esac
   12300 	;;
   12301       lynxos*)
   12302 	;;
   12303       m88k*)
   12304 	;;
   12305       mvs*)
   12306 	case $cc_basename in
   12307 	  cxx*)
   12308 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12309 	    ;;
   12310 	  *)
   12311 	    ;;
   12312 	esac
   12313 	;;
   12314       netbsd*)
   12315 	;;
   12316       osf3* | osf4* | osf5*)
   12317 	case $cc_basename in
   12318 	  KCC*)
   12319 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12320 	    ;;
   12321 	  RCC*)
   12322 	    # Rational C++ 2.4.1
   12323 	    lt_prog_compiler_pic_CXX='-pic'
   12324 	    ;;
   12325 	  cxx*)
   12326 	    # Digital/Compaq C++
   12327 	    lt_prog_compiler_wl_CXX='-Wl,'
   12328 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12329 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12330 	    lt_prog_compiler_pic_CXX=
   12331 	    lt_prog_compiler_static_CXX='-non_shared'
   12332 	    ;;
   12333 	  *)
   12334 	    ;;
   12335 	esac
   12336 	;;
   12337       psos*)
   12338 	;;
   12339       solaris*)
   12340 	case $cc_basename in
   12341 	  CC*)
   12342 	    # Sun C++ 4.2, 5.x and Centerline C++
   12343 	    lt_prog_compiler_pic_CXX='-KPIC'
   12344 	    lt_prog_compiler_static_CXX='-Bstatic'
   12345 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12346 	    ;;
   12347 	  gcx*)
   12348 	    # Green Hills C++ Compiler
   12349 	    lt_prog_compiler_pic_CXX='-PIC'
   12350 	    ;;
   12351 	  *)
   12352 	    ;;
   12353 	esac
   12354 	;;
   12355       sunos4*)
   12356 	case $cc_basename in
   12357 	  CC*)
   12358 	    # Sun C++ 4.x
   12359 	    lt_prog_compiler_pic_CXX='-pic'
   12360 	    lt_prog_compiler_static_CXX='-Bstatic'
   12361 	    ;;
   12362 	  lcc*)
   12363 	    # Lucid
   12364 	    lt_prog_compiler_pic_CXX='-pic'
   12365 	    ;;
   12366 	  *)
   12367 	    ;;
   12368 	esac
   12369 	;;
   12370       tandem*)
   12371 	case $cc_basename in
   12372 	  NCC*)
   12373 	    # NonStop-UX NCC 3.20
   12374 	    lt_prog_compiler_pic_CXX='-KPIC'
   12375 	    ;;
   12376 	  *)
   12377 	    ;;
   12378 	esac
   12379 	;;
   12380       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12381 	case $cc_basename in
   12382 	  CC*)
   12383 	    lt_prog_compiler_wl_CXX='-Wl,'
   12384 	    lt_prog_compiler_pic_CXX='-KPIC'
   12385 	    lt_prog_compiler_static_CXX='-Bstatic'
   12386 	    ;;
   12387 	esac
   12388 	;;
   12389       vxworks*)
   12390 	;;
   12391       *)
   12392 	lt_prog_compiler_can_build_shared_CXX=no
   12393 	;;
   12394     esac
   12395   fi
   12396 
   12397 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12398 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12399 
   12400 #
   12401 # Check to make sure the PIC flag actually works.
   12402 #
   12403 if test -n "$lt_prog_compiler_pic_CXX"; then
   12404 
   12405 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12406 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12407 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12408   echo $ECHO_N "(cached) $ECHO_C" >&6
   12409 else
   12410   lt_prog_compiler_pic_works_CXX=no
   12411   ac_outfile=conftest.$ac_objext
   12412    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12413    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12414    # Insert the option either (1) after the last *FLAGS variable, or
   12415    # (2) before a word containing "conftest.", or (3) at the end.
   12416    # Note that $ac_compile itself does not contain backslashes and begins
   12417    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12418    # The option is referenced via a variable to avoid confusing sed.
   12419    lt_compile=`echo "$ac_compile" | $SED \
   12420    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12421    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12422    -e 's:$: $lt_compiler_flag:'`
   12423    (eval echo "\"\$as_me:12423: $lt_compile\"" >&5)
   12424    (eval "$lt_compile" 2>conftest.err)
   12425    ac_status=$?
   12426    cat conftest.err >&5
   12427    echo "$as_me:12427: \$? = $ac_status" >&5
   12428    if (exit $ac_status) && test -s "$ac_outfile"; then
   12429      # The compiler can only warn and ignore the option if not recognized
   12430      # So say no if there are warnings other than the usual output.
   12431      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12432      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12433      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12434        lt_prog_compiler_pic_works_CXX=yes
   12435      fi
   12436    fi
   12437    $rm conftest*
   12438 
   12439 fi
   12440 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12441 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12442 
   12443 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12444     case $lt_prog_compiler_pic_CXX in
   12445      "" | " "*) ;;
   12446      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12447      esac
   12448 else
   12449     lt_prog_compiler_pic_CXX=
   12450      lt_prog_compiler_can_build_shared_CXX=no
   12451 fi
   12452 
   12453 fi
   12454 case $host_os in
   12455   # For platforms which do not support PIC, -DPIC is meaningless:
   12456   *djgpp*)
   12457     lt_prog_compiler_pic_CXX=
   12458     ;;
   12459   *)
   12460     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12461     ;;
   12462 esac
   12463 
   12464 #
   12465 # Check to make sure the static flag actually works.
   12466 #
   12467 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12468 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12469 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12470 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12471   echo $ECHO_N "(cached) $ECHO_C" >&6
   12472 else
   12473   lt_prog_compiler_static_works_CXX=no
   12474    save_LDFLAGS="$LDFLAGS"
   12475    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12476    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12477    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12478      # The linker can only warn and ignore the option if not recognized
   12479      # So say no if there are warnings
   12480      if test -s conftest.err; then
   12481        # Append any errors to the config.log.
   12482        cat conftest.err 1>&5
   12483        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12484        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12485        if diff conftest.exp conftest.er2 >/dev/null; then
   12486          lt_prog_compiler_static_works_CXX=yes
   12487        fi
   12488      else
   12489        lt_prog_compiler_static_works_CXX=yes
   12490      fi
   12491    fi
   12492    $rm conftest*
   12493    LDFLAGS="$save_LDFLAGS"
   12494 
   12495 fi
   12496 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12497 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12498 
   12499 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12500     :
   12501 else
   12502     lt_prog_compiler_static_CXX=
   12503 fi
   12504 
   12505 
   12506 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12507 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12508 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12509   echo $ECHO_N "(cached) $ECHO_C" >&6
   12510 else
   12511   lt_cv_prog_compiler_c_o_CXX=no
   12512    $rm -r conftest 2>/dev/null
   12513    mkdir conftest
   12514    cd conftest
   12515    mkdir out
   12516    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12517 
   12518    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12519    # Insert the option either (1) after the last *FLAGS variable, or
   12520    # (2) before a word containing "conftest.", or (3) at the end.
   12521    # Note that $ac_compile itself does not contain backslashes and begins
   12522    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12523    lt_compile=`echo "$ac_compile" | $SED \
   12524    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12525    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12526    -e 's:$: $lt_compiler_flag:'`
   12527    (eval echo "\"\$as_me:12527: $lt_compile\"" >&5)
   12528    (eval "$lt_compile" 2>out/conftest.err)
   12529    ac_status=$?
   12530    cat out/conftest.err >&5
   12531    echo "$as_me:12531: \$? = $ac_status" >&5
   12532    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12533    then
   12534      # The compiler can only warn and ignore the option if not recognized
   12535      # So say no if there are warnings
   12536      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12537      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12538      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12539        lt_cv_prog_compiler_c_o_CXX=yes
   12540      fi
   12541    fi
   12542    chmod u+w . 2>&5
   12543    $rm conftest*
   12544    # SGI C++ compiler will create directory out/ii_files/ for
   12545    # template instantiation
   12546    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12547    $rm out/* && rmdir out
   12548    cd ..
   12549    rmdir conftest
   12550    $rm conftest*
   12551 
   12552 fi
   12553 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12554 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12555 
   12556 
   12557 hard_links="nottested"
   12558 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12559   # do not overwrite the value of need_locks provided by the user
   12560   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12561 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12562   hard_links=yes
   12563   $rm conftest*
   12564   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12565   touch conftest.a
   12566   ln conftest.a conftest.b 2>&5 || hard_links=no
   12567   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12568   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12569 echo "${ECHO_T}$hard_links" >&6; }
   12570   if test "$hard_links" = no; then
   12571     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12572 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12573     need_locks=warn
   12574   fi
   12575 else
   12576   need_locks=no
   12577 fi
   12578 
   12579 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12580 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12581 
   12582   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12583   case $host_os in
   12584   aix4* | aix5*)
   12585     # If we're using GNU nm, then we don't want the "-C" option.
   12586     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12587     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12588       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'
   12589     else
   12590       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'
   12591     fi
   12592     ;;
   12593   pw32*)
   12594     export_symbols_cmds_CXX="$ltdll_cmds"
   12595   ;;
   12596   cygwin* | mingw*)
   12597     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'
   12598   ;;
   12599   *)
   12600     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12601   ;;
   12602   esac
   12603 
   12604 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12605 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12606 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12607 
   12608 #
   12609 # Do we need to explicitly link libc?
   12610 #
   12611 case "x$archive_cmds_need_lc_CXX" in
   12612 x|xyes)
   12613   # Assume -lc should be added
   12614   archive_cmds_need_lc_CXX=yes
   12615 
   12616   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12617     case $archive_cmds_CXX in
   12618     *'~'*)
   12619       # FIXME: we may have to deal with multi-command sequences.
   12620       ;;
   12621     '$CC '*)
   12622       # Test whether the compiler implicitly links with -lc since on some
   12623       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12624       # to ld, don't add -lc before -lgcc.
   12625       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12626 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12627       $rm conftest*
   12628       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12629 
   12630       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12631   (eval $ac_compile) 2>&5
   12632   ac_status=$?
   12633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12634   (exit $ac_status); } 2>conftest.err; then
   12635         soname=conftest
   12636         lib=conftest
   12637         libobjs=conftest.$ac_objext
   12638         deplibs=
   12639         wl=$lt_prog_compiler_wl_CXX
   12640 	pic_flag=$lt_prog_compiler_pic_CXX
   12641         compiler_flags=-v
   12642         linker_flags=-v
   12643         verstring=
   12644         output_objdir=.
   12645         libname=conftest
   12646         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12647         allow_undefined_flag_CXX=
   12648         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12649   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12650   ac_status=$?
   12651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12652   (exit $ac_status); }
   12653         then
   12654 	  archive_cmds_need_lc_CXX=no
   12655         else
   12656 	  archive_cmds_need_lc_CXX=yes
   12657         fi
   12658         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12659       else
   12660         cat conftest.err 1>&5
   12661       fi
   12662       $rm conftest*
   12663       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12664 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12665       ;;
   12666     esac
   12667   fi
   12668   ;;
   12669 esac
   12670 
   12671 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12672 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12673 library_names_spec=
   12674 libname_spec='lib$name'
   12675 soname_spec=
   12676 shrext_cmds=".so"
   12677 postinstall_cmds=
   12678 postuninstall_cmds=
   12679 finish_cmds=
   12680 finish_eval=
   12681 shlibpath_var=
   12682 shlibpath_overrides_runpath=unknown
   12683 version_type=none
   12684 dynamic_linker="$host_os ld.so"
   12685 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12686 
   12687 need_lib_prefix=unknown
   12688 hardcode_into_libs=no
   12689 
   12690 # when you set need_version to no, make sure it does not cause -set_version
   12691 # flags to be left without arguments
   12692 need_version=unknown
   12693 
   12694 case $host_os in
   12695 aix3*)
   12696   version_type=linux
   12697   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12698   shlibpath_var=LIBPATH
   12699 
   12700   # AIX 3 has no versioning support, so we append a major version to the name.
   12701   soname_spec='${libname}${release}${shared_ext}$major'
   12702   ;;
   12703 
   12704 aix4* | aix5*)
   12705   version_type=linux
   12706   need_lib_prefix=no
   12707   need_version=no
   12708   hardcode_into_libs=yes
   12709   if test "$host_cpu" = ia64; then
   12710     # AIX 5 supports IA64
   12711     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12712     shlibpath_var=LD_LIBRARY_PATH
   12713   else
   12714     # With GCC up to 2.95.x, collect2 would create an import file
   12715     # for dependence libraries.  The import file would start with
   12716     # the line `#! .'.  This would cause the generated library to
   12717     # depend on `.', always an invalid library.  This was fixed in
   12718     # development snapshots of GCC prior to 3.0.
   12719     case $host_os in
   12720       aix4 | aix4.[01] | aix4.[01].*)
   12721       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12722 	   echo ' yes '
   12723 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12724 	:
   12725       else
   12726 	can_build_shared=no
   12727       fi
   12728       ;;
   12729     esac
   12730     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12731     # soname into executable. Probably we can add versioning support to
   12732     # collect2, so additional links can be useful in future.
   12733     if test "$aix_use_runtimelinking" = yes; then
   12734       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12735       # instead of lib<name>.a to let people know that these are not
   12736       # typical AIX shared libraries.
   12737       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12738     else
   12739       # We preserve .a as extension for shared libraries through AIX4.2
   12740       # and later when we are not doing run time linking.
   12741       library_names_spec='${libname}${release}.a $libname.a'
   12742       soname_spec='${libname}${release}${shared_ext}$major'
   12743     fi
   12744     shlibpath_var=LIBPATH
   12745   fi
   12746   ;;
   12747 
   12748 amigaos*)
   12749   library_names_spec='$libname.ixlibrary $libname.a'
   12750   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12751   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'
   12752   ;;
   12753 
   12754 beos*)
   12755   library_names_spec='${libname}${shared_ext}'
   12756   dynamic_linker="$host_os ld.so"
   12757   shlibpath_var=LIBRARY_PATH
   12758   ;;
   12759 
   12760 bsdi[45]*)
   12761   version_type=linux
   12762   need_version=no
   12763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12764   soname_spec='${libname}${release}${shared_ext}$major'
   12765   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12766   shlibpath_var=LD_LIBRARY_PATH
   12767   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12768   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12769   # the default ld.so.conf also contains /usr/contrib/lib and
   12770   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12771   # libtool to hard-code these into programs
   12772   ;;
   12773 
   12774 cygwin* | mingw* | pw32*)
   12775   version_type=windows
   12776   shrext_cmds=".dll"
   12777   need_version=no
   12778   need_lib_prefix=no
   12779 
   12780   case $GCC,$host_os in
   12781   yes,cygwin* | yes,mingw* | yes,pw32*)
   12782     library_names_spec='$libname.dll.a'
   12783     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12784     postinstall_cmds='base_file=`basename \${file}`~
   12785       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12786       dldir=$destdir/`dirname \$dlpath`~
   12787       test -d \$dldir || mkdir -p \$dldir~
   12788       $install_prog $dir/$dlname \$dldir/$dlname~
   12789       chmod a+x \$dldir/$dlname'
   12790     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12791       dlpath=$dir/\$dldll~
   12792        $rm \$dlpath'
   12793     shlibpath_overrides_runpath=yes
   12794 
   12795     case $host_os in
   12796     cygwin*)
   12797       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12798       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12799       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12800       ;;
   12801     mingw*)
   12802       # MinGW DLLs use traditional 'lib' prefix
   12803       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12804       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12805       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12806         # It is most probably a Windows format PATH printed by
   12807         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12808         # path with ; separators, and with drive letters. We can handle the
   12809         # drive letters (cygwin fileutils understands them), so leave them,
   12810         # especially as we might pass files found there to a mingw objdump,
   12811         # which wouldn't understand a cygwinified path. Ahh.
   12812         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12813       else
   12814         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12815       fi
   12816       ;;
   12817     pw32*)
   12818       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12819       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12820       ;;
   12821     esac
   12822     ;;
   12823 
   12824   *)
   12825     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12826     ;;
   12827   esac
   12828   dynamic_linker='Win32 ld.exe'
   12829   # FIXME: first we should search . and the directory the executable is in
   12830   shlibpath_var=PATH
   12831   ;;
   12832 
   12833 darwin* | rhapsody*)
   12834   dynamic_linker="$host_os dyld"
   12835   version_type=darwin
   12836   need_lib_prefix=no
   12837   need_version=no
   12838   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12839   soname_spec='${libname}${release}${major}$shared_ext'
   12840   shlibpath_overrides_runpath=yes
   12841   shlibpath_var=DYLD_LIBRARY_PATH
   12842   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12843 
   12844   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12845   ;;
   12846 
   12847 dgux*)
   12848   version_type=linux
   12849   need_lib_prefix=no
   12850   need_version=no
   12851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12852   soname_spec='${libname}${release}${shared_ext}$major'
   12853   shlibpath_var=LD_LIBRARY_PATH
   12854   ;;
   12855 
   12856 freebsd1*)
   12857   dynamic_linker=no
   12858   ;;
   12859 
   12860 freebsd* | dragonfly*)
   12861   # DragonFly does not have aout.  When/if they implement a new
   12862   # versioning mechanism, adjust this.
   12863   if test -x /usr/bin/objformat; then
   12864     objformat=`/usr/bin/objformat`
   12865   else
   12866     case $host_os in
   12867     freebsd[123]*) objformat=aout ;;
   12868     *) objformat=elf ;;
   12869     esac
   12870   fi
   12871   version_type=freebsd-$objformat
   12872   case $version_type in
   12873     freebsd-elf*)
   12874       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12875       need_version=no
   12876       need_lib_prefix=no
   12877       ;;
   12878     freebsd-*)
   12879       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12880       need_version=yes
   12881       ;;
   12882   esac
   12883   shlibpath_var=LD_LIBRARY_PATH
   12884   case $host_os in
   12885   freebsd2*)
   12886     shlibpath_overrides_runpath=yes
   12887     ;;
   12888   freebsd3.[01]* | freebsdelf3.[01]*)
   12889     shlibpath_overrides_runpath=yes
   12890     hardcode_into_libs=yes
   12891     ;;
   12892   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12893   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12894     shlibpath_overrides_runpath=no
   12895     hardcode_into_libs=yes
   12896     ;;
   12897   *) # from 4.6 on, and DragonFly
   12898     shlibpath_overrides_runpath=yes
   12899     hardcode_into_libs=yes
   12900     ;;
   12901   esac
   12902   ;;
   12903 
   12904 gnu*)
   12905   version_type=linux
   12906   need_lib_prefix=no
   12907   need_version=no
   12908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12909   soname_spec='${libname}${release}${shared_ext}$major'
   12910   shlibpath_var=LD_LIBRARY_PATH
   12911   hardcode_into_libs=yes
   12912   ;;
   12913 
   12914 hpux9* | hpux10* | hpux11*)
   12915   # Give a soname corresponding to the major version so that dld.sl refuses to
   12916   # link against other versions.
   12917   version_type=sunos
   12918   need_lib_prefix=no
   12919   need_version=no
   12920   case $host_cpu in
   12921   ia64*)
   12922     shrext_cmds='.so'
   12923     hardcode_into_libs=yes
   12924     dynamic_linker="$host_os dld.so"
   12925     shlibpath_var=LD_LIBRARY_PATH
   12926     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12927     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12928     soname_spec='${libname}${release}${shared_ext}$major'
   12929     if test "X$HPUX_IA64_MODE" = X32; then
   12930       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12931     else
   12932       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12933     fi
   12934     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12935     ;;
   12936    hppa*64*)
   12937      shrext_cmds='.sl'
   12938      hardcode_into_libs=yes
   12939      dynamic_linker="$host_os dld.sl"
   12940      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12941      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12942      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12943      soname_spec='${libname}${release}${shared_ext}$major'
   12944      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12945      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12946      ;;
   12947    *)
   12948     shrext_cmds='.sl'
   12949     dynamic_linker="$host_os dld.sl"
   12950     shlibpath_var=SHLIB_PATH
   12951     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12952     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12953     soname_spec='${libname}${release}${shared_ext}$major'
   12954     ;;
   12955   esac
   12956   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12957   postinstall_cmds='chmod 555 $lib'
   12958   ;;
   12959 
   12960 interix[3-9]*)
   12961   version_type=linux
   12962   need_lib_prefix=no
   12963   need_version=no
   12964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12965   soname_spec='${libname}${release}${shared_ext}$major'
   12966   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12967   shlibpath_var=LD_LIBRARY_PATH
   12968   shlibpath_overrides_runpath=no
   12969   hardcode_into_libs=yes
   12970   ;;
   12971 
   12972 irix5* | irix6* | nonstopux*)
   12973   case $host_os in
   12974     nonstopux*) version_type=nonstopux ;;
   12975     *)
   12976 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12977 		version_type=linux
   12978 	else
   12979 		version_type=irix
   12980 	fi ;;
   12981   esac
   12982   need_lib_prefix=no
   12983   need_version=no
   12984   soname_spec='${libname}${release}${shared_ext}$major'
   12985   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12986   case $host_os in
   12987   irix5* | nonstopux*)
   12988     libsuff= shlibsuff=
   12989     ;;
   12990   *)
   12991     case $LD in # libtool.m4 will add one of these switches to LD
   12992     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12993       libsuff= shlibsuff= libmagic=32-bit;;
   12994     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12995       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12996     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12997       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12998     *) libsuff= shlibsuff= libmagic=never-match;;
   12999     esac
   13000     ;;
   13001   esac
   13002   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13003   shlibpath_overrides_runpath=no
   13004   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13005   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13006   hardcode_into_libs=yes
   13007   ;;
   13008 
   13009 # No shared lib support for Linux oldld, aout, or coff.
   13010 linux*oldld* | linux*aout* | linux*coff*)
   13011   dynamic_linker=no
   13012   ;;
   13013 
   13014 # This must be Linux ELF.
   13015 linux* | k*bsd*-gnu)
   13016   version_type=linux
   13017   need_lib_prefix=no
   13018   need_version=no
   13019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13020   soname_spec='${libname}${release}${shared_ext}$major'
   13021   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13022   shlibpath_var=LD_LIBRARY_PATH
   13023   shlibpath_overrides_runpath=no
   13024   # This implies no fast_install, which is unacceptable.
   13025   # Some rework will be needed to allow for fast_install
   13026   # before this can be enabled.
   13027   hardcode_into_libs=yes
   13028   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13029   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13030 
   13031   # Append ld.so.conf contents to the search path
   13032   if test -f /etc/ld.so.conf; then
   13033     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13034     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13035   fi
   13036 
   13037   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13038   # powerpc, because MkLinux only supported shared libraries with the
   13039   # GNU dynamic linker.  Since this was broken with cross compilers,
   13040   # most powerpc-linux boxes support dynamic linking these days and
   13041   # people can always --disable-shared, the test was removed, and we
   13042   # assume the GNU/Linux dynamic linker is in use.
   13043   dynamic_linker='GNU/Linux ld.so'
   13044   ;;
   13045 
   13046 netbsd*)
   13047   version_type=sunos
   13048   need_lib_prefix=no
   13049   need_version=no
   13050   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13051     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13052     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13053     dynamic_linker='NetBSD (a.out) ld.so'
   13054   else
   13055     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13056     soname_spec='${libname}${release}${shared_ext}$major'
   13057     dynamic_linker='NetBSD ld.elf_so'
   13058   fi
   13059   shlibpath_var=LD_LIBRARY_PATH
   13060   shlibpath_overrides_runpath=yes
   13061   hardcode_into_libs=yes
   13062   ;;
   13063 
   13064 newsos6)
   13065   version_type=linux
   13066   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13067   shlibpath_var=LD_LIBRARY_PATH
   13068   shlibpath_overrides_runpath=yes
   13069   ;;
   13070 
   13071 nto-qnx*)
   13072   version_type=linux
   13073   need_lib_prefix=no
   13074   need_version=no
   13075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13076   soname_spec='${libname}${release}${shared_ext}$major'
   13077   shlibpath_var=LD_LIBRARY_PATH
   13078   shlibpath_overrides_runpath=yes
   13079   ;;
   13080 
   13081 openbsd*)
   13082   version_type=sunos
   13083   sys_lib_dlsearch_path_spec="/usr/lib"
   13084   need_lib_prefix=no
   13085   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13086   case $host_os in
   13087     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13088     *)                         need_version=no  ;;
   13089   esac
   13090   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13091   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13092   shlibpath_var=LD_LIBRARY_PATH
   13093   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13094     case $host_os in
   13095       openbsd2.[89] | openbsd2.[89].*)
   13096 	shlibpath_overrides_runpath=no
   13097 	;;
   13098       *)
   13099 	shlibpath_overrides_runpath=yes
   13100 	;;
   13101       esac
   13102   else
   13103     shlibpath_overrides_runpath=yes
   13104   fi
   13105   ;;
   13106 
   13107 os2*)
   13108   libname_spec='$name'
   13109   shrext_cmds=".dll"
   13110   need_lib_prefix=no
   13111   library_names_spec='$libname${shared_ext} $libname.a'
   13112   dynamic_linker='OS/2 ld.exe'
   13113   shlibpath_var=LIBPATH
   13114   ;;
   13115 
   13116 osf3* | osf4* | osf5*)
   13117   version_type=osf
   13118   need_lib_prefix=no
   13119   need_version=no
   13120   soname_spec='${libname}${release}${shared_ext}$major'
   13121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13122   shlibpath_var=LD_LIBRARY_PATH
   13123   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13124   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13125   ;;
   13126 
   13127 rdos*)
   13128   dynamic_linker=no
   13129   ;;
   13130 
   13131 solaris*)
   13132   version_type=linux
   13133   need_lib_prefix=no
   13134   need_version=no
   13135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13136   soname_spec='${libname}${release}${shared_ext}$major'
   13137   shlibpath_var=LD_LIBRARY_PATH
   13138   shlibpath_overrides_runpath=yes
   13139   hardcode_into_libs=yes
   13140   # ldd complains unless libraries are executable
   13141   postinstall_cmds='chmod +x $lib'
   13142   ;;
   13143 
   13144 sunos4*)
   13145   version_type=sunos
   13146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13147   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13148   shlibpath_var=LD_LIBRARY_PATH
   13149   shlibpath_overrides_runpath=yes
   13150   if test "$with_gnu_ld" = yes; then
   13151     need_lib_prefix=no
   13152   fi
   13153   need_version=yes
   13154   ;;
   13155 
   13156 sysv4 | sysv4.3*)
   13157   version_type=linux
   13158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13159   soname_spec='${libname}${release}${shared_ext}$major'
   13160   shlibpath_var=LD_LIBRARY_PATH
   13161   case $host_vendor in
   13162     sni)
   13163       shlibpath_overrides_runpath=no
   13164       need_lib_prefix=no
   13165       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13166       runpath_var=LD_RUN_PATH
   13167       ;;
   13168     siemens)
   13169       need_lib_prefix=no
   13170       ;;
   13171     motorola)
   13172       need_lib_prefix=no
   13173       need_version=no
   13174       shlibpath_overrides_runpath=no
   13175       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13176       ;;
   13177   esac
   13178   ;;
   13179 
   13180 sysv4*MP*)
   13181   if test -d /usr/nec ;then
   13182     version_type=linux
   13183     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13184     soname_spec='$libname${shared_ext}.$major'
   13185     shlibpath_var=LD_LIBRARY_PATH
   13186   fi
   13187   ;;
   13188 
   13189 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13190   version_type=freebsd-elf
   13191   need_lib_prefix=no
   13192   need_version=no
   13193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13194   soname_spec='${libname}${release}${shared_ext}$major'
   13195   shlibpath_var=LD_LIBRARY_PATH
   13196   hardcode_into_libs=yes
   13197   if test "$with_gnu_ld" = yes; then
   13198     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13199     shlibpath_overrides_runpath=no
   13200   else
   13201     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13202     shlibpath_overrides_runpath=yes
   13203     case $host_os in
   13204       sco3.2v5*)
   13205         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13206 	;;
   13207     esac
   13208   fi
   13209   sys_lib_dlsearch_path_spec='/usr/lib'
   13210   ;;
   13211 
   13212 uts4*)
   13213   version_type=linux
   13214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13215   soname_spec='${libname}${release}${shared_ext}$major'
   13216   shlibpath_var=LD_LIBRARY_PATH
   13217   ;;
   13218 
   13219 *)
   13220   dynamic_linker=no
   13221   ;;
   13222 esac
   13223 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13224 echo "${ECHO_T}$dynamic_linker" >&6; }
   13225 test "$dynamic_linker" = no && can_build_shared=no
   13226 
   13227 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13228 if test "$GCC" = yes; then
   13229   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13230 fi
   13231 
   13232 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13233 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13234 hardcode_action_CXX=
   13235 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13236    test -n "$runpath_var_CXX" || \
   13237    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13238 
   13239   # We can hardcode non-existant directories.
   13240   if test "$hardcode_direct_CXX" != no &&
   13241      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13242      # have to relink, otherwise we might link with an installed library
   13243      # when we should be linking with a yet-to-be-installed one
   13244      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13245      test "$hardcode_minus_L_CXX" != no; then
   13246     # Linking always hardcodes the temporary library directory.
   13247     hardcode_action_CXX=relink
   13248   else
   13249     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13250     hardcode_action_CXX=immediate
   13251   fi
   13252 else
   13253   # We cannot hardcode anything, or else we can only hardcode existing
   13254   # directories.
   13255   hardcode_action_CXX=unsupported
   13256 fi
   13257 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13258 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13259 
   13260 if test "$hardcode_action_CXX" = relink; then
   13261   # Fast installation is not supported
   13262   enable_fast_install=no
   13263 elif test "$shlibpath_overrides_runpath" = yes ||
   13264      test "$enable_shared" = no; then
   13265   # Fast installation is not necessary
   13266   enable_fast_install=needless
   13267 fi
   13268 
   13269 
   13270 # The else clause should only fire when bootstrapping the
   13271 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13272 # with your package, and you will get complaints that there are
   13273 # no rules to generate ltmain.sh.
   13274 if test -f "$ltmain"; then
   13275   # See if we are running on zsh, and set the options which allow our commands through
   13276   # without removal of \ escapes.
   13277   if test -n "${ZSH_VERSION+set}" ; then
   13278     setopt NO_GLOB_SUBST
   13279   fi
   13280   # Now quote all the things that may contain metacharacters while being
   13281   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13282   # variables and quote the copies for generation of the libtool script.
   13283   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13284     SED SHELL STRIP \
   13285     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13286     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13287     deplibs_check_method reload_flag reload_cmds need_locks \
   13288     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13289     lt_cv_sys_global_symbol_to_c_name_address \
   13290     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13291     old_postinstall_cmds old_postuninstall_cmds \
   13292     compiler_CXX \
   13293     CC_CXX \
   13294     LD_CXX \
   13295     lt_prog_compiler_wl_CXX \
   13296     lt_prog_compiler_pic_CXX \
   13297     lt_prog_compiler_static_CXX \
   13298     lt_prog_compiler_no_builtin_flag_CXX \
   13299     export_dynamic_flag_spec_CXX \
   13300     thread_safe_flag_spec_CXX \
   13301     whole_archive_flag_spec_CXX \
   13302     enable_shared_with_static_runtimes_CXX \
   13303     old_archive_cmds_CXX \
   13304     old_archive_from_new_cmds_CXX \
   13305     predep_objects_CXX \
   13306     postdep_objects_CXX \
   13307     predeps_CXX \
   13308     postdeps_CXX \
   13309     compiler_lib_search_path_CXX \
   13310     archive_cmds_CXX \
   13311     archive_expsym_cmds_CXX \
   13312     postinstall_cmds_CXX \
   13313     postuninstall_cmds_CXX \
   13314     old_archive_from_expsyms_cmds_CXX \
   13315     allow_undefined_flag_CXX \
   13316     no_undefined_flag_CXX \
   13317     export_symbols_cmds_CXX \
   13318     hardcode_libdir_flag_spec_CXX \
   13319     hardcode_libdir_flag_spec_ld_CXX \
   13320     hardcode_libdir_separator_CXX \
   13321     hardcode_automatic_CXX \
   13322     module_cmds_CXX \
   13323     module_expsym_cmds_CXX \
   13324     lt_cv_prog_compiler_c_o_CXX \
   13325     fix_srcfile_path_CXX \
   13326     exclude_expsyms_CXX \
   13327     include_expsyms_CXX; do
   13328 
   13329     case $var in
   13330     old_archive_cmds_CXX | \
   13331     old_archive_from_new_cmds_CXX | \
   13332     archive_cmds_CXX | \
   13333     archive_expsym_cmds_CXX | \
   13334     module_cmds_CXX | \
   13335     module_expsym_cmds_CXX | \
   13336     old_archive_from_expsyms_cmds_CXX | \
   13337     export_symbols_cmds_CXX | \
   13338     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13339     postinstall_cmds | postuninstall_cmds | \
   13340     old_postinstall_cmds | old_postuninstall_cmds | \
   13341     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13342       # Double-quote double-evaled strings.
   13343       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13344       ;;
   13345     *)
   13346       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13347       ;;
   13348     esac
   13349   done
   13350 
   13351   case $lt_echo in
   13352   *'\$0 --fallback-echo"')
   13353     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13354     ;;
   13355   esac
   13356 
   13357 cfgfile="$ofile"
   13358 
   13359   cat <<__EOF__ >> "$cfgfile"
   13360 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13361 
   13362 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13363 
   13364 # Shell to use when invoking shell scripts.
   13365 SHELL=$lt_SHELL
   13366 
   13367 # Whether or not to build shared libraries.
   13368 build_libtool_libs=$enable_shared
   13369 
   13370 # Whether or not to build static libraries.
   13371 build_old_libs=$enable_static
   13372 
   13373 # Whether or not to add -lc for building shared libraries.
   13374 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13375 
   13376 # Whether or not to disallow shared libs when runtime libs are static
   13377 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13378 
   13379 # Whether or not to optimize for fast installation.
   13380 fast_install=$enable_fast_install
   13381 
   13382 # The host system.
   13383 host_alias=$host_alias
   13384 host=$host
   13385 host_os=$host_os
   13386 
   13387 # The build system.
   13388 build_alias=$build_alias
   13389 build=$build
   13390 build_os=$build_os
   13391 
   13392 # An echo program that does not interpret backslashes.
   13393 echo=$lt_echo
   13394 
   13395 # The archiver.
   13396 AR=$lt_AR
   13397 AR_FLAGS=$lt_AR_FLAGS
   13398 
   13399 # A C compiler.
   13400 LTCC=$lt_LTCC
   13401 
   13402 # LTCC compiler flags.
   13403 LTCFLAGS=$lt_LTCFLAGS
   13404 
   13405 # A language-specific compiler.
   13406 CC=$lt_compiler_CXX
   13407 
   13408 # Is the compiler the GNU C compiler?
   13409 with_gcc=$GCC_CXX
   13410 
   13411 # An ERE matcher.
   13412 EGREP=$lt_EGREP
   13413 
   13414 # The linker used to build libraries.
   13415 LD=$lt_LD_CXX
   13416 
   13417 # Whether we need hard or soft links.
   13418 LN_S=$lt_LN_S
   13419 
   13420 # A BSD-compatible nm program.
   13421 NM=$lt_NM
   13422 
   13423 # A symbol stripping program
   13424 STRIP=$lt_STRIP
   13425 
   13426 # Used to examine libraries when file_magic_cmd begins "file"
   13427 MAGIC_CMD=$MAGIC_CMD
   13428 
   13429 # Used on cygwin: DLL creation program.
   13430 DLLTOOL="$DLLTOOL"
   13431 
   13432 # Used on cygwin: object dumper.
   13433 OBJDUMP="$OBJDUMP"
   13434 
   13435 # Used on cygwin: assembler.
   13436 AS="$AS"
   13437 
   13438 # The name of the directory that contains temporary libtool files.
   13439 objdir=$objdir
   13440 
   13441 # How to create reloadable object files.
   13442 reload_flag=$lt_reload_flag
   13443 reload_cmds=$lt_reload_cmds
   13444 
   13445 # How to pass a linker flag through the compiler.
   13446 wl=$lt_lt_prog_compiler_wl_CXX
   13447 
   13448 # Object file suffix (normally "o").
   13449 objext="$ac_objext"
   13450 
   13451 # Old archive suffix (normally "a").
   13452 libext="$libext"
   13453 
   13454 # Shared library suffix (normally ".so").
   13455 shrext_cmds='$shrext_cmds'
   13456 
   13457 # Executable file suffix (normally "").
   13458 exeext="$exeext"
   13459 
   13460 # Additional compiler flags for building library objects.
   13461 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13462 pic_mode=$pic_mode
   13463 
   13464 # What is the maximum length of a command?
   13465 max_cmd_len=$lt_cv_sys_max_cmd_len
   13466 
   13467 # Does compiler simultaneously support -c and -o options?
   13468 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13469 
   13470 # Must we lock files when doing compilation?
   13471 need_locks=$lt_need_locks
   13472 
   13473 # Do we need the lib prefix for modules?
   13474 need_lib_prefix=$need_lib_prefix
   13475 
   13476 # Do we need a version for libraries?
   13477 need_version=$need_version
   13478 
   13479 # Whether dlopen is supported.
   13480 dlopen_support=$enable_dlopen
   13481 
   13482 # Whether dlopen of programs is supported.
   13483 dlopen_self=$enable_dlopen_self
   13484 
   13485 # Whether dlopen of statically linked programs is supported.
   13486 dlopen_self_static=$enable_dlopen_self_static
   13487 
   13488 # Compiler flag to prevent dynamic linking.
   13489 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13490 
   13491 # Compiler flag to turn off builtin functions.
   13492 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13493 
   13494 # Compiler flag to allow reflexive dlopens.
   13495 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13496 
   13497 # Compiler flag to generate shared objects directly from archives.
   13498 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13499 
   13500 # Compiler flag to generate thread-safe objects.
   13501 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13502 
   13503 # Library versioning type.
   13504 version_type=$version_type
   13505 
   13506 # Format of library name prefix.
   13507 libname_spec=$lt_libname_spec
   13508 
   13509 # List of archive names.  First name is the real one, the rest are links.
   13510 # The last name is the one that the linker finds with -lNAME.
   13511 library_names_spec=$lt_library_names_spec
   13512 
   13513 # The coded name of the library, if different from the real name.
   13514 soname_spec=$lt_soname_spec
   13515 
   13516 # Commands used to build and install an old-style archive.
   13517 RANLIB=$lt_RANLIB
   13518 old_archive_cmds=$lt_old_archive_cmds_CXX
   13519 old_postinstall_cmds=$lt_old_postinstall_cmds
   13520 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13521 
   13522 # Create an old-style archive from a shared archive.
   13523 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13524 
   13525 # Create a temporary old-style archive to link instead of a shared archive.
   13526 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13527 
   13528 # Commands used to build and install a shared archive.
   13529 archive_cmds=$lt_archive_cmds_CXX
   13530 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13531 postinstall_cmds=$lt_postinstall_cmds
   13532 postuninstall_cmds=$lt_postuninstall_cmds
   13533 
   13534 # Commands used to build a loadable module (assumed same as above if empty)
   13535 module_cmds=$lt_module_cmds_CXX
   13536 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13537 
   13538 # Commands to strip libraries.
   13539 old_striplib=$lt_old_striplib
   13540 striplib=$lt_striplib
   13541 
   13542 # Dependencies to place before the objects being linked to create a
   13543 # shared library.
   13544 predep_objects=$lt_predep_objects_CXX
   13545 
   13546 # Dependencies to place after the objects being linked to create a
   13547 # shared library.
   13548 postdep_objects=$lt_postdep_objects_CXX
   13549 
   13550 # Dependencies to place before the objects being linked to create a
   13551 # shared library.
   13552 predeps=$lt_predeps_CXX
   13553 
   13554 # Dependencies to place after the objects being linked to create a
   13555 # shared library.
   13556 postdeps=$lt_postdeps_CXX
   13557 
   13558 # The library search path used internally by the compiler when linking
   13559 # a shared library.
   13560 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13561 
   13562 # Method to check whether dependent libraries are shared objects.
   13563 deplibs_check_method=$lt_deplibs_check_method
   13564 
   13565 # Command to use when deplibs_check_method == file_magic.
   13566 file_magic_cmd=$lt_file_magic_cmd
   13567 
   13568 # Flag that allows shared libraries with undefined symbols to be built.
   13569 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13570 
   13571 # Flag that forces no undefined symbols.
   13572 no_undefined_flag=$lt_no_undefined_flag_CXX
   13573 
   13574 # Commands used to finish a libtool library installation in a directory.
   13575 finish_cmds=$lt_finish_cmds
   13576 
   13577 # Same as above, but a single script fragment to be evaled but not shown.
   13578 finish_eval=$lt_finish_eval
   13579 
   13580 # Take the output of nm and produce a listing of raw symbols and C names.
   13581 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13582 
   13583 # Transform the output of nm in a proper C declaration
   13584 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13585 
   13586 # Transform the output of nm in a C name address pair
   13587 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13588 
   13589 # This is the shared library runtime path variable.
   13590 runpath_var=$runpath_var
   13591 
   13592 # This is the shared library path variable.
   13593 shlibpath_var=$shlibpath_var
   13594 
   13595 # Is shlibpath searched before the hard-coded library search path?
   13596 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13597 
   13598 # How to hardcode a shared library path into an executable.
   13599 hardcode_action=$hardcode_action_CXX
   13600 
   13601 # Whether we should hardcode library paths into libraries.
   13602 hardcode_into_libs=$hardcode_into_libs
   13603 
   13604 # Flag to hardcode \$libdir into a binary during linking.
   13605 # This must work even if \$libdir does not exist.
   13606 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13607 
   13608 # If ld is used when linking, flag to hardcode \$libdir into
   13609 # a binary during linking. This must work even if \$libdir does
   13610 # not exist.
   13611 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13612 
   13613 # Whether we need a single -rpath flag with a separated argument.
   13614 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13615 
   13616 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13617 # resulting binary.
   13618 hardcode_direct=$hardcode_direct_CXX
   13619 
   13620 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13621 # resulting binary.
   13622 hardcode_minus_L=$hardcode_minus_L_CXX
   13623 
   13624 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13625 # the resulting binary.
   13626 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13627 
   13628 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13629 # and all subsequent libraries and executables linked against it.
   13630 hardcode_automatic=$hardcode_automatic_CXX
   13631 
   13632 # Variables whose values should be saved in libtool wrapper scripts and
   13633 # restored at relink time.
   13634 variables_saved_for_relink="$variables_saved_for_relink"
   13635 
   13636 # Whether libtool must link a program against all its dependency libraries.
   13637 link_all_deplibs=$link_all_deplibs_CXX
   13638 
   13639 # Compile-time system search path for libraries
   13640 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13641 
   13642 # Run-time system search path for libraries
   13643 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13644 
   13645 # Fix the shell variable \$srcfile for the compiler.
   13646 fix_srcfile_path=$lt_fix_srcfile_path
   13647 
   13648 # Set to yes if exported symbols are required.
   13649 always_export_symbols=$always_export_symbols_CXX
   13650 
   13651 # The commands to list exported symbols.
   13652 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13653 
   13654 # The commands to extract the exported symbol list from a shared archive.
   13655 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13656 
   13657 # Symbols that should not be listed in the preloaded symbols.
   13658 exclude_expsyms=$lt_exclude_expsyms_CXX
   13659 
   13660 # Symbols that must always be exported.
   13661 include_expsyms=$lt_include_expsyms_CXX
   13662 
   13663 # ### END LIBTOOL TAG CONFIG: $tagname
   13664 
   13665 __EOF__
   13666 
   13667 
   13668 else
   13669   # If there is no Makefile yet, we rely on a make rule to execute
   13670   # `config.status --recheck' to rerun these tests and create the
   13671   # libtool script then.
   13672   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13673   if test -f "$ltmain_in"; then
   13674     test -f Makefile && make "$ltmain"
   13675   fi
   13676 fi
   13677 
   13678 
   13679 ac_ext=c
   13680 ac_cpp='$CPP $CPPFLAGS'
   13681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13684 
   13685 CC=$lt_save_CC
   13686 LDCXX=$LD
   13687 LD=$lt_save_LD
   13688 GCC=$lt_save_GCC
   13689 with_gnu_ldcxx=$with_gnu_ld
   13690 with_gnu_ld=$lt_save_with_gnu_ld
   13691 lt_cv_path_LDCXX=$lt_cv_path_LD
   13692 lt_cv_path_LD=$lt_save_path_LD
   13693 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13694 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13695 
   13696 	else
   13697 	  tagname=""
   13698 	fi
   13699 	;;
   13700 
   13701       F77)
   13702 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13703 
   13704 ac_ext=f
   13705 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13706 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13707 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13708 
   13709 
   13710 archive_cmds_need_lc_F77=no
   13711 allow_undefined_flag_F77=
   13712 always_export_symbols_F77=no
   13713 archive_expsym_cmds_F77=
   13714 export_dynamic_flag_spec_F77=
   13715 hardcode_direct_F77=no
   13716 hardcode_libdir_flag_spec_F77=
   13717 hardcode_libdir_flag_spec_ld_F77=
   13718 hardcode_libdir_separator_F77=
   13719 hardcode_minus_L_F77=no
   13720 hardcode_automatic_F77=no
   13721 module_cmds_F77=
   13722 module_expsym_cmds_F77=
   13723 link_all_deplibs_F77=unknown
   13724 old_archive_cmds_F77=$old_archive_cmds
   13725 no_undefined_flag_F77=
   13726 whole_archive_flag_spec_F77=
   13727 enable_shared_with_static_runtimes_F77=no
   13728 
   13729 # Source file extension for f77 test sources.
   13730 ac_ext=f
   13731 
   13732 # Object file extension for compiled f77 test sources.
   13733 objext=o
   13734 objext_F77=$objext
   13735 
   13736 # Code to be used in simple compile tests
   13737 lt_simple_compile_test_code="\
   13738       subroutine t
   13739       return
   13740       end
   13741 "
   13742 
   13743 # Code to be used in simple link tests
   13744 lt_simple_link_test_code="\
   13745       program t
   13746       end
   13747 "
   13748 
   13749 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13750 
   13751 # If no C compiler was specified, use CC.
   13752 LTCC=${LTCC-"$CC"}
   13753 
   13754 # If no C compiler flags were specified, use CFLAGS.
   13755 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13756 
   13757 # Allow CC to be a program name with arguments.
   13758 compiler=$CC
   13759 
   13760 
   13761 # save warnings/boilerplate of simple test code
   13762 ac_outfile=conftest.$ac_objext
   13763 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13764 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13765 _lt_compiler_boilerplate=`cat conftest.err`
   13766 $rm conftest*
   13767 
   13768 ac_outfile=conftest.$ac_objext
   13769 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13770 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13771 _lt_linker_boilerplate=`cat conftest.err`
   13772 $rm conftest*
   13773 
   13774 
   13775 # Allow CC to be a program name with arguments.
   13776 lt_save_CC="$CC"
   13777 CC=${F77-"f77"}
   13778 compiler=$CC
   13779 compiler_F77=$CC
   13780 for cc_temp in $compiler""; do
   13781   case $cc_temp in
   13782     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13783     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13784     \-*) ;;
   13785     *) break;;
   13786   esac
   13787 done
   13788 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13789 
   13790 
   13791 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13792 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13793 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13794 echo "${ECHO_T}$can_build_shared" >&6; }
   13795 
   13796 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13797 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13798 test "$can_build_shared" = "no" && enable_shared=no
   13799 
   13800 # On AIX, shared libraries and static libraries use the same namespace, and
   13801 # are all built from PIC.
   13802 case $host_os in
   13803 aix3*)
   13804   test "$enable_shared" = yes && enable_static=no
   13805   if test -n "$RANLIB"; then
   13806     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13807     postinstall_cmds='$RANLIB $lib'
   13808   fi
   13809   ;;
   13810 aix4* | aix5*)
   13811   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13812     test "$enable_shared" = yes && enable_static=no
   13813   fi
   13814   ;;
   13815 esac
   13816 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13817 echo "${ECHO_T}$enable_shared" >&6; }
   13818 
   13819 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13820 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13821 # Make sure either enable_shared or enable_static is yes.
   13822 test "$enable_shared" = yes || enable_static=yes
   13823 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13824 echo "${ECHO_T}$enable_static" >&6; }
   13825 
   13826 GCC_F77="$G77"
   13827 LD_F77="$LD"
   13828 
   13829 lt_prog_compiler_wl_F77=
   13830 lt_prog_compiler_pic_F77=
   13831 lt_prog_compiler_static_F77=
   13832 
   13833 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13834 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13835 
   13836   if test "$GCC" = yes; then
   13837     lt_prog_compiler_wl_F77='-Wl,'
   13838     lt_prog_compiler_static_F77='-static'
   13839 
   13840     case $host_os in
   13841       aix*)
   13842       # All AIX code is PIC.
   13843       if test "$host_cpu" = ia64; then
   13844 	# AIX 5 now supports IA64 processor
   13845 	lt_prog_compiler_static_F77='-Bstatic'
   13846       fi
   13847       ;;
   13848 
   13849     amigaos*)
   13850       # FIXME: we need at least 68020 code to build shared libraries, but
   13851       # adding the `-m68020' flag to GCC prevents building anything better,
   13852       # like `-m68040'.
   13853       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13854       ;;
   13855 
   13856     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13857       # PIC is the default for these OSes.
   13858       ;;
   13859 
   13860     mingw* | cygwin* | pw32* | os2*)
   13861       # This hack is so that the source file can tell whether it is being
   13862       # built for inclusion in a dll (and should export symbols for example).
   13863       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13864       # (--disable-auto-import) libraries
   13865       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13866       ;;
   13867 
   13868     darwin* | rhapsody*)
   13869       # PIC is the default on this platform
   13870       # Common symbols not allowed in MH_DYLIB files
   13871       lt_prog_compiler_pic_F77='-fno-common'
   13872       ;;
   13873 
   13874     interix[3-9]*)
   13875       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13876       # Instead, we relocate shared libraries at runtime.
   13877       ;;
   13878 
   13879     msdosdjgpp*)
   13880       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13881       # on systems that don't support them.
   13882       lt_prog_compiler_can_build_shared_F77=no
   13883       enable_shared=no
   13884       ;;
   13885 
   13886     sysv4*MP*)
   13887       if test -d /usr/nec; then
   13888 	lt_prog_compiler_pic_F77=-Kconform_pic
   13889       fi
   13890       ;;
   13891 
   13892     hpux*)
   13893       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13894       # not for PA HP-UX.
   13895       case $host_cpu in
   13896       hppa*64*|ia64*)
   13897 	# +Z the default
   13898 	;;
   13899       *)
   13900 	lt_prog_compiler_pic_F77='-fPIC'
   13901 	;;
   13902       esac
   13903       ;;
   13904 
   13905     *)
   13906       lt_prog_compiler_pic_F77='-fPIC'
   13907       ;;
   13908     esac
   13909   else
   13910     # PORTME Check for flag to pass linker flags through the system compiler.
   13911     case $host_os in
   13912     aix*)
   13913       lt_prog_compiler_wl_F77='-Wl,'
   13914       if test "$host_cpu" = ia64; then
   13915 	# AIX 5 now supports IA64 processor
   13916 	lt_prog_compiler_static_F77='-Bstatic'
   13917       else
   13918 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13919       fi
   13920       ;;
   13921       darwin*)
   13922         # PIC is the default on this platform
   13923         # Common symbols not allowed in MH_DYLIB files
   13924        case $cc_basename in
   13925          xlc*)
   13926          lt_prog_compiler_pic_F77='-qnocommon'
   13927          lt_prog_compiler_wl_F77='-Wl,'
   13928          ;;
   13929        esac
   13930        ;;
   13931 
   13932     mingw* | cygwin* | pw32* | os2*)
   13933       # This hack is so that the source file can tell whether it is being
   13934       # built for inclusion in a dll (and should export symbols for example).
   13935       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13936       ;;
   13937 
   13938     hpux9* | hpux10* | hpux11*)
   13939       lt_prog_compiler_wl_F77='-Wl,'
   13940       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13941       # not for PA HP-UX.
   13942       case $host_cpu in
   13943       hppa*64*|ia64*)
   13944 	# +Z the default
   13945 	;;
   13946       *)
   13947 	lt_prog_compiler_pic_F77='+Z'
   13948 	;;
   13949       esac
   13950       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13951       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13952       ;;
   13953 
   13954     irix5* | irix6* | nonstopux*)
   13955       lt_prog_compiler_wl_F77='-Wl,'
   13956       # PIC (with -KPIC) is the default.
   13957       lt_prog_compiler_static_F77='-non_shared'
   13958       ;;
   13959 
   13960     newsos6)
   13961       lt_prog_compiler_pic_F77='-KPIC'
   13962       lt_prog_compiler_static_F77='-Bstatic'
   13963       ;;
   13964 
   13965     linux* | k*bsd*-gnu)
   13966       case $cc_basename in
   13967       icc* | ecc*)
   13968 	lt_prog_compiler_wl_F77='-Wl,'
   13969 	lt_prog_compiler_pic_F77='-KPIC'
   13970 	lt_prog_compiler_static_F77='-static'
   13971         ;;
   13972       pgcc* | pgf77* | pgf90* | pgf95*)
   13973         # Portland Group compilers (*not* the Pentium gcc compiler,
   13974 	# which looks to be a dead project)
   13975 	lt_prog_compiler_wl_F77='-Wl,'
   13976 	lt_prog_compiler_pic_F77='-fpic'
   13977 	lt_prog_compiler_static_F77='-Bstatic'
   13978         ;;
   13979       ccc*)
   13980         lt_prog_compiler_wl_F77='-Wl,'
   13981         # All Alpha code is PIC.
   13982         lt_prog_compiler_static_F77='-non_shared'
   13983         ;;
   13984       *)
   13985         case `$CC -V 2>&1 | sed 5q` in
   13986 	*Sun\ C*)
   13987 	  # Sun C 5.9
   13988 	  lt_prog_compiler_pic_F77='-KPIC'
   13989 	  lt_prog_compiler_static_F77='-Bstatic'
   13990 	  lt_prog_compiler_wl_F77='-Wl,'
   13991 	  ;;
   13992 	*Sun\ F*)
   13993 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13994 	  lt_prog_compiler_pic_F77='-KPIC'
   13995 	  lt_prog_compiler_static_F77='-Bstatic'
   13996 	  lt_prog_compiler_wl_F77=''
   13997 	  ;;
   13998 	esac
   13999 	;;
   14000       esac
   14001       ;;
   14002 
   14003     osf3* | osf4* | osf5*)
   14004       lt_prog_compiler_wl_F77='-Wl,'
   14005       # All OSF/1 code is PIC.
   14006       lt_prog_compiler_static_F77='-non_shared'
   14007       ;;
   14008 
   14009     rdos*)
   14010       lt_prog_compiler_static_F77='-non_shared'
   14011       ;;
   14012 
   14013     solaris*)
   14014       lt_prog_compiler_pic_F77='-KPIC'
   14015       lt_prog_compiler_static_F77='-Bstatic'
   14016       case $cc_basename in
   14017       f77* | f90* | f95*)
   14018 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14019       *)
   14020 	lt_prog_compiler_wl_F77='-Wl,';;
   14021       esac
   14022       ;;
   14023 
   14024     sunos4*)
   14025       lt_prog_compiler_wl_F77='-Qoption ld '
   14026       lt_prog_compiler_pic_F77='-PIC'
   14027       lt_prog_compiler_static_F77='-Bstatic'
   14028       ;;
   14029 
   14030     sysv4 | sysv4.2uw2* | sysv4.3*)
   14031       lt_prog_compiler_wl_F77='-Wl,'
   14032       lt_prog_compiler_pic_F77='-KPIC'
   14033       lt_prog_compiler_static_F77='-Bstatic'
   14034       ;;
   14035 
   14036     sysv4*MP*)
   14037       if test -d /usr/nec ;then
   14038 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14039 	lt_prog_compiler_static_F77='-Bstatic'
   14040       fi
   14041       ;;
   14042 
   14043     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14044       lt_prog_compiler_wl_F77='-Wl,'
   14045       lt_prog_compiler_pic_F77='-KPIC'
   14046       lt_prog_compiler_static_F77='-Bstatic'
   14047       ;;
   14048 
   14049     unicos*)
   14050       lt_prog_compiler_wl_F77='-Wl,'
   14051       lt_prog_compiler_can_build_shared_F77=no
   14052       ;;
   14053 
   14054     uts4*)
   14055       lt_prog_compiler_pic_F77='-pic'
   14056       lt_prog_compiler_static_F77='-Bstatic'
   14057       ;;
   14058 
   14059     *)
   14060       lt_prog_compiler_can_build_shared_F77=no
   14061       ;;
   14062     esac
   14063   fi
   14064 
   14065 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14066 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14067 
   14068 #
   14069 # Check to make sure the PIC flag actually works.
   14070 #
   14071 if test -n "$lt_prog_compiler_pic_F77"; then
   14072 
   14073 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14074 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14075 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14076   echo $ECHO_N "(cached) $ECHO_C" >&6
   14077 else
   14078   lt_prog_compiler_pic_works_F77=no
   14079   ac_outfile=conftest.$ac_objext
   14080    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14081    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14082    # Insert the option either (1) after the last *FLAGS variable, or
   14083    # (2) before a word containing "conftest.", or (3) at the end.
   14084    # Note that $ac_compile itself does not contain backslashes and begins
   14085    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14086    # The option is referenced via a variable to avoid confusing sed.
   14087    lt_compile=`echo "$ac_compile" | $SED \
   14088    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14089    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14090    -e 's:$: $lt_compiler_flag:'`
   14091    (eval echo "\"\$as_me:14091: $lt_compile\"" >&5)
   14092    (eval "$lt_compile" 2>conftest.err)
   14093    ac_status=$?
   14094    cat conftest.err >&5
   14095    echo "$as_me:14095: \$? = $ac_status" >&5
   14096    if (exit $ac_status) && test -s "$ac_outfile"; then
   14097      # The compiler can only warn and ignore the option if not recognized
   14098      # So say no if there are warnings other than the usual output.
   14099      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14100      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14101      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14102        lt_prog_compiler_pic_works_F77=yes
   14103      fi
   14104    fi
   14105    $rm conftest*
   14106 
   14107 fi
   14108 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14109 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14110 
   14111 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14112     case $lt_prog_compiler_pic_F77 in
   14113      "" | " "*) ;;
   14114      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14115      esac
   14116 else
   14117     lt_prog_compiler_pic_F77=
   14118      lt_prog_compiler_can_build_shared_F77=no
   14119 fi
   14120 
   14121 fi
   14122 case $host_os in
   14123   # For platforms which do not support PIC, -DPIC is meaningless:
   14124   *djgpp*)
   14125     lt_prog_compiler_pic_F77=
   14126     ;;
   14127   *)
   14128     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14129     ;;
   14130 esac
   14131 
   14132 #
   14133 # Check to make sure the static flag actually works.
   14134 #
   14135 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14136 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14137 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14138 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14139   echo $ECHO_N "(cached) $ECHO_C" >&6
   14140 else
   14141   lt_prog_compiler_static_works_F77=no
   14142    save_LDFLAGS="$LDFLAGS"
   14143    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14144    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14145    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14146      # The linker can only warn and ignore the option if not recognized
   14147      # So say no if there are warnings
   14148      if test -s conftest.err; then
   14149        # Append any errors to the config.log.
   14150        cat conftest.err 1>&5
   14151        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14152        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14153        if diff conftest.exp conftest.er2 >/dev/null; then
   14154          lt_prog_compiler_static_works_F77=yes
   14155        fi
   14156      else
   14157        lt_prog_compiler_static_works_F77=yes
   14158      fi
   14159    fi
   14160    $rm conftest*
   14161    LDFLAGS="$save_LDFLAGS"
   14162 
   14163 fi
   14164 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14165 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14166 
   14167 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14168     :
   14169 else
   14170     lt_prog_compiler_static_F77=
   14171 fi
   14172 
   14173 
   14174 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14175 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14176 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14177   echo $ECHO_N "(cached) $ECHO_C" >&6
   14178 else
   14179   lt_cv_prog_compiler_c_o_F77=no
   14180    $rm -r conftest 2>/dev/null
   14181    mkdir conftest
   14182    cd conftest
   14183    mkdir out
   14184    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14185 
   14186    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14187    # Insert the option either (1) after the last *FLAGS variable, or
   14188    # (2) before a word containing "conftest.", or (3) at the end.
   14189    # Note that $ac_compile itself does not contain backslashes and begins
   14190    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14191    lt_compile=`echo "$ac_compile" | $SED \
   14192    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14193    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14194    -e 's:$: $lt_compiler_flag:'`
   14195    (eval echo "\"\$as_me:14195: $lt_compile\"" >&5)
   14196    (eval "$lt_compile" 2>out/conftest.err)
   14197    ac_status=$?
   14198    cat out/conftest.err >&5
   14199    echo "$as_me:14199: \$? = $ac_status" >&5
   14200    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14201    then
   14202      # The compiler can only warn and ignore the option if not recognized
   14203      # So say no if there are warnings
   14204      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14205      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14206      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14207        lt_cv_prog_compiler_c_o_F77=yes
   14208      fi
   14209    fi
   14210    chmod u+w . 2>&5
   14211    $rm conftest*
   14212    # SGI C++ compiler will create directory out/ii_files/ for
   14213    # template instantiation
   14214    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14215    $rm out/* && rmdir out
   14216    cd ..
   14217    rmdir conftest
   14218    $rm conftest*
   14219 
   14220 fi
   14221 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14222 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14223 
   14224 
   14225 hard_links="nottested"
   14226 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14227   # do not overwrite the value of need_locks provided by the user
   14228   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14229 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14230   hard_links=yes
   14231   $rm conftest*
   14232   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14233   touch conftest.a
   14234   ln conftest.a conftest.b 2>&5 || hard_links=no
   14235   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14236   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14237 echo "${ECHO_T}$hard_links" >&6; }
   14238   if test "$hard_links" = no; then
   14239     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14240 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14241     need_locks=warn
   14242   fi
   14243 else
   14244   need_locks=no
   14245 fi
   14246 
   14247 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14248 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14249 
   14250   runpath_var=
   14251   allow_undefined_flag_F77=
   14252   enable_shared_with_static_runtimes_F77=no
   14253   archive_cmds_F77=
   14254   archive_expsym_cmds_F77=
   14255   old_archive_From_new_cmds_F77=
   14256   old_archive_from_expsyms_cmds_F77=
   14257   export_dynamic_flag_spec_F77=
   14258   whole_archive_flag_spec_F77=
   14259   thread_safe_flag_spec_F77=
   14260   hardcode_libdir_flag_spec_F77=
   14261   hardcode_libdir_flag_spec_ld_F77=
   14262   hardcode_libdir_separator_F77=
   14263   hardcode_direct_F77=no
   14264   hardcode_minus_L_F77=no
   14265   hardcode_shlibpath_var_F77=unsupported
   14266   link_all_deplibs_F77=unknown
   14267   hardcode_automatic_F77=no
   14268   module_cmds_F77=
   14269   module_expsym_cmds_F77=
   14270   always_export_symbols_F77=no
   14271   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14272   # include_expsyms should be a list of space-separated symbols to be *always*
   14273   # included in the symbol list
   14274   include_expsyms_F77=
   14275   # exclude_expsyms can be an extended regexp of symbols to exclude
   14276   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14277   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14278   # as well as any symbol that contains `d'.
   14279   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14280   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14281   # platforms (ab)use it in PIC code, but their linkers get confused if
   14282   # the symbol is explicitly referenced.  Since portable code cannot
   14283   # rely on this symbol name, it's probably fine to never include it in
   14284   # preloaded symbol tables.
   14285   extract_expsyms_cmds=
   14286   # Just being paranoid about ensuring that cc_basename is set.
   14287   for cc_temp in $compiler""; do
   14288   case $cc_temp in
   14289     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14290     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14291     \-*) ;;
   14292     *) break;;
   14293   esac
   14294 done
   14295 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14296 
   14297   case $host_os in
   14298   cygwin* | mingw* | pw32*)
   14299     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14300     # When not using gcc, we currently assume that we are using
   14301     # Microsoft Visual C++.
   14302     if test "$GCC" != yes; then
   14303       with_gnu_ld=no
   14304     fi
   14305     ;;
   14306   interix*)
   14307     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14308     with_gnu_ld=yes
   14309     ;;
   14310   openbsd*)
   14311     with_gnu_ld=no
   14312     ;;
   14313   esac
   14314 
   14315   ld_shlibs_F77=yes
   14316   if test "$with_gnu_ld" = yes; then
   14317     # If archive_cmds runs LD, not CC, wlarc should be empty
   14318     wlarc='${wl}'
   14319 
   14320     # Set some defaults for GNU ld with shared library support. These
   14321     # are reset later if shared libraries are not supported. Putting them
   14322     # here allows them to be overridden if necessary.
   14323     runpath_var=LD_RUN_PATH
   14324     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14325     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14326     # ancient GNU ld didn't support --whole-archive et. al.
   14327     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14328 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14329       else
   14330   	whole_archive_flag_spec_F77=
   14331     fi
   14332     supports_anon_versioning=no
   14333     case `$LD -v 2>/dev/null` in
   14334       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14335       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14336       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14337       *\ 2.11.*) ;; # other 2.11 versions
   14338       *) supports_anon_versioning=yes ;;
   14339     esac
   14340 
   14341     # See if GNU ld supports shared libraries.
   14342     case $host_os in
   14343     aix3* | aix4* | aix5*)
   14344       # On AIX/PPC, the GNU linker is very broken
   14345       if test "$host_cpu" != ia64; then
   14346 	ld_shlibs_F77=no
   14347 	cat <<EOF 1>&2
   14348 
   14349 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14350 *** to be unable to reliably create shared libraries on AIX.
   14351 *** Therefore, libtool is disabling shared libraries support.  If you
   14352 *** really care for shared libraries, you may want to modify your PATH
   14353 *** so that a non-GNU linker is found, and then restart.
   14354 
   14355 EOF
   14356       fi
   14357       ;;
   14358 
   14359     amigaos*)
   14360       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)'
   14361       hardcode_libdir_flag_spec_F77='-L$libdir'
   14362       hardcode_minus_L_F77=yes
   14363 
   14364       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14365       # that the semantics of dynamic libraries on AmigaOS, at least up
   14366       # to version 4, is to share data among multiple programs linked
   14367       # with the same dynamic library.  Since this doesn't match the
   14368       # behavior of shared libraries on other platforms, we can't use
   14369       # them.
   14370       ld_shlibs_F77=no
   14371       ;;
   14372 
   14373     beos*)
   14374       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14375 	allow_undefined_flag_F77=unsupported
   14376 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14377 	# support --undefined.  This deserves some investigation.  FIXME
   14378 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14379       else
   14380 	ld_shlibs_F77=no
   14381       fi
   14382       ;;
   14383 
   14384     cygwin* | mingw* | pw32*)
   14385       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14386       # as there is no search path for DLLs.
   14387       hardcode_libdir_flag_spec_F77='-L$libdir'
   14388       allow_undefined_flag_F77=unsupported
   14389       always_export_symbols_F77=no
   14390       enable_shared_with_static_runtimes_F77=yes
   14391       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14392 
   14393       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14394         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14395 	# If the export-symbols file already is a .def file (1st line
   14396 	# is EXPORTS), use it as is; otherwise, prepend...
   14397 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14398 	  cp $export_symbols $output_objdir/$soname.def;
   14399 	else
   14400 	  echo EXPORTS > $output_objdir/$soname.def;
   14401 	  cat $export_symbols >> $output_objdir/$soname.def;
   14402 	fi~
   14403 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14404       else
   14405 	ld_shlibs_F77=no
   14406       fi
   14407       ;;
   14408 
   14409     interix[3-9]*)
   14410       hardcode_direct_F77=no
   14411       hardcode_shlibpath_var_F77=no
   14412       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14413       export_dynamic_flag_spec_F77='${wl}-E'
   14414       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14415       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14416       # default) and relocated if they conflict, which is a slow very memory
   14417       # consuming and fragmenting process.  To avoid this, we pick a random,
   14418       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14419       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14420       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'
   14421       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'
   14422       ;;
   14423 
   14424     gnu* | linux* | k*bsd*-gnu)
   14425       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14426 	tmp_addflag=
   14427 	case $cc_basename,$host_cpu in
   14428 	pgcc*)				# Portland Group C compiler
   14429 	  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'
   14430 	  tmp_addflag=' $pic_flag'
   14431 	  ;;
   14432 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14433 	  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'
   14434 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14435 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14436 	  tmp_addflag=' -i_dynamic' ;;
   14437 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14438 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14439 	ifc* | ifort*)			# Intel Fortran compiler
   14440 	  tmp_addflag=' -nofor_main' ;;
   14441 	esac
   14442 	case `$CC -V 2>&1 | sed 5q` in
   14443 	*Sun\ C*)			# Sun C 5.9
   14444 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14445 	  tmp_sharedflag='-G' ;;
   14446 	*Sun\ F*)			# Sun Fortran 8.3
   14447 	  tmp_sharedflag='-G' ;;
   14448 	*)
   14449 	  tmp_sharedflag='-shared' ;;
   14450 	esac
   14451 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14452 
   14453 	if test $supports_anon_versioning = yes; then
   14454 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14455   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14456   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14457 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14458 	fi
   14459       else
   14460 	ld_shlibs_F77=no
   14461       fi
   14462       ;;
   14463 
   14464     netbsd*)
   14465       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14466 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14467 	wlarc=
   14468       else
   14469 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14470 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14471       fi
   14472       ;;
   14473 
   14474     solaris*)
   14475       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14476 	ld_shlibs_F77=no
   14477 	cat <<EOF 1>&2
   14478 
   14479 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14480 *** create shared libraries on Solaris systems.  Therefore, libtool
   14481 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14482 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14483 *** your PATH or compiler configuration so that the native linker is
   14484 *** used, and then restart.
   14485 
   14486 EOF
   14487       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14488 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14489 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14490       else
   14491 	ld_shlibs_F77=no
   14492       fi
   14493       ;;
   14494 
   14495     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14496       case `$LD -v 2>&1` in
   14497         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14498 	ld_shlibs_F77=no
   14499 	cat <<_LT_EOF 1>&2
   14500 
   14501 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14502 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14503 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14504 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14505 *** your PATH or compiler configuration so that the native linker is
   14506 *** used, and then restart.
   14507 
   14508 _LT_EOF
   14509 	;;
   14510 	*)
   14511 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14512 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14513 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14514 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14515 	  else
   14516 	    ld_shlibs_F77=no
   14517 	  fi
   14518 	;;
   14519       esac
   14520       ;;
   14521 
   14522     sunos4*)
   14523       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14524       wlarc=
   14525       hardcode_direct_F77=yes
   14526       hardcode_shlibpath_var_F77=no
   14527       ;;
   14528 
   14529     *)
   14530       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14531 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14532 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14533       else
   14534 	ld_shlibs_F77=no
   14535       fi
   14536       ;;
   14537     esac
   14538 
   14539     if test "$ld_shlibs_F77" = no; then
   14540       runpath_var=
   14541       hardcode_libdir_flag_spec_F77=
   14542       export_dynamic_flag_spec_F77=
   14543       whole_archive_flag_spec_F77=
   14544     fi
   14545   else
   14546     # PORTME fill in a description of your system's linker (not GNU ld)
   14547     case $host_os in
   14548     aix3*)
   14549       allow_undefined_flag_F77=unsupported
   14550       always_export_symbols_F77=yes
   14551       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'
   14552       # Note: this linker hardcodes the directories in LIBPATH if there
   14553       # are no directories specified by -L.
   14554       hardcode_minus_L_F77=yes
   14555       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14556 	# Neither direct hardcoding nor static linking is supported with a
   14557 	# broken collect2.
   14558 	hardcode_direct_F77=unsupported
   14559       fi
   14560       ;;
   14561 
   14562     aix4* | aix5*)
   14563       if test "$host_cpu" = ia64; then
   14564 	# On IA64, the linker does run time linking by default, so we don't
   14565 	# have to do anything special.
   14566 	aix_use_runtimelinking=no
   14567 	exp_sym_flag='-Bexport'
   14568 	no_entry_flag=""
   14569       else
   14570 	# If we're using GNU nm, then we don't want the "-C" option.
   14571 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14572 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14573 	  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'
   14574 	else
   14575 	  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'
   14576 	fi
   14577 	aix_use_runtimelinking=no
   14578 
   14579 	# Test if we are trying to use run time linking or normal
   14580 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14581 	# need to do runtime linking.
   14582 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14583 	  for ld_flag in $LDFLAGS; do
   14584   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14585   	    aix_use_runtimelinking=yes
   14586   	    break
   14587   	  fi
   14588 	  done
   14589 	  ;;
   14590 	esac
   14591 
   14592 	exp_sym_flag='-bexport'
   14593 	no_entry_flag='-bnoentry'
   14594       fi
   14595 
   14596       # When large executables or shared objects are built, AIX ld can
   14597       # have problems creating the table of contents.  If linking a library
   14598       # or program results in "error TOC overflow" add -mminimal-toc to
   14599       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14600       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14601 
   14602       archive_cmds_F77=''
   14603       hardcode_direct_F77=yes
   14604       hardcode_libdir_separator_F77=':'
   14605       link_all_deplibs_F77=yes
   14606 
   14607       if test "$GCC" = yes; then
   14608 	case $host_os in aix4.[012]|aix4.[012].*)
   14609 	# We only want to do this on AIX 4.2 and lower, the check
   14610 	# below for broken collect2 doesn't work under 4.3+
   14611 	  collect2name=`${CC} -print-prog-name=collect2`
   14612 	  if test -f "$collect2name" && \
   14613   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14614 	  then
   14615   	  # We have reworked collect2
   14616   	  :
   14617 	  else
   14618   	  # We have old collect2
   14619   	  hardcode_direct_F77=unsupported
   14620   	  # It fails to find uninstalled libraries when the uninstalled
   14621   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14622   	  # to unsupported forces relinking
   14623   	  hardcode_minus_L_F77=yes
   14624   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14625   	  hardcode_libdir_separator_F77=
   14626 	  fi
   14627 	  ;;
   14628 	esac
   14629 	shared_flag='-shared'
   14630 	if test "$aix_use_runtimelinking" = yes; then
   14631 	  shared_flag="$shared_flag "'${wl}-G'
   14632 	fi
   14633       else
   14634 	# not using gcc
   14635 	if test "$host_cpu" = ia64; then
   14636   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14637   	# chokes on -Wl,-G. The following line is correct:
   14638 	  shared_flag='-G'
   14639 	else
   14640 	  if test "$aix_use_runtimelinking" = yes; then
   14641 	    shared_flag='${wl}-G'
   14642 	  else
   14643 	    shared_flag='${wl}-bM:SRE'
   14644 	  fi
   14645 	fi
   14646       fi
   14647 
   14648       # It seems that -bexpall does not export symbols beginning with
   14649       # underscore (_), so it is better to generate a list of symbols to export.
   14650       always_export_symbols_F77=yes
   14651       if test "$aix_use_runtimelinking" = yes; then
   14652 	# Warning - without using the other runtime loading flags (-brtl),
   14653 	# -berok will link without error, but may produce a broken library.
   14654 	allow_undefined_flag_F77='-berok'
   14655        # Determine the default libpath from the value encoded in an empty executable.
   14656        cat >conftest.$ac_ext <<_ACEOF
   14657       program main
   14658 
   14659       end
   14660 _ACEOF
   14661 rm -f conftest.$ac_objext conftest$ac_exeext
   14662 if { (ac_try="$ac_link"
   14663 case "(($ac_try" in
   14664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14665   *) ac_try_echo=$ac_try;;
   14666 esac
   14667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14668   (eval "$ac_link") 2>conftest.er1
   14669   ac_status=$?
   14670   grep -v '^ *+' conftest.er1 >conftest.err
   14671   rm -f conftest.er1
   14672   cat conftest.err >&5
   14673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14674   (exit $ac_status); } && {
   14675 	 test -z "$ac_f77_werror_flag" ||
   14676 	 test ! -s conftest.err
   14677        } && test -s conftest$ac_exeext &&
   14678        $as_test_x conftest$ac_exeext; then
   14679 
   14680 lt_aix_libpath_sed='
   14681     /Import File Strings/,/^$/ {
   14682 	/^0/ {
   14683 	    s/^0  *\(.*\)$/\1/
   14684 	    p
   14685 	}
   14686     }'
   14687 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14688 # Check for a 64-bit object if we didn't find anything.
   14689 if test -z "$aix_libpath"; then
   14690   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14691 fi
   14692 else
   14693   echo "$as_me: failed program was:" >&5
   14694 sed 's/^/| /' conftest.$ac_ext >&5
   14695 
   14696 
   14697 fi
   14698 
   14699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14700       conftest$ac_exeext conftest.$ac_ext
   14701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14702 
   14703        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14704 	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"
   14705        else
   14706 	if test "$host_cpu" = ia64; then
   14707 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14708 	  allow_undefined_flag_F77="-z nodefs"
   14709 	  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"
   14710 	else
   14711 	 # Determine the default libpath from the value encoded in an empty executable.
   14712 	 cat >conftest.$ac_ext <<_ACEOF
   14713       program main
   14714 
   14715       end
   14716 _ACEOF
   14717 rm -f conftest.$ac_objext conftest$ac_exeext
   14718 if { (ac_try="$ac_link"
   14719 case "(($ac_try" in
   14720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14721   *) ac_try_echo=$ac_try;;
   14722 esac
   14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14724   (eval "$ac_link") 2>conftest.er1
   14725   ac_status=$?
   14726   grep -v '^ *+' conftest.er1 >conftest.err
   14727   rm -f conftest.er1
   14728   cat conftest.err >&5
   14729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14730   (exit $ac_status); } && {
   14731 	 test -z "$ac_f77_werror_flag" ||
   14732 	 test ! -s conftest.err
   14733        } && test -s conftest$ac_exeext &&
   14734        $as_test_x conftest$ac_exeext; then
   14735 
   14736 lt_aix_libpath_sed='
   14737     /Import File Strings/,/^$/ {
   14738 	/^0/ {
   14739 	    s/^0  *\(.*\)$/\1/
   14740 	    p
   14741 	}
   14742     }'
   14743 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14744 # Check for a 64-bit object if we didn't find anything.
   14745 if test -z "$aix_libpath"; then
   14746   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14747 fi
   14748 else
   14749   echo "$as_me: failed program was:" >&5
   14750 sed 's/^/| /' conftest.$ac_ext >&5
   14751 
   14752 
   14753 fi
   14754 
   14755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14756       conftest$ac_exeext conftest.$ac_ext
   14757 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14758 
   14759 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14760 	  # Warning - without using the other run time loading flags,
   14761 	  # -berok will link without error, but may produce a broken library.
   14762 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14763 	  allow_undefined_flag_F77=' ${wl}-berok'
   14764 	  # Exported symbols can be pulled into shared objects from archives
   14765 	  whole_archive_flag_spec_F77='$convenience'
   14766 	  archive_cmds_need_lc_F77=yes
   14767 	  # This is similar to how AIX traditionally builds its shared libraries.
   14768 	  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'
   14769 	fi
   14770       fi
   14771       ;;
   14772 
   14773     amigaos*)
   14774       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)'
   14775       hardcode_libdir_flag_spec_F77='-L$libdir'
   14776       hardcode_minus_L_F77=yes
   14777       # see comment about different semantics on the GNU ld section
   14778       ld_shlibs_F77=no
   14779       ;;
   14780 
   14781     bsdi[45]*)
   14782       export_dynamic_flag_spec_F77=-rdynamic
   14783       ;;
   14784 
   14785     cygwin* | mingw* | pw32*)
   14786       # When not using gcc, we currently assume that we are using
   14787       # Microsoft Visual C++.
   14788       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14789       # no search path for DLLs.
   14790       hardcode_libdir_flag_spec_F77=' '
   14791       allow_undefined_flag_F77=unsupported
   14792       # Tell ltmain to make .lib files, not .a files.
   14793       libext=lib
   14794       # Tell ltmain to make .dll files, not .so files.
   14795       shrext_cmds=".dll"
   14796       # FIXME: Setting linknames here is a bad hack.
   14797       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14798       # The linker will automatically build a .lib file if we build a DLL.
   14799       old_archive_From_new_cmds_F77='true'
   14800       # FIXME: Should let the user specify the lib program.
   14801       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14802       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14803       enable_shared_with_static_runtimes_F77=yes
   14804       ;;
   14805 
   14806     darwin* | rhapsody*)
   14807       case $host_os in
   14808         rhapsody* | darwin1.[012])
   14809          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14810          ;;
   14811        *) # Darwin 1.3 on
   14812          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14813            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14814          else
   14815            case ${MACOSX_DEPLOYMENT_TARGET} in
   14816              10.[012])
   14817                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14818                ;;
   14819              10.*)
   14820                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14821                ;;
   14822            esac
   14823          fi
   14824          ;;
   14825       esac
   14826       archive_cmds_need_lc_F77=no
   14827       hardcode_direct_F77=no
   14828       hardcode_automatic_F77=yes
   14829       hardcode_shlibpath_var_F77=unsupported
   14830       whole_archive_flag_spec_F77=''
   14831       link_all_deplibs_F77=yes
   14832     if test "$GCC" = yes ; then
   14833     	output_verbose_link_cmd='echo'
   14834         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14835       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14836       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14837       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}'
   14838       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}'
   14839     else
   14840       case $cc_basename in
   14841         xlc*)
   14842          output_verbose_link_cmd='echo'
   14843          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   14844          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14845           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14846          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14847           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}'
   14848           ;;
   14849        *)
   14850          ld_shlibs_F77=no
   14851           ;;
   14852       esac
   14853     fi
   14854       ;;
   14855 
   14856     dgux*)
   14857       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14858       hardcode_libdir_flag_spec_F77='-L$libdir'
   14859       hardcode_shlibpath_var_F77=no
   14860       ;;
   14861 
   14862     freebsd1*)
   14863       ld_shlibs_F77=no
   14864       ;;
   14865 
   14866     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14867     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14868     # does not break anything, and helps significantly (at the cost of a little
   14869     # extra space).
   14870     freebsd2.2*)
   14871       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14872       hardcode_libdir_flag_spec_F77='-R$libdir'
   14873       hardcode_direct_F77=yes
   14874       hardcode_shlibpath_var_F77=no
   14875       ;;
   14876 
   14877     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14878     freebsd2*)
   14879       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14880       hardcode_direct_F77=yes
   14881       hardcode_minus_L_F77=yes
   14882       hardcode_shlibpath_var_F77=no
   14883       ;;
   14884 
   14885     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14886     freebsd* | dragonfly*)
   14887       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14888       hardcode_libdir_flag_spec_F77='-R$libdir'
   14889       hardcode_direct_F77=yes
   14890       hardcode_shlibpath_var_F77=no
   14891       ;;
   14892 
   14893     hpux9*)
   14894       if test "$GCC" = yes; then
   14895 	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'
   14896       else
   14897 	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'
   14898       fi
   14899       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14900       hardcode_libdir_separator_F77=:
   14901       hardcode_direct_F77=yes
   14902 
   14903       # hardcode_minus_L: Not really in the search PATH,
   14904       # but as the default location of the library.
   14905       hardcode_minus_L_F77=yes
   14906       export_dynamic_flag_spec_F77='${wl}-E'
   14907       ;;
   14908 
   14909     hpux10*)
   14910       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14911 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14912       else
   14913 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14914       fi
   14915       if test "$with_gnu_ld" = no; then
   14916 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14917 	hardcode_libdir_separator_F77=:
   14918 
   14919 	hardcode_direct_F77=yes
   14920 	export_dynamic_flag_spec_F77='${wl}-E'
   14921 
   14922 	# hardcode_minus_L: Not really in the search PATH,
   14923 	# but as the default location of the library.
   14924 	hardcode_minus_L_F77=yes
   14925       fi
   14926       ;;
   14927 
   14928     hpux11*)
   14929       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14930 	case $host_cpu in
   14931 	hppa*64*)
   14932 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14933 	  ;;
   14934 	ia64*)
   14935 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14936 	  ;;
   14937 	*)
   14938 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14939 	  ;;
   14940 	esac
   14941       else
   14942 	case $host_cpu in
   14943 	hppa*64*)
   14944 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14945 	  ;;
   14946 	ia64*)
   14947 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14948 	  ;;
   14949 	*)
   14950 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14951 	  ;;
   14952 	esac
   14953       fi
   14954       if test "$with_gnu_ld" = no; then
   14955 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14956 	hardcode_libdir_separator_F77=:
   14957 
   14958 	case $host_cpu in
   14959 	hppa*64*|ia64*)
   14960 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14961 	  hardcode_direct_F77=no
   14962 	  hardcode_shlibpath_var_F77=no
   14963 	  ;;
   14964 	*)
   14965 	  hardcode_direct_F77=yes
   14966 	  export_dynamic_flag_spec_F77='${wl}-E'
   14967 
   14968 	  # hardcode_minus_L: Not really in the search PATH,
   14969 	  # but as the default location of the library.
   14970 	  hardcode_minus_L_F77=yes
   14971 	  ;;
   14972 	esac
   14973       fi
   14974       ;;
   14975 
   14976     irix5* | irix6* | nonstopux*)
   14977       if test "$GCC" = yes; then
   14978 	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'
   14979       else
   14980 	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'
   14981 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14982       fi
   14983       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14984       hardcode_libdir_separator_F77=:
   14985       link_all_deplibs_F77=yes
   14986       ;;
   14987 
   14988     netbsd*)
   14989       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14990 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14991       else
   14992 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14993       fi
   14994       hardcode_libdir_flag_spec_F77='-R$libdir'
   14995       hardcode_direct_F77=yes
   14996       hardcode_shlibpath_var_F77=no
   14997       ;;
   14998 
   14999     newsos6)
   15000       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15001       hardcode_direct_F77=yes
   15002       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15003       hardcode_libdir_separator_F77=:
   15004       hardcode_shlibpath_var_F77=no
   15005       ;;
   15006 
   15007     openbsd*)
   15008       if test -f /usr/libexec/ld.so; then
   15009 	hardcode_direct_F77=yes
   15010 	hardcode_shlibpath_var_F77=no
   15011 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15012 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15013 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15014 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15015 	  export_dynamic_flag_spec_F77='${wl}-E'
   15016 	else
   15017 	  case $host_os in
   15018 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15019 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15020 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15021 	     ;;
   15022 	   *)
   15023 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15024 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15025 	     ;;
   15026 	  esac
   15027         fi
   15028       else
   15029 	ld_shlibs_F77=no
   15030       fi
   15031       ;;
   15032 
   15033     os2*)
   15034       hardcode_libdir_flag_spec_F77='-L$libdir'
   15035       hardcode_minus_L_F77=yes
   15036       allow_undefined_flag_F77=unsupported
   15037       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'
   15038       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15039       ;;
   15040 
   15041     osf3*)
   15042       if test "$GCC" = yes; then
   15043 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15044 	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'
   15045       else
   15046 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15047 	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'
   15048       fi
   15049       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15050       hardcode_libdir_separator_F77=:
   15051       ;;
   15052 
   15053     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15054       if test "$GCC" = yes; then
   15055 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15056 	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'
   15057 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15058       else
   15059 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15060 	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'
   15061 	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~
   15062 	$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'
   15063 
   15064 	# Both c and cxx compiler support -rpath directly
   15065 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15066       fi
   15067       hardcode_libdir_separator_F77=:
   15068       ;;
   15069 
   15070     solaris*)
   15071       no_undefined_flag_F77=' -z text'
   15072       if test "$GCC" = yes; then
   15073 	wlarc='${wl}'
   15074 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15075 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15076 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15077       else
   15078 	wlarc=''
   15079 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15080 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15081   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15082       fi
   15083       hardcode_libdir_flag_spec_F77='-R$libdir'
   15084       hardcode_shlibpath_var_F77=no
   15085       case $host_os in
   15086       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15087       *)
   15088 	# The compiler driver will combine and reorder linker options,
   15089 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15090 	# but is careful enough not to reorder.
   15091  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15092 	if test "$GCC" = yes; then
   15093 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15094 	else
   15095 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15096 	fi
   15097 	;;
   15098       esac
   15099       link_all_deplibs_F77=yes
   15100       ;;
   15101 
   15102     sunos4*)
   15103       if test "x$host_vendor" = xsequent; then
   15104 	# Use $CC to link under sequent, because it throws in some extra .o
   15105 	# files that make .init and .fini sections work.
   15106 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15107       else
   15108 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15109       fi
   15110       hardcode_libdir_flag_spec_F77='-L$libdir'
   15111       hardcode_direct_F77=yes
   15112       hardcode_minus_L_F77=yes
   15113       hardcode_shlibpath_var_F77=no
   15114       ;;
   15115 
   15116     sysv4)
   15117       case $host_vendor in
   15118 	sni)
   15119 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15120 	  hardcode_direct_F77=yes # is this really true???
   15121 	;;
   15122 	siemens)
   15123 	  ## LD is ld it makes a PLAMLIB
   15124 	  ## CC just makes a GrossModule.
   15125 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15126 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15127 	  hardcode_direct_F77=no
   15128         ;;
   15129 	motorola)
   15130 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15131 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15132 	;;
   15133       esac
   15134       runpath_var='LD_RUN_PATH'
   15135       hardcode_shlibpath_var_F77=no
   15136       ;;
   15137 
   15138     sysv4.3*)
   15139       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15140       hardcode_shlibpath_var_F77=no
   15141       export_dynamic_flag_spec_F77='-Bexport'
   15142       ;;
   15143 
   15144     sysv4*MP*)
   15145       if test -d /usr/nec; then
   15146 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15147 	hardcode_shlibpath_var_F77=no
   15148 	runpath_var=LD_RUN_PATH
   15149 	hardcode_runpath_var=yes
   15150 	ld_shlibs_F77=yes
   15151       fi
   15152       ;;
   15153 
   15154     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15155       no_undefined_flag_F77='${wl}-z,text'
   15156       archive_cmds_need_lc_F77=no
   15157       hardcode_shlibpath_var_F77=no
   15158       runpath_var='LD_RUN_PATH'
   15159 
   15160       if test "$GCC" = yes; then
   15161 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15162 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15163       else
   15164 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15165 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15166       fi
   15167       ;;
   15168 
   15169     sysv5* | sco3.2v5* | sco5v6*)
   15170       # Note: We can NOT use -z defs as we might desire, because we do not
   15171       # link with -lc, and that would cause any symbols used from libc to
   15172       # always be unresolved, which means just about no library would
   15173       # ever link correctly.  If we're not using GNU ld we use -z text
   15174       # though, which does catch some bad symbols but isn't as heavy-handed
   15175       # as -z defs.
   15176       no_undefined_flag_F77='${wl}-z,text'
   15177       allow_undefined_flag_F77='${wl}-z,nodefs'
   15178       archive_cmds_need_lc_F77=no
   15179       hardcode_shlibpath_var_F77=no
   15180       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15181       hardcode_libdir_separator_F77=':'
   15182       link_all_deplibs_F77=yes
   15183       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15184       runpath_var='LD_RUN_PATH'
   15185 
   15186       if test "$GCC" = yes; then
   15187 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15188 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15189       else
   15190 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15191 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15192       fi
   15193       ;;
   15194 
   15195     uts4*)
   15196       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15197       hardcode_libdir_flag_spec_F77='-L$libdir'
   15198       hardcode_shlibpath_var_F77=no
   15199       ;;
   15200 
   15201     *)
   15202       ld_shlibs_F77=no
   15203       ;;
   15204     esac
   15205   fi
   15206 
   15207 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15208 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15209 test "$ld_shlibs_F77" = no && can_build_shared=no
   15210 
   15211 #
   15212 # Do we need to explicitly link libc?
   15213 #
   15214 case "x$archive_cmds_need_lc_F77" in
   15215 x|xyes)
   15216   # Assume -lc should be added
   15217   archive_cmds_need_lc_F77=yes
   15218 
   15219   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15220     case $archive_cmds_F77 in
   15221     *'~'*)
   15222       # FIXME: we may have to deal with multi-command sequences.
   15223       ;;
   15224     '$CC '*)
   15225       # Test whether the compiler implicitly links with -lc since on some
   15226       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15227       # to ld, don't add -lc before -lgcc.
   15228       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15229 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15230       $rm conftest*
   15231       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15232 
   15233       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15234   (eval $ac_compile) 2>&5
   15235   ac_status=$?
   15236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15237   (exit $ac_status); } 2>conftest.err; then
   15238         soname=conftest
   15239         lib=conftest
   15240         libobjs=conftest.$ac_objext
   15241         deplibs=
   15242         wl=$lt_prog_compiler_wl_F77
   15243 	pic_flag=$lt_prog_compiler_pic_F77
   15244         compiler_flags=-v
   15245         linker_flags=-v
   15246         verstring=
   15247         output_objdir=.
   15248         libname=conftest
   15249         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15250         allow_undefined_flag_F77=
   15251         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15252   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15253   ac_status=$?
   15254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15255   (exit $ac_status); }
   15256         then
   15257 	  archive_cmds_need_lc_F77=no
   15258         else
   15259 	  archive_cmds_need_lc_F77=yes
   15260         fi
   15261         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15262       else
   15263         cat conftest.err 1>&5
   15264       fi
   15265       $rm conftest*
   15266       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15267 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15268       ;;
   15269     esac
   15270   fi
   15271   ;;
   15272 esac
   15273 
   15274 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15275 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15276 library_names_spec=
   15277 libname_spec='lib$name'
   15278 soname_spec=
   15279 shrext_cmds=".so"
   15280 postinstall_cmds=
   15281 postuninstall_cmds=
   15282 finish_cmds=
   15283 finish_eval=
   15284 shlibpath_var=
   15285 shlibpath_overrides_runpath=unknown
   15286 version_type=none
   15287 dynamic_linker="$host_os ld.so"
   15288 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15289 
   15290 need_lib_prefix=unknown
   15291 hardcode_into_libs=no
   15292 
   15293 # when you set need_version to no, make sure it does not cause -set_version
   15294 # flags to be left without arguments
   15295 need_version=unknown
   15296 
   15297 case $host_os in
   15298 aix3*)
   15299   version_type=linux
   15300   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15301   shlibpath_var=LIBPATH
   15302 
   15303   # AIX 3 has no versioning support, so we append a major version to the name.
   15304   soname_spec='${libname}${release}${shared_ext}$major'
   15305   ;;
   15306 
   15307 aix4* | aix5*)
   15308   version_type=linux
   15309   need_lib_prefix=no
   15310   need_version=no
   15311   hardcode_into_libs=yes
   15312   if test "$host_cpu" = ia64; then
   15313     # AIX 5 supports IA64
   15314     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15315     shlibpath_var=LD_LIBRARY_PATH
   15316   else
   15317     # With GCC up to 2.95.x, collect2 would create an import file
   15318     # for dependence libraries.  The import file would start with
   15319     # the line `#! .'.  This would cause the generated library to
   15320     # depend on `.', always an invalid library.  This was fixed in
   15321     # development snapshots of GCC prior to 3.0.
   15322     case $host_os in
   15323       aix4 | aix4.[01] | aix4.[01].*)
   15324       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15325 	   echo ' yes '
   15326 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15327 	:
   15328       else
   15329 	can_build_shared=no
   15330       fi
   15331       ;;
   15332     esac
   15333     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15334     # soname into executable. Probably we can add versioning support to
   15335     # collect2, so additional links can be useful in future.
   15336     if test "$aix_use_runtimelinking" = yes; then
   15337       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15338       # instead of lib<name>.a to let people know that these are not
   15339       # typical AIX shared libraries.
   15340       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15341     else
   15342       # We preserve .a as extension for shared libraries through AIX4.2
   15343       # and later when we are not doing run time linking.
   15344       library_names_spec='${libname}${release}.a $libname.a'
   15345       soname_spec='${libname}${release}${shared_ext}$major'
   15346     fi
   15347     shlibpath_var=LIBPATH
   15348   fi
   15349   ;;
   15350 
   15351 amigaos*)
   15352   library_names_spec='$libname.ixlibrary $libname.a'
   15353   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15354   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'
   15355   ;;
   15356 
   15357 beos*)
   15358   library_names_spec='${libname}${shared_ext}'
   15359   dynamic_linker="$host_os ld.so"
   15360   shlibpath_var=LIBRARY_PATH
   15361   ;;
   15362 
   15363 bsdi[45]*)
   15364   version_type=linux
   15365   need_version=no
   15366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15367   soname_spec='${libname}${release}${shared_ext}$major'
   15368   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15369   shlibpath_var=LD_LIBRARY_PATH
   15370   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15371   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15372   # the default ld.so.conf also contains /usr/contrib/lib and
   15373   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15374   # libtool to hard-code these into programs
   15375   ;;
   15376 
   15377 cygwin* | mingw* | pw32*)
   15378   version_type=windows
   15379   shrext_cmds=".dll"
   15380   need_version=no
   15381   need_lib_prefix=no
   15382 
   15383   case $GCC,$host_os in
   15384   yes,cygwin* | yes,mingw* | yes,pw32*)
   15385     library_names_spec='$libname.dll.a'
   15386     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15387     postinstall_cmds='base_file=`basename \${file}`~
   15388       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15389       dldir=$destdir/`dirname \$dlpath`~
   15390       test -d \$dldir || mkdir -p \$dldir~
   15391       $install_prog $dir/$dlname \$dldir/$dlname~
   15392       chmod a+x \$dldir/$dlname'
   15393     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15394       dlpath=$dir/\$dldll~
   15395        $rm \$dlpath'
   15396     shlibpath_overrides_runpath=yes
   15397 
   15398     case $host_os in
   15399     cygwin*)
   15400       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15401       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15402       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15403       ;;
   15404     mingw*)
   15405       # MinGW DLLs use traditional 'lib' prefix
   15406       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15407       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15408       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15409         # It is most probably a Windows format PATH printed by
   15410         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15411         # path with ; separators, and with drive letters. We can handle the
   15412         # drive letters (cygwin fileutils understands them), so leave them,
   15413         # especially as we might pass files found there to a mingw objdump,
   15414         # which wouldn't understand a cygwinified path. Ahh.
   15415         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15416       else
   15417         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15418       fi
   15419       ;;
   15420     pw32*)
   15421       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15422       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15423       ;;
   15424     esac
   15425     ;;
   15426 
   15427   *)
   15428     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15429     ;;
   15430   esac
   15431   dynamic_linker='Win32 ld.exe'
   15432   # FIXME: first we should search . and the directory the executable is in
   15433   shlibpath_var=PATH
   15434   ;;
   15435 
   15436 darwin* | rhapsody*)
   15437   dynamic_linker="$host_os dyld"
   15438   version_type=darwin
   15439   need_lib_prefix=no
   15440   need_version=no
   15441   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15442   soname_spec='${libname}${release}${major}$shared_ext'
   15443   shlibpath_overrides_runpath=yes
   15444   shlibpath_var=DYLD_LIBRARY_PATH
   15445   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15446 
   15447   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15448   ;;
   15449 
   15450 dgux*)
   15451   version_type=linux
   15452   need_lib_prefix=no
   15453   need_version=no
   15454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15455   soname_spec='${libname}${release}${shared_ext}$major'
   15456   shlibpath_var=LD_LIBRARY_PATH
   15457   ;;
   15458 
   15459 freebsd1*)
   15460   dynamic_linker=no
   15461   ;;
   15462 
   15463 freebsd* | dragonfly*)
   15464   # DragonFly does not have aout.  When/if they implement a new
   15465   # versioning mechanism, adjust this.
   15466   if test -x /usr/bin/objformat; then
   15467     objformat=`/usr/bin/objformat`
   15468   else
   15469     case $host_os in
   15470     freebsd[123]*) objformat=aout ;;
   15471     *) objformat=elf ;;
   15472     esac
   15473   fi
   15474   version_type=freebsd-$objformat
   15475   case $version_type in
   15476     freebsd-elf*)
   15477       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15478       need_version=no
   15479       need_lib_prefix=no
   15480       ;;
   15481     freebsd-*)
   15482       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15483       need_version=yes
   15484       ;;
   15485   esac
   15486   shlibpath_var=LD_LIBRARY_PATH
   15487   case $host_os in
   15488   freebsd2*)
   15489     shlibpath_overrides_runpath=yes
   15490     ;;
   15491   freebsd3.[01]* | freebsdelf3.[01]*)
   15492     shlibpath_overrides_runpath=yes
   15493     hardcode_into_libs=yes
   15494     ;;
   15495   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15496   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15497     shlibpath_overrides_runpath=no
   15498     hardcode_into_libs=yes
   15499     ;;
   15500   *) # from 4.6 on, and DragonFly
   15501     shlibpath_overrides_runpath=yes
   15502     hardcode_into_libs=yes
   15503     ;;
   15504   esac
   15505   ;;
   15506 
   15507 gnu*)
   15508   version_type=linux
   15509   need_lib_prefix=no
   15510   need_version=no
   15511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15512   soname_spec='${libname}${release}${shared_ext}$major'
   15513   shlibpath_var=LD_LIBRARY_PATH
   15514   hardcode_into_libs=yes
   15515   ;;
   15516 
   15517 hpux9* | hpux10* | hpux11*)
   15518   # Give a soname corresponding to the major version so that dld.sl refuses to
   15519   # link against other versions.
   15520   version_type=sunos
   15521   need_lib_prefix=no
   15522   need_version=no
   15523   case $host_cpu in
   15524   ia64*)
   15525     shrext_cmds='.so'
   15526     hardcode_into_libs=yes
   15527     dynamic_linker="$host_os dld.so"
   15528     shlibpath_var=LD_LIBRARY_PATH
   15529     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15530     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15531     soname_spec='${libname}${release}${shared_ext}$major'
   15532     if test "X$HPUX_IA64_MODE" = X32; then
   15533       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15534     else
   15535       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15536     fi
   15537     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15538     ;;
   15539    hppa*64*)
   15540      shrext_cmds='.sl'
   15541      hardcode_into_libs=yes
   15542      dynamic_linker="$host_os dld.sl"
   15543      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15544      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15545      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15546      soname_spec='${libname}${release}${shared_ext}$major'
   15547      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15548      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15549      ;;
   15550    *)
   15551     shrext_cmds='.sl'
   15552     dynamic_linker="$host_os dld.sl"
   15553     shlibpath_var=SHLIB_PATH
   15554     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15555     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15556     soname_spec='${libname}${release}${shared_ext}$major'
   15557     ;;
   15558   esac
   15559   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15560   postinstall_cmds='chmod 555 $lib'
   15561   ;;
   15562 
   15563 interix[3-9]*)
   15564   version_type=linux
   15565   need_lib_prefix=no
   15566   need_version=no
   15567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15568   soname_spec='${libname}${release}${shared_ext}$major'
   15569   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15570   shlibpath_var=LD_LIBRARY_PATH
   15571   shlibpath_overrides_runpath=no
   15572   hardcode_into_libs=yes
   15573   ;;
   15574 
   15575 irix5* | irix6* | nonstopux*)
   15576   case $host_os in
   15577     nonstopux*) version_type=nonstopux ;;
   15578     *)
   15579 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15580 		version_type=linux
   15581 	else
   15582 		version_type=irix
   15583 	fi ;;
   15584   esac
   15585   need_lib_prefix=no
   15586   need_version=no
   15587   soname_spec='${libname}${release}${shared_ext}$major'
   15588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15589   case $host_os in
   15590   irix5* | nonstopux*)
   15591     libsuff= shlibsuff=
   15592     ;;
   15593   *)
   15594     case $LD in # libtool.m4 will add one of these switches to LD
   15595     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15596       libsuff= shlibsuff= libmagic=32-bit;;
   15597     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15598       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15599     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15600       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15601     *) libsuff= shlibsuff= libmagic=never-match;;
   15602     esac
   15603     ;;
   15604   esac
   15605   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15606   shlibpath_overrides_runpath=no
   15607   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15608   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15609   hardcode_into_libs=yes
   15610   ;;
   15611 
   15612 # No shared lib support for Linux oldld, aout, or coff.
   15613 linux*oldld* | linux*aout* | linux*coff*)
   15614   dynamic_linker=no
   15615   ;;
   15616 
   15617 # This must be Linux ELF.
   15618 linux* | k*bsd*-gnu)
   15619   version_type=linux
   15620   need_lib_prefix=no
   15621   need_version=no
   15622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15623   soname_spec='${libname}${release}${shared_ext}$major'
   15624   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15625   shlibpath_var=LD_LIBRARY_PATH
   15626   shlibpath_overrides_runpath=no
   15627   # This implies no fast_install, which is unacceptable.
   15628   # Some rework will be needed to allow for fast_install
   15629   # before this can be enabled.
   15630   hardcode_into_libs=yes
   15631   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15632   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15633 
   15634   # Append ld.so.conf contents to the search path
   15635   if test -f /etc/ld.so.conf; then
   15636     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   15637     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   15638   fi
   15639 
   15640   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15641   # powerpc, because MkLinux only supported shared libraries with the
   15642   # GNU dynamic linker.  Since this was broken with cross compilers,
   15643   # most powerpc-linux boxes support dynamic linking these days and
   15644   # people can always --disable-shared, the test was removed, and we
   15645   # assume the GNU/Linux dynamic linker is in use.
   15646   dynamic_linker='GNU/Linux ld.so'
   15647   ;;
   15648 
   15649 netbsd*)
   15650   version_type=sunos
   15651   need_lib_prefix=no
   15652   need_version=no
   15653   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15654     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15655     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15656     dynamic_linker='NetBSD (a.out) ld.so'
   15657   else
   15658     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15659     soname_spec='${libname}${release}${shared_ext}$major'
   15660     dynamic_linker='NetBSD ld.elf_so'
   15661   fi
   15662   shlibpath_var=LD_LIBRARY_PATH
   15663   shlibpath_overrides_runpath=yes
   15664   hardcode_into_libs=yes
   15665   ;;
   15666 
   15667 newsos6)
   15668   version_type=linux
   15669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15670   shlibpath_var=LD_LIBRARY_PATH
   15671   shlibpath_overrides_runpath=yes
   15672   ;;
   15673 
   15674 nto-qnx*)
   15675   version_type=linux
   15676   need_lib_prefix=no
   15677   need_version=no
   15678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15679   soname_spec='${libname}${release}${shared_ext}$major'
   15680   shlibpath_var=LD_LIBRARY_PATH
   15681   shlibpath_overrides_runpath=yes
   15682   ;;
   15683 
   15684 openbsd*)
   15685   version_type=sunos
   15686   sys_lib_dlsearch_path_spec="/usr/lib"
   15687   need_lib_prefix=no
   15688   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15689   case $host_os in
   15690     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15691     *)                         need_version=no  ;;
   15692   esac
   15693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15694   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15695   shlibpath_var=LD_LIBRARY_PATH
   15696   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15697     case $host_os in
   15698       openbsd2.[89] | openbsd2.[89].*)
   15699 	shlibpath_overrides_runpath=no
   15700 	;;
   15701       *)
   15702 	shlibpath_overrides_runpath=yes
   15703 	;;
   15704       esac
   15705   else
   15706     shlibpath_overrides_runpath=yes
   15707   fi
   15708   ;;
   15709 
   15710 os2*)
   15711   libname_spec='$name'
   15712   shrext_cmds=".dll"
   15713   need_lib_prefix=no
   15714   library_names_spec='$libname${shared_ext} $libname.a'
   15715   dynamic_linker='OS/2 ld.exe'
   15716   shlibpath_var=LIBPATH
   15717   ;;
   15718 
   15719 osf3* | osf4* | osf5*)
   15720   version_type=osf
   15721   need_lib_prefix=no
   15722   need_version=no
   15723   soname_spec='${libname}${release}${shared_ext}$major'
   15724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15725   shlibpath_var=LD_LIBRARY_PATH
   15726   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15727   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15728   ;;
   15729 
   15730 rdos*)
   15731   dynamic_linker=no
   15732   ;;
   15733 
   15734 solaris*)
   15735   version_type=linux
   15736   need_lib_prefix=no
   15737   need_version=no
   15738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15739   soname_spec='${libname}${release}${shared_ext}$major'
   15740   shlibpath_var=LD_LIBRARY_PATH
   15741   shlibpath_overrides_runpath=yes
   15742   hardcode_into_libs=yes
   15743   # ldd complains unless libraries are executable
   15744   postinstall_cmds='chmod +x $lib'
   15745   ;;
   15746 
   15747 sunos4*)
   15748   version_type=sunos
   15749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15750   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15751   shlibpath_var=LD_LIBRARY_PATH
   15752   shlibpath_overrides_runpath=yes
   15753   if test "$with_gnu_ld" = yes; then
   15754     need_lib_prefix=no
   15755   fi
   15756   need_version=yes
   15757   ;;
   15758 
   15759 sysv4 | sysv4.3*)
   15760   version_type=linux
   15761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15762   soname_spec='${libname}${release}${shared_ext}$major'
   15763   shlibpath_var=LD_LIBRARY_PATH
   15764   case $host_vendor in
   15765     sni)
   15766       shlibpath_overrides_runpath=no
   15767       need_lib_prefix=no
   15768       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15769       runpath_var=LD_RUN_PATH
   15770       ;;
   15771     siemens)
   15772       need_lib_prefix=no
   15773       ;;
   15774     motorola)
   15775       need_lib_prefix=no
   15776       need_version=no
   15777       shlibpath_overrides_runpath=no
   15778       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15779       ;;
   15780   esac
   15781   ;;
   15782 
   15783 sysv4*MP*)
   15784   if test -d /usr/nec ;then
   15785     version_type=linux
   15786     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15787     soname_spec='$libname${shared_ext}.$major'
   15788     shlibpath_var=LD_LIBRARY_PATH
   15789   fi
   15790   ;;
   15791 
   15792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15793   version_type=freebsd-elf
   15794   need_lib_prefix=no
   15795   need_version=no
   15796   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15797   soname_spec='${libname}${release}${shared_ext}$major'
   15798   shlibpath_var=LD_LIBRARY_PATH
   15799   hardcode_into_libs=yes
   15800   if test "$with_gnu_ld" = yes; then
   15801     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15802     shlibpath_overrides_runpath=no
   15803   else
   15804     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15805     shlibpath_overrides_runpath=yes
   15806     case $host_os in
   15807       sco3.2v5*)
   15808         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15809 	;;
   15810     esac
   15811   fi
   15812   sys_lib_dlsearch_path_spec='/usr/lib'
   15813   ;;
   15814 
   15815 uts4*)
   15816   version_type=linux
   15817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15818   soname_spec='${libname}${release}${shared_ext}$major'
   15819   shlibpath_var=LD_LIBRARY_PATH
   15820   ;;
   15821 
   15822 *)
   15823   dynamic_linker=no
   15824   ;;
   15825 esac
   15826 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15827 echo "${ECHO_T}$dynamic_linker" >&6; }
   15828 test "$dynamic_linker" = no && can_build_shared=no
   15829 
   15830 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15831 if test "$GCC" = yes; then
   15832   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15833 fi
   15834 
   15835 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15836 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15837 hardcode_action_F77=
   15838 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15839    test -n "$runpath_var_F77" || \
   15840    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15841 
   15842   # We can hardcode non-existant directories.
   15843   if test "$hardcode_direct_F77" != no &&
   15844      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15845      # have to relink, otherwise we might link with an installed library
   15846      # when we should be linking with a yet-to-be-installed one
   15847      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15848      test "$hardcode_minus_L_F77" != no; then
   15849     # Linking always hardcodes the temporary library directory.
   15850     hardcode_action_F77=relink
   15851   else
   15852     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15853     hardcode_action_F77=immediate
   15854   fi
   15855 else
   15856   # We cannot hardcode anything, or else we can only hardcode existing
   15857   # directories.
   15858   hardcode_action_F77=unsupported
   15859 fi
   15860 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15861 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15862 
   15863 if test "$hardcode_action_F77" = relink; then
   15864   # Fast installation is not supported
   15865   enable_fast_install=no
   15866 elif test "$shlibpath_overrides_runpath" = yes ||
   15867      test "$enable_shared" = no; then
   15868   # Fast installation is not necessary
   15869   enable_fast_install=needless
   15870 fi
   15871 
   15872 
   15873 # The else clause should only fire when bootstrapping the
   15874 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15875 # with your package, and you will get complaints that there are
   15876 # no rules to generate ltmain.sh.
   15877 if test -f "$ltmain"; then
   15878   # See if we are running on zsh, and set the options which allow our commands through
   15879   # without removal of \ escapes.
   15880   if test -n "${ZSH_VERSION+set}" ; then
   15881     setopt NO_GLOB_SUBST
   15882   fi
   15883   # Now quote all the things that may contain metacharacters while being
   15884   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15885   # variables and quote the copies for generation of the libtool script.
   15886   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15887     SED SHELL STRIP \
   15888     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15889     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15890     deplibs_check_method reload_flag reload_cmds need_locks \
   15891     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15892     lt_cv_sys_global_symbol_to_c_name_address \
   15893     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15894     old_postinstall_cmds old_postuninstall_cmds \
   15895     compiler_F77 \
   15896     CC_F77 \
   15897     LD_F77 \
   15898     lt_prog_compiler_wl_F77 \
   15899     lt_prog_compiler_pic_F77 \
   15900     lt_prog_compiler_static_F77 \
   15901     lt_prog_compiler_no_builtin_flag_F77 \
   15902     export_dynamic_flag_spec_F77 \
   15903     thread_safe_flag_spec_F77 \
   15904     whole_archive_flag_spec_F77 \
   15905     enable_shared_with_static_runtimes_F77 \
   15906     old_archive_cmds_F77 \
   15907     old_archive_from_new_cmds_F77 \
   15908     predep_objects_F77 \
   15909     postdep_objects_F77 \
   15910     predeps_F77 \
   15911     postdeps_F77 \
   15912     compiler_lib_search_path_F77 \
   15913     archive_cmds_F77 \
   15914     archive_expsym_cmds_F77 \
   15915     postinstall_cmds_F77 \
   15916     postuninstall_cmds_F77 \
   15917     old_archive_from_expsyms_cmds_F77 \
   15918     allow_undefined_flag_F77 \
   15919     no_undefined_flag_F77 \
   15920     export_symbols_cmds_F77 \
   15921     hardcode_libdir_flag_spec_F77 \
   15922     hardcode_libdir_flag_spec_ld_F77 \
   15923     hardcode_libdir_separator_F77 \
   15924     hardcode_automatic_F77 \
   15925     module_cmds_F77 \
   15926     module_expsym_cmds_F77 \
   15927     lt_cv_prog_compiler_c_o_F77 \
   15928     fix_srcfile_path_F77 \
   15929     exclude_expsyms_F77 \
   15930     include_expsyms_F77; do
   15931 
   15932     case $var in
   15933     old_archive_cmds_F77 | \
   15934     old_archive_from_new_cmds_F77 | \
   15935     archive_cmds_F77 | \
   15936     archive_expsym_cmds_F77 | \
   15937     module_cmds_F77 | \
   15938     module_expsym_cmds_F77 | \
   15939     old_archive_from_expsyms_cmds_F77 | \
   15940     export_symbols_cmds_F77 | \
   15941     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15942     postinstall_cmds | postuninstall_cmds | \
   15943     old_postinstall_cmds | old_postuninstall_cmds | \
   15944     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15945       # Double-quote double-evaled strings.
   15946       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15947       ;;
   15948     *)
   15949       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15950       ;;
   15951     esac
   15952   done
   15953 
   15954   case $lt_echo in
   15955   *'\$0 --fallback-echo"')
   15956     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15957     ;;
   15958   esac
   15959 
   15960 cfgfile="$ofile"
   15961 
   15962   cat <<__EOF__ >> "$cfgfile"
   15963 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15964 
   15965 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15966 
   15967 # Shell to use when invoking shell scripts.
   15968 SHELL=$lt_SHELL
   15969 
   15970 # Whether or not to build shared libraries.
   15971 build_libtool_libs=$enable_shared
   15972 
   15973 # Whether or not to build static libraries.
   15974 build_old_libs=$enable_static
   15975 
   15976 # Whether or not to add -lc for building shared libraries.
   15977 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15978 
   15979 # Whether or not to disallow shared libs when runtime libs are static
   15980 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15981 
   15982 # Whether or not to optimize for fast installation.
   15983 fast_install=$enable_fast_install
   15984 
   15985 # The host system.
   15986 host_alias=$host_alias
   15987 host=$host
   15988 host_os=$host_os
   15989 
   15990 # The build system.
   15991 build_alias=$build_alias
   15992 build=$build
   15993 build_os=$build_os
   15994 
   15995 # An echo program that does not interpret backslashes.
   15996 echo=$lt_echo
   15997 
   15998 # The archiver.
   15999 AR=$lt_AR
   16000 AR_FLAGS=$lt_AR_FLAGS
   16001 
   16002 # A C compiler.
   16003 LTCC=$lt_LTCC
   16004 
   16005 # LTCC compiler flags.
   16006 LTCFLAGS=$lt_LTCFLAGS
   16007 
   16008 # A language-specific compiler.
   16009 CC=$lt_compiler_F77
   16010 
   16011 # Is the compiler the GNU C compiler?
   16012 with_gcc=$GCC_F77
   16013 
   16014 # An ERE matcher.
   16015 EGREP=$lt_EGREP
   16016 
   16017 # The linker used to build libraries.
   16018 LD=$lt_LD_F77
   16019 
   16020 # Whether we need hard or soft links.
   16021 LN_S=$lt_LN_S
   16022 
   16023 # A BSD-compatible nm program.
   16024 NM=$lt_NM
   16025 
   16026 # A symbol stripping program
   16027 STRIP=$lt_STRIP
   16028 
   16029 # Used to examine libraries when file_magic_cmd begins "file"
   16030 MAGIC_CMD=$MAGIC_CMD
   16031 
   16032 # Used on cygwin: DLL creation program.
   16033 DLLTOOL="$DLLTOOL"
   16034 
   16035 # Used on cygwin: object dumper.
   16036 OBJDUMP="$OBJDUMP"
   16037 
   16038 # Used on cygwin: assembler.
   16039 AS="$AS"
   16040 
   16041 # The name of the directory that contains temporary libtool files.
   16042 objdir=$objdir
   16043 
   16044 # How to create reloadable object files.
   16045 reload_flag=$lt_reload_flag
   16046 reload_cmds=$lt_reload_cmds
   16047 
   16048 # How to pass a linker flag through the compiler.
   16049 wl=$lt_lt_prog_compiler_wl_F77
   16050 
   16051 # Object file suffix (normally "o").
   16052 objext="$ac_objext"
   16053 
   16054 # Old archive suffix (normally "a").
   16055 libext="$libext"
   16056 
   16057 # Shared library suffix (normally ".so").
   16058 shrext_cmds='$shrext_cmds'
   16059 
   16060 # Executable file suffix (normally "").
   16061 exeext="$exeext"
   16062 
   16063 # Additional compiler flags for building library objects.
   16064 pic_flag=$lt_lt_prog_compiler_pic_F77
   16065 pic_mode=$pic_mode
   16066 
   16067 # What is the maximum length of a command?
   16068 max_cmd_len=$lt_cv_sys_max_cmd_len
   16069 
   16070 # Does compiler simultaneously support -c and -o options?
   16071 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16072 
   16073 # Must we lock files when doing compilation?
   16074 need_locks=$lt_need_locks
   16075 
   16076 # Do we need the lib prefix for modules?
   16077 need_lib_prefix=$need_lib_prefix
   16078 
   16079 # Do we need a version for libraries?
   16080 need_version=$need_version
   16081 
   16082 # Whether dlopen is supported.
   16083 dlopen_support=$enable_dlopen
   16084 
   16085 # Whether dlopen of programs is supported.
   16086 dlopen_self=$enable_dlopen_self
   16087 
   16088 # Whether dlopen of statically linked programs is supported.
   16089 dlopen_self_static=$enable_dlopen_self_static
   16090 
   16091 # Compiler flag to prevent dynamic linking.
   16092 link_static_flag=$lt_lt_prog_compiler_static_F77
   16093 
   16094 # Compiler flag to turn off builtin functions.
   16095 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16096 
   16097 # Compiler flag to allow reflexive dlopens.
   16098 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16099 
   16100 # Compiler flag to generate shared objects directly from archives.
   16101 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16102 
   16103 # Compiler flag to generate thread-safe objects.
   16104 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16105 
   16106 # Library versioning type.
   16107 version_type=$version_type
   16108 
   16109 # Format of library name prefix.
   16110 libname_spec=$lt_libname_spec
   16111 
   16112 # List of archive names.  First name is the real one, the rest are links.
   16113 # The last name is the one that the linker finds with -lNAME.
   16114 library_names_spec=$lt_library_names_spec
   16115 
   16116 # The coded name of the library, if different from the real name.
   16117 soname_spec=$lt_soname_spec
   16118 
   16119 # Commands used to build and install an old-style archive.
   16120 RANLIB=$lt_RANLIB
   16121 old_archive_cmds=$lt_old_archive_cmds_F77
   16122 old_postinstall_cmds=$lt_old_postinstall_cmds
   16123 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16124 
   16125 # Create an old-style archive from a shared archive.
   16126 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16127 
   16128 # Create a temporary old-style archive to link instead of a shared archive.
   16129 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16130 
   16131 # Commands used to build and install a shared archive.
   16132 archive_cmds=$lt_archive_cmds_F77
   16133 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16134 postinstall_cmds=$lt_postinstall_cmds
   16135 postuninstall_cmds=$lt_postuninstall_cmds
   16136 
   16137 # Commands used to build a loadable module (assumed same as above if empty)
   16138 module_cmds=$lt_module_cmds_F77
   16139 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16140 
   16141 # Commands to strip libraries.
   16142 old_striplib=$lt_old_striplib
   16143 striplib=$lt_striplib
   16144 
   16145 # Dependencies to place before the objects being linked to create a
   16146 # shared library.
   16147 predep_objects=$lt_predep_objects_F77
   16148 
   16149 # Dependencies to place after the objects being linked to create a
   16150 # shared library.
   16151 postdep_objects=$lt_postdep_objects_F77
   16152 
   16153 # Dependencies to place before the objects being linked to create a
   16154 # shared library.
   16155 predeps=$lt_predeps_F77
   16156 
   16157 # Dependencies to place after the objects being linked to create a
   16158 # shared library.
   16159 postdeps=$lt_postdeps_F77
   16160 
   16161 # The library search path used internally by the compiler when linking
   16162 # a shared library.
   16163 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16164 
   16165 # Method to check whether dependent libraries are shared objects.
   16166 deplibs_check_method=$lt_deplibs_check_method
   16167 
   16168 # Command to use when deplibs_check_method == file_magic.
   16169 file_magic_cmd=$lt_file_magic_cmd
   16170 
   16171 # Flag that allows shared libraries with undefined symbols to be built.
   16172 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16173 
   16174 # Flag that forces no undefined symbols.
   16175 no_undefined_flag=$lt_no_undefined_flag_F77
   16176 
   16177 # Commands used to finish a libtool library installation in a directory.
   16178 finish_cmds=$lt_finish_cmds
   16179 
   16180 # Same as above, but a single script fragment to be evaled but not shown.
   16181 finish_eval=$lt_finish_eval
   16182 
   16183 # Take the output of nm and produce a listing of raw symbols and C names.
   16184 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16185 
   16186 # Transform the output of nm in a proper C declaration
   16187 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16188 
   16189 # Transform the output of nm in a C name address pair
   16190 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16191 
   16192 # This is the shared library runtime path variable.
   16193 runpath_var=$runpath_var
   16194 
   16195 # This is the shared library path variable.
   16196 shlibpath_var=$shlibpath_var
   16197 
   16198 # Is shlibpath searched before the hard-coded library search path?
   16199 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16200 
   16201 # How to hardcode a shared library path into an executable.
   16202 hardcode_action=$hardcode_action_F77
   16203 
   16204 # Whether we should hardcode library paths into libraries.
   16205 hardcode_into_libs=$hardcode_into_libs
   16206 
   16207 # Flag to hardcode \$libdir into a binary during linking.
   16208 # This must work even if \$libdir does not exist.
   16209 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16210 
   16211 # If ld is used when linking, flag to hardcode \$libdir into
   16212 # a binary during linking. This must work even if \$libdir does
   16213 # not exist.
   16214 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16215 
   16216 # Whether we need a single -rpath flag with a separated argument.
   16217 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16218 
   16219 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16220 # resulting binary.
   16221 hardcode_direct=$hardcode_direct_F77
   16222 
   16223 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16224 # resulting binary.
   16225 hardcode_minus_L=$hardcode_minus_L_F77
   16226 
   16227 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16228 # the resulting binary.
   16229 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16230 
   16231 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16232 # and all subsequent libraries and executables linked against it.
   16233 hardcode_automatic=$hardcode_automatic_F77
   16234 
   16235 # Variables whose values should be saved in libtool wrapper scripts and
   16236 # restored at relink time.
   16237 variables_saved_for_relink="$variables_saved_for_relink"
   16238 
   16239 # Whether libtool must link a program against all its dependency libraries.
   16240 link_all_deplibs=$link_all_deplibs_F77
   16241 
   16242 # Compile-time system search path for libraries
   16243 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16244 
   16245 # Run-time system search path for libraries
   16246 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16247 
   16248 # Fix the shell variable \$srcfile for the compiler.
   16249 fix_srcfile_path=$lt_fix_srcfile_path
   16250 
   16251 # Set to yes if exported symbols are required.
   16252 always_export_symbols=$always_export_symbols_F77
   16253 
   16254 # The commands to list exported symbols.
   16255 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16256 
   16257 # The commands to extract the exported symbol list from a shared archive.
   16258 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16259 
   16260 # Symbols that should not be listed in the preloaded symbols.
   16261 exclude_expsyms=$lt_exclude_expsyms_F77
   16262 
   16263 # Symbols that must always be exported.
   16264 include_expsyms=$lt_include_expsyms_F77
   16265 
   16266 # ### END LIBTOOL TAG CONFIG: $tagname
   16267 
   16268 __EOF__
   16269 
   16270 
   16271 else
   16272   # If there is no Makefile yet, we rely on a make rule to execute
   16273   # `config.status --recheck' to rerun these tests and create the
   16274   # libtool script then.
   16275   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16276   if test -f "$ltmain_in"; then
   16277     test -f Makefile && make "$ltmain"
   16278   fi
   16279 fi
   16280 
   16281 
   16282 ac_ext=c
   16283 ac_cpp='$CPP $CPPFLAGS'
   16284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16287 
   16288 CC="$lt_save_CC"
   16289 
   16290 	else
   16291 	  tagname=""
   16292 	fi
   16293 	;;
   16294 
   16295       GCJ)
   16296 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16297 
   16298 
   16299 # Source file extension for Java test sources.
   16300 ac_ext=java
   16301 
   16302 # Object file extension for compiled Java test sources.
   16303 objext=o
   16304 objext_GCJ=$objext
   16305 
   16306 # Code to be used in simple compile tests
   16307 lt_simple_compile_test_code="class foo {}"
   16308 
   16309 # Code to be used in simple link tests
   16310 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16311 
   16312 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16313 
   16314 # If no C compiler was specified, use CC.
   16315 LTCC=${LTCC-"$CC"}
   16316 
   16317 # If no C compiler flags were specified, use CFLAGS.
   16318 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16319 
   16320 # Allow CC to be a program name with arguments.
   16321 compiler=$CC
   16322 
   16323 
   16324 # save warnings/boilerplate of simple test code
   16325 ac_outfile=conftest.$ac_objext
   16326 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16327 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16328 _lt_compiler_boilerplate=`cat conftest.err`
   16329 $rm conftest*
   16330 
   16331 ac_outfile=conftest.$ac_objext
   16332 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16333 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16334 _lt_linker_boilerplate=`cat conftest.err`
   16335 $rm conftest*
   16336 
   16337 
   16338 # Allow CC to be a program name with arguments.
   16339 lt_save_CC="$CC"
   16340 CC=${GCJ-"gcj"}
   16341 compiler=$CC
   16342 compiler_GCJ=$CC
   16343 for cc_temp in $compiler""; do
   16344   case $cc_temp in
   16345     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16346     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16347     \-*) ;;
   16348     *) break;;
   16349   esac
   16350 done
   16351 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16352 
   16353 
   16354 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16355 archive_cmds_need_lc_GCJ=no
   16356 
   16357 old_archive_cmds_GCJ=$old_archive_cmds
   16358 
   16359 
   16360 lt_prog_compiler_no_builtin_flag_GCJ=
   16361 
   16362 if test "$GCC" = yes; then
   16363   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16364 
   16365 
   16366 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16367 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16368 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16369   echo $ECHO_N "(cached) $ECHO_C" >&6
   16370 else
   16371   lt_cv_prog_compiler_rtti_exceptions=no
   16372   ac_outfile=conftest.$ac_objext
   16373    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16374    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16375    # Insert the option either (1) after the last *FLAGS variable, or
   16376    # (2) before a word containing "conftest.", or (3) at the end.
   16377    # Note that $ac_compile itself does not contain backslashes and begins
   16378    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16379    # The option is referenced via a variable to avoid confusing sed.
   16380    lt_compile=`echo "$ac_compile" | $SED \
   16381    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16382    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16383    -e 's:$: $lt_compiler_flag:'`
   16384    (eval echo "\"\$as_me:16384: $lt_compile\"" >&5)
   16385    (eval "$lt_compile" 2>conftest.err)
   16386    ac_status=$?
   16387    cat conftest.err >&5
   16388    echo "$as_me:16388: \$? = $ac_status" >&5
   16389    if (exit $ac_status) && test -s "$ac_outfile"; then
   16390      # The compiler can only warn and ignore the option if not recognized
   16391      # So say no if there are warnings other than the usual output.
   16392      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16393      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16394      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16395        lt_cv_prog_compiler_rtti_exceptions=yes
   16396      fi
   16397    fi
   16398    $rm conftest*
   16399 
   16400 fi
   16401 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16402 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16403 
   16404 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16405     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16406 else
   16407     :
   16408 fi
   16409 
   16410 fi
   16411 
   16412 lt_prog_compiler_wl_GCJ=
   16413 lt_prog_compiler_pic_GCJ=
   16414 lt_prog_compiler_static_GCJ=
   16415 
   16416 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16417 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16418 
   16419   if test "$GCC" = yes; then
   16420     lt_prog_compiler_wl_GCJ='-Wl,'
   16421     lt_prog_compiler_static_GCJ='-static'
   16422 
   16423     case $host_os in
   16424       aix*)
   16425       # All AIX code is PIC.
   16426       if test "$host_cpu" = ia64; then
   16427 	# AIX 5 now supports IA64 processor
   16428 	lt_prog_compiler_static_GCJ='-Bstatic'
   16429       fi
   16430       ;;
   16431 
   16432     amigaos*)
   16433       # FIXME: we need at least 68020 code to build shared libraries, but
   16434       # adding the `-m68020' flag to GCC prevents building anything better,
   16435       # like `-m68040'.
   16436       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16437       ;;
   16438 
   16439     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16440       # PIC is the default for these OSes.
   16441       ;;
   16442 
   16443     mingw* | cygwin* | pw32* | os2*)
   16444       # This hack is so that the source file can tell whether it is being
   16445       # built for inclusion in a dll (and should export symbols for example).
   16446       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16447       # (--disable-auto-import) libraries
   16448       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16449       ;;
   16450 
   16451     darwin* | rhapsody*)
   16452       # PIC is the default on this platform
   16453       # Common symbols not allowed in MH_DYLIB files
   16454       lt_prog_compiler_pic_GCJ='-fno-common'
   16455       ;;
   16456 
   16457     interix[3-9]*)
   16458       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16459       # Instead, we relocate shared libraries at runtime.
   16460       ;;
   16461 
   16462     msdosdjgpp*)
   16463       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16464       # on systems that don't support them.
   16465       lt_prog_compiler_can_build_shared_GCJ=no
   16466       enable_shared=no
   16467       ;;
   16468 
   16469     sysv4*MP*)
   16470       if test -d /usr/nec; then
   16471 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16472       fi
   16473       ;;
   16474 
   16475     hpux*)
   16476       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16477       # not for PA HP-UX.
   16478       case $host_cpu in
   16479       hppa*64*|ia64*)
   16480 	# +Z the default
   16481 	;;
   16482       *)
   16483 	lt_prog_compiler_pic_GCJ='-fPIC'
   16484 	;;
   16485       esac
   16486       ;;
   16487 
   16488     *)
   16489       lt_prog_compiler_pic_GCJ='-fPIC'
   16490       ;;
   16491     esac
   16492   else
   16493     # PORTME Check for flag to pass linker flags through the system compiler.
   16494     case $host_os in
   16495     aix*)
   16496       lt_prog_compiler_wl_GCJ='-Wl,'
   16497       if test "$host_cpu" = ia64; then
   16498 	# AIX 5 now supports IA64 processor
   16499 	lt_prog_compiler_static_GCJ='-Bstatic'
   16500       else
   16501 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16502       fi
   16503       ;;
   16504       darwin*)
   16505         # PIC is the default on this platform
   16506         # Common symbols not allowed in MH_DYLIB files
   16507        case $cc_basename in
   16508          xlc*)
   16509          lt_prog_compiler_pic_GCJ='-qnocommon'
   16510          lt_prog_compiler_wl_GCJ='-Wl,'
   16511          ;;
   16512        esac
   16513        ;;
   16514 
   16515     mingw* | cygwin* | pw32* | os2*)
   16516       # This hack is so that the source file can tell whether it is being
   16517       # built for inclusion in a dll (and should export symbols for example).
   16518       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16519       ;;
   16520 
   16521     hpux9* | hpux10* | hpux11*)
   16522       lt_prog_compiler_wl_GCJ='-Wl,'
   16523       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16524       # not for PA HP-UX.
   16525       case $host_cpu in
   16526       hppa*64*|ia64*)
   16527 	# +Z the default
   16528 	;;
   16529       *)
   16530 	lt_prog_compiler_pic_GCJ='+Z'
   16531 	;;
   16532       esac
   16533       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16534       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16535       ;;
   16536 
   16537     irix5* | irix6* | nonstopux*)
   16538       lt_prog_compiler_wl_GCJ='-Wl,'
   16539       # PIC (with -KPIC) is the default.
   16540       lt_prog_compiler_static_GCJ='-non_shared'
   16541       ;;
   16542 
   16543     newsos6)
   16544       lt_prog_compiler_pic_GCJ='-KPIC'
   16545       lt_prog_compiler_static_GCJ='-Bstatic'
   16546       ;;
   16547 
   16548     linux* | k*bsd*-gnu)
   16549       case $cc_basename in
   16550       icc* | ecc*)
   16551 	lt_prog_compiler_wl_GCJ='-Wl,'
   16552 	lt_prog_compiler_pic_GCJ='-KPIC'
   16553 	lt_prog_compiler_static_GCJ='-static'
   16554         ;;
   16555       pgcc* | pgf77* | pgf90* | pgf95*)
   16556         # Portland Group compilers (*not* the Pentium gcc compiler,
   16557 	# which looks to be a dead project)
   16558 	lt_prog_compiler_wl_GCJ='-Wl,'
   16559 	lt_prog_compiler_pic_GCJ='-fpic'
   16560 	lt_prog_compiler_static_GCJ='-Bstatic'
   16561         ;;
   16562       ccc*)
   16563         lt_prog_compiler_wl_GCJ='-Wl,'
   16564         # All Alpha code is PIC.
   16565         lt_prog_compiler_static_GCJ='-non_shared'
   16566         ;;
   16567       *)
   16568         case `$CC -V 2>&1 | sed 5q` in
   16569 	*Sun\ C*)
   16570 	  # Sun C 5.9
   16571 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16572 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16573 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16574 	  ;;
   16575 	*Sun\ F*)
   16576 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16577 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16578 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16579 	  lt_prog_compiler_wl_GCJ=''
   16580 	  ;;
   16581 	esac
   16582 	;;
   16583       esac
   16584       ;;
   16585 
   16586     osf3* | osf4* | osf5*)
   16587       lt_prog_compiler_wl_GCJ='-Wl,'
   16588       # All OSF/1 code is PIC.
   16589       lt_prog_compiler_static_GCJ='-non_shared'
   16590       ;;
   16591 
   16592     rdos*)
   16593       lt_prog_compiler_static_GCJ='-non_shared'
   16594       ;;
   16595 
   16596     solaris*)
   16597       lt_prog_compiler_pic_GCJ='-KPIC'
   16598       lt_prog_compiler_static_GCJ='-Bstatic'
   16599       case $cc_basename in
   16600       f77* | f90* | f95*)
   16601 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16602       *)
   16603 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16604       esac
   16605       ;;
   16606 
   16607     sunos4*)
   16608       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16609       lt_prog_compiler_pic_GCJ='-PIC'
   16610       lt_prog_compiler_static_GCJ='-Bstatic'
   16611       ;;
   16612 
   16613     sysv4 | sysv4.2uw2* | sysv4.3*)
   16614       lt_prog_compiler_wl_GCJ='-Wl,'
   16615       lt_prog_compiler_pic_GCJ='-KPIC'
   16616       lt_prog_compiler_static_GCJ='-Bstatic'
   16617       ;;
   16618 
   16619     sysv4*MP*)
   16620       if test -d /usr/nec ;then
   16621 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16622 	lt_prog_compiler_static_GCJ='-Bstatic'
   16623       fi
   16624       ;;
   16625 
   16626     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16627       lt_prog_compiler_wl_GCJ='-Wl,'
   16628       lt_prog_compiler_pic_GCJ='-KPIC'
   16629       lt_prog_compiler_static_GCJ='-Bstatic'
   16630       ;;
   16631 
   16632     unicos*)
   16633       lt_prog_compiler_wl_GCJ='-Wl,'
   16634       lt_prog_compiler_can_build_shared_GCJ=no
   16635       ;;
   16636 
   16637     uts4*)
   16638       lt_prog_compiler_pic_GCJ='-pic'
   16639       lt_prog_compiler_static_GCJ='-Bstatic'
   16640       ;;
   16641 
   16642     *)
   16643       lt_prog_compiler_can_build_shared_GCJ=no
   16644       ;;
   16645     esac
   16646   fi
   16647 
   16648 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16649 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16650 
   16651 #
   16652 # Check to make sure the PIC flag actually works.
   16653 #
   16654 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16655 
   16656 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16657 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16658 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16659   echo $ECHO_N "(cached) $ECHO_C" >&6
   16660 else
   16661   lt_prog_compiler_pic_works_GCJ=no
   16662   ac_outfile=conftest.$ac_objext
   16663    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16664    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16665    # Insert the option either (1) after the last *FLAGS variable, or
   16666    # (2) before a word containing "conftest.", or (3) at the end.
   16667    # Note that $ac_compile itself does not contain backslashes and begins
   16668    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16669    # The option is referenced via a variable to avoid confusing sed.
   16670    lt_compile=`echo "$ac_compile" | $SED \
   16671    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16672    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16673    -e 's:$: $lt_compiler_flag:'`
   16674    (eval echo "\"\$as_me:16674: $lt_compile\"" >&5)
   16675    (eval "$lt_compile" 2>conftest.err)
   16676    ac_status=$?
   16677    cat conftest.err >&5
   16678    echo "$as_me:16678: \$? = $ac_status" >&5
   16679    if (exit $ac_status) && test -s "$ac_outfile"; then
   16680      # The compiler can only warn and ignore the option if not recognized
   16681      # So say no if there are warnings other than the usual output.
   16682      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16683      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16684      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16685        lt_prog_compiler_pic_works_GCJ=yes
   16686      fi
   16687    fi
   16688    $rm conftest*
   16689 
   16690 fi
   16691 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16692 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16693 
   16694 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16695     case $lt_prog_compiler_pic_GCJ in
   16696      "" | " "*) ;;
   16697      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16698      esac
   16699 else
   16700     lt_prog_compiler_pic_GCJ=
   16701      lt_prog_compiler_can_build_shared_GCJ=no
   16702 fi
   16703 
   16704 fi
   16705 case $host_os in
   16706   # For platforms which do not support PIC, -DPIC is meaningless:
   16707   *djgpp*)
   16708     lt_prog_compiler_pic_GCJ=
   16709     ;;
   16710   *)
   16711     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16712     ;;
   16713 esac
   16714 
   16715 #
   16716 # Check to make sure the static flag actually works.
   16717 #
   16718 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16719 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16720 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16721 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16722   echo $ECHO_N "(cached) $ECHO_C" >&6
   16723 else
   16724   lt_prog_compiler_static_works_GCJ=no
   16725    save_LDFLAGS="$LDFLAGS"
   16726    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16727    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16728    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16729      # The linker can only warn and ignore the option if not recognized
   16730      # So say no if there are warnings
   16731      if test -s conftest.err; then
   16732        # Append any errors to the config.log.
   16733        cat conftest.err 1>&5
   16734        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16735        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16736        if diff conftest.exp conftest.er2 >/dev/null; then
   16737          lt_prog_compiler_static_works_GCJ=yes
   16738        fi
   16739      else
   16740        lt_prog_compiler_static_works_GCJ=yes
   16741      fi
   16742    fi
   16743    $rm conftest*
   16744    LDFLAGS="$save_LDFLAGS"
   16745 
   16746 fi
   16747 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16748 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16749 
   16750 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16751     :
   16752 else
   16753     lt_prog_compiler_static_GCJ=
   16754 fi
   16755 
   16756 
   16757 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16758 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16759 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16760   echo $ECHO_N "(cached) $ECHO_C" >&6
   16761 else
   16762   lt_cv_prog_compiler_c_o_GCJ=no
   16763    $rm -r conftest 2>/dev/null
   16764    mkdir conftest
   16765    cd conftest
   16766    mkdir out
   16767    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16768 
   16769    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16770    # Insert the option either (1) after the last *FLAGS variable, or
   16771    # (2) before a word containing "conftest.", or (3) at the end.
   16772    # Note that $ac_compile itself does not contain backslashes and begins
   16773    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16774    lt_compile=`echo "$ac_compile" | $SED \
   16775    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16776    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16777    -e 's:$: $lt_compiler_flag:'`
   16778    (eval echo "\"\$as_me:16778: $lt_compile\"" >&5)
   16779    (eval "$lt_compile" 2>out/conftest.err)
   16780    ac_status=$?
   16781    cat out/conftest.err >&5
   16782    echo "$as_me:16782: \$? = $ac_status" >&5
   16783    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16784    then
   16785      # The compiler can only warn and ignore the option if not recognized
   16786      # So say no if there are warnings
   16787      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16788      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16789      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16790        lt_cv_prog_compiler_c_o_GCJ=yes
   16791      fi
   16792    fi
   16793    chmod u+w . 2>&5
   16794    $rm conftest*
   16795    # SGI C++ compiler will create directory out/ii_files/ for
   16796    # template instantiation
   16797    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16798    $rm out/* && rmdir out
   16799    cd ..
   16800    rmdir conftest
   16801    $rm conftest*
   16802 
   16803 fi
   16804 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16805 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16806 
   16807 
   16808 hard_links="nottested"
   16809 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16810   # do not overwrite the value of need_locks provided by the user
   16811   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16812 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16813   hard_links=yes
   16814   $rm conftest*
   16815   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16816   touch conftest.a
   16817   ln conftest.a conftest.b 2>&5 || hard_links=no
   16818   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16819   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16820 echo "${ECHO_T}$hard_links" >&6; }
   16821   if test "$hard_links" = no; then
   16822     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16823 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16824     need_locks=warn
   16825   fi
   16826 else
   16827   need_locks=no
   16828 fi
   16829 
   16830 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16831 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16832 
   16833   runpath_var=
   16834   allow_undefined_flag_GCJ=
   16835   enable_shared_with_static_runtimes_GCJ=no
   16836   archive_cmds_GCJ=
   16837   archive_expsym_cmds_GCJ=
   16838   old_archive_From_new_cmds_GCJ=
   16839   old_archive_from_expsyms_cmds_GCJ=
   16840   export_dynamic_flag_spec_GCJ=
   16841   whole_archive_flag_spec_GCJ=
   16842   thread_safe_flag_spec_GCJ=
   16843   hardcode_libdir_flag_spec_GCJ=
   16844   hardcode_libdir_flag_spec_ld_GCJ=
   16845   hardcode_libdir_separator_GCJ=
   16846   hardcode_direct_GCJ=no
   16847   hardcode_minus_L_GCJ=no
   16848   hardcode_shlibpath_var_GCJ=unsupported
   16849   link_all_deplibs_GCJ=unknown
   16850   hardcode_automatic_GCJ=no
   16851   module_cmds_GCJ=
   16852   module_expsym_cmds_GCJ=
   16853   always_export_symbols_GCJ=no
   16854   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16855   # include_expsyms should be a list of space-separated symbols to be *always*
   16856   # included in the symbol list
   16857   include_expsyms_GCJ=
   16858   # exclude_expsyms can be an extended regexp of symbols to exclude
   16859   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16860   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16861   # as well as any symbol that contains `d'.
   16862   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16863   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16864   # platforms (ab)use it in PIC code, but their linkers get confused if
   16865   # the symbol is explicitly referenced.  Since portable code cannot
   16866   # rely on this symbol name, it's probably fine to never include it in
   16867   # preloaded symbol tables.
   16868   extract_expsyms_cmds=
   16869   # Just being paranoid about ensuring that cc_basename is set.
   16870   for cc_temp in $compiler""; do
   16871   case $cc_temp in
   16872     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16873     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16874     \-*) ;;
   16875     *) break;;
   16876   esac
   16877 done
   16878 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16879 
   16880   case $host_os in
   16881   cygwin* | mingw* | pw32*)
   16882     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16883     # When not using gcc, we currently assume that we are using
   16884     # Microsoft Visual C++.
   16885     if test "$GCC" != yes; then
   16886       with_gnu_ld=no
   16887     fi
   16888     ;;
   16889   interix*)
   16890     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16891     with_gnu_ld=yes
   16892     ;;
   16893   openbsd*)
   16894     with_gnu_ld=no
   16895     ;;
   16896   esac
   16897 
   16898   ld_shlibs_GCJ=yes
   16899   if test "$with_gnu_ld" = yes; then
   16900     # If archive_cmds runs LD, not CC, wlarc should be empty
   16901     wlarc='${wl}'
   16902 
   16903     # Set some defaults for GNU ld with shared library support. These
   16904     # are reset later if shared libraries are not supported. Putting them
   16905     # here allows them to be overridden if necessary.
   16906     runpath_var=LD_RUN_PATH
   16907     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16908     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16909     # ancient GNU ld didn't support --whole-archive et. al.
   16910     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16911 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16912       else
   16913   	whole_archive_flag_spec_GCJ=
   16914     fi
   16915     supports_anon_versioning=no
   16916     case `$LD -v 2>/dev/null` in
   16917       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16918       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16919       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16920       *\ 2.11.*) ;; # other 2.11 versions
   16921       *) supports_anon_versioning=yes ;;
   16922     esac
   16923 
   16924     # See if GNU ld supports shared libraries.
   16925     case $host_os in
   16926     aix3* | aix4* | aix5*)
   16927       # On AIX/PPC, the GNU linker is very broken
   16928       if test "$host_cpu" != ia64; then
   16929 	ld_shlibs_GCJ=no
   16930 	cat <<EOF 1>&2
   16931 
   16932 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16933 *** to be unable to reliably create shared libraries on AIX.
   16934 *** Therefore, libtool is disabling shared libraries support.  If you
   16935 *** really care for shared libraries, you may want to modify your PATH
   16936 *** so that a non-GNU linker is found, and then restart.
   16937 
   16938 EOF
   16939       fi
   16940       ;;
   16941 
   16942     amigaos*)
   16943       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)'
   16944       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16945       hardcode_minus_L_GCJ=yes
   16946 
   16947       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16948       # that the semantics of dynamic libraries on AmigaOS, at least up
   16949       # to version 4, is to share data among multiple programs linked
   16950       # with the same dynamic library.  Since this doesn't match the
   16951       # behavior of shared libraries on other platforms, we can't use
   16952       # them.
   16953       ld_shlibs_GCJ=no
   16954       ;;
   16955 
   16956     beos*)
   16957       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16958 	allow_undefined_flag_GCJ=unsupported
   16959 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16960 	# support --undefined.  This deserves some investigation.  FIXME
   16961 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16962       else
   16963 	ld_shlibs_GCJ=no
   16964       fi
   16965       ;;
   16966 
   16967     cygwin* | mingw* | pw32*)
   16968       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16969       # as there is no search path for DLLs.
   16970       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16971       allow_undefined_flag_GCJ=unsupported
   16972       always_export_symbols_GCJ=no
   16973       enable_shared_with_static_runtimes_GCJ=yes
   16974       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16975 
   16976       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16977         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16978 	# If the export-symbols file already is a .def file (1st line
   16979 	# is EXPORTS), use it as is; otherwise, prepend...
   16980 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16981 	  cp $export_symbols $output_objdir/$soname.def;
   16982 	else
   16983 	  echo EXPORTS > $output_objdir/$soname.def;
   16984 	  cat $export_symbols >> $output_objdir/$soname.def;
   16985 	fi~
   16986 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16987       else
   16988 	ld_shlibs_GCJ=no
   16989       fi
   16990       ;;
   16991 
   16992     interix[3-9]*)
   16993       hardcode_direct_GCJ=no
   16994       hardcode_shlibpath_var_GCJ=no
   16995       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16996       export_dynamic_flag_spec_GCJ='${wl}-E'
   16997       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16998       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16999       # default) and relocated if they conflict, which is a slow very memory
   17000       # consuming and fragmenting process.  To avoid this, we pick a random,
   17001       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17002       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17003       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'
   17004       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'
   17005       ;;
   17006 
   17007     gnu* | linux* | k*bsd*-gnu)
   17008       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17009 	tmp_addflag=
   17010 	case $cc_basename,$host_cpu in
   17011 	pgcc*)				# Portland Group C compiler
   17012 	  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'
   17013 	  tmp_addflag=' $pic_flag'
   17014 	  ;;
   17015 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17016 	  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'
   17017 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17018 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17019 	  tmp_addflag=' -i_dynamic' ;;
   17020 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17021 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17022 	ifc* | ifort*)			# Intel Fortran compiler
   17023 	  tmp_addflag=' -nofor_main' ;;
   17024 	esac
   17025 	case `$CC -V 2>&1 | sed 5q` in
   17026 	*Sun\ C*)			# Sun C 5.9
   17027 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17028 	  tmp_sharedflag='-G' ;;
   17029 	*Sun\ F*)			# Sun Fortran 8.3
   17030 	  tmp_sharedflag='-G' ;;
   17031 	*)
   17032 	  tmp_sharedflag='-shared' ;;
   17033 	esac
   17034 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17035 
   17036 	if test $supports_anon_versioning = yes; then
   17037 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17038   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17039   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17040 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17041 	fi
   17042       else
   17043 	ld_shlibs_GCJ=no
   17044       fi
   17045       ;;
   17046 
   17047     netbsd*)
   17048       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17049 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17050 	wlarc=
   17051       else
   17052 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17053 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17054       fi
   17055       ;;
   17056 
   17057     solaris*)
   17058       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17059 	ld_shlibs_GCJ=no
   17060 	cat <<EOF 1>&2
   17061 
   17062 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17063 *** create shared libraries on Solaris systems.  Therefore, libtool
   17064 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17065 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17066 *** your PATH or compiler configuration so that the native linker is
   17067 *** used, and then restart.
   17068 
   17069 EOF
   17070       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17071 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17072 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17073       else
   17074 	ld_shlibs_GCJ=no
   17075       fi
   17076       ;;
   17077 
   17078     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17079       case `$LD -v 2>&1` in
   17080         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17081 	ld_shlibs_GCJ=no
   17082 	cat <<_LT_EOF 1>&2
   17083 
   17084 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17085 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17086 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17087 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17088 *** your PATH or compiler configuration so that the native linker is
   17089 *** used, and then restart.
   17090 
   17091 _LT_EOF
   17092 	;;
   17093 	*)
   17094 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17095 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17096 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17097 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17098 	  else
   17099 	    ld_shlibs_GCJ=no
   17100 	  fi
   17101 	;;
   17102       esac
   17103       ;;
   17104 
   17105     sunos4*)
   17106       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17107       wlarc=
   17108       hardcode_direct_GCJ=yes
   17109       hardcode_shlibpath_var_GCJ=no
   17110       ;;
   17111 
   17112     *)
   17113       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17114 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17115 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17116       else
   17117 	ld_shlibs_GCJ=no
   17118       fi
   17119       ;;
   17120     esac
   17121 
   17122     if test "$ld_shlibs_GCJ" = no; then
   17123       runpath_var=
   17124       hardcode_libdir_flag_spec_GCJ=
   17125       export_dynamic_flag_spec_GCJ=
   17126       whole_archive_flag_spec_GCJ=
   17127     fi
   17128   else
   17129     # PORTME fill in a description of your system's linker (not GNU ld)
   17130     case $host_os in
   17131     aix3*)
   17132       allow_undefined_flag_GCJ=unsupported
   17133       always_export_symbols_GCJ=yes
   17134       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'
   17135       # Note: this linker hardcodes the directories in LIBPATH if there
   17136       # are no directories specified by -L.
   17137       hardcode_minus_L_GCJ=yes
   17138       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17139 	# Neither direct hardcoding nor static linking is supported with a
   17140 	# broken collect2.
   17141 	hardcode_direct_GCJ=unsupported
   17142       fi
   17143       ;;
   17144 
   17145     aix4* | aix5*)
   17146       if test "$host_cpu" = ia64; then
   17147 	# On IA64, the linker does run time linking by default, so we don't
   17148 	# have to do anything special.
   17149 	aix_use_runtimelinking=no
   17150 	exp_sym_flag='-Bexport'
   17151 	no_entry_flag=""
   17152       else
   17153 	# If we're using GNU nm, then we don't want the "-C" option.
   17154 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17155 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17156 	  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'
   17157 	else
   17158 	  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'
   17159 	fi
   17160 	aix_use_runtimelinking=no
   17161 
   17162 	# Test if we are trying to use run time linking or normal
   17163 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17164 	# need to do runtime linking.
   17165 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17166 	  for ld_flag in $LDFLAGS; do
   17167   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17168   	    aix_use_runtimelinking=yes
   17169   	    break
   17170   	  fi
   17171 	  done
   17172 	  ;;
   17173 	esac
   17174 
   17175 	exp_sym_flag='-bexport'
   17176 	no_entry_flag='-bnoentry'
   17177       fi
   17178 
   17179       # When large executables or shared objects are built, AIX ld can
   17180       # have problems creating the table of contents.  If linking a library
   17181       # or program results in "error TOC overflow" add -mminimal-toc to
   17182       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17183       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17184 
   17185       archive_cmds_GCJ=''
   17186       hardcode_direct_GCJ=yes
   17187       hardcode_libdir_separator_GCJ=':'
   17188       link_all_deplibs_GCJ=yes
   17189 
   17190       if test "$GCC" = yes; then
   17191 	case $host_os in aix4.[012]|aix4.[012].*)
   17192 	# We only want to do this on AIX 4.2 and lower, the check
   17193 	# below for broken collect2 doesn't work under 4.3+
   17194 	  collect2name=`${CC} -print-prog-name=collect2`
   17195 	  if test -f "$collect2name" && \
   17196   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17197 	  then
   17198   	  # We have reworked collect2
   17199   	  :
   17200 	  else
   17201   	  # We have old collect2
   17202   	  hardcode_direct_GCJ=unsupported
   17203   	  # It fails to find uninstalled libraries when the uninstalled
   17204   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17205   	  # to unsupported forces relinking
   17206   	  hardcode_minus_L_GCJ=yes
   17207   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17208   	  hardcode_libdir_separator_GCJ=
   17209 	  fi
   17210 	  ;;
   17211 	esac
   17212 	shared_flag='-shared'
   17213 	if test "$aix_use_runtimelinking" = yes; then
   17214 	  shared_flag="$shared_flag "'${wl}-G'
   17215 	fi
   17216       else
   17217 	# not using gcc
   17218 	if test "$host_cpu" = ia64; then
   17219   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17220   	# chokes on -Wl,-G. The following line is correct:
   17221 	  shared_flag='-G'
   17222 	else
   17223 	  if test "$aix_use_runtimelinking" = yes; then
   17224 	    shared_flag='${wl}-G'
   17225 	  else
   17226 	    shared_flag='${wl}-bM:SRE'
   17227 	  fi
   17228 	fi
   17229       fi
   17230 
   17231       # It seems that -bexpall does not export symbols beginning with
   17232       # underscore (_), so it is better to generate a list of symbols to export.
   17233       always_export_symbols_GCJ=yes
   17234       if test "$aix_use_runtimelinking" = yes; then
   17235 	# Warning - without using the other runtime loading flags (-brtl),
   17236 	# -berok will link without error, but may produce a broken library.
   17237 	allow_undefined_flag_GCJ='-berok'
   17238        # Determine the default libpath from the value encoded in an empty executable.
   17239        cat >conftest.$ac_ext <<_ACEOF
   17240 /* confdefs.h.  */
   17241 _ACEOF
   17242 cat confdefs.h >>conftest.$ac_ext
   17243 cat >>conftest.$ac_ext <<_ACEOF
   17244 /* end confdefs.h.  */
   17245 
   17246 int
   17247 main ()
   17248 {
   17249 
   17250   ;
   17251   return 0;
   17252 }
   17253 _ACEOF
   17254 rm -f conftest.$ac_objext conftest$ac_exeext
   17255 if { (ac_try="$ac_link"
   17256 case "(($ac_try" in
   17257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17258   *) ac_try_echo=$ac_try;;
   17259 esac
   17260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17261   (eval "$ac_link") 2>conftest.er1
   17262   ac_status=$?
   17263   grep -v '^ *+' conftest.er1 >conftest.err
   17264   rm -f conftest.er1
   17265   cat conftest.err >&5
   17266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17267   (exit $ac_status); } && {
   17268 	 test -z "$ac_c_werror_flag" ||
   17269 	 test ! -s conftest.err
   17270        } && test -s conftest$ac_exeext &&
   17271        $as_test_x conftest$ac_exeext; then
   17272 
   17273 lt_aix_libpath_sed='
   17274     /Import File Strings/,/^$/ {
   17275 	/^0/ {
   17276 	    s/^0  *\(.*\)$/\1/
   17277 	    p
   17278 	}
   17279     }'
   17280 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17281 # Check for a 64-bit object if we didn't find anything.
   17282 if test -z "$aix_libpath"; then
   17283   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17284 fi
   17285 else
   17286   echo "$as_me: failed program was:" >&5
   17287 sed 's/^/| /' conftest.$ac_ext >&5
   17288 
   17289 
   17290 fi
   17291 
   17292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17293       conftest$ac_exeext conftest.$ac_ext
   17294 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17295 
   17296        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17297 	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"
   17298        else
   17299 	if test "$host_cpu" = ia64; then
   17300 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17301 	  allow_undefined_flag_GCJ="-z nodefs"
   17302 	  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"
   17303 	else
   17304 	 # Determine the default libpath from the value encoded in an empty executable.
   17305 	 cat >conftest.$ac_ext <<_ACEOF
   17306 /* confdefs.h.  */
   17307 _ACEOF
   17308 cat confdefs.h >>conftest.$ac_ext
   17309 cat >>conftest.$ac_ext <<_ACEOF
   17310 /* end confdefs.h.  */
   17311 
   17312 int
   17313 main ()
   17314 {
   17315 
   17316   ;
   17317   return 0;
   17318 }
   17319 _ACEOF
   17320 rm -f conftest.$ac_objext conftest$ac_exeext
   17321 if { (ac_try="$ac_link"
   17322 case "(($ac_try" in
   17323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17324   *) ac_try_echo=$ac_try;;
   17325 esac
   17326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17327   (eval "$ac_link") 2>conftest.er1
   17328   ac_status=$?
   17329   grep -v '^ *+' conftest.er1 >conftest.err
   17330   rm -f conftest.er1
   17331   cat conftest.err >&5
   17332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17333   (exit $ac_status); } && {
   17334 	 test -z "$ac_c_werror_flag" ||
   17335 	 test ! -s conftest.err
   17336        } && test -s conftest$ac_exeext &&
   17337        $as_test_x conftest$ac_exeext; then
   17338 
   17339 lt_aix_libpath_sed='
   17340     /Import File Strings/,/^$/ {
   17341 	/^0/ {
   17342 	    s/^0  *\(.*\)$/\1/
   17343 	    p
   17344 	}
   17345     }'
   17346 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17347 # Check for a 64-bit object if we didn't find anything.
   17348 if test -z "$aix_libpath"; then
   17349   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17350 fi
   17351 else
   17352   echo "$as_me: failed program was:" >&5
   17353 sed 's/^/| /' conftest.$ac_ext >&5
   17354 
   17355 
   17356 fi
   17357 
   17358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17359       conftest$ac_exeext conftest.$ac_ext
   17360 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17361 
   17362 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17363 	  # Warning - without using the other run time loading flags,
   17364 	  # -berok will link without error, but may produce a broken library.
   17365 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17366 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17367 	  # Exported symbols can be pulled into shared objects from archives
   17368 	  whole_archive_flag_spec_GCJ='$convenience'
   17369 	  archive_cmds_need_lc_GCJ=yes
   17370 	  # This is similar to how AIX traditionally builds its shared libraries.
   17371 	  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'
   17372 	fi
   17373       fi
   17374       ;;
   17375 
   17376     amigaos*)
   17377       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)'
   17378       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17379       hardcode_minus_L_GCJ=yes
   17380       # see comment about different semantics on the GNU ld section
   17381       ld_shlibs_GCJ=no
   17382       ;;
   17383 
   17384     bsdi[45]*)
   17385       export_dynamic_flag_spec_GCJ=-rdynamic
   17386       ;;
   17387 
   17388     cygwin* | mingw* | pw32*)
   17389       # When not using gcc, we currently assume that we are using
   17390       # Microsoft Visual C++.
   17391       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17392       # no search path for DLLs.
   17393       hardcode_libdir_flag_spec_GCJ=' '
   17394       allow_undefined_flag_GCJ=unsupported
   17395       # Tell ltmain to make .lib files, not .a files.
   17396       libext=lib
   17397       # Tell ltmain to make .dll files, not .so files.
   17398       shrext_cmds=".dll"
   17399       # FIXME: Setting linknames here is a bad hack.
   17400       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17401       # The linker will automatically build a .lib file if we build a DLL.
   17402       old_archive_From_new_cmds_GCJ='true'
   17403       # FIXME: Should let the user specify the lib program.
   17404       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17405       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17406       enable_shared_with_static_runtimes_GCJ=yes
   17407       ;;
   17408 
   17409     darwin* | rhapsody*)
   17410       case $host_os in
   17411         rhapsody* | darwin1.[012])
   17412          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17413          ;;
   17414        *) # Darwin 1.3 on
   17415          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17416            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17417          else
   17418            case ${MACOSX_DEPLOYMENT_TARGET} in
   17419              10.[012])
   17420                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17421                ;;
   17422              10.*)
   17423                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17424                ;;
   17425            esac
   17426          fi
   17427          ;;
   17428       esac
   17429       archive_cmds_need_lc_GCJ=no
   17430       hardcode_direct_GCJ=no
   17431       hardcode_automatic_GCJ=yes
   17432       hardcode_shlibpath_var_GCJ=unsupported
   17433       whole_archive_flag_spec_GCJ=''
   17434       link_all_deplibs_GCJ=yes
   17435     if test "$GCC" = yes ; then
   17436     	output_verbose_link_cmd='echo'
   17437         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17438       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17439       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17440       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}'
   17441       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}'
   17442     else
   17443       case $cc_basename in
   17444         xlc*)
   17445          output_verbose_link_cmd='echo'
   17446          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17447          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17448           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17449          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17450           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}'
   17451           ;;
   17452        *)
   17453          ld_shlibs_GCJ=no
   17454           ;;
   17455       esac
   17456     fi
   17457       ;;
   17458 
   17459     dgux*)
   17460       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17461       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17462       hardcode_shlibpath_var_GCJ=no
   17463       ;;
   17464 
   17465     freebsd1*)
   17466       ld_shlibs_GCJ=no
   17467       ;;
   17468 
   17469     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17470     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17471     # does not break anything, and helps significantly (at the cost of a little
   17472     # extra space).
   17473     freebsd2.2*)
   17474       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17475       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17476       hardcode_direct_GCJ=yes
   17477       hardcode_shlibpath_var_GCJ=no
   17478       ;;
   17479 
   17480     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17481     freebsd2*)
   17482       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17483       hardcode_direct_GCJ=yes
   17484       hardcode_minus_L_GCJ=yes
   17485       hardcode_shlibpath_var_GCJ=no
   17486       ;;
   17487 
   17488     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17489     freebsd* | dragonfly*)
   17490       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17491       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17492       hardcode_direct_GCJ=yes
   17493       hardcode_shlibpath_var_GCJ=no
   17494       ;;
   17495 
   17496     hpux9*)
   17497       if test "$GCC" = yes; then
   17498 	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'
   17499       else
   17500 	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'
   17501       fi
   17502       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17503       hardcode_libdir_separator_GCJ=:
   17504       hardcode_direct_GCJ=yes
   17505 
   17506       # hardcode_minus_L: Not really in the search PATH,
   17507       # but as the default location of the library.
   17508       hardcode_minus_L_GCJ=yes
   17509       export_dynamic_flag_spec_GCJ='${wl}-E'
   17510       ;;
   17511 
   17512     hpux10*)
   17513       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17514 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17515       else
   17516 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17517       fi
   17518       if test "$with_gnu_ld" = no; then
   17519 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17520 	hardcode_libdir_separator_GCJ=:
   17521 
   17522 	hardcode_direct_GCJ=yes
   17523 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17524 
   17525 	# hardcode_minus_L: Not really in the search PATH,
   17526 	# but as the default location of the library.
   17527 	hardcode_minus_L_GCJ=yes
   17528       fi
   17529       ;;
   17530 
   17531     hpux11*)
   17532       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17533 	case $host_cpu in
   17534 	hppa*64*)
   17535 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17536 	  ;;
   17537 	ia64*)
   17538 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17539 	  ;;
   17540 	*)
   17541 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17542 	  ;;
   17543 	esac
   17544       else
   17545 	case $host_cpu in
   17546 	hppa*64*)
   17547 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17548 	  ;;
   17549 	ia64*)
   17550 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17551 	  ;;
   17552 	*)
   17553 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17554 	  ;;
   17555 	esac
   17556       fi
   17557       if test "$with_gnu_ld" = no; then
   17558 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17559 	hardcode_libdir_separator_GCJ=:
   17560 
   17561 	case $host_cpu in
   17562 	hppa*64*|ia64*)
   17563 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17564 	  hardcode_direct_GCJ=no
   17565 	  hardcode_shlibpath_var_GCJ=no
   17566 	  ;;
   17567 	*)
   17568 	  hardcode_direct_GCJ=yes
   17569 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17570 
   17571 	  # hardcode_minus_L: Not really in the search PATH,
   17572 	  # but as the default location of the library.
   17573 	  hardcode_minus_L_GCJ=yes
   17574 	  ;;
   17575 	esac
   17576       fi
   17577       ;;
   17578 
   17579     irix5* | irix6* | nonstopux*)
   17580       if test "$GCC" = yes; then
   17581 	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'
   17582       else
   17583 	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'
   17584 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17585       fi
   17586       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17587       hardcode_libdir_separator_GCJ=:
   17588       link_all_deplibs_GCJ=yes
   17589       ;;
   17590 
   17591     netbsd*)
   17592       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17593 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17594       else
   17595 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17596       fi
   17597       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17598       hardcode_direct_GCJ=yes
   17599       hardcode_shlibpath_var_GCJ=no
   17600       ;;
   17601 
   17602     newsos6)
   17603       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17604       hardcode_direct_GCJ=yes
   17605       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17606       hardcode_libdir_separator_GCJ=:
   17607       hardcode_shlibpath_var_GCJ=no
   17608       ;;
   17609 
   17610     openbsd*)
   17611       if test -f /usr/libexec/ld.so; then
   17612 	hardcode_direct_GCJ=yes
   17613 	hardcode_shlibpath_var_GCJ=no
   17614 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17615 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17616 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17617 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17618 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17619 	else
   17620 	  case $host_os in
   17621 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17622 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17623 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17624 	     ;;
   17625 	   *)
   17626 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17627 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17628 	     ;;
   17629 	  esac
   17630         fi
   17631       else
   17632 	ld_shlibs_GCJ=no
   17633       fi
   17634       ;;
   17635 
   17636     os2*)
   17637       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17638       hardcode_minus_L_GCJ=yes
   17639       allow_undefined_flag_GCJ=unsupported
   17640       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'
   17641       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17642       ;;
   17643 
   17644     osf3*)
   17645       if test "$GCC" = yes; then
   17646 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17647 	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'
   17648       else
   17649 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17650 	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'
   17651       fi
   17652       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17653       hardcode_libdir_separator_GCJ=:
   17654       ;;
   17655 
   17656     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17657       if test "$GCC" = yes; then
   17658 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17659 	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'
   17660 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17661       else
   17662 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17663 	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'
   17664 	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~
   17665 	$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'
   17666 
   17667 	# Both c and cxx compiler support -rpath directly
   17668 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17669       fi
   17670       hardcode_libdir_separator_GCJ=:
   17671       ;;
   17672 
   17673     solaris*)
   17674       no_undefined_flag_GCJ=' -z text'
   17675       if test "$GCC" = yes; then
   17676 	wlarc='${wl}'
   17677 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17678 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17679 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17680       else
   17681 	wlarc=''
   17682 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17683 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17684   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17685       fi
   17686       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17687       hardcode_shlibpath_var_GCJ=no
   17688       case $host_os in
   17689       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17690       *)
   17691 	# The compiler driver will combine and reorder linker options,
   17692 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   17693 	# but is careful enough not to reorder.
   17694  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17695 	if test "$GCC" = yes; then
   17696 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   17697 	else
   17698 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   17699 	fi
   17700 	;;
   17701       esac
   17702       link_all_deplibs_GCJ=yes
   17703       ;;
   17704 
   17705     sunos4*)
   17706       if test "x$host_vendor" = xsequent; then
   17707 	# Use $CC to link under sequent, because it throws in some extra .o
   17708 	# files that make .init and .fini sections work.
   17709 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17710       else
   17711 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17712       fi
   17713       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17714       hardcode_direct_GCJ=yes
   17715       hardcode_minus_L_GCJ=yes
   17716       hardcode_shlibpath_var_GCJ=no
   17717       ;;
   17718 
   17719     sysv4)
   17720       case $host_vendor in
   17721 	sni)
   17722 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17723 	  hardcode_direct_GCJ=yes # is this really true???
   17724 	;;
   17725 	siemens)
   17726 	  ## LD is ld it makes a PLAMLIB
   17727 	  ## CC just makes a GrossModule.
   17728 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17729 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17730 	  hardcode_direct_GCJ=no
   17731         ;;
   17732 	motorola)
   17733 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17734 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17735 	;;
   17736       esac
   17737       runpath_var='LD_RUN_PATH'
   17738       hardcode_shlibpath_var_GCJ=no
   17739       ;;
   17740 
   17741     sysv4.3*)
   17742       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17743       hardcode_shlibpath_var_GCJ=no
   17744       export_dynamic_flag_spec_GCJ='-Bexport'
   17745       ;;
   17746 
   17747     sysv4*MP*)
   17748       if test -d /usr/nec; then
   17749 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17750 	hardcode_shlibpath_var_GCJ=no
   17751 	runpath_var=LD_RUN_PATH
   17752 	hardcode_runpath_var=yes
   17753 	ld_shlibs_GCJ=yes
   17754       fi
   17755       ;;
   17756 
   17757     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17758       no_undefined_flag_GCJ='${wl}-z,text'
   17759       archive_cmds_need_lc_GCJ=no
   17760       hardcode_shlibpath_var_GCJ=no
   17761       runpath_var='LD_RUN_PATH'
   17762 
   17763       if test "$GCC" = yes; then
   17764 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17765 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17766       else
   17767 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17768 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17769       fi
   17770       ;;
   17771 
   17772     sysv5* | sco3.2v5* | sco5v6*)
   17773       # Note: We can NOT use -z defs as we might desire, because we do not
   17774       # link with -lc, and that would cause any symbols used from libc to
   17775       # always be unresolved, which means just about no library would
   17776       # ever link correctly.  If we're not using GNU ld we use -z text
   17777       # though, which does catch some bad symbols but isn't as heavy-handed
   17778       # as -z defs.
   17779       no_undefined_flag_GCJ='${wl}-z,text'
   17780       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17781       archive_cmds_need_lc_GCJ=no
   17782       hardcode_shlibpath_var_GCJ=no
   17783       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17784       hardcode_libdir_separator_GCJ=':'
   17785       link_all_deplibs_GCJ=yes
   17786       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17787       runpath_var='LD_RUN_PATH'
   17788 
   17789       if test "$GCC" = yes; then
   17790 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17791 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17792       else
   17793 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17794 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17795       fi
   17796       ;;
   17797 
   17798     uts4*)
   17799       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17800       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17801       hardcode_shlibpath_var_GCJ=no
   17802       ;;
   17803 
   17804     *)
   17805       ld_shlibs_GCJ=no
   17806       ;;
   17807     esac
   17808   fi
   17809 
   17810 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17811 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17812 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17813 
   17814 #
   17815 # Do we need to explicitly link libc?
   17816 #
   17817 case "x$archive_cmds_need_lc_GCJ" in
   17818 x|xyes)
   17819   # Assume -lc should be added
   17820   archive_cmds_need_lc_GCJ=yes
   17821 
   17822   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17823     case $archive_cmds_GCJ in
   17824     *'~'*)
   17825       # FIXME: we may have to deal with multi-command sequences.
   17826       ;;
   17827     '$CC '*)
   17828       # Test whether the compiler implicitly links with -lc since on some
   17829       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17830       # to ld, don't add -lc before -lgcc.
   17831       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17832 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17833       $rm conftest*
   17834       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17835 
   17836       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17837   (eval $ac_compile) 2>&5
   17838   ac_status=$?
   17839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17840   (exit $ac_status); } 2>conftest.err; then
   17841         soname=conftest
   17842         lib=conftest
   17843         libobjs=conftest.$ac_objext
   17844         deplibs=
   17845         wl=$lt_prog_compiler_wl_GCJ
   17846 	pic_flag=$lt_prog_compiler_pic_GCJ
   17847         compiler_flags=-v
   17848         linker_flags=-v
   17849         verstring=
   17850         output_objdir=.
   17851         libname=conftest
   17852         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17853         allow_undefined_flag_GCJ=
   17854         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17855   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17856   ac_status=$?
   17857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17858   (exit $ac_status); }
   17859         then
   17860 	  archive_cmds_need_lc_GCJ=no
   17861         else
   17862 	  archive_cmds_need_lc_GCJ=yes
   17863         fi
   17864         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17865       else
   17866         cat conftest.err 1>&5
   17867       fi
   17868       $rm conftest*
   17869       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17870 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17871       ;;
   17872     esac
   17873   fi
   17874   ;;
   17875 esac
   17876 
   17877 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17878 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17879 library_names_spec=
   17880 libname_spec='lib$name'
   17881 soname_spec=
   17882 shrext_cmds=".so"
   17883 postinstall_cmds=
   17884 postuninstall_cmds=
   17885 finish_cmds=
   17886 finish_eval=
   17887 shlibpath_var=
   17888 shlibpath_overrides_runpath=unknown
   17889 version_type=none
   17890 dynamic_linker="$host_os ld.so"
   17891 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17892 
   17893 need_lib_prefix=unknown
   17894 hardcode_into_libs=no
   17895 
   17896 # when you set need_version to no, make sure it does not cause -set_version
   17897 # flags to be left without arguments
   17898 need_version=unknown
   17899 
   17900 case $host_os in
   17901 aix3*)
   17902   version_type=linux
   17903   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17904   shlibpath_var=LIBPATH
   17905 
   17906   # AIX 3 has no versioning support, so we append a major version to the name.
   17907   soname_spec='${libname}${release}${shared_ext}$major'
   17908   ;;
   17909 
   17910 aix4* | aix5*)
   17911   version_type=linux
   17912   need_lib_prefix=no
   17913   need_version=no
   17914   hardcode_into_libs=yes
   17915   if test "$host_cpu" = ia64; then
   17916     # AIX 5 supports IA64
   17917     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17918     shlibpath_var=LD_LIBRARY_PATH
   17919   else
   17920     # With GCC up to 2.95.x, collect2 would create an import file
   17921     # for dependence libraries.  The import file would start with
   17922     # the line `#! .'.  This would cause the generated library to
   17923     # depend on `.', always an invalid library.  This was fixed in
   17924     # development snapshots of GCC prior to 3.0.
   17925     case $host_os in
   17926       aix4 | aix4.[01] | aix4.[01].*)
   17927       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17928 	   echo ' yes '
   17929 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17930 	:
   17931       else
   17932 	can_build_shared=no
   17933       fi
   17934       ;;
   17935     esac
   17936     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17937     # soname into executable. Probably we can add versioning support to
   17938     # collect2, so additional links can be useful in future.
   17939     if test "$aix_use_runtimelinking" = yes; then
   17940       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17941       # instead of lib<name>.a to let people know that these are not
   17942       # typical AIX shared libraries.
   17943       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17944     else
   17945       # We preserve .a as extension for shared libraries through AIX4.2
   17946       # and later when we are not doing run time linking.
   17947       library_names_spec='${libname}${release}.a $libname.a'
   17948       soname_spec='${libname}${release}${shared_ext}$major'
   17949     fi
   17950     shlibpath_var=LIBPATH
   17951   fi
   17952   ;;
   17953 
   17954 amigaos*)
   17955   library_names_spec='$libname.ixlibrary $libname.a'
   17956   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17957   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'
   17958   ;;
   17959 
   17960 beos*)
   17961   library_names_spec='${libname}${shared_ext}'
   17962   dynamic_linker="$host_os ld.so"
   17963   shlibpath_var=LIBRARY_PATH
   17964   ;;
   17965 
   17966 bsdi[45]*)
   17967   version_type=linux
   17968   need_version=no
   17969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17970   soname_spec='${libname}${release}${shared_ext}$major'
   17971   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17972   shlibpath_var=LD_LIBRARY_PATH
   17973   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17974   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17975   # the default ld.so.conf also contains /usr/contrib/lib and
   17976   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17977   # libtool to hard-code these into programs
   17978   ;;
   17979 
   17980 cygwin* | mingw* | pw32*)
   17981   version_type=windows
   17982   shrext_cmds=".dll"
   17983   need_version=no
   17984   need_lib_prefix=no
   17985 
   17986   case $GCC,$host_os in
   17987   yes,cygwin* | yes,mingw* | yes,pw32*)
   17988     library_names_spec='$libname.dll.a'
   17989     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17990     postinstall_cmds='base_file=`basename \${file}`~
   17991       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17992       dldir=$destdir/`dirname \$dlpath`~
   17993       test -d \$dldir || mkdir -p \$dldir~
   17994       $install_prog $dir/$dlname \$dldir/$dlname~
   17995       chmod a+x \$dldir/$dlname'
   17996     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17997       dlpath=$dir/\$dldll~
   17998        $rm \$dlpath'
   17999     shlibpath_overrides_runpath=yes
   18000 
   18001     case $host_os in
   18002     cygwin*)
   18003       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18004       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18005       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18006       ;;
   18007     mingw*)
   18008       # MinGW DLLs use traditional 'lib' prefix
   18009       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18010       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18011       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18012         # It is most probably a Windows format PATH printed by
   18013         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18014         # path with ; separators, and with drive letters. We can handle the
   18015         # drive letters (cygwin fileutils understands them), so leave them,
   18016         # especially as we might pass files found there to a mingw objdump,
   18017         # which wouldn't understand a cygwinified path. Ahh.
   18018         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18019       else
   18020         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18021       fi
   18022       ;;
   18023     pw32*)
   18024       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18025       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18026       ;;
   18027     esac
   18028     ;;
   18029 
   18030   *)
   18031     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18032     ;;
   18033   esac
   18034   dynamic_linker='Win32 ld.exe'
   18035   # FIXME: first we should search . and the directory the executable is in
   18036   shlibpath_var=PATH
   18037   ;;
   18038 
   18039 darwin* | rhapsody*)
   18040   dynamic_linker="$host_os dyld"
   18041   version_type=darwin
   18042   need_lib_prefix=no
   18043   need_version=no
   18044   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18045   soname_spec='${libname}${release}${major}$shared_ext'
   18046   shlibpath_overrides_runpath=yes
   18047   shlibpath_var=DYLD_LIBRARY_PATH
   18048   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18049 
   18050   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18051   ;;
   18052 
   18053 dgux*)
   18054   version_type=linux
   18055   need_lib_prefix=no
   18056   need_version=no
   18057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18058   soname_spec='${libname}${release}${shared_ext}$major'
   18059   shlibpath_var=LD_LIBRARY_PATH
   18060   ;;
   18061 
   18062 freebsd1*)
   18063   dynamic_linker=no
   18064   ;;
   18065 
   18066 freebsd* | dragonfly*)
   18067   # DragonFly does not have aout.  When/if they implement a new
   18068   # versioning mechanism, adjust this.
   18069   if test -x /usr/bin/objformat; then
   18070     objformat=`/usr/bin/objformat`
   18071   else
   18072     case $host_os in
   18073     freebsd[123]*) objformat=aout ;;
   18074     *) objformat=elf ;;
   18075     esac
   18076   fi
   18077   version_type=freebsd-$objformat
   18078   case $version_type in
   18079     freebsd-elf*)
   18080       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18081       need_version=no
   18082       need_lib_prefix=no
   18083       ;;
   18084     freebsd-*)
   18085       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18086       need_version=yes
   18087       ;;
   18088   esac
   18089   shlibpath_var=LD_LIBRARY_PATH
   18090   case $host_os in
   18091   freebsd2*)
   18092     shlibpath_overrides_runpath=yes
   18093     ;;
   18094   freebsd3.[01]* | freebsdelf3.[01]*)
   18095     shlibpath_overrides_runpath=yes
   18096     hardcode_into_libs=yes
   18097     ;;
   18098   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18099   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18100     shlibpath_overrides_runpath=no
   18101     hardcode_into_libs=yes
   18102     ;;
   18103   *) # from 4.6 on, and DragonFly
   18104     shlibpath_overrides_runpath=yes
   18105     hardcode_into_libs=yes
   18106     ;;
   18107   esac
   18108   ;;
   18109 
   18110 gnu*)
   18111   version_type=linux
   18112   need_lib_prefix=no
   18113   need_version=no
   18114   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18115   soname_spec='${libname}${release}${shared_ext}$major'
   18116   shlibpath_var=LD_LIBRARY_PATH
   18117   hardcode_into_libs=yes
   18118   ;;
   18119 
   18120 hpux9* | hpux10* | hpux11*)
   18121   # Give a soname corresponding to the major version so that dld.sl refuses to
   18122   # link against other versions.
   18123   version_type=sunos
   18124   need_lib_prefix=no
   18125   need_version=no
   18126   case $host_cpu in
   18127   ia64*)
   18128     shrext_cmds='.so'
   18129     hardcode_into_libs=yes
   18130     dynamic_linker="$host_os dld.so"
   18131     shlibpath_var=LD_LIBRARY_PATH
   18132     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18133     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18134     soname_spec='${libname}${release}${shared_ext}$major'
   18135     if test "X$HPUX_IA64_MODE" = X32; then
   18136       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18137     else
   18138       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18139     fi
   18140     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18141     ;;
   18142    hppa*64*)
   18143      shrext_cmds='.sl'
   18144      hardcode_into_libs=yes
   18145      dynamic_linker="$host_os dld.sl"
   18146      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18147      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18148      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18149      soname_spec='${libname}${release}${shared_ext}$major'
   18150      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18151      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18152      ;;
   18153    *)
   18154     shrext_cmds='.sl'
   18155     dynamic_linker="$host_os dld.sl"
   18156     shlibpath_var=SHLIB_PATH
   18157     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18158     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18159     soname_spec='${libname}${release}${shared_ext}$major'
   18160     ;;
   18161   esac
   18162   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18163   postinstall_cmds='chmod 555 $lib'
   18164   ;;
   18165 
   18166 interix[3-9]*)
   18167   version_type=linux
   18168   need_lib_prefix=no
   18169   need_version=no
   18170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18171   soname_spec='${libname}${release}${shared_ext}$major'
   18172   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18173   shlibpath_var=LD_LIBRARY_PATH
   18174   shlibpath_overrides_runpath=no
   18175   hardcode_into_libs=yes
   18176   ;;
   18177 
   18178 irix5* | irix6* | nonstopux*)
   18179   case $host_os in
   18180     nonstopux*) version_type=nonstopux ;;
   18181     *)
   18182 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18183 		version_type=linux
   18184 	else
   18185 		version_type=irix
   18186 	fi ;;
   18187   esac
   18188   need_lib_prefix=no
   18189   need_version=no
   18190   soname_spec='${libname}${release}${shared_ext}$major'
   18191   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18192   case $host_os in
   18193   irix5* | nonstopux*)
   18194     libsuff= shlibsuff=
   18195     ;;
   18196   *)
   18197     case $LD in # libtool.m4 will add one of these switches to LD
   18198     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18199       libsuff= shlibsuff= libmagic=32-bit;;
   18200     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18201       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18202     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18203       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18204     *) libsuff= shlibsuff= libmagic=never-match;;
   18205     esac
   18206     ;;
   18207   esac
   18208   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18209   shlibpath_overrides_runpath=no
   18210   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18211   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18212   hardcode_into_libs=yes
   18213   ;;
   18214 
   18215 # No shared lib support for Linux oldld, aout, or coff.
   18216 linux*oldld* | linux*aout* | linux*coff*)
   18217   dynamic_linker=no
   18218   ;;
   18219 
   18220 # This must be Linux ELF.
   18221 linux* | k*bsd*-gnu)
   18222   version_type=linux
   18223   need_lib_prefix=no
   18224   need_version=no
   18225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18226   soname_spec='${libname}${release}${shared_ext}$major'
   18227   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18228   shlibpath_var=LD_LIBRARY_PATH
   18229   shlibpath_overrides_runpath=no
   18230   # This implies no fast_install, which is unacceptable.
   18231   # Some rework will be needed to allow for fast_install
   18232   # before this can be enabled.
   18233   hardcode_into_libs=yes
   18234   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18235   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18236 
   18237   # Append ld.so.conf contents to the search path
   18238   if test -f /etc/ld.so.conf; then
   18239     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18240     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18241   fi
   18242 
   18243   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18244   # powerpc, because MkLinux only supported shared libraries with the
   18245   # GNU dynamic linker.  Since this was broken with cross compilers,
   18246   # most powerpc-linux boxes support dynamic linking these days and
   18247   # people can always --disable-shared, the test was removed, and we
   18248   # assume the GNU/Linux dynamic linker is in use.
   18249   dynamic_linker='GNU/Linux ld.so'
   18250   ;;
   18251 
   18252 netbsd*)
   18253   version_type=sunos
   18254   need_lib_prefix=no
   18255   need_version=no
   18256   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18257     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18258     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18259     dynamic_linker='NetBSD (a.out) ld.so'
   18260   else
   18261     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18262     soname_spec='${libname}${release}${shared_ext}$major'
   18263     dynamic_linker='NetBSD ld.elf_so'
   18264   fi
   18265   shlibpath_var=LD_LIBRARY_PATH
   18266   shlibpath_overrides_runpath=yes
   18267   hardcode_into_libs=yes
   18268   ;;
   18269 
   18270 newsos6)
   18271   version_type=linux
   18272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18273   shlibpath_var=LD_LIBRARY_PATH
   18274   shlibpath_overrides_runpath=yes
   18275   ;;
   18276 
   18277 nto-qnx*)
   18278   version_type=linux
   18279   need_lib_prefix=no
   18280   need_version=no
   18281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18282   soname_spec='${libname}${release}${shared_ext}$major'
   18283   shlibpath_var=LD_LIBRARY_PATH
   18284   shlibpath_overrides_runpath=yes
   18285   ;;
   18286 
   18287 openbsd*)
   18288   version_type=sunos
   18289   sys_lib_dlsearch_path_spec="/usr/lib"
   18290   need_lib_prefix=no
   18291   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18292   case $host_os in
   18293     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18294     *)                         need_version=no  ;;
   18295   esac
   18296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18297   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18298   shlibpath_var=LD_LIBRARY_PATH
   18299   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18300     case $host_os in
   18301       openbsd2.[89] | openbsd2.[89].*)
   18302 	shlibpath_overrides_runpath=no
   18303 	;;
   18304       *)
   18305 	shlibpath_overrides_runpath=yes
   18306 	;;
   18307       esac
   18308   else
   18309     shlibpath_overrides_runpath=yes
   18310   fi
   18311   ;;
   18312 
   18313 os2*)
   18314   libname_spec='$name'
   18315   shrext_cmds=".dll"
   18316   need_lib_prefix=no
   18317   library_names_spec='$libname${shared_ext} $libname.a'
   18318   dynamic_linker='OS/2 ld.exe'
   18319   shlibpath_var=LIBPATH
   18320   ;;
   18321 
   18322 osf3* | osf4* | osf5*)
   18323   version_type=osf
   18324   need_lib_prefix=no
   18325   need_version=no
   18326   soname_spec='${libname}${release}${shared_ext}$major'
   18327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18328   shlibpath_var=LD_LIBRARY_PATH
   18329   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18330   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18331   ;;
   18332 
   18333 rdos*)
   18334   dynamic_linker=no
   18335   ;;
   18336 
   18337 solaris*)
   18338   version_type=linux
   18339   need_lib_prefix=no
   18340   need_version=no
   18341   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18342   soname_spec='${libname}${release}${shared_ext}$major'
   18343   shlibpath_var=LD_LIBRARY_PATH
   18344   shlibpath_overrides_runpath=yes
   18345   hardcode_into_libs=yes
   18346   # ldd complains unless libraries are executable
   18347   postinstall_cmds='chmod +x $lib'
   18348   ;;
   18349 
   18350 sunos4*)
   18351   version_type=sunos
   18352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18353   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18354   shlibpath_var=LD_LIBRARY_PATH
   18355   shlibpath_overrides_runpath=yes
   18356   if test "$with_gnu_ld" = yes; then
   18357     need_lib_prefix=no
   18358   fi
   18359   need_version=yes
   18360   ;;
   18361 
   18362 sysv4 | sysv4.3*)
   18363   version_type=linux
   18364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18365   soname_spec='${libname}${release}${shared_ext}$major'
   18366   shlibpath_var=LD_LIBRARY_PATH
   18367   case $host_vendor in
   18368     sni)
   18369       shlibpath_overrides_runpath=no
   18370       need_lib_prefix=no
   18371       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18372       runpath_var=LD_RUN_PATH
   18373       ;;
   18374     siemens)
   18375       need_lib_prefix=no
   18376       ;;
   18377     motorola)
   18378       need_lib_prefix=no
   18379       need_version=no
   18380       shlibpath_overrides_runpath=no
   18381       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18382       ;;
   18383   esac
   18384   ;;
   18385 
   18386 sysv4*MP*)
   18387   if test -d /usr/nec ;then
   18388     version_type=linux
   18389     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18390     soname_spec='$libname${shared_ext}.$major'
   18391     shlibpath_var=LD_LIBRARY_PATH
   18392   fi
   18393   ;;
   18394 
   18395 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18396   version_type=freebsd-elf
   18397   need_lib_prefix=no
   18398   need_version=no
   18399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18400   soname_spec='${libname}${release}${shared_ext}$major'
   18401   shlibpath_var=LD_LIBRARY_PATH
   18402   hardcode_into_libs=yes
   18403   if test "$with_gnu_ld" = yes; then
   18404     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18405     shlibpath_overrides_runpath=no
   18406   else
   18407     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18408     shlibpath_overrides_runpath=yes
   18409     case $host_os in
   18410       sco3.2v5*)
   18411         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18412 	;;
   18413     esac
   18414   fi
   18415   sys_lib_dlsearch_path_spec='/usr/lib'
   18416   ;;
   18417 
   18418 uts4*)
   18419   version_type=linux
   18420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18421   soname_spec='${libname}${release}${shared_ext}$major'
   18422   shlibpath_var=LD_LIBRARY_PATH
   18423   ;;
   18424 
   18425 *)
   18426   dynamic_linker=no
   18427   ;;
   18428 esac
   18429 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18430 echo "${ECHO_T}$dynamic_linker" >&6; }
   18431 test "$dynamic_linker" = no && can_build_shared=no
   18432 
   18433 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18434 if test "$GCC" = yes; then
   18435   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18436 fi
   18437 
   18438 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18439 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18440 hardcode_action_GCJ=
   18441 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18442    test -n "$runpath_var_GCJ" || \
   18443    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18444 
   18445   # We can hardcode non-existant directories.
   18446   if test "$hardcode_direct_GCJ" != no &&
   18447      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18448      # have to relink, otherwise we might link with an installed library
   18449      # when we should be linking with a yet-to-be-installed one
   18450      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18451      test "$hardcode_minus_L_GCJ" != no; then
   18452     # Linking always hardcodes the temporary library directory.
   18453     hardcode_action_GCJ=relink
   18454   else
   18455     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18456     hardcode_action_GCJ=immediate
   18457   fi
   18458 else
   18459   # We cannot hardcode anything, or else we can only hardcode existing
   18460   # directories.
   18461   hardcode_action_GCJ=unsupported
   18462 fi
   18463 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18464 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18465 
   18466 if test "$hardcode_action_GCJ" = relink; then
   18467   # Fast installation is not supported
   18468   enable_fast_install=no
   18469 elif test "$shlibpath_overrides_runpath" = yes ||
   18470      test "$enable_shared" = no; then
   18471   # Fast installation is not necessary
   18472   enable_fast_install=needless
   18473 fi
   18474 
   18475 
   18476 # The else clause should only fire when bootstrapping the
   18477 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18478 # with your package, and you will get complaints that there are
   18479 # no rules to generate ltmain.sh.
   18480 if test -f "$ltmain"; then
   18481   # See if we are running on zsh, and set the options which allow our commands through
   18482   # without removal of \ escapes.
   18483   if test -n "${ZSH_VERSION+set}" ; then
   18484     setopt NO_GLOB_SUBST
   18485   fi
   18486   # Now quote all the things that may contain metacharacters while being
   18487   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18488   # variables and quote the copies for generation of the libtool script.
   18489   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18490     SED SHELL STRIP \
   18491     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18492     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18493     deplibs_check_method reload_flag reload_cmds need_locks \
   18494     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18495     lt_cv_sys_global_symbol_to_c_name_address \
   18496     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18497     old_postinstall_cmds old_postuninstall_cmds \
   18498     compiler_GCJ \
   18499     CC_GCJ \
   18500     LD_GCJ \
   18501     lt_prog_compiler_wl_GCJ \
   18502     lt_prog_compiler_pic_GCJ \
   18503     lt_prog_compiler_static_GCJ \
   18504     lt_prog_compiler_no_builtin_flag_GCJ \
   18505     export_dynamic_flag_spec_GCJ \
   18506     thread_safe_flag_spec_GCJ \
   18507     whole_archive_flag_spec_GCJ \
   18508     enable_shared_with_static_runtimes_GCJ \
   18509     old_archive_cmds_GCJ \
   18510     old_archive_from_new_cmds_GCJ \
   18511     predep_objects_GCJ \
   18512     postdep_objects_GCJ \
   18513     predeps_GCJ \
   18514     postdeps_GCJ \
   18515     compiler_lib_search_path_GCJ \
   18516     archive_cmds_GCJ \
   18517     archive_expsym_cmds_GCJ \
   18518     postinstall_cmds_GCJ \
   18519     postuninstall_cmds_GCJ \
   18520     old_archive_from_expsyms_cmds_GCJ \
   18521     allow_undefined_flag_GCJ \
   18522     no_undefined_flag_GCJ \
   18523     export_symbols_cmds_GCJ \
   18524     hardcode_libdir_flag_spec_GCJ \
   18525     hardcode_libdir_flag_spec_ld_GCJ \
   18526     hardcode_libdir_separator_GCJ \
   18527     hardcode_automatic_GCJ \
   18528     module_cmds_GCJ \
   18529     module_expsym_cmds_GCJ \
   18530     lt_cv_prog_compiler_c_o_GCJ \
   18531     fix_srcfile_path_GCJ \
   18532     exclude_expsyms_GCJ \
   18533     include_expsyms_GCJ; do
   18534 
   18535     case $var in
   18536     old_archive_cmds_GCJ | \
   18537     old_archive_from_new_cmds_GCJ | \
   18538     archive_cmds_GCJ | \
   18539     archive_expsym_cmds_GCJ | \
   18540     module_cmds_GCJ | \
   18541     module_expsym_cmds_GCJ | \
   18542     old_archive_from_expsyms_cmds_GCJ | \
   18543     export_symbols_cmds_GCJ | \
   18544     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18545     postinstall_cmds | postuninstall_cmds | \
   18546     old_postinstall_cmds | old_postuninstall_cmds | \
   18547     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18548       # Double-quote double-evaled strings.
   18549       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18550       ;;
   18551     *)
   18552       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18553       ;;
   18554     esac
   18555   done
   18556 
   18557   case $lt_echo in
   18558   *'\$0 --fallback-echo"')
   18559     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18560     ;;
   18561   esac
   18562 
   18563 cfgfile="$ofile"
   18564 
   18565   cat <<__EOF__ >> "$cfgfile"
   18566 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18567 
   18568 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18569 
   18570 # Shell to use when invoking shell scripts.
   18571 SHELL=$lt_SHELL
   18572 
   18573 # Whether or not to build shared libraries.
   18574 build_libtool_libs=$enable_shared
   18575 
   18576 # Whether or not to build static libraries.
   18577 build_old_libs=$enable_static
   18578 
   18579 # Whether or not to add -lc for building shared libraries.
   18580 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18581 
   18582 # Whether or not to disallow shared libs when runtime libs are static
   18583 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18584 
   18585 # Whether or not to optimize for fast installation.
   18586 fast_install=$enable_fast_install
   18587 
   18588 # The host system.
   18589 host_alias=$host_alias
   18590 host=$host
   18591 host_os=$host_os
   18592 
   18593 # The build system.
   18594 build_alias=$build_alias
   18595 build=$build
   18596 build_os=$build_os
   18597 
   18598 # An echo program that does not interpret backslashes.
   18599 echo=$lt_echo
   18600 
   18601 # The archiver.
   18602 AR=$lt_AR
   18603 AR_FLAGS=$lt_AR_FLAGS
   18604 
   18605 # A C compiler.
   18606 LTCC=$lt_LTCC
   18607 
   18608 # LTCC compiler flags.
   18609 LTCFLAGS=$lt_LTCFLAGS
   18610 
   18611 # A language-specific compiler.
   18612 CC=$lt_compiler_GCJ
   18613 
   18614 # Is the compiler the GNU C compiler?
   18615 with_gcc=$GCC_GCJ
   18616 
   18617 # An ERE matcher.
   18618 EGREP=$lt_EGREP
   18619 
   18620 # The linker used to build libraries.
   18621 LD=$lt_LD_GCJ
   18622 
   18623 # Whether we need hard or soft links.
   18624 LN_S=$lt_LN_S
   18625 
   18626 # A BSD-compatible nm program.
   18627 NM=$lt_NM
   18628 
   18629 # A symbol stripping program
   18630 STRIP=$lt_STRIP
   18631 
   18632 # Used to examine libraries when file_magic_cmd begins "file"
   18633 MAGIC_CMD=$MAGIC_CMD
   18634 
   18635 # Used on cygwin: DLL creation program.
   18636 DLLTOOL="$DLLTOOL"
   18637 
   18638 # Used on cygwin: object dumper.
   18639 OBJDUMP="$OBJDUMP"
   18640 
   18641 # Used on cygwin: assembler.
   18642 AS="$AS"
   18643 
   18644 # The name of the directory that contains temporary libtool files.
   18645 objdir=$objdir
   18646 
   18647 # How to create reloadable object files.
   18648 reload_flag=$lt_reload_flag
   18649 reload_cmds=$lt_reload_cmds
   18650 
   18651 # How to pass a linker flag through the compiler.
   18652 wl=$lt_lt_prog_compiler_wl_GCJ
   18653 
   18654 # Object file suffix (normally "o").
   18655 objext="$ac_objext"
   18656 
   18657 # Old archive suffix (normally "a").
   18658 libext="$libext"
   18659 
   18660 # Shared library suffix (normally ".so").
   18661 shrext_cmds='$shrext_cmds'
   18662 
   18663 # Executable file suffix (normally "").
   18664 exeext="$exeext"
   18665 
   18666 # Additional compiler flags for building library objects.
   18667 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18668 pic_mode=$pic_mode
   18669 
   18670 # What is the maximum length of a command?
   18671 max_cmd_len=$lt_cv_sys_max_cmd_len
   18672 
   18673 # Does compiler simultaneously support -c and -o options?
   18674 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18675 
   18676 # Must we lock files when doing compilation?
   18677 need_locks=$lt_need_locks
   18678 
   18679 # Do we need the lib prefix for modules?
   18680 need_lib_prefix=$need_lib_prefix
   18681 
   18682 # Do we need a version for libraries?
   18683 need_version=$need_version
   18684 
   18685 # Whether dlopen is supported.
   18686 dlopen_support=$enable_dlopen
   18687 
   18688 # Whether dlopen of programs is supported.
   18689 dlopen_self=$enable_dlopen_self
   18690 
   18691 # Whether dlopen of statically linked programs is supported.
   18692 dlopen_self_static=$enable_dlopen_self_static
   18693 
   18694 # Compiler flag to prevent dynamic linking.
   18695 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18696 
   18697 # Compiler flag to turn off builtin functions.
   18698 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18699 
   18700 # Compiler flag to allow reflexive dlopens.
   18701 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18702 
   18703 # Compiler flag to generate shared objects directly from archives.
   18704 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18705 
   18706 # Compiler flag to generate thread-safe objects.
   18707 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18708 
   18709 # Library versioning type.
   18710 version_type=$version_type
   18711 
   18712 # Format of library name prefix.
   18713 libname_spec=$lt_libname_spec
   18714 
   18715 # List of archive names.  First name is the real one, the rest are links.
   18716 # The last name is the one that the linker finds with -lNAME.
   18717 library_names_spec=$lt_library_names_spec
   18718 
   18719 # The coded name of the library, if different from the real name.
   18720 soname_spec=$lt_soname_spec
   18721 
   18722 # Commands used to build and install an old-style archive.
   18723 RANLIB=$lt_RANLIB
   18724 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18725 old_postinstall_cmds=$lt_old_postinstall_cmds
   18726 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18727 
   18728 # Create an old-style archive from a shared archive.
   18729 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18730 
   18731 # Create a temporary old-style archive to link instead of a shared archive.
   18732 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18733 
   18734 # Commands used to build and install a shared archive.
   18735 archive_cmds=$lt_archive_cmds_GCJ
   18736 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18737 postinstall_cmds=$lt_postinstall_cmds
   18738 postuninstall_cmds=$lt_postuninstall_cmds
   18739 
   18740 # Commands used to build a loadable module (assumed same as above if empty)
   18741 module_cmds=$lt_module_cmds_GCJ
   18742 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18743 
   18744 # Commands to strip libraries.
   18745 old_striplib=$lt_old_striplib
   18746 striplib=$lt_striplib
   18747 
   18748 # Dependencies to place before the objects being linked to create a
   18749 # shared library.
   18750 predep_objects=$lt_predep_objects_GCJ
   18751 
   18752 # Dependencies to place after the objects being linked to create a
   18753 # shared library.
   18754 postdep_objects=$lt_postdep_objects_GCJ
   18755 
   18756 # Dependencies to place before the objects being linked to create a
   18757 # shared library.
   18758 predeps=$lt_predeps_GCJ
   18759 
   18760 # Dependencies to place after the objects being linked to create a
   18761 # shared library.
   18762 postdeps=$lt_postdeps_GCJ
   18763 
   18764 # The library search path used internally by the compiler when linking
   18765 # a shared library.
   18766 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18767 
   18768 # Method to check whether dependent libraries are shared objects.
   18769 deplibs_check_method=$lt_deplibs_check_method
   18770 
   18771 # Command to use when deplibs_check_method == file_magic.
   18772 file_magic_cmd=$lt_file_magic_cmd
   18773 
   18774 # Flag that allows shared libraries with undefined symbols to be built.
   18775 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18776 
   18777 # Flag that forces no undefined symbols.
   18778 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18779 
   18780 # Commands used to finish a libtool library installation in a directory.
   18781 finish_cmds=$lt_finish_cmds
   18782 
   18783 # Same as above, but a single script fragment to be evaled but not shown.
   18784 finish_eval=$lt_finish_eval
   18785 
   18786 # Take the output of nm and produce a listing of raw symbols and C names.
   18787 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18788 
   18789 # Transform the output of nm in a proper C declaration
   18790 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18791 
   18792 # Transform the output of nm in a C name address pair
   18793 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18794 
   18795 # This is the shared library runtime path variable.
   18796 runpath_var=$runpath_var
   18797 
   18798 # This is the shared library path variable.
   18799 shlibpath_var=$shlibpath_var
   18800 
   18801 # Is shlibpath searched before the hard-coded library search path?
   18802 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18803 
   18804 # How to hardcode a shared library path into an executable.
   18805 hardcode_action=$hardcode_action_GCJ
   18806 
   18807 # Whether we should hardcode library paths into libraries.
   18808 hardcode_into_libs=$hardcode_into_libs
   18809 
   18810 # Flag to hardcode \$libdir into a binary during linking.
   18811 # This must work even if \$libdir does not exist.
   18812 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18813 
   18814 # If ld is used when linking, flag to hardcode \$libdir into
   18815 # a binary during linking. This must work even if \$libdir does
   18816 # not exist.
   18817 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18818 
   18819 # Whether we need a single -rpath flag with a separated argument.
   18820 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18821 
   18822 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18823 # resulting binary.
   18824 hardcode_direct=$hardcode_direct_GCJ
   18825 
   18826 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18827 # resulting binary.
   18828 hardcode_minus_L=$hardcode_minus_L_GCJ
   18829 
   18830 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18831 # the resulting binary.
   18832 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18833 
   18834 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18835 # and all subsequent libraries and executables linked against it.
   18836 hardcode_automatic=$hardcode_automatic_GCJ
   18837 
   18838 # Variables whose values should be saved in libtool wrapper scripts and
   18839 # restored at relink time.
   18840 variables_saved_for_relink="$variables_saved_for_relink"
   18841 
   18842 # Whether libtool must link a program against all its dependency libraries.
   18843 link_all_deplibs=$link_all_deplibs_GCJ
   18844 
   18845 # Compile-time system search path for libraries
   18846 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18847 
   18848 # Run-time system search path for libraries
   18849 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18850 
   18851 # Fix the shell variable \$srcfile for the compiler.
   18852 fix_srcfile_path=$lt_fix_srcfile_path
   18853 
   18854 # Set to yes if exported symbols are required.
   18855 always_export_symbols=$always_export_symbols_GCJ
   18856 
   18857 # The commands to list exported symbols.
   18858 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18859 
   18860 # The commands to extract the exported symbol list from a shared archive.
   18861 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18862 
   18863 # Symbols that should not be listed in the preloaded symbols.
   18864 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18865 
   18866 # Symbols that must always be exported.
   18867 include_expsyms=$lt_include_expsyms_GCJ
   18868 
   18869 # ### END LIBTOOL TAG CONFIG: $tagname
   18870 
   18871 __EOF__
   18872 
   18873 
   18874 else
   18875   # If there is no Makefile yet, we rely on a make rule to execute
   18876   # `config.status --recheck' to rerun these tests and create the
   18877   # libtool script then.
   18878   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18879   if test -f "$ltmain_in"; then
   18880     test -f Makefile && make "$ltmain"
   18881   fi
   18882 fi
   18883 
   18884 
   18885 ac_ext=c
   18886 ac_cpp='$CPP $CPPFLAGS'
   18887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18890 
   18891 CC="$lt_save_CC"
   18892 
   18893 	else
   18894 	  tagname=""
   18895 	fi
   18896 	;;
   18897 
   18898       RC)
   18899 
   18900 
   18901 # Source file extension for RC test sources.
   18902 ac_ext=rc
   18903 
   18904 # Object file extension for compiled RC test sources.
   18905 objext=o
   18906 objext_RC=$objext
   18907 
   18908 # Code to be used in simple compile tests
   18909 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   18910 
   18911 # Code to be used in simple link tests
   18912 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18913 
   18914 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18915 
   18916 # If no C compiler was specified, use CC.
   18917 LTCC=${LTCC-"$CC"}
   18918 
   18919 # If no C compiler flags were specified, use CFLAGS.
   18920 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18921 
   18922 # Allow CC to be a program name with arguments.
   18923 compiler=$CC
   18924 
   18925 
   18926 # save warnings/boilerplate of simple test code
   18927 ac_outfile=conftest.$ac_objext
   18928 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   18929 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18930 _lt_compiler_boilerplate=`cat conftest.err`
   18931 $rm conftest*
   18932 
   18933 ac_outfile=conftest.$ac_objext
   18934 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   18935 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18936 _lt_linker_boilerplate=`cat conftest.err`
   18937 $rm conftest*
   18938 
   18939 
   18940 # Allow CC to be a program name with arguments.
   18941 lt_save_CC="$CC"
   18942 CC=${RC-"windres"}
   18943 compiler=$CC
   18944 compiler_RC=$CC
   18945 for cc_temp in $compiler""; do
   18946   case $cc_temp in
   18947     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18948     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18949     \-*) ;;
   18950     *) break;;
   18951   esac
   18952 done
   18953 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18954 
   18955 lt_cv_prog_compiler_c_o_RC=yes
   18956 
   18957 # The else clause should only fire when bootstrapping the
   18958 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18959 # with your package, and you will get complaints that there are
   18960 # no rules to generate ltmain.sh.
   18961 if test -f "$ltmain"; then
   18962   # See if we are running on zsh, and set the options which allow our commands through
   18963   # without removal of \ escapes.
   18964   if test -n "${ZSH_VERSION+set}" ; then
   18965     setopt NO_GLOB_SUBST
   18966   fi
   18967   # Now quote all the things that may contain metacharacters while being
   18968   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18969   # variables and quote the copies for generation of the libtool script.
   18970   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18971     SED SHELL STRIP \
   18972     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18973     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18974     deplibs_check_method reload_flag reload_cmds need_locks \
   18975     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18976     lt_cv_sys_global_symbol_to_c_name_address \
   18977     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18978     old_postinstall_cmds old_postuninstall_cmds \
   18979     compiler_RC \
   18980     CC_RC \
   18981     LD_RC \
   18982     lt_prog_compiler_wl_RC \
   18983     lt_prog_compiler_pic_RC \
   18984     lt_prog_compiler_static_RC \
   18985     lt_prog_compiler_no_builtin_flag_RC \
   18986     export_dynamic_flag_spec_RC \
   18987     thread_safe_flag_spec_RC \
   18988     whole_archive_flag_spec_RC \
   18989     enable_shared_with_static_runtimes_RC \
   18990     old_archive_cmds_RC \
   18991     old_archive_from_new_cmds_RC \
   18992     predep_objects_RC \
   18993     postdep_objects_RC \
   18994     predeps_RC \
   18995     postdeps_RC \
   18996     compiler_lib_search_path_RC \
   18997     archive_cmds_RC \
   18998     archive_expsym_cmds_RC \
   18999     postinstall_cmds_RC \
   19000     postuninstall_cmds_RC \
   19001     old_archive_from_expsyms_cmds_RC \
   19002     allow_undefined_flag_RC \
   19003     no_undefined_flag_RC \
   19004     export_symbols_cmds_RC \
   19005     hardcode_libdir_flag_spec_RC \
   19006     hardcode_libdir_flag_spec_ld_RC \
   19007     hardcode_libdir_separator_RC \
   19008     hardcode_automatic_RC \
   19009     module_cmds_RC \
   19010     module_expsym_cmds_RC \
   19011     lt_cv_prog_compiler_c_o_RC \
   19012     fix_srcfile_path_RC \
   19013     exclude_expsyms_RC \
   19014     include_expsyms_RC; do
   19015 
   19016     case $var in
   19017     old_archive_cmds_RC | \
   19018     old_archive_from_new_cmds_RC | \
   19019     archive_cmds_RC | \
   19020     archive_expsym_cmds_RC | \
   19021     module_cmds_RC | \
   19022     module_expsym_cmds_RC | \
   19023     old_archive_from_expsyms_cmds_RC | \
   19024     export_symbols_cmds_RC | \
   19025     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19026     postinstall_cmds | postuninstall_cmds | \
   19027     old_postinstall_cmds | old_postuninstall_cmds | \
   19028     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19029       # Double-quote double-evaled strings.
   19030       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19031       ;;
   19032     *)
   19033       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19034       ;;
   19035     esac
   19036   done
   19037 
   19038   case $lt_echo in
   19039   *'\$0 --fallback-echo"')
   19040     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19041     ;;
   19042   esac
   19043 
   19044 cfgfile="$ofile"
   19045 
   19046   cat <<__EOF__ >> "$cfgfile"
   19047 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19048 
   19049 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19050 
   19051 # Shell to use when invoking shell scripts.
   19052 SHELL=$lt_SHELL
   19053 
   19054 # Whether or not to build shared libraries.
   19055 build_libtool_libs=$enable_shared
   19056 
   19057 # Whether or not to build static libraries.
   19058 build_old_libs=$enable_static
   19059 
   19060 # Whether or not to add -lc for building shared libraries.
   19061 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19062 
   19063 # Whether or not to disallow shared libs when runtime libs are static
   19064 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19065 
   19066 # Whether or not to optimize for fast installation.
   19067 fast_install=$enable_fast_install
   19068 
   19069 # The host system.
   19070 host_alias=$host_alias
   19071 host=$host
   19072 host_os=$host_os
   19073 
   19074 # The build system.
   19075 build_alias=$build_alias
   19076 build=$build
   19077 build_os=$build_os
   19078 
   19079 # An echo program that does not interpret backslashes.
   19080 echo=$lt_echo
   19081 
   19082 # The archiver.
   19083 AR=$lt_AR
   19084 AR_FLAGS=$lt_AR_FLAGS
   19085 
   19086 # A C compiler.
   19087 LTCC=$lt_LTCC
   19088 
   19089 # LTCC compiler flags.
   19090 LTCFLAGS=$lt_LTCFLAGS
   19091 
   19092 # A language-specific compiler.
   19093 CC=$lt_compiler_RC
   19094 
   19095 # Is the compiler the GNU C compiler?
   19096 with_gcc=$GCC_RC
   19097 
   19098 # An ERE matcher.
   19099 EGREP=$lt_EGREP
   19100 
   19101 # The linker used to build libraries.
   19102 LD=$lt_LD_RC
   19103 
   19104 # Whether we need hard or soft links.
   19105 LN_S=$lt_LN_S
   19106 
   19107 # A BSD-compatible nm program.
   19108 NM=$lt_NM
   19109 
   19110 # A symbol stripping program
   19111 STRIP=$lt_STRIP
   19112 
   19113 # Used to examine libraries when file_magic_cmd begins "file"
   19114 MAGIC_CMD=$MAGIC_CMD
   19115 
   19116 # Used on cygwin: DLL creation program.
   19117 DLLTOOL="$DLLTOOL"
   19118 
   19119 # Used on cygwin: object dumper.
   19120 OBJDUMP="$OBJDUMP"
   19121 
   19122 # Used on cygwin: assembler.
   19123 AS="$AS"
   19124 
   19125 # The name of the directory that contains temporary libtool files.
   19126 objdir=$objdir
   19127 
   19128 # How to create reloadable object files.
   19129 reload_flag=$lt_reload_flag
   19130 reload_cmds=$lt_reload_cmds
   19131 
   19132 # How to pass a linker flag through the compiler.
   19133 wl=$lt_lt_prog_compiler_wl_RC
   19134 
   19135 # Object file suffix (normally "o").
   19136 objext="$ac_objext"
   19137 
   19138 # Old archive suffix (normally "a").
   19139 libext="$libext"
   19140 
   19141 # Shared library suffix (normally ".so").
   19142 shrext_cmds='$shrext_cmds'
   19143 
   19144 # Executable file suffix (normally "").
   19145 exeext="$exeext"
   19146 
   19147 # Additional compiler flags for building library objects.
   19148 pic_flag=$lt_lt_prog_compiler_pic_RC
   19149 pic_mode=$pic_mode
   19150 
   19151 # What is the maximum length of a command?
   19152 max_cmd_len=$lt_cv_sys_max_cmd_len
   19153 
   19154 # Does compiler simultaneously support -c and -o options?
   19155 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19156 
   19157 # Must we lock files when doing compilation?
   19158 need_locks=$lt_need_locks
   19159 
   19160 # Do we need the lib prefix for modules?
   19161 need_lib_prefix=$need_lib_prefix
   19162 
   19163 # Do we need a version for libraries?
   19164 need_version=$need_version
   19165 
   19166 # Whether dlopen is supported.
   19167 dlopen_support=$enable_dlopen
   19168 
   19169 # Whether dlopen of programs is supported.
   19170 dlopen_self=$enable_dlopen_self
   19171 
   19172 # Whether dlopen of statically linked programs is supported.
   19173 dlopen_self_static=$enable_dlopen_self_static
   19174 
   19175 # Compiler flag to prevent dynamic linking.
   19176 link_static_flag=$lt_lt_prog_compiler_static_RC
   19177 
   19178 # Compiler flag to turn off builtin functions.
   19179 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19180 
   19181 # Compiler flag to allow reflexive dlopens.
   19182 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19183 
   19184 # Compiler flag to generate shared objects directly from archives.
   19185 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19186 
   19187 # Compiler flag to generate thread-safe objects.
   19188 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19189 
   19190 # Library versioning type.
   19191 version_type=$version_type
   19192 
   19193 # Format of library name prefix.
   19194 libname_spec=$lt_libname_spec
   19195 
   19196 # List of archive names.  First name is the real one, the rest are links.
   19197 # The last name is the one that the linker finds with -lNAME.
   19198 library_names_spec=$lt_library_names_spec
   19199 
   19200 # The coded name of the library, if different from the real name.
   19201 soname_spec=$lt_soname_spec
   19202 
   19203 # Commands used to build and install an old-style archive.
   19204 RANLIB=$lt_RANLIB
   19205 old_archive_cmds=$lt_old_archive_cmds_RC
   19206 old_postinstall_cmds=$lt_old_postinstall_cmds
   19207 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19208 
   19209 # Create an old-style archive from a shared archive.
   19210 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19211 
   19212 # Create a temporary old-style archive to link instead of a shared archive.
   19213 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19214 
   19215 # Commands used to build and install a shared archive.
   19216 archive_cmds=$lt_archive_cmds_RC
   19217 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19218 postinstall_cmds=$lt_postinstall_cmds
   19219 postuninstall_cmds=$lt_postuninstall_cmds
   19220 
   19221 # Commands used to build a loadable module (assumed same as above if empty)
   19222 module_cmds=$lt_module_cmds_RC
   19223 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19224 
   19225 # Commands to strip libraries.
   19226 old_striplib=$lt_old_striplib
   19227 striplib=$lt_striplib
   19228 
   19229 # Dependencies to place before the objects being linked to create a
   19230 # shared library.
   19231 predep_objects=$lt_predep_objects_RC
   19232 
   19233 # Dependencies to place after the objects being linked to create a
   19234 # shared library.
   19235 postdep_objects=$lt_postdep_objects_RC
   19236 
   19237 # Dependencies to place before the objects being linked to create a
   19238 # shared library.
   19239 predeps=$lt_predeps_RC
   19240 
   19241 # Dependencies to place after the objects being linked to create a
   19242 # shared library.
   19243 postdeps=$lt_postdeps_RC
   19244 
   19245 # The library search path used internally by the compiler when linking
   19246 # a shared library.
   19247 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19248 
   19249 # Method to check whether dependent libraries are shared objects.
   19250 deplibs_check_method=$lt_deplibs_check_method
   19251 
   19252 # Command to use when deplibs_check_method == file_magic.
   19253 file_magic_cmd=$lt_file_magic_cmd
   19254 
   19255 # Flag that allows shared libraries with undefined symbols to be built.
   19256 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19257 
   19258 # Flag that forces no undefined symbols.
   19259 no_undefined_flag=$lt_no_undefined_flag_RC
   19260 
   19261 # Commands used to finish a libtool library installation in a directory.
   19262 finish_cmds=$lt_finish_cmds
   19263 
   19264 # Same as above, but a single script fragment to be evaled but not shown.
   19265 finish_eval=$lt_finish_eval
   19266 
   19267 # Take the output of nm and produce a listing of raw symbols and C names.
   19268 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19269 
   19270 # Transform the output of nm in a proper C declaration
   19271 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19272 
   19273 # Transform the output of nm in a C name address pair
   19274 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19275 
   19276 # This is the shared library runtime path variable.
   19277 runpath_var=$runpath_var
   19278 
   19279 # This is the shared library path variable.
   19280 shlibpath_var=$shlibpath_var
   19281 
   19282 # Is shlibpath searched before the hard-coded library search path?
   19283 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19284 
   19285 # How to hardcode a shared library path into an executable.
   19286 hardcode_action=$hardcode_action_RC
   19287 
   19288 # Whether we should hardcode library paths into libraries.
   19289 hardcode_into_libs=$hardcode_into_libs
   19290 
   19291 # Flag to hardcode \$libdir into a binary during linking.
   19292 # This must work even if \$libdir does not exist.
   19293 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19294 
   19295 # If ld is used when linking, flag to hardcode \$libdir into
   19296 # a binary during linking. This must work even if \$libdir does
   19297 # not exist.
   19298 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19299 
   19300 # Whether we need a single -rpath flag with a separated argument.
   19301 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19302 
   19303 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19304 # resulting binary.
   19305 hardcode_direct=$hardcode_direct_RC
   19306 
   19307 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19308 # resulting binary.
   19309 hardcode_minus_L=$hardcode_minus_L_RC
   19310 
   19311 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19312 # the resulting binary.
   19313 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19314 
   19315 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19316 # and all subsequent libraries and executables linked against it.
   19317 hardcode_automatic=$hardcode_automatic_RC
   19318 
   19319 # Variables whose values should be saved in libtool wrapper scripts and
   19320 # restored at relink time.
   19321 variables_saved_for_relink="$variables_saved_for_relink"
   19322 
   19323 # Whether libtool must link a program against all its dependency libraries.
   19324 link_all_deplibs=$link_all_deplibs_RC
   19325 
   19326 # Compile-time system search path for libraries
   19327 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19328 
   19329 # Run-time system search path for libraries
   19330 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19331 
   19332 # Fix the shell variable \$srcfile for the compiler.
   19333 fix_srcfile_path=$lt_fix_srcfile_path
   19334 
   19335 # Set to yes if exported symbols are required.
   19336 always_export_symbols=$always_export_symbols_RC
   19337 
   19338 # The commands to list exported symbols.
   19339 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19340 
   19341 # The commands to extract the exported symbol list from a shared archive.
   19342 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19343 
   19344 # Symbols that should not be listed in the preloaded symbols.
   19345 exclude_expsyms=$lt_exclude_expsyms_RC
   19346 
   19347 # Symbols that must always be exported.
   19348 include_expsyms=$lt_include_expsyms_RC
   19349 
   19350 # ### END LIBTOOL TAG CONFIG: $tagname
   19351 
   19352 __EOF__
   19353 
   19354 
   19355 else
   19356   # If there is no Makefile yet, we rely on a make rule to execute
   19357   # `config.status --recheck' to rerun these tests and create the
   19358   # libtool script then.
   19359   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19360   if test -f "$ltmain_in"; then
   19361     test -f Makefile && make "$ltmain"
   19362   fi
   19363 fi
   19364 
   19365 
   19366 ac_ext=c
   19367 ac_cpp='$CPP $CPPFLAGS'
   19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19371 
   19372 CC="$lt_save_CC"
   19373 
   19374 	;;
   19375 
   19376       *)
   19377 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19378 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19379    { (exit 1); exit 1; }; }
   19380 	;;
   19381       esac
   19382 
   19383       # Append the new tag name to the list of available tags.
   19384       if test -n "$tagname" ; then
   19385       available_tags="$available_tags $tagname"
   19386     fi
   19387     fi
   19388   done
   19389   IFS="$lt_save_ifs"
   19390 
   19391   # Now substitute the updated list of available tags.
   19392   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19393     mv "${ofile}T" "$ofile"
   19394     chmod +x "$ofile"
   19395   else
   19396     rm -f "${ofile}T"
   19397     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19398 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19399    { (exit 1); exit 1; }; }
   19400   fi
   19401 fi
   19402 
   19403 
   19404 
   19405 # This can be used to rebuild libtool when needed
   19406 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19407 
   19408 # Always use our own libtool.
   19409 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19410 
   19411 # Prevent multiple expansion
   19412 
   19413 
   19414 
   19415 
   19416 
   19417 
   19418 
   19419 
   19420 
   19421 
   19422 
   19423 
   19424 
   19425 
   19426 
   19427 
   19428 
   19429 
   19430 
   19431 
   19432 ac_ext=c
   19433 ac_cpp='$CPP $CPPFLAGS'
   19434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19437 if test -n "$ac_tool_prefix"; then
   19438   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19442 if test "${ac_cv_prog_CC+set}" = set; then
   19443   echo $ECHO_N "(cached) $ECHO_C" >&6
   19444 else
   19445   if test -n "$CC"; then
   19446   ac_cv_prog_CC="$CC" # Let the user override the test.
   19447 else
   19448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19449 for as_dir in $PATH
   19450 do
   19451   IFS=$as_save_IFS
   19452   test -z "$as_dir" && as_dir=.
   19453   for ac_exec_ext in '' $ac_executable_extensions; do
   19454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19455     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19456     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19457     break 2
   19458   fi
   19459 done
   19460 done
   19461 IFS=$as_save_IFS
   19462 
   19463 fi
   19464 fi
   19465 CC=$ac_cv_prog_CC
   19466 if test -n "$CC"; then
   19467   { echo "$as_me:$LINENO: result: $CC" >&5
   19468 echo "${ECHO_T}$CC" >&6; }
   19469 else
   19470   { echo "$as_me:$LINENO: result: no" >&5
   19471 echo "${ECHO_T}no" >&6; }
   19472 fi
   19473 
   19474 
   19475 fi
   19476 if test -z "$ac_cv_prog_CC"; then
   19477   ac_ct_CC=$CC
   19478   # Extract the first word of "gcc", so it can be a program name with args.
   19479 set dummy gcc; ac_word=$2
   19480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19483   echo $ECHO_N "(cached) $ECHO_C" >&6
   19484 else
   19485   if test -n "$ac_ct_CC"; then
   19486   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19487 else
   19488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19489 for as_dir in $PATH
   19490 do
   19491   IFS=$as_save_IFS
   19492   test -z "$as_dir" && as_dir=.
   19493   for ac_exec_ext in '' $ac_executable_extensions; do
   19494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19495     ac_cv_prog_ac_ct_CC="gcc"
   19496     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19497     break 2
   19498   fi
   19499 done
   19500 done
   19501 IFS=$as_save_IFS
   19502 
   19503 fi
   19504 fi
   19505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19506 if test -n "$ac_ct_CC"; then
   19507   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19508 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19509 else
   19510   { echo "$as_me:$LINENO: result: no" >&5
   19511 echo "${ECHO_T}no" >&6; }
   19512 fi
   19513 
   19514   if test "x$ac_ct_CC" = x; then
   19515     CC=""
   19516   else
   19517     case $cross_compiling:$ac_tool_warned in
   19518 yes:)
   19519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19520 whose name does not start with the host triplet.  If you think this
   19521 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19523 whose name does not start with the host triplet.  If you think this
   19524 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19525 ac_tool_warned=yes ;;
   19526 esac
   19527     CC=$ac_ct_CC
   19528   fi
   19529 else
   19530   CC="$ac_cv_prog_CC"
   19531 fi
   19532 
   19533 if test -z "$CC"; then
   19534           if test -n "$ac_tool_prefix"; then
   19535     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19536 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19539 if test "${ac_cv_prog_CC+set}" = set; then
   19540   echo $ECHO_N "(cached) $ECHO_C" >&6
   19541 else
   19542   if test -n "$CC"; then
   19543   ac_cv_prog_CC="$CC" # Let the user override the test.
   19544 else
   19545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19546 for as_dir in $PATH
   19547 do
   19548   IFS=$as_save_IFS
   19549   test -z "$as_dir" && as_dir=.
   19550   for ac_exec_ext in '' $ac_executable_extensions; do
   19551   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19552     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19553     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19554     break 2
   19555   fi
   19556 done
   19557 done
   19558 IFS=$as_save_IFS
   19559 
   19560 fi
   19561 fi
   19562 CC=$ac_cv_prog_CC
   19563 if test -n "$CC"; then
   19564   { echo "$as_me:$LINENO: result: $CC" >&5
   19565 echo "${ECHO_T}$CC" >&6; }
   19566 else
   19567   { echo "$as_me:$LINENO: result: no" >&5
   19568 echo "${ECHO_T}no" >&6; }
   19569 fi
   19570 
   19571 
   19572   fi
   19573 fi
   19574 if test -z "$CC"; then
   19575   # Extract the first word of "cc", so it can be a program name with args.
   19576 set dummy cc; ac_word=$2
   19577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19579 if test "${ac_cv_prog_CC+set}" = set; then
   19580   echo $ECHO_N "(cached) $ECHO_C" >&6
   19581 else
   19582   if test -n "$CC"; then
   19583   ac_cv_prog_CC="$CC" # Let the user override the test.
   19584 else
   19585   ac_prog_rejected=no
   19586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19587 for as_dir in $PATH
   19588 do
   19589   IFS=$as_save_IFS
   19590   test -z "$as_dir" && as_dir=.
   19591   for ac_exec_ext in '' $ac_executable_extensions; do
   19592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19593     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19594        ac_prog_rejected=yes
   19595        continue
   19596      fi
   19597     ac_cv_prog_CC="cc"
   19598     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19599     break 2
   19600   fi
   19601 done
   19602 done
   19603 IFS=$as_save_IFS
   19604 
   19605 if test $ac_prog_rejected = yes; then
   19606   # We found a bogon in the path, so make sure we never use it.
   19607   set dummy $ac_cv_prog_CC
   19608   shift
   19609   if test $# != 0; then
   19610     # We chose a different compiler from the bogus one.
   19611     # However, it has the same basename, so the bogon will be chosen
   19612     # first if we set CC to just the basename; use the full file name.
   19613     shift
   19614     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   19615   fi
   19616 fi
   19617 fi
   19618 fi
   19619 CC=$ac_cv_prog_CC
   19620 if test -n "$CC"; then
   19621   { echo "$as_me:$LINENO: result: $CC" >&5
   19622 echo "${ECHO_T}$CC" >&6; }
   19623 else
   19624   { echo "$as_me:$LINENO: result: no" >&5
   19625 echo "${ECHO_T}no" >&6; }
   19626 fi
   19627 
   19628 
   19629 fi
   19630 if test -z "$CC"; then
   19631   if test -n "$ac_tool_prefix"; then
   19632   for ac_prog in cl.exe
   19633   do
   19634     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19635 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19638 if test "${ac_cv_prog_CC+set}" = set; then
   19639   echo $ECHO_N "(cached) $ECHO_C" >&6
   19640 else
   19641   if test -n "$CC"; then
   19642   ac_cv_prog_CC="$CC" # Let the user override the test.
   19643 else
   19644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19645 for as_dir in $PATH
   19646 do
   19647   IFS=$as_save_IFS
   19648   test -z "$as_dir" && as_dir=.
   19649   for ac_exec_ext in '' $ac_executable_extensions; do
   19650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19651     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19652     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19653     break 2
   19654   fi
   19655 done
   19656 done
   19657 IFS=$as_save_IFS
   19658 
   19659 fi
   19660 fi
   19661 CC=$ac_cv_prog_CC
   19662 if test -n "$CC"; then
   19663   { echo "$as_me:$LINENO: result: $CC" >&5
   19664 echo "${ECHO_T}$CC" >&6; }
   19665 else
   19666   { echo "$as_me:$LINENO: result: no" >&5
   19667 echo "${ECHO_T}no" >&6; }
   19668 fi
   19669 
   19670 
   19671     test -n "$CC" && break
   19672   done
   19673 fi
   19674 if test -z "$CC"; then
   19675   ac_ct_CC=$CC
   19676   for ac_prog in cl.exe
   19677 do
   19678   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19679 set dummy $ac_prog; ac_word=$2
   19680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19683   echo $ECHO_N "(cached) $ECHO_C" >&6
   19684 else
   19685   if test -n "$ac_ct_CC"; then
   19686   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19687 else
   19688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19689 for as_dir in $PATH
   19690 do
   19691   IFS=$as_save_IFS
   19692   test -z "$as_dir" && as_dir=.
   19693   for ac_exec_ext in '' $ac_executable_extensions; do
   19694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19695     ac_cv_prog_ac_ct_CC="$ac_prog"
   19696     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19697     break 2
   19698   fi
   19699 done
   19700 done
   19701 IFS=$as_save_IFS
   19702 
   19703 fi
   19704 fi
   19705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19706 if test -n "$ac_ct_CC"; then
   19707   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19708 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19709 else
   19710   { echo "$as_me:$LINENO: result: no" >&5
   19711 echo "${ECHO_T}no" >&6; }
   19712 fi
   19713 
   19714 
   19715   test -n "$ac_ct_CC" && break
   19716 done
   19717 
   19718   if test "x$ac_ct_CC" = x; then
   19719     CC=""
   19720   else
   19721     case $cross_compiling:$ac_tool_warned in
   19722 yes:)
   19723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19724 whose name does not start with the host triplet.  If you think this
   19725 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19727 whose name does not start with the host triplet.  If you think this
   19728 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19729 ac_tool_warned=yes ;;
   19730 esac
   19731     CC=$ac_ct_CC
   19732   fi
   19733 fi
   19734 
   19735 fi
   19736 
   19737 
   19738 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   19739 See \`config.log' for more details." >&5
   19740 echo "$as_me: error: no acceptable C compiler found in \$PATH
   19741 See \`config.log' for more details." >&2;}
   19742    { (exit 1); exit 1; }; }
   19743 
   19744 # Provide some information about the compiler.
   19745 echo "$as_me:$LINENO: checking for C compiler version" >&5
   19746 ac_compiler=`set X $ac_compile; echo $2`
   19747 { (ac_try="$ac_compiler --version >&5"
   19748 case "(($ac_try" in
   19749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19750   *) ac_try_echo=$ac_try;;
   19751 esac
   19752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19753   (eval "$ac_compiler --version >&5") 2>&5
   19754   ac_status=$?
   19755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19756   (exit $ac_status); }
   19757 { (ac_try="$ac_compiler -v >&5"
   19758 case "(($ac_try" in
   19759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19760   *) ac_try_echo=$ac_try;;
   19761 esac
   19762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19763   (eval "$ac_compiler -v >&5") 2>&5
   19764   ac_status=$?
   19765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19766   (exit $ac_status); }
   19767 { (ac_try="$ac_compiler -V >&5"
   19768 case "(($ac_try" in
   19769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19770   *) ac_try_echo=$ac_try;;
   19771 esac
   19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19773   (eval "$ac_compiler -V >&5") 2>&5
   19774   ac_status=$?
   19775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19776   (exit $ac_status); }
   19777 
   19778 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19779 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   19780 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19781   echo $ECHO_N "(cached) $ECHO_C" >&6
   19782 else
   19783   cat >conftest.$ac_ext <<_ACEOF
   19784 /* confdefs.h.  */
   19785 _ACEOF
   19786 cat confdefs.h >>conftest.$ac_ext
   19787 cat >>conftest.$ac_ext <<_ACEOF
   19788 /* end confdefs.h.  */
   19789 
   19790 int
   19791 main ()
   19792 {
   19793 #ifndef __GNUC__
   19794        choke me
   19795 #endif
   19796 
   19797   ;
   19798   return 0;
   19799 }
   19800 _ACEOF
   19801 rm -f conftest.$ac_objext
   19802 if { (ac_try="$ac_compile"
   19803 case "(($ac_try" in
   19804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19805   *) ac_try_echo=$ac_try;;
   19806 esac
   19807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19808   (eval "$ac_compile") 2>conftest.er1
   19809   ac_status=$?
   19810   grep -v '^ *+' conftest.er1 >conftest.err
   19811   rm -f conftest.er1
   19812   cat conftest.err >&5
   19813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19814   (exit $ac_status); } && {
   19815 	 test -z "$ac_c_werror_flag" ||
   19816 	 test ! -s conftest.err
   19817        } && test -s conftest.$ac_objext; then
   19818   ac_compiler_gnu=yes
   19819 else
   19820   echo "$as_me: failed program was:" >&5
   19821 sed 's/^/| /' conftest.$ac_ext >&5
   19822 
   19823 	ac_compiler_gnu=no
   19824 fi
   19825 
   19826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19827 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19828 
   19829 fi
   19830 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19831 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   19832 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19833 ac_test_CFLAGS=${CFLAGS+set}
   19834 ac_save_CFLAGS=$CFLAGS
   19835 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19836 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   19837 if test "${ac_cv_prog_cc_g+set}" = set; then
   19838   echo $ECHO_N "(cached) $ECHO_C" >&6
   19839 else
   19840   ac_save_c_werror_flag=$ac_c_werror_flag
   19841    ac_c_werror_flag=yes
   19842    ac_cv_prog_cc_g=no
   19843    CFLAGS="-g"
   19844    cat >conftest.$ac_ext <<_ACEOF
   19845 /* confdefs.h.  */
   19846 _ACEOF
   19847 cat confdefs.h >>conftest.$ac_ext
   19848 cat >>conftest.$ac_ext <<_ACEOF
   19849 /* end confdefs.h.  */
   19850 
   19851 int
   19852 main ()
   19853 {
   19854 
   19855   ;
   19856   return 0;
   19857 }
   19858 _ACEOF
   19859 rm -f conftest.$ac_objext
   19860 if { (ac_try="$ac_compile"
   19861 case "(($ac_try" in
   19862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19863   *) ac_try_echo=$ac_try;;
   19864 esac
   19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19866   (eval "$ac_compile") 2>conftest.er1
   19867   ac_status=$?
   19868   grep -v '^ *+' conftest.er1 >conftest.err
   19869   rm -f conftest.er1
   19870   cat conftest.err >&5
   19871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19872   (exit $ac_status); } && {
   19873 	 test -z "$ac_c_werror_flag" ||
   19874 	 test ! -s conftest.err
   19875        } && test -s conftest.$ac_objext; then
   19876   ac_cv_prog_cc_g=yes
   19877 else
   19878   echo "$as_me: failed program was:" >&5
   19879 sed 's/^/| /' conftest.$ac_ext >&5
   19880 
   19881 	CFLAGS=""
   19882       cat >conftest.$ac_ext <<_ACEOF
   19883 /* confdefs.h.  */
   19884 _ACEOF
   19885 cat confdefs.h >>conftest.$ac_ext
   19886 cat >>conftest.$ac_ext <<_ACEOF
   19887 /* end confdefs.h.  */
   19888 
   19889 int
   19890 main ()
   19891 {
   19892 
   19893   ;
   19894   return 0;
   19895 }
   19896 _ACEOF
   19897 rm -f conftest.$ac_objext
   19898 if { (ac_try="$ac_compile"
   19899 case "(($ac_try" in
   19900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19901   *) ac_try_echo=$ac_try;;
   19902 esac
   19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19904   (eval "$ac_compile") 2>conftest.er1
   19905   ac_status=$?
   19906   grep -v '^ *+' conftest.er1 >conftest.err
   19907   rm -f conftest.er1
   19908   cat conftest.err >&5
   19909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19910   (exit $ac_status); } && {
   19911 	 test -z "$ac_c_werror_flag" ||
   19912 	 test ! -s conftest.err
   19913        } && test -s conftest.$ac_objext; then
   19914   :
   19915 else
   19916   echo "$as_me: failed program was:" >&5
   19917 sed 's/^/| /' conftest.$ac_ext >&5
   19918 
   19919 	ac_c_werror_flag=$ac_save_c_werror_flag
   19920 	 CFLAGS="-g"
   19921 	 cat >conftest.$ac_ext <<_ACEOF
   19922 /* confdefs.h.  */
   19923 _ACEOF
   19924 cat confdefs.h >>conftest.$ac_ext
   19925 cat >>conftest.$ac_ext <<_ACEOF
   19926 /* end confdefs.h.  */
   19927 
   19928 int
   19929 main ()
   19930 {
   19931 
   19932   ;
   19933   return 0;
   19934 }
   19935 _ACEOF
   19936 rm -f conftest.$ac_objext
   19937 if { (ac_try="$ac_compile"
   19938 case "(($ac_try" in
   19939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19940   *) ac_try_echo=$ac_try;;
   19941 esac
   19942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19943   (eval "$ac_compile") 2>conftest.er1
   19944   ac_status=$?
   19945   grep -v '^ *+' conftest.er1 >conftest.err
   19946   rm -f conftest.er1
   19947   cat conftest.err >&5
   19948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19949   (exit $ac_status); } && {
   19950 	 test -z "$ac_c_werror_flag" ||
   19951 	 test ! -s conftest.err
   19952        } && test -s conftest.$ac_objext; then
   19953   ac_cv_prog_cc_g=yes
   19954 else
   19955   echo "$as_me: failed program was:" >&5
   19956 sed 's/^/| /' conftest.$ac_ext >&5
   19957 
   19958 
   19959 fi
   19960 
   19961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19962 fi
   19963 
   19964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19965 fi
   19966 
   19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19968    ac_c_werror_flag=$ac_save_c_werror_flag
   19969 fi
   19970 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19971 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   19972 if test "$ac_test_CFLAGS" = set; then
   19973   CFLAGS=$ac_save_CFLAGS
   19974 elif test $ac_cv_prog_cc_g = yes; then
   19975   if test "$GCC" = yes; then
   19976     CFLAGS="-g -O2"
   19977   else
   19978     CFLAGS="-g"
   19979   fi
   19980 else
   19981   if test "$GCC" = yes; then
   19982     CFLAGS="-O2"
   19983   else
   19984     CFLAGS=
   19985   fi
   19986 fi
   19987 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   19988 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   19989 if test "${ac_cv_prog_cc_c89+set}" = set; then
   19990   echo $ECHO_N "(cached) $ECHO_C" >&6
   19991 else
   19992   ac_cv_prog_cc_c89=no
   19993 ac_save_CC=$CC
   19994 cat >conftest.$ac_ext <<_ACEOF
   19995 /* confdefs.h.  */
   19996 _ACEOF
   19997 cat confdefs.h >>conftest.$ac_ext
   19998 cat >>conftest.$ac_ext <<_ACEOF
   19999 /* end confdefs.h.  */
   20000 #include <stdarg.h>
   20001 #include <stdio.h>
   20002 #include <sys/types.h>
   20003 #include <sys/stat.h>
   20004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20005 struct buf { int x; };
   20006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20007 static char *e (p, i)
   20008      char **p;
   20009      int i;
   20010 {
   20011   return p[i];
   20012 }
   20013 static char *f (char * (*g) (char **, int), char **p, ...)
   20014 {
   20015   char *s;
   20016   va_list v;
   20017   va_start (v,p);
   20018   s = g (p, va_arg (v,int));
   20019   va_end (v);
   20020   return s;
   20021 }
   20022 
   20023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20024    function prototypes and stuff, but not '\xHH' hex character constants.
   20025    These don't provoke an error unfortunately, instead are silently treated
   20026    as 'x'.  The following induces an error, until -std is added to get
   20027    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20028    array size at least.  It's necessary to write '\x00'==0 to get something
   20029    that's true only with -std.  */
   20030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20031 
   20032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20033    inside strings and character constants.  */
   20034 #define FOO(x) 'x'
   20035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20036 
   20037 int test (int i, double x);
   20038 struct s1 {int (*f) (int a);};
   20039 struct s2 {int (*f) (double a);};
   20040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20041 int argc;
   20042 char **argv;
   20043 int
   20044 main ()
   20045 {
   20046 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20047   ;
   20048   return 0;
   20049 }
   20050 _ACEOF
   20051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20052 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20053 do
   20054   CC="$ac_save_CC $ac_arg"
   20055   rm -f conftest.$ac_objext
   20056 if { (ac_try="$ac_compile"
   20057 case "(($ac_try" in
   20058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20059   *) ac_try_echo=$ac_try;;
   20060 esac
   20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20062   (eval "$ac_compile") 2>conftest.er1
   20063   ac_status=$?
   20064   grep -v '^ *+' conftest.er1 >conftest.err
   20065   rm -f conftest.er1
   20066   cat conftest.err >&5
   20067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20068   (exit $ac_status); } && {
   20069 	 test -z "$ac_c_werror_flag" ||
   20070 	 test ! -s conftest.err
   20071        } && test -s conftest.$ac_objext; then
   20072   ac_cv_prog_cc_c89=$ac_arg
   20073 else
   20074   echo "$as_me: failed program was:" >&5
   20075 sed 's/^/| /' conftest.$ac_ext >&5
   20076 
   20077 
   20078 fi
   20079 
   20080 rm -f core conftest.err conftest.$ac_objext
   20081   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20082 done
   20083 rm -f conftest.$ac_ext
   20084 CC=$ac_save_CC
   20085 
   20086 fi
   20087 # AC_CACHE_VAL
   20088 case "x$ac_cv_prog_cc_c89" in
   20089   x)
   20090     { echo "$as_me:$LINENO: result: none needed" >&5
   20091 echo "${ECHO_T}none needed" >&6; } ;;
   20092   xno)
   20093     { echo "$as_me:$LINENO: result: unsupported" >&5
   20094 echo "${ECHO_T}unsupported" >&6; } ;;
   20095   *)
   20096     CC="$CC $ac_cv_prog_cc_c89"
   20097     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20098 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   20099 esac
   20100 
   20101 
   20102 ac_ext=c
   20103 ac_cpp='$CPP $CPPFLAGS'
   20104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20107 
   20108 depcc="$CC"   am_compiler_list=
   20109 
   20110 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20111 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   20112 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20113   echo $ECHO_N "(cached) $ECHO_C" >&6
   20114 else
   20115   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20116   # We make a subdir and do the tests there.  Otherwise we can end up
   20117   # making bogus files that we don't know about and never remove.  For
   20118   # instance it was reported that on HP-UX the gcc test will end up
   20119   # making a dummy file named `D' -- because `-MD' means `put the output
   20120   # in D'.
   20121   mkdir conftest.dir
   20122   # Copy depcomp to subdir because otherwise we won't find it if we're
   20123   # using a relative directory.
   20124   cp "$am_depcomp" conftest.dir
   20125   cd conftest.dir
   20126   # We will build objects and dependencies in a subdirectory because
   20127   # it helps to detect inapplicable dependency modes.  For instance
   20128   # both Tru64's cc and ICC support -MD to output dependencies as a
   20129   # side effect of compilation, but ICC will put the dependencies in
   20130   # the current directory while Tru64 will put them in the object
   20131   # directory.
   20132   mkdir sub
   20133 
   20134   am_cv_CC_dependencies_compiler_type=none
   20135   if test "$am_compiler_list" = ""; then
   20136      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20137   fi
   20138   for depmode in $am_compiler_list; do
   20139     # Setup a source with many dependencies, because some compilers
   20140     # like to wrap large dependency lists on column 80 (with \), and
   20141     # we should not choose a depcomp mode which is confused by this.
   20142     #
   20143     # We need to recreate these files for each test, as the compiler may
   20144     # overwrite some of them when testing with obscure command lines.
   20145     # This happens at least with the AIX C compiler.
   20146     : > sub/conftest.c
   20147     for i in 1 2 3 4 5 6; do
   20148       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20149       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20150       # Solaris 8's {/usr,}/bin/sh.
   20151       touch sub/conftst$i.h
   20152     done
   20153     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20154 
   20155     case $depmode in
   20156     nosideeffect)
   20157       # after this tag, mechanisms are not by side-effect, so they'll
   20158       # only be used when explicitly requested
   20159       if test "x$enable_dependency_tracking" = xyes; then
   20160 	continue
   20161       else
   20162 	break
   20163       fi
   20164       ;;
   20165     none) break ;;
   20166     esac
   20167     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20168     # mode.  It turns out that the SunPro C++ compiler does not properly
   20169     # handle `-M -o', and we need to detect this.
   20170     if depmode=$depmode \
   20171        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20172        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20173        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20174          >/dev/null 2>conftest.err &&
   20175        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20176        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20177        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20178        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20179       # icc doesn't choke on unknown options, it will just issue warnings
   20180       # or remarks (even with -Werror).  So we grep stderr for any message
   20181       # that says an option was ignored or not supported.
   20182       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20183       #   icc: Command line warning: ignoring option '-M'; no argument required
   20184       # The diagnosis changed in icc 8.0:
   20185       #   icc: Command line remark: option '-MP' not supported
   20186       if (grep 'ignoring option' conftest.err ||
   20187           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20188         am_cv_CC_dependencies_compiler_type=$depmode
   20189         break
   20190       fi
   20191     fi
   20192   done
   20193 
   20194   cd ..
   20195   rm -rf conftest.dir
   20196 else
   20197   am_cv_CC_dependencies_compiler_type=none
   20198 fi
   20199 
   20200 fi
   20201 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20202 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20203 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20204 
   20205  if
   20206   test "x$enable_dependency_tracking" != xno \
   20207   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20208   am__fastdepCC_TRUE=
   20209   am__fastdepCC_FALSE='#'
   20210 else
   20211   am__fastdepCC_TRUE='#'
   20212   am__fastdepCC_FALSE=
   20213 fi
   20214 
   20215 
   20216 
   20217 if test "x$GCC" = "xyes"; then
   20218 	CPPFLAGS="$CPPFLAGS -Wall"
   20219 fi
   20220 
   20221 
   20222 
   20223 
   20224 
   20225 # Check whether --with-xorg-module-dir was given.
   20226 if test "${with_xorg_module_dir+set}" = set; then
   20227   withval=$with_xorg_module_dir; moduledir="$withval"
   20228 else
   20229   moduledir="$libdir/xorg/modules"
   20230 fi
   20231 
   20232 
   20233 # Check whether --enable-dri was given.
   20234 if test "${enable_dri+set}" = set; then
   20235   enableval=$enable_dri; DRI="$enableval"
   20236 else
   20237   DRI=auto
   20238 fi
   20239 
   20240 
   20241 # Check whether --enable-exa was given.
   20242 if test "${enable_exa+set}" = set; then
   20243   enableval=$enable_exa; EXA="$enableval"
   20244 else
   20245   EXA=yes
   20246 fi
   20247 
   20248 
   20249 # Checks for extensions
   20250 
   20251 	SAVE_CFLAGS="$CFLAGS"
   20252 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20253 	cat >conftest.$ac_ext <<_ACEOF
   20254 /* confdefs.h.  */
   20255 _ACEOF
   20256 cat confdefs.h >>conftest.$ac_ext
   20257 cat >>conftest.$ac_ext <<_ACEOF
   20258 /* end confdefs.h.  */
   20259 
   20260 #include "xorg-server.h"
   20261 #if !defined XINERAMA
   20262 #error XINERAMA not defined
   20263 #endif
   20264 
   20265 int
   20266 main ()
   20267 {
   20268 
   20269   ;
   20270   return 0;
   20271 }
   20272 _ACEOF
   20273 rm -f conftest.$ac_objext
   20274 if { (ac_try="$ac_compile"
   20275 case "(($ac_try" in
   20276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20277   *) ac_try_echo=$ac_try;;
   20278 esac
   20279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20280   (eval "$ac_compile") 2>conftest.er1
   20281   ac_status=$?
   20282   grep -v '^ *+' conftest.er1 >conftest.err
   20283   rm -f conftest.er1
   20284   cat conftest.err >&5
   20285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20286   (exit $ac_status); } && {
   20287 	 test -z "$ac_c_werror_flag" ||
   20288 	 test ! -s conftest.err
   20289        } && test -s conftest.$ac_objext; then
   20290   _EXT_CHECK=yes
   20291 else
   20292   echo "$as_me: failed program was:" >&5
   20293 sed 's/^/| /' conftest.$ac_ext >&5
   20294 
   20295 	_EXT_CHECK=no
   20296 fi
   20297 
   20298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20299 	CFLAGS="$SAVE_CFLAGS"
   20300 	{ echo "$as_me:$LINENO: checking if XINERAMA is defined" >&5
   20301 echo $ECHO_N "checking if XINERAMA is defined... $ECHO_C" >&6; }
   20302 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20303 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20304 	if test "$_EXT_CHECK" != no; then
   20305 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   20306 	fi
   20307 
   20308 
   20309 	SAVE_CFLAGS="$CFLAGS"
   20310 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20311 	cat >conftest.$ac_ext <<_ACEOF
   20312 /* confdefs.h.  */
   20313 _ACEOF
   20314 cat confdefs.h >>conftest.$ac_ext
   20315 cat >>conftest.$ac_ext <<_ACEOF
   20316 /* end confdefs.h.  */
   20317 
   20318 #include "xorg-server.h"
   20319 #if !defined RANDR
   20320 #error RANDR not defined
   20321 #endif
   20322 
   20323 int
   20324 main ()
   20325 {
   20326 
   20327   ;
   20328   return 0;
   20329 }
   20330 _ACEOF
   20331 rm -f conftest.$ac_objext
   20332 if { (ac_try="$ac_compile"
   20333 case "(($ac_try" in
   20334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20335   *) ac_try_echo=$ac_try;;
   20336 esac
   20337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20338   (eval "$ac_compile") 2>conftest.er1
   20339   ac_status=$?
   20340   grep -v '^ *+' conftest.er1 >conftest.err
   20341   rm -f conftest.er1
   20342   cat conftest.err >&5
   20343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20344   (exit $ac_status); } && {
   20345 	 test -z "$ac_c_werror_flag" ||
   20346 	 test ! -s conftest.err
   20347        } && test -s conftest.$ac_objext; then
   20348   _EXT_CHECK=yes
   20349 else
   20350   echo "$as_me: failed program was:" >&5
   20351 sed 's/^/| /' conftest.$ac_ext >&5
   20352 
   20353 	_EXT_CHECK=no
   20354 fi
   20355 
   20356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20357 	CFLAGS="$SAVE_CFLAGS"
   20358 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20359 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20360 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20361 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20362 	if test "$_EXT_CHECK" != no; then
   20363 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20364 	fi
   20365 
   20366 
   20367 	SAVE_CFLAGS="$CFLAGS"
   20368 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20369 	cat >conftest.$ac_ext <<_ACEOF
   20370 /* confdefs.h.  */
   20371 _ACEOF
   20372 cat confdefs.h >>conftest.$ac_ext
   20373 cat >>conftest.$ac_ext <<_ACEOF
   20374 /* end confdefs.h.  */
   20375 
   20376 #include "xorg-server.h"
   20377 #if !defined RENDER
   20378 #error RENDER not defined
   20379 #endif
   20380 
   20381 int
   20382 main ()
   20383 {
   20384 
   20385   ;
   20386   return 0;
   20387 }
   20388 _ACEOF
   20389 rm -f conftest.$ac_objext
   20390 if { (ac_try="$ac_compile"
   20391 case "(($ac_try" in
   20392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20393   *) ac_try_echo=$ac_try;;
   20394 esac
   20395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20396   (eval "$ac_compile") 2>conftest.er1
   20397   ac_status=$?
   20398   grep -v '^ *+' conftest.er1 >conftest.err
   20399   rm -f conftest.er1
   20400   cat conftest.err >&5
   20401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20402   (exit $ac_status); } && {
   20403 	 test -z "$ac_c_werror_flag" ||
   20404 	 test ! -s conftest.err
   20405        } && test -s conftest.$ac_objext; then
   20406   _EXT_CHECK=yes
   20407 else
   20408   echo "$as_me: failed program was:" >&5
   20409 sed 's/^/| /' conftest.$ac_ext >&5
   20410 
   20411 	_EXT_CHECK=no
   20412 fi
   20413 
   20414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20415 	CFLAGS="$SAVE_CFLAGS"
   20416 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20417 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20418 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20419 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20420 	if test "$_EXT_CHECK" != no; then
   20421 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20422 	fi
   20423 
   20424 
   20425 	SAVE_CFLAGS="$CFLAGS"
   20426 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20427 	cat >conftest.$ac_ext <<_ACEOF
   20428 /* confdefs.h.  */
   20429 _ACEOF
   20430 cat confdefs.h >>conftest.$ac_ext
   20431 cat >>conftest.$ac_ext <<_ACEOF
   20432 /* end confdefs.h.  */
   20433 
   20434 #include "xorg-server.h"
   20435 #if !defined XV
   20436 #error XV not defined
   20437 #endif
   20438 
   20439 int
   20440 main ()
   20441 {
   20442 
   20443   ;
   20444   return 0;
   20445 }
   20446 _ACEOF
   20447 rm -f conftest.$ac_objext
   20448 if { (ac_try="$ac_compile"
   20449 case "(($ac_try" in
   20450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20451   *) ac_try_echo=$ac_try;;
   20452 esac
   20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20454   (eval "$ac_compile") 2>conftest.er1
   20455   ac_status=$?
   20456   grep -v '^ *+' conftest.er1 >conftest.err
   20457   rm -f conftest.er1
   20458   cat conftest.err >&5
   20459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20460   (exit $ac_status); } && {
   20461 	 test -z "$ac_c_werror_flag" ||
   20462 	 test ! -s conftest.err
   20463        } && test -s conftest.$ac_objext; then
   20464   _EXT_CHECK=yes
   20465 else
   20466   echo "$as_me: failed program was:" >&5
   20467 sed 's/^/| /' conftest.$ac_ext >&5
   20468 
   20469 	_EXT_CHECK=no
   20470 fi
   20471 
   20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20473 	CFLAGS="$SAVE_CFLAGS"
   20474 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   20475 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   20476 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20477 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20478 	if test "$_EXT_CHECK" != no; then
   20479 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20480 	fi
   20481 
   20482 
   20483 	SAVE_CFLAGS="$CFLAGS"
   20484 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20485 	cat >conftest.$ac_ext <<_ACEOF
   20486 /* confdefs.h.  */
   20487 _ACEOF
   20488 cat confdefs.h >>conftest.$ac_ext
   20489 cat >>conftest.$ac_ext <<_ACEOF
   20490 /* end confdefs.h.  */
   20491 
   20492 #include "xorg-server.h"
   20493 #if !defined XF86MISC
   20494 #error XF86MISC not defined
   20495 #endif
   20496 
   20497 int
   20498 main ()
   20499 {
   20500 
   20501   ;
   20502   return 0;
   20503 }
   20504 _ACEOF
   20505 rm -f conftest.$ac_objext
   20506 if { (ac_try="$ac_compile"
   20507 case "(($ac_try" in
   20508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20509   *) ac_try_echo=$ac_try;;
   20510 esac
   20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20512   (eval "$ac_compile") 2>conftest.er1
   20513   ac_status=$?
   20514   grep -v '^ *+' conftest.er1 >conftest.err
   20515   rm -f conftest.er1
   20516   cat conftest.err >&5
   20517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20518   (exit $ac_status); } && {
   20519 	 test -z "$ac_c_werror_flag" ||
   20520 	 test ! -s conftest.err
   20521        } && test -s conftest.$ac_objext; then
   20522   _EXT_CHECK=yes
   20523 else
   20524   echo "$as_me: failed program was:" >&5
   20525 sed 's/^/| /' conftest.$ac_ext >&5
   20526 
   20527 	_EXT_CHECK=no
   20528 fi
   20529 
   20530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20531 	CFLAGS="$SAVE_CFLAGS"
   20532 	{ echo "$as_me:$LINENO: checking if XF86MISC is defined" >&5
   20533 echo $ECHO_N "checking if XF86MISC is defined... $ECHO_C" >&6; }
   20534 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20535 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20536 	if test "$_EXT_CHECK" != no; then
   20537 		REQUIRED_MODULES="$REQUIRED_MODULES xf86miscproto"
   20538 	fi
   20539 
   20540 
   20541 	SAVE_CFLAGS="$CFLAGS"
   20542 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20543 	cat >conftest.$ac_ext <<_ACEOF
   20544 /* confdefs.h.  */
   20545 _ACEOF
   20546 cat confdefs.h >>conftest.$ac_ext
   20547 cat >>conftest.$ac_ext <<_ACEOF
   20548 /* end confdefs.h.  */
   20549 
   20550 #include "xorg-server.h"
   20551 #if !defined DPMSExtension
   20552 #error DPMSExtension not defined
   20553 #endif
   20554 
   20555 int
   20556 main ()
   20557 {
   20558 
   20559   ;
   20560   return 0;
   20561 }
   20562 _ACEOF
   20563 rm -f conftest.$ac_objext
   20564 if { (ac_try="$ac_compile"
   20565 case "(($ac_try" in
   20566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20567   *) ac_try_echo=$ac_try;;
   20568 esac
   20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20570   (eval "$ac_compile") 2>conftest.er1
   20571   ac_status=$?
   20572   grep -v '^ *+' conftest.er1 >conftest.err
   20573   rm -f conftest.er1
   20574   cat conftest.err >&5
   20575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20576   (exit $ac_status); } && {
   20577 	 test -z "$ac_c_werror_flag" ||
   20578 	 test ! -s conftest.err
   20579        } && test -s conftest.$ac_objext; then
   20580   _EXT_CHECK=yes
   20581 else
   20582   echo "$as_me: failed program was:" >&5
   20583 sed 's/^/| /' conftest.$ac_ext >&5
   20584 
   20585 	_EXT_CHECK=no
   20586 fi
   20587 
   20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20589 	CFLAGS="$SAVE_CFLAGS"
   20590 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   20591 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   20592 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20593 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20594 	if test "$_EXT_CHECK" != no; then
   20595 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20596 	fi
   20597 
   20598 
   20599 # Checks for pkg-config packages
   20600 
   20601 
   20602 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20603 	if test -n "$ac_tool_prefix"; then
   20604   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20605 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20609   echo $ECHO_N "(cached) $ECHO_C" >&6
   20610 else
   20611   case $PKG_CONFIG in
   20612   [\\/]* | ?:[\\/]*)
   20613   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20614   ;;
   20615   *)
   20616   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20617 for as_dir in $PATH
   20618 do
   20619   IFS=$as_save_IFS
   20620   test -z "$as_dir" && as_dir=.
   20621   for ac_exec_ext in '' $ac_executable_extensions; do
   20622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20623     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20624     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20625     break 2
   20626   fi
   20627 done
   20628 done
   20629 IFS=$as_save_IFS
   20630 
   20631   ;;
   20632 esac
   20633 fi
   20634 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20635 if test -n "$PKG_CONFIG"; then
   20636   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20637 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20638 else
   20639   { echo "$as_me:$LINENO: result: no" >&5
   20640 echo "${ECHO_T}no" >&6; }
   20641 fi
   20642 
   20643 
   20644 fi
   20645 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20646   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20647   # Extract the first word of "pkg-config", so it can be a program name with args.
   20648 set dummy pkg-config; ac_word=$2
   20649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20651 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20652   echo $ECHO_N "(cached) $ECHO_C" >&6
   20653 else
   20654   case $ac_pt_PKG_CONFIG in
   20655   [\\/]* | ?:[\\/]*)
   20656   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20657   ;;
   20658   *)
   20659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20660 for as_dir in $PATH
   20661 do
   20662   IFS=$as_save_IFS
   20663   test -z "$as_dir" && as_dir=.
   20664   for ac_exec_ext in '' $ac_executable_extensions; do
   20665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20666     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20667     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20668     break 2
   20669   fi
   20670 done
   20671 done
   20672 IFS=$as_save_IFS
   20673 
   20674   ;;
   20675 esac
   20676 fi
   20677 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20678 if test -n "$ac_pt_PKG_CONFIG"; then
   20679   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20680 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20681 else
   20682   { echo "$as_me:$LINENO: result: no" >&5
   20683 echo "${ECHO_T}no" >&6; }
   20684 fi
   20685 
   20686   if test "x$ac_pt_PKG_CONFIG" = x; then
   20687     PKG_CONFIG=""
   20688   else
   20689     case $cross_compiling:$ac_tool_warned in
   20690 yes:)
   20691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20692 whose name does not start with the host triplet.  If you think this
   20693 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20695 whose name does not start with the host triplet.  If you think this
   20696 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20697 ac_tool_warned=yes ;;
   20698 esac
   20699     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20700   fi
   20701 else
   20702   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20703 fi
   20704 
   20705 fi
   20706 if test -n "$PKG_CONFIG"; then
   20707 	_pkg_min_version=0.9.0
   20708 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20709 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20710 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20711 		{ echo "$as_me:$LINENO: result: yes" >&5
   20712 echo "${ECHO_T}yes" >&6; }
   20713 	else
   20714 		{ echo "$as_me:$LINENO: result: no" >&5
   20715 echo "${ECHO_T}no" >&6; }
   20716 		PKG_CONFIG=""
   20717 	fi
   20718 
   20719 fi
   20720 
   20721 pkg_failed=no
   20722 { echo "$as_me:$LINENO: checking for XORG" >&5
   20723 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   20724 
   20725 if test -n "$XORG_CFLAGS"; then
   20726     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20727  elif test -n "$PKG_CONFIG"; then
   20728     if test -n "$PKG_CONFIG" && \
   20729     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20730   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20731   ac_status=$?
   20732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20733   (exit $ac_status); }; then
   20734   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20735 else
   20736   pkg_failed=yes
   20737 fi
   20738  else
   20739     pkg_failed=untried
   20740 fi
   20741 if test -n "$XORG_LIBS"; then
   20742     pkg_cv_XORG_LIBS="$XORG_LIBS"
   20743  elif test -n "$PKG_CONFIG"; then
   20744     if test -n "$PKG_CONFIG" && \
   20745     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20746   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20747   ac_status=$?
   20748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20749   (exit $ac_status); }; then
   20750   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20751 else
   20752   pkg_failed=yes
   20753 fi
   20754  else
   20755     pkg_failed=untried
   20756 fi
   20757 
   20758 
   20759 
   20760 if test $pkg_failed = yes; then
   20761 
   20762 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20763         _pkg_short_errors_supported=yes
   20764 else
   20765         _pkg_short_errors_supported=no
   20766 fi
   20767         if test $_pkg_short_errors_supported = yes; then
   20768 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20769         else
   20770 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20771         fi
   20772 	# Put the nasty error message in config.log where it belongs
   20773 	echo "$XORG_PKG_ERRORS" >&5
   20774 
   20775 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   20776 
   20777 $XORG_PKG_ERRORS
   20778 
   20779 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20780 installed software in a non-standard prefix.
   20781 
   20782 Alternatively, you may set the environment variables XORG_CFLAGS
   20783 and XORG_LIBS to avoid the need to call pkg-config.
   20784 See the pkg-config man page for more details.
   20785 " >&5
   20786 echo "$as_me: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   20787 
   20788 $XORG_PKG_ERRORS
   20789 
   20790 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20791 installed software in a non-standard prefix.
   20792 
   20793 Alternatively, you may set the environment variables XORG_CFLAGS
   20794 and XORG_LIBS to avoid the need to call pkg-config.
   20795 See the pkg-config man page for more details.
   20796 " >&2;}
   20797    { (exit 1); exit 1; }; }
   20798 elif test $pkg_failed = untried; then
   20799 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20800 is in your PATH or set the PKG_CONFIG environment variable to the full
   20801 path to pkg-config.
   20802 
   20803 Alternatively, you may set the environment variables XORG_CFLAGS
   20804 and XORG_LIBS to avoid the need to call pkg-config.
   20805 See the pkg-config man page for more details.
   20806 
   20807 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20808 See \`config.log' for more details." >&5
   20809 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20810 is in your PATH or set the PKG_CONFIG environment variable to the full
   20811 path to pkg-config.
   20812 
   20813 Alternatively, you may set the environment variables XORG_CFLAGS
   20814 and XORG_LIBS to avoid the need to call pkg-config.
   20815 See the pkg-config man page for more details.
   20816 
   20817 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20818 See \`config.log' for more details." >&2;}
   20819    { (exit 1); exit 1; }; }
   20820 else
   20821 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20822 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20823         { echo "$as_me:$LINENO: result: yes" >&5
   20824 echo "${ECHO_T}yes" >&6; }
   20825 	:
   20826 fi
   20827 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   20828 
   20829 # Checks for libraries.
   20830 
   20831 # Checks for header files.
   20832 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20833 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   20834 if test "${ac_cv_header_stdc+set}" = set; then
   20835   echo $ECHO_N "(cached) $ECHO_C" >&6
   20836 else
   20837   cat >conftest.$ac_ext <<_ACEOF
   20838 /* confdefs.h.  */
   20839 _ACEOF
   20840 cat confdefs.h >>conftest.$ac_ext
   20841 cat >>conftest.$ac_ext <<_ACEOF
   20842 /* end confdefs.h.  */
   20843 #include <stdlib.h>
   20844 #include <stdarg.h>
   20845 #include <string.h>
   20846 #include <float.h>
   20847 
   20848 int
   20849 main ()
   20850 {
   20851 
   20852   ;
   20853   return 0;
   20854 }
   20855 _ACEOF
   20856 rm -f conftest.$ac_objext
   20857 if { (ac_try="$ac_compile"
   20858 case "(($ac_try" in
   20859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20860   *) ac_try_echo=$ac_try;;
   20861 esac
   20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20863   (eval "$ac_compile") 2>conftest.er1
   20864   ac_status=$?
   20865   grep -v '^ *+' conftest.er1 >conftest.err
   20866   rm -f conftest.er1
   20867   cat conftest.err >&5
   20868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20869   (exit $ac_status); } && {
   20870 	 test -z "$ac_c_werror_flag" ||
   20871 	 test ! -s conftest.err
   20872        } && test -s conftest.$ac_objext; then
   20873   ac_cv_header_stdc=yes
   20874 else
   20875   echo "$as_me: failed program was:" >&5
   20876 sed 's/^/| /' conftest.$ac_ext >&5
   20877 
   20878 	ac_cv_header_stdc=no
   20879 fi
   20880 
   20881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20882 
   20883 if test $ac_cv_header_stdc = yes; then
   20884   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20885   cat >conftest.$ac_ext <<_ACEOF
   20886 /* confdefs.h.  */
   20887 _ACEOF
   20888 cat confdefs.h >>conftest.$ac_ext
   20889 cat >>conftest.$ac_ext <<_ACEOF
   20890 /* end confdefs.h.  */
   20891 #include <string.h>
   20892 
   20893 _ACEOF
   20894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20895   $EGREP "memchr" >/dev/null 2>&1; then
   20896   :
   20897 else
   20898   ac_cv_header_stdc=no
   20899 fi
   20900 rm -f conftest*
   20901 
   20902 fi
   20903 
   20904 if test $ac_cv_header_stdc = yes; then
   20905   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20906   cat >conftest.$ac_ext <<_ACEOF
   20907 /* confdefs.h.  */
   20908 _ACEOF
   20909 cat confdefs.h >>conftest.$ac_ext
   20910 cat >>conftest.$ac_ext <<_ACEOF
   20911 /* end confdefs.h.  */
   20912 #include <stdlib.h>
   20913 
   20914 _ACEOF
   20915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20916   $EGREP "free" >/dev/null 2>&1; then
   20917   :
   20918 else
   20919   ac_cv_header_stdc=no
   20920 fi
   20921 rm -f conftest*
   20922 
   20923 fi
   20924 
   20925 if test $ac_cv_header_stdc = yes; then
   20926   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20927   if test "$cross_compiling" = yes; then
   20928   :
   20929 else
   20930   cat >conftest.$ac_ext <<_ACEOF
   20931 /* confdefs.h.  */
   20932 _ACEOF
   20933 cat confdefs.h >>conftest.$ac_ext
   20934 cat >>conftest.$ac_ext <<_ACEOF
   20935 /* end confdefs.h.  */
   20936 #include <ctype.h>
   20937 #include <stdlib.h>
   20938 #if ((' ' & 0x0FF) == 0x020)
   20939 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20940 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20941 #else
   20942 # define ISLOWER(c) \
   20943 		   (('a' <= (c) && (c) <= 'i') \
   20944 		     || ('j' <= (c) && (c) <= 'r') \
   20945 		     || ('s' <= (c) && (c) <= 'z'))
   20946 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20947 #endif
   20948 
   20949 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20950 int
   20951 main ()
   20952 {
   20953   int i;
   20954   for (i = 0; i < 256; i++)
   20955     if (XOR (islower (i), ISLOWER (i))
   20956 	|| toupper (i) != TOUPPER (i))
   20957       return 2;
   20958   return 0;
   20959 }
   20960 _ACEOF
   20961 rm -f conftest$ac_exeext
   20962 if { (ac_try="$ac_link"
   20963 case "(($ac_try" in
   20964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20965   *) ac_try_echo=$ac_try;;
   20966 esac
   20967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20968   (eval "$ac_link") 2>&5
   20969   ac_status=$?
   20970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20971   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20972   { (case "(($ac_try" in
   20973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20974   *) ac_try_echo=$ac_try;;
   20975 esac
   20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20977   (eval "$ac_try") 2>&5
   20978   ac_status=$?
   20979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20980   (exit $ac_status); }; }; then
   20981   :
   20982 else
   20983   echo "$as_me: program exited with status $ac_status" >&5
   20984 echo "$as_me: failed program was:" >&5
   20985 sed 's/^/| /' conftest.$ac_ext >&5
   20986 
   20987 ( exit $ac_status )
   20988 ac_cv_header_stdc=no
   20989 fi
   20990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20991 fi
   20992 
   20993 
   20994 fi
   20995 fi
   20996 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20997 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   20998 if test $ac_cv_header_stdc = yes; then
   20999 
   21000 cat >>confdefs.h <<\_ACEOF
   21001 #define STDC_HEADERS 1
   21002 _ACEOF
   21003 
   21004 fi
   21005 
   21006 
   21007 if test "$DRI" != no; then
   21008 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   21009 { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   21010 echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
   21011 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21012   echo $ECHO_N "(cached) $ECHO_C" >&6
   21013 else
   21014   test "$cross_compiling" = yes &&
   21015   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21016 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21017    { (exit 1); exit 1; }; }
   21018 if test -r "${sdkdir}/dri.h"; then
   21019   eval "$as_ac_File=yes"
   21020 else
   21021   eval "$as_ac_File=no"
   21022 fi
   21023 fi
   21024 ac_res=`eval echo '${'$as_ac_File'}'`
   21025 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21026 echo "${ECHO_T}$ac_res" >&6; }
   21027 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21028   have_dri_h="yes"
   21029 else
   21030   have_dri_h="no"
   21031 fi
   21032 
   21033 	as_ac_File=`echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   21034 { echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   21035 echo $ECHO_N "checking for ${sdkdir}/sarea.h... $ECHO_C" >&6; }
   21036 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21037   echo $ECHO_N "(cached) $ECHO_C" >&6
   21038 else
   21039   test "$cross_compiling" = yes &&
   21040   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21041 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21042    { (exit 1); exit 1; }; }
   21043 if test -r "${sdkdir}/sarea.h"; then
   21044   eval "$as_ac_File=yes"
   21045 else
   21046   eval "$as_ac_File=no"
   21047 fi
   21048 fi
   21049 ac_res=`eval echo '${'$as_ac_File'}'`
   21050 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21051 echo "${ECHO_T}$ac_res" >&6; }
   21052 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21053   have_sarea_h="yes"
   21054 else
   21055   have_sarea_h="no"
   21056 fi
   21057 
   21058 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   21059 { echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   21060 echo $ECHO_N "checking for ${sdkdir}/dristruct.h... $ECHO_C" >&6; }
   21061 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21062   echo $ECHO_N "(cached) $ECHO_C" >&6
   21063 else
   21064   test "$cross_compiling" = yes &&
   21065   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21066 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21067    { (exit 1); exit 1; }; }
   21068 if test -r "${sdkdir}/dristruct.h"; then
   21069   eval "$as_ac_File=yes"
   21070 else
   21071   eval "$as_ac_File=no"
   21072 fi
   21073 fi
   21074 ac_res=`eval echo '${'$as_ac_File'}'`
   21075 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21076 echo "${ECHO_T}$ac_res" >&6; }
   21077 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21078   have_dristruct_h="yes"
   21079 else
   21080   have_dristruct_h="no"
   21081 fi
   21082 
   21083 	as_ac_File=`echo "ac_cv_file_${sdkdir}/damage.h" | $as_tr_sh`
   21084 { echo "$as_me:$LINENO: checking for ${sdkdir}/damage.h" >&5
   21085 echo $ECHO_N "checking for ${sdkdir}/damage.h... $ECHO_C" >&6; }
   21086 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21087   echo $ECHO_N "(cached) $ECHO_C" >&6
   21088 else
   21089   test "$cross_compiling" = yes &&
   21090   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21091 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21092    { (exit 1); exit 1; }; }
   21093 if test -r "${sdkdir}/damage.h"; then
   21094   eval "$as_ac_File=yes"
   21095 else
   21096   eval "$as_ac_File=no"
   21097 fi
   21098 fi
   21099 ac_res=`eval echo '${'$as_ac_File'}'`
   21100 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21101 echo "${ECHO_T}$ac_res" >&6; }
   21102 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21103   have_damage_h="yes"
   21104 else
   21105   have_damage_h="no"
   21106 fi
   21107 
   21108 fi
   21109 
   21110 { echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   21111 echo $ECHO_N "checking whether to include DRI support... $ECHO_C" >&6; }
   21112 if test x$DRI = xauto; then
   21113 	if test "$have_dri_h" = yes -a \
   21114                 "$have_sarea_h" = yes -a \
   21115                 "$have_dristruct_h" = yes; then
   21116 		DRI="yes"
   21117 	else
   21118 		DRI="no"
   21119 	fi
   21120 fi
   21121 { echo "$as_me:$LINENO: result: $DRI" >&5
   21122 echo "${ECHO_T}$DRI" >&6; }
   21123 
   21124  if test x$DRI = xyes; then
   21125   DRI_TRUE=
   21126   DRI_FALSE='#'
   21127 else
   21128   DRI_TRUE='#'
   21129   DRI_FALSE=
   21130 fi
   21131 
   21132 if test "$DRI" = yes; then
   21133 
   21134 pkg_failed=no
   21135 { echo "$as_me:$LINENO: checking for DRI" >&5
   21136 echo $ECHO_N "checking for DRI... $ECHO_C" >&6; }
   21137 
   21138 if test -n "$DRI_CFLAGS"; then
   21139     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   21140  elif test -n "$PKG_CONFIG"; then
   21141     if test -n "$PKG_CONFIG" && \
   21142     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21143   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21144   ac_status=$?
   21145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21146   (exit $ac_status); }; then
   21147   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21148 else
   21149   pkg_failed=yes
   21150 fi
   21151  else
   21152     pkg_failed=untried
   21153 fi
   21154 if test -n "$DRI_LIBS"; then
   21155     pkg_cv_DRI_LIBS="$DRI_LIBS"
   21156  elif test -n "$PKG_CONFIG"; then
   21157     if test -n "$PKG_CONFIG" && \
   21158     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21159   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21160   ac_status=$?
   21161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21162   (exit $ac_status); }; then
   21163   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21164 else
   21165   pkg_failed=yes
   21166 fi
   21167  else
   21168     pkg_failed=untried
   21169 fi
   21170 
   21171 
   21172 
   21173 if test $pkg_failed = yes; then
   21174 
   21175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21176         _pkg_short_errors_supported=yes
   21177 else
   21178         _pkg_short_errors_supported=no
   21179 fi
   21180         if test $_pkg_short_errors_supported = yes; then
   21181 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.2 xf86driproto" 2>&1`
   21182         else
   21183 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.2 xf86driproto" 2>&1`
   21184         fi
   21185 	# Put the nasty error message in config.log where it belongs
   21186 	echo "$DRI_PKG_ERRORS" >&5
   21187 
   21188 	{ { echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   21189 
   21190 $DRI_PKG_ERRORS
   21191 
   21192 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21193 installed software in a non-standard prefix.
   21194 
   21195 Alternatively, you may set the environment variables DRI_CFLAGS
   21196 and DRI_LIBS to avoid the need to call pkg-config.
   21197 See the pkg-config man page for more details.
   21198 " >&5
   21199 echo "$as_me: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   21200 
   21201 $DRI_PKG_ERRORS
   21202 
   21203 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21204 installed software in a non-standard prefix.
   21205 
   21206 Alternatively, you may set the environment variables DRI_CFLAGS
   21207 and DRI_LIBS to avoid the need to call pkg-config.
   21208 See the pkg-config man page for more details.
   21209 " >&2;}
   21210    { (exit 1); exit 1; }; }
   21211 elif test $pkg_failed = untried; then
   21212 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21213 is in your PATH or set the PKG_CONFIG environment variable to the full
   21214 path to pkg-config.
   21215 
   21216 Alternatively, you may set the environment variables DRI_CFLAGS
   21217 and DRI_LIBS to avoid the need to call pkg-config.
   21218 See the pkg-config man page for more details.
   21219 
   21220 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21221 See \`config.log' for more details." >&5
   21222 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21223 is in your PATH or set the PKG_CONFIG environment variable to the full
   21224 path to pkg-config.
   21225 
   21226 Alternatively, you may set the environment variables DRI_CFLAGS
   21227 and DRI_LIBS to avoid the need to call pkg-config.
   21228 See the pkg-config man page for more details.
   21229 
   21230 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21231 See \`config.log' for more details." >&2;}
   21232    { (exit 1); exit 1; }; }
   21233 else
   21234 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   21235 	DRI_LIBS=$pkg_cv_DRI_LIBS
   21236         { echo "$as_me:$LINENO: result: yes" >&5
   21237 echo "${ECHO_T}yes" >&6; }
   21238 	:
   21239 fi
   21240 
   21241 cat >>confdefs.h <<\_ACEOF
   21242 #define XF86DRI 1
   21243 _ACEOF
   21244 
   21245 
   21246 cat >>confdefs.h <<\_ACEOF
   21247 #define XF86DRI_DEVEL 1
   21248 _ACEOF
   21249 
   21250 fi
   21251 
   21252 # Note that this is sort of inverted from drivers/ati/Imakefile in
   21253 # the monolith.  We test for foo, not for !foo (i.e. ATMISC_CPIO, not
   21254 # ATIMISC_AVOID_CPIO), but the defines are negative.  So beware.  Oh yeah,
   21255 # TV_OUT is the special case where it's a positive define, not AVOID_TV_OUT.
   21256 
   21257 # AVOID_CPIO: Only x86, amd64, and alpha are cool with CPIO.  It needs a
   21258 # little-endian, undirected PIO space of at least 64kB.
   21259 # AVOID_DGA: ???
   21260 # ATI_TV_OUT: This only works on x86.
   21261 
   21262 ATIMISC_CPIO=no
   21263 ATIMISC_DGA=yes
   21264 ATIMISC_TV_OUT=no
   21265 
   21266 case $host_cpu in
   21267   i*86)
   21268     ATIMISC_TV_OUT=yes
   21269     ATIMISC_CPIO=yes
   21270     ;;
   21271   x86_64|amd64|alpha|ia64)
   21272     ATIMISC_CPIO=yes
   21273     ;;
   21274   sparc)
   21275     ATIMISC_DGA=no
   21276     ;;
   21277   *)
   21278     ;;
   21279 esac
   21280 
   21281 { echo "$as_me:$LINENO: checking whether to include PIO support" >&5
   21282 echo $ECHO_N "checking whether to include PIO support... $ECHO_C" >&6; }
   21283  if test "x$ATIMISC_CPIO" = xyes; then
   21284   ATIMISC_CPIO_TRUE=
   21285   ATIMISC_CPIO_FALSE='#'
   21286 else
   21287   ATIMISC_CPIO_TRUE='#'
   21288   ATIMISC_CPIO_FALSE=
   21289 fi
   21290 
   21291 if test "x$ATIMISC_CPIO" = xyes; then
   21292 	{ echo "$as_me:$LINENO: result: yes, PIO" >&5
   21293 echo "${ECHO_T}yes, PIO" >&6; }
   21294 else
   21295 
   21296 cat >>confdefs.h <<\_ACEOF
   21297 #define AVOID_CPIO 1
   21298 _ACEOF
   21299 
   21300 	{ echo "$as_me:$LINENO: result: no, MMIO" >&5
   21301 echo "${ECHO_T}no, MMIO" >&6; }
   21302 fi
   21303 
   21304 { echo "$as_me:$LINENO: checking whether to include DGA support" >&5
   21305 echo $ECHO_N "checking whether to include DGA support... $ECHO_C" >&6; }
   21306 { echo "$as_me:$LINENO: result: $ATIMISC_DGA" >&5
   21307 echo "${ECHO_T}$ATIMISC_DGA" >&6; }
   21308  if test "x$ATIMISC_DGA" = xyes; then
   21309   ATIMISC_DGA_TRUE=
   21310   ATIMISC_DGA_FALSE='#'
   21311 else
   21312   ATIMISC_DGA_TRUE='#'
   21313   ATIMISC_DGA_FALSE=
   21314 fi
   21315 
   21316 if ! test "x$ATIMISC_DGA" = xyes; then
   21317 
   21318 cat >>confdefs.h <<\_ACEOF
   21319 #define AVOID_DGA 1
   21320 _ACEOF
   21321 
   21322 fi
   21323 
   21324 { echo "$as_me:$LINENO: checking whether to include TV Out support" >&5
   21325 echo $ECHO_N "checking whether to include TV Out support... $ECHO_C" >&6; }
   21326 { echo "$as_me:$LINENO: result: $ATIMISC_TV_OUT" >&5
   21327 echo "${ECHO_T}$ATIMISC_TV_OUT" >&6; }
   21328  if test "x$ATIMISC_TV_OUT" = xyes; then
   21329   ATIMISC_TV_OUT_TRUE=
   21330   ATIMISC_TV_OUT_FALSE='#'
   21331 else
   21332   ATIMISC_TV_OUT_TRUE='#'
   21333   ATIMISC_TV_OUT_FALSE=
   21334 fi
   21335 
   21336 if test "x$ATIMISC_TV_OUT" = xyes; then
   21337 
   21338 cat >>confdefs.h <<\_ACEOF
   21339 #define TV_OUT 1
   21340 _ACEOF
   21341 
   21342 fi
   21343 
   21344 
   21345 cat >>confdefs.h <<\_ACEOF
   21346 #define USE_XAA 1
   21347 _ACEOF
   21348 
   21349 
   21350 # Properly handle EXA.
   21351 { echo "$as_me:$LINENO: checking whether to enable EXA support" >&5
   21352 echo $ECHO_N "checking whether to enable EXA support... $ECHO_C" >&6; }
   21353 if test "x$EXA" = xyes; then
   21354         { echo "$as_me:$LINENO: result: yes" >&5
   21355 echo "${ECHO_T}yes" >&6; }
   21356 
   21357         SAVE_CPPFLAGS="$CPPFLAGS"
   21358         CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21359         if test "${ac_cv_header_exa_h+set}" = set; then
   21360   { echo "$as_me:$LINENO: checking for exa.h" >&5
   21361 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21362 if test "${ac_cv_header_exa_h+set}" = set; then
   21363   echo $ECHO_N "(cached) $ECHO_C" >&6
   21364 fi
   21365 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21366 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21367 else
   21368   # Is the header compilable?
   21369 { echo "$as_me:$LINENO: checking exa.h usability" >&5
   21370 echo $ECHO_N "checking exa.h usability... $ECHO_C" >&6; }
   21371 cat >conftest.$ac_ext <<_ACEOF
   21372 /* confdefs.h.  */
   21373 _ACEOF
   21374 cat confdefs.h >>conftest.$ac_ext
   21375 cat >>conftest.$ac_ext <<_ACEOF
   21376 /* end confdefs.h.  */
   21377 $ac_includes_default
   21378 #include <exa.h>
   21379 _ACEOF
   21380 rm -f conftest.$ac_objext
   21381 if { (ac_try="$ac_compile"
   21382 case "(($ac_try" in
   21383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21384   *) ac_try_echo=$ac_try;;
   21385 esac
   21386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21387   (eval "$ac_compile") 2>conftest.er1
   21388   ac_status=$?
   21389   grep -v '^ *+' conftest.er1 >conftest.err
   21390   rm -f conftest.er1
   21391   cat conftest.err >&5
   21392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21393   (exit $ac_status); } && {
   21394 	 test -z "$ac_c_werror_flag" ||
   21395 	 test ! -s conftest.err
   21396        } && test -s conftest.$ac_objext; then
   21397   ac_header_compiler=yes
   21398 else
   21399   echo "$as_me: failed program was:" >&5
   21400 sed 's/^/| /' conftest.$ac_ext >&5
   21401 
   21402 	ac_header_compiler=no
   21403 fi
   21404 
   21405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21406 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21407 echo "${ECHO_T}$ac_header_compiler" >&6; }
   21408 
   21409 # Is the header present?
   21410 { echo "$as_me:$LINENO: checking exa.h presence" >&5
   21411 echo $ECHO_N "checking exa.h presence... $ECHO_C" >&6; }
   21412 cat >conftest.$ac_ext <<_ACEOF
   21413 /* confdefs.h.  */
   21414 _ACEOF
   21415 cat confdefs.h >>conftest.$ac_ext
   21416 cat >>conftest.$ac_ext <<_ACEOF
   21417 /* end confdefs.h.  */
   21418 #include <exa.h>
   21419 _ACEOF
   21420 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21421 case "(($ac_try" in
   21422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21423   *) ac_try_echo=$ac_try;;
   21424 esac
   21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21426   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21427   ac_status=$?
   21428   grep -v '^ *+' conftest.er1 >conftest.err
   21429   rm -f conftest.er1
   21430   cat conftest.err >&5
   21431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21432   (exit $ac_status); } >/dev/null && {
   21433 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21434 	 test ! -s conftest.err
   21435        }; then
   21436   ac_header_preproc=yes
   21437 else
   21438   echo "$as_me: failed program was:" >&5
   21439 sed 's/^/| /' conftest.$ac_ext >&5
   21440 
   21441   ac_header_preproc=no
   21442 fi
   21443 
   21444 rm -f conftest.err conftest.$ac_ext
   21445 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21446 echo "${ECHO_T}$ac_header_preproc" >&6; }
   21447 
   21448 # So?  What about this header?
   21449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21450   yes:no: )
   21451     { echo "$as_me:$LINENO: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21452 echo "$as_me: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21453     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the compiler's result" >&5
   21454 echo "$as_me: WARNING: exa.h: proceeding with the compiler's result" >&2;}
   21455     ac_header_preproc=yes
   21456     ;;
   21457   no:yes:* )
   21458     { echo "$as_me:$LINENO: WARNING: exa.h: present but cannot be compiled" >&5
   21459 echo "$as_me: WARNING: exa.h: present but cannot be compiled" >&2;}
   21460     { echo "$as_me:$LINENO: WARNING: exa.h:     check for missing prerequisite headers?" >&5
   21461 echo "$as_me: WARNING: exa.h:     check for missing prerequisite headers?" >&2;}
   21462     { echo "$as_me:$LINENO: WARNING: exa.h: see the Autoconf documentation" >&5
   21463 echo "$as_me: WARNING: exa.h: see the Autoconf documentation" >&2;}
   21464     { echo "$as_me:$LINENO: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&5
   21465 echo "$as_me: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21466     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the preprocessor's result" >&5
   21467 echo "$as_me: WARNING: exa.h: proceeding with the preprocessor's result" >&2;}
   21468     { echo "$as_me:$LINENO: WARNING: exa.h: in the future, the compiler will take precedence" >&5
   21469 echo "$as_me: WARNING: exa.h: in the future, the compiler will take precedence" >&2;}
   21470     ( cat <<\_ASBOX
   21471 ## ---------------------------------------------------------------------- ##
   21472 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21473 ## ---------------------------------------------------------------------- ##
   21474 _ASBOX
   21475      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21476     ;;
   21477 esac
   21478 { echo "$as_me:$LINENO: checking for exa.h" >&5
   21479 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21480 if test "${ac_cv_header_exa_h+set}" = set; then
   21481   echo $ECHO_N "(cached) $ECHO_C" >&6
   21482 else
   21483   ac_cv_header_exa_h=$ac_header_preproc
   21484 fi
   21485 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21486 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21487 
   21488 fi
   21489 if test $ac_cv_header_exa_h = yes; then
   21490   have_exa_h="yes"
   21491 else
   21492   have_exa_h="no"
   21493 fi
   21494 
   21495 
   21496         CPPFLAGS="$SAVE_CPPFLAGS"
   21497 else
   21498         { echo "$as_me:$LINENO: result: no" >&5
   21499 echo "${ECHO_T}no" >&6; }
   21500 fi
   21501 
   21502 SAVE_CPPFLAGS="$CPPFLAGS"
   21503 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21504 if test "x$have_exa_h" = xyes; then
   21505         { echo "$as_me:$LINENO: checking whether EXA version is at least 2.0.0" >&5
   21506 echo $ECHO_N "checking whether EXA version is at least 2.0.0... $ECHO_C" >&6; }
   21507         cat >conftest.$ac_ext <<_ACEOF
   21508 /* confdefs.h.  */
   21509 _ACEOF
   21510 cat confdefs.h >>conftest.$ac_ext
   21511 cat >>conftest.$ac_ext <<_ACEOF
   21512 /* end confdefs.h.  */
   21513 
   21514 #include "exa.h"
   21515 #if EXA_VERSION_MAJOR < 2
   21516 #error OLD EXA!
   21517 #endif
   21518 
   21519 int
   21520 main ()
   21521 {
   21522 
   21523   ;
   21524   return 0;
   21525 }
   21526 _ACEOF
   21527 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21528 case "(($ac_try" in
   21529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21530   *) ac_try_echo=$ac_try;;
   21531 esac
   21532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21533   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21534   ac_status=$?
   21535   grep -v '^ *+' conftest.er1 >conftest.err
   21536   rm -f conftest.er1
   21537   cat conftest.err >&5
   21538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21539   (exit $ac_status); } >/dev/null && {
   21540 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21541 	 test ! -s conftest.err
   21542        }; then
   21543   USE_EXA=yes
   21544 else
   21545   echo "$as_me: failed program was:" >&5
   21546 sed 's/^/| /' conftest.$ac_ext >&5
   21547 
   21548   USE_EXA=no
   21549 fi
   21550 
   21551 rm -f conftest.err conftest.$ac_ext
   21552         { echo "$as_me:$LINENO: result: $USE_EXA" >&5
   21553 echo "${ECHO_T}$USE_EXA" >&6; }
   21554 
   21555         if test "x$USE_EXA" = xyes; then
   21556 
   21557 cat >>confdefs.h <<\_ACEOF
   21558 #define USE_EXA 1
   21559 _ACEOF
   21560 
   21561         fi
   21562 fi
   21563 
   21564 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21565 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   21566 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21567   echo $ECHO_N "(cached) $ECHO_C" >&6
   21568 else
   21569   cat >conftest.$ac_ext <<_ACEOF
   21570 /* confdefs.h.  */
   21571 _ACEOF
   21572 cat confdefs.h >>conftest.$ac_ext
   21573 cat >>conftest.$ac_ext <<_ACEOF
   21574 /* end confdefs.h.  */
   21575 #include "xorg-server.h"
   21576 
   21577 int
   21578 main ()
   21579 {
   21580 #ifndef XSERVER_LIBPCIACCESS
   21581   (void) XSERVER_LIBPCIACCESS;
   21582 #endif
   21583 
   21584   ;
   21585   return 0;
   21586 }
   21587 _ACEOF
   21588 rm -f conftest.$ac_objext
   21589 if { (ac_try="$ac_compile"
   21590 case "(($ac_try" in
   21591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21592   *) ac_try_echo=$ac_try;;
   21593 esac
   21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21595   (eval "$ac_compile") 2>conftest.er1
   21596   ac_status=$?
   21597   grep -v '^ *+' conftest.er1 >conftest.err
   21598   rm -f conftest.er1
   21599   cat conftest.err >&5
   21600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21601   (exit $ac_status); } && {
   21602 	 test -z "$ac_c_werror_flag" ||
   21603 	 test ! -s conftest.err
   21604        } && test -s conftest.$ac_objext; then
   21605   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21606 else
   21607   echo "$as_me: failed program was:" >&5
   21608 sed 's/^/| /' conftest.$ac_ext >&5
   21609 
   21610 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21611 fi
   21612 
   21613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21614 fi
   21615 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21616 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21617 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   21618   XSERVER_LIBPCIACCESS=yes
   21619 else
   21620   XSERVER_LIBPCIACCESS=no
   21621 fi
   21622 
   21623 
   21624 CPPFLAGS="$SAVE_CPPFLAGS"
   21625 
   21626  if test "x$USE_EXA" = xyes; then
   21627   USE_EXA_TRUE=
   21628   USE_EXA_FALSE='#'
   21629 else
   21630   USE_EXA_TRUE='#'
   21631   USE_EXA_FALSE=
   21632 fi
   21633 
   21634 
   21635 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21636 
   21637 pkg_failed=no
   21638 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21639 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   21640 
   21641 if test -n "$PCIACCESS_CFLAGS"; then
   21642     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21643  elif test -n "$PKG_CONFIG"; then
   21644     if test -n "$PKG_CONFIG" && \
   21645     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21646   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21647   ac_status=$?
   21648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21649   (exit $ac_status); }; then
   21650   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21651 else
   21652   pkg_failed=yes
   21653 fi
   21654  else
   21655     pkg_failed=untried
   21656 fi
   21657 if test -n "$PCIACCESS_LIBS"; then
   21658     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21659  elif test -n "$PKG_CONFIG"; then
   21660     if test -n "$PKG_CONFIG" && \
   21661     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21662   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21663   ac_status=$?
   21664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21665   (exit $ac_status); }; then
   21666   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21667 else
   21668   pkg_failed=yes
   21669 fi
   21670  else
   21671     pkg_failed=untried
   21672 fi
   21673 
   21674 
   21675 
   21676 if test $pkg_failed = yes; then
   21677 
   21678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21679         _pkg_short_errors_supported=yes
   21680 else
   21681         _pkg_short_errors_supported=no
   21682 fi
   21683         if test $_pkg_short_errors_supported = yes; then
   21684 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21685         else
   21686 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21687         fi
   21688 	# Put the nasty error message in config.log where it belongs
   21689 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21690 
   21691 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21692 
   21693 $PCIACCESS_PKG_ERRORS
   21694 
   21695 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21696 installed software in a non-standard prefix.
   21697 
   21698 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21699 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21700 See the pkg-config man page for more details.
   21701 " >&5
   21702 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21703 
   21704 $PCIACCESS_PKG_ERRORS
   21705 
   21706 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21707 installed software in a non-standard prefix.
   21708 
   21709 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21710 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21711 See the pkg-config man page for more details.
   21712 " >&2;}
   21713    { (exit 1); exit 1; }; }
   21714 elif test $pkg_failed = untried; then
   21715 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21716 is in your PATH or set the PKG_CONFIG environment variable to the full
   21717 path to pkg-config.
   21718 
   21719 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21720 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21721 See the pkg-config man page for more details.
   21722 
   21723 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21724 See \`config.log' for more details." >&5
   21725 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21726 is in your PATH or set the PKG_CONFIG environment variable to the full
   21727 path to pkg-config.
   21728 
   21729 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21730 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21731 See the pkg-config man page for more details.
   21732 
   21733 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21734 See \`config.log' for more details." >&2;}
   21735    { (exit 1); exit 1; }; }
   21736 else
   21737 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21738 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21739         { echo "$as_me:$LINENO: result: yes" >&5
   21740 echo "${ECHO_T}yes" >&6; }
   21741 	:
   21742 fi
   21743     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21744 fi
   21745  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21746   XSERVER_LIBPCIACCESS_TRUE=
   21747   XSERVER_LIBPCIACCESS_FALSE='#'
   21748 else
   21749   XSERVER_LIBPCIACCESS_TRUE='#'
   21750   XSERVER_LIBPCIACCESS_FALSE=
   21751 fi
   21752 
   21753 
   21754 
   21755 
   21756 
   21757 
   21758 DRIVER_NAME=mach64
   21759 
   21760 
   21761 
   21762 
   21763 
   21764 if test x$APP_MAN_SUFFIX = x    ; then
   21765     APP_MAN_SUFFIX=1
   21766 fi
   21767 if test x$APP_MAN_DIR = x    ; then
   21768     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21769 fi
   21770 
   21771 if test x$LIB_MAN_SUFFIX = x    ; then
   21772     LIB_MAN_SUFFIX=3
   21773 fi
   21774 if test x$LIB_MAN_DIR = x    ; then
   21775     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21776 fi
   21777 
   21778 if test x$FILE_MAN_SUFFIX = x    ; then
   21779     case $host_os in
   21780 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21781 	*)		FILE_MAN_SUFFIX=5  ;;
   21782     esac
   21783 fi
   21784 if test x$FILE_MAN_DIR = x    ; then
   21785     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21786 fi
   21787 
   21788 if test x$MISC_MAN_SUFFIX = x    ; then
   21789     case $host_os in
   21790 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21791 	*)		MISC_MAN_SUFFIX=7  ;;
   21792     esac
   21793 fi
   21794 if test x$MISC_MAN_DIR = x    ; then
   21795     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21796 fi
   21797 
   21798 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21799     case $host_os in
   21800 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21801 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21802     esac
   21803 fi
   21804 if test x$DRIVER_MAN_DIR = x    ; then
   21805     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21806 fi
   21807 
   21808 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21809     case $host_os in
   21810 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21811 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21812     esac
   21813 fi
   21814 if test x$ADMIN_MAN_DIR = x    ; then
   21815     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21816 fi
   21817 
   21818 
   21819 
   21820 
   21821 
   21822 
   21823 
   21824 
   21825 
   21826 
   21827 
   21828 
   21829 
   21830 
   21831 
   21832 
   21833 
   21834 # Check whether --with-release-version was given.
   21835 if test "${with_release_version+set}" = set; then
   21836   withval=$with_release_version; RELEASE_VERSION="$withval"
   21837 else
   21838   RELEASE_VERSION=""
   21839 fi
   21840 
   21841 	if test "x$RELEASE_VERSION" != "x"; then
   21842 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21843 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21844 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21845 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21846 	fi
   21847 
   21848 cat >>confdefs.h <<_ACEOF
   21849 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21850 _ACEOF
   21851 
   21852 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21853 	if test "x$PVM" = "x"; then
   21854 		PVM="0"
   21855 	fi
   21856 
   21857 cat >>confdefs.h <<_ACEOF
   21858 #define PACKAGE_VERSION_MINOR $PVM
   21859 _ACEOF
   21860 
   21861 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21862 	if test "x$PVP" = "x"; then
   21863 		PVP="0"
   21864 	fi
   21865 
   21866 cat >>confdefs.h <<_ACEOF
   21867 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21868 _ACEOF
   21869 
   21870 
   21871 
   21872 XORG_SGML_PATH=$prefix/share/sgml
   21873 HAVE_DEFS_ENT=
   21874 
   21875 if test x"$cross_compiling" = x"yes" ; then
   21876   HAVE_DEFS_ENT=no
   21877 else
   21878   as_ac_File=`echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   21879 { echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   21880 echo $ECHO_N "checking for $XORG_SGML_PATH/X11/defs.ent... $ECHO_C" >&6; }
   21881 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21882   echo $ECHO_N "(cached) $ECHO_C" >&6
   21883 else
   21884   test "$cross_compiling" = yes &&
   21885   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21886 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21887    { (exit 1); exit 1; }; }
   21888 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   21889   eval "$as_ac_File=yes"
   21890 else
   21891   eval "$as_ac_File=no"
   21892 fi
   21893 fi
   21894 ac_res=`eval echo '${'$as_ac_File'}'`
   21895 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21896 echo "${ECHO_T}$ac_res" >&6; }
   21897 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21898   HAVE_DEFS_ENT=yes
   21899 fi
   21900 
   21901 fi
   21902 
   21903 # Extract the first word of "linuxdoc", so it can be a program name with args.
   21904 set dummy linuxdoc; ac_word=$2
   21905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21907 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   21908   echo $ECHO_N "(cached) $ECHO_C" >&6
   21909 else
   21910   case $LINUXDOC in
   21911   [\\/]* | ?:[\\/]*)
   21912   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   21913   ;;
   21914   *)
   21915   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21916 for as_dir in $PATH
   21917 do
   21918   IFS=$as_save_IFS
   21919   test -z "$as_dir" && as_dir=.
   21920   for ac_exec_ext in '' $ac_executable_extensions; do
   21921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21922     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   21923     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21924     break 2
   21925   fi
   21926 done
   21927 done
   21928 IFS=$as_save_IFS
   21929 
   21930   ;;
   21931 esac
   21932 fi
   21933 LINUXDOC=$ac_cv_path_LINUXDOC
   21934 if test -n "$LINUXDOC"; then
   21935   { echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   21936 echo "${ECHO_T}$LINUXDOC" >&6; }
   21937 else
   21938   { echo "$as_me:$LINENO: result: no" >&5
   21939 echo "${ECHO_T}no" >&6; }
   21940 fi
   21941 
   21942 
   21943 # Extract the first word of "ps2pdf", so it can be a program name with args.
   21944 set dummy ps2pdf; ac_word=$2
   21945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21947 if test "${ac_cv_path_PS2PDF+set}" = set; then
   21948   echo $ECHO_N "(cached) $ECHO_C" >&6
   21949 else
   21950   case $PS2PDF in
   21951   [\\/]* | ?:[\\/]*)
   21952   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   21953   ;;
   21954   *)
   21955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21956 for as_dir in $PATH
   21957 do
   21958   IFS=$as_save_IFS
   21959   test -z "$as_dir" && as_dir=.
   21960   for ac_exec_ext in '' $ac_executable_extensions; do
   21961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21962     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   21963     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21964     break 2
   21965   fi
   21966 done
   21967 done
   21968 IFS=$as_save_IFS
   21969 
   21970   ;;
   21971 esac
   21972 fi
   21973 PS2PDF=$ac_cv_path_PS2PDF
   21974 if test -n "$PS2PDF"; then
   21975   { echo "$as_me:$LINENO: result: $PS2PDF" >&5
   21976 echo "${ECHO_T}$PS2PDF" >&6; }
   21977 else
   21978   { echo "$as_me:$LINENO: result: no" >&5
   21979 echo "${ECHO_T}no" >&6; }
   21980 fi
   21981 
   21982 
   21983 
   21984 { echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   21985 echo $ECHO_N "checking Whether to build documentation... $ECHO_C" >&6; }
   21986 
   21987 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   21988    BUILDDOC=yes
   21989 else
   21990    BUILDDOC=no
   21991 fi
   21992 
   21993  if test x$BUILDDOC = xyes; then
   21994   BUILD_LINUXDOC_TRUE=
   21995   BUILD_LINUXDOC_FALSE='#'
   21996 else
   21997   BUILD_LINUXDOC_TRUE='#'
   21998   BUILD_LINUXDOC_FALSE=
   21999 fi
   22000 
   22001 
   22002 { echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   22003 echo "${ECHO_T}$BUILDDOC" >&6; }
   22004 
   22005 { echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   22006 echo $ECHO_N "checking Whether to build pdf documentation... $ECHO_C" >&6; }
   22007 
   22008 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   22009    BUILDPDFDOC=yes
   22010 else
   22011    BUILDPDFDOC=no
   22012 fi
   22013 
   22014  if test x$BUILDPDFDOC = xyes; then
   22015   BUILD_PDFDOC_TRUE=
   22016   BUILD_PDFDOC_FALSE='#'
   22017 else
   22018   BUILD_PDFDOC_TRUE='#'
   22019   BUILD_PDFDOC_FALSE=
   22020 fi
   22021 
   22022 
   22023 { echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   22024 echo "${ECHO_T}$BUILDPDFDOC" >&6; }
   22025 
   22026 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   22027 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   22028 MAKE_PDF="$PS2PDF"
   22029 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   22030 
   22031 
   22032 
   22033 
   22034 
   22035 
   22036 
   22037 { echo "$as_me:$LINENO: Please change the Driver line in xorg.conf from \"ati\" to \"mach64\" or install
   22038 the ati wrapper as well:
   22039     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   22040 " >&5
   22041 echo "$as_me: Please change the Driver line in xorg.conf from \"ati\" to \"mach64\" or install
   22042 the ati wrapper as well:
   22043     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   22044 " >&6;}
   22045 
   22046 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   22047 
   22048 cat >confcache <<\_ACEOF
   22049 # This file is a shell script that caches the results of configure
   22050 # tests run on this system so they can be shared between configure
   22051 # scripts and configure runs, see configure's option --config-cache.
   22052 # It is not useful on other systems.  If it contains results you don't
   22053 # want to keep, you may remove or edit it.
   22054 #
   22055 # config.status only pays attention to the cache file if you give it
   22056 # the --recheck option to rerun configure.
   22057 #
   22058 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22060 # following values.
   22061 
   22062 _ACEOF
   22063 
   22064 # The following way of writing the cache mishandles newlines in values,
   22065 # but we know of no workaround that is simple, portable, and efficient.
   22066 # So, we kill variables containing newlines.
   22067 # Ultrix sh set writes to stderr and can't be redirected directly,
   22068 # and sets the high bit in the cache file unless we assign to the vars.
   22069 (
   22070   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22071     eval ac_val=\$$ac_var
   22072     case $ac_val in #(
   22073     *${as_nl}*)
   22074       case $ac_var in #(
   22075       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   22076 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   22077       esac
   22078       case $ac_var in #(
   22079       _ | IFS | as_nl) ;; #(
   22080       *) $as_unset $ac_var ;;
   22081       esac ;;
   22082     esac
   22083   done
   22084 
   22085   (set) 2>&1 |
   22086     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22087     *${as_nl}ac_space=\ *)
   22088       # `set' does not quote correctly, so add quotes (double-quote
   22089       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22090       sed -n \
   22091 	"s/'/'\\\\''/g;
   22092 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22093       ;; #(
   22094     *)
   22095       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22096       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22097       ;;
   22098     esac |
   22099     sort
   22100 ) |
   22101   sed '
   22102      /^ac_cv_env_/b end
   22103      t clear
   22104      :clear
   22105      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22106      t end
   22107      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22108      :end' >>confcache
   22109 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22110   if test -w "$cache_file"; then
   22111     test "x$cache_file" != "x/dev/null" &&
   22112       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22113 echo "$as_me: updating cache $cache_file" >&6;}
   22114     cat confcache >$cache_file
   22115   else
   22116     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22117 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22118   fi
   22119 fi
   22120 rm -f confcache
   22121 
   22122 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22123 # Let make expand exec_prefix.
   22124 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22125 
   22126 DEFS=-DHAVE_CONFIG_H
   22127 
   22128 ac_libobjs=
   22129 ac_ltlibobjs=
   22130 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22131   # 1. Remove the extension, and $U if already installed.
   22132   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22133   ac_i=`echo "$ac_i" | sed "$ac_script"`
   22134   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22135   #    will be set to the directory where LIBOBJS objects are built.
   22136   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22137   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22138 done
   22139 LIBOBJS=$ac_libobjs
   22140 
   22141 LTLIBOBJS=$ac_ltlibobjs
   22142 
   22143 
   22144 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22145   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22146 Usually this means the macro was only invoked conditionally." >&5
   22147 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22148 Usually this means the macro was only invoked conditionally." >&2;}
   22149    { (exit 1); exit 1; }; }
   22150 fi
   22151 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22152   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22153 Usually this means the macro was only invoked conditionally." >&5
   22154 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22155 Usually this means the macro was only invoked conditionally." >&2;}
   22156    { (exit 1); exit 1; }; }
   22157 fi
   22158 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22159   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22160 Usually this means the macro was only invoked conditionally." >&5
   22161 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22162 Usually this means the macro was only invoked conditionally." >&2;}
   22163    { (exit 1); exit 1; }; }
   22164 fi
   22165 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22166   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22167 Usually this means the macro was only invoked conditionally." >&5
   22168 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22169 Usually this means the macro was only invoked conditionally." >&2;}
   22170    { (exit 1); exit 1; }; }
   22171 fi
   22172 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22173   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22174 Usually this means the macro was only invoked conditionally." >&5
   22175 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22176 Usually this means the macro was only invoked conditionally." >&2;}
   22177    { (exit 1); exit 1; }; }
   22178 fi
   22179 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   22180   { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   22181 Usually this means the macro was only invoked conditionally." >&5
   22182 echo "$as_me: error: conditional \"DRI\" was never defined.
   22183 Usually this means the macro was only invoked conditionally." >&2;}
   22184    { (exit 1); exit 1; }; }
   22185 fi
   22186 if test -z "${ATIMISC_CPIO_TRUE}" && test -z "${ATIMISC_CPIO_FALSE}"; then
   22187   { { echo "$as_me:$LINENO: error: conditional \"ATIMISC_CPIO\" was never defined.
   22188 Usually this means the macro was only invoked conditionally." >&5
   22189 echo "$as_me: error: conditional \"ATIMISC_CPIO\" was never defined.
   22190 Usually this means the macro was only invoked conditionally." >&2;}
   22191    { (exit 1); exit 1; }; }
   22192 fi
   22193 if test -z "${ATIMISC_DGA_TRUE}" && test -z "${ATIMISC_DGA_FALSE}"; then
   22194   { { echo "$as_me:$LINENO: error: conditional \"ATIMISC_DGA\" was never defined.
   22195 Usually this means the macro was only invoked conditionally." >&5
   22196 echo "$as_me: error: conditional \"ATIMISC_DGA\" was never defined.
   22197 Usually this means the macro was only invoked conditionally." >&2;}
   22198    { (exit 1); exit 1; }; }
   22199 fi
   22200 if test -z "${ATIMISC_TV_OUT_TRUE}" && test -z "${ATIMISC_TV_OUT_FALSE}"; then
   22201   { { echo "$as_me:$LINENO: error: conditional \"ATIMISC_TV_OUT\" was never defined.
   22202 Usually this means the macro was only invoked conditionally." >&5
   22203 echo "$as_me: error: conditional \"ATIMISC_TV_OUT\" was never defined.
   22204 Usually this means the macro was only invoked conditionally." >&2;}
   22205    { (exit 1); exit 1; }; }
   22206 fi
   22207 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   22208   { { echo "$as_me:$LINENO: error: conditional \"USE_EXA\" was never defined.
   22209 Usually this means the macro was only invoked conditionally." >&5
   22210 echo "$as_me: error: conditional \"USE_EXA\" was never defined.
   22211 Usually this means the macro was only invoked conditionally." >&2;}
   22212    { (exit 1); exit 1; }; }
   22213 fi
   22214 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22215   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22216 Usually this means the macro was only invoked conditionally." >&5
   22217 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22218 Usually this means the macro was only invoked conditionally." >&2;}
   22219    { (exit 1); exit 1; }; }
   22220 fi
   22221 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   22222   { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22223 Usually this means the macro was only invoked conditionally." >&5
   22224 echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22225 Usually this means the macro was only invoked conditionally." >&2;}
   22226    { (exit 1); exit 1; }; }
   22227 fi
   22228 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   22229   { { echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   22230 Usually this means the macro was only invoked conditionally." >&5
   22231 echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   22232 Usually this means the macro was only invoked conditionally." >&2;}
   22233    { (exit 1); exit 1; }; }
   22234 fi
   22235 
   22236 : ${CONFIG_STATUS=./config.status}
   22237 ac_clean_files_save=$ac_clean_files
   22238 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22239 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22240 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22241 cat >$CONFIG_STATUS <<_ACEOF
   22242 #! $SHELL
   22243 # Generated by $as_me.
   22244 # Run this file to recreate the current configuration.
   22245 # Compiler output produced by configure, useful for debugging
   22246 # configure, is in config.log if it exists.
   22247 
   22248 debug=false
   22249 ac_cs_recheck=false
   22250 ac_cs_silent=false
   22251 SHELL=\${CONFIG_SHELL-$SHELL}
   22252 _ACEOF
   22253 
   22254 cat >>$CONFIG_STATUS <<\_ACEOF
   22255 ## --------------------- ##
   22256 ## M4sh Initialization.  ##
   22257 ## --------------------- ##
   22258 
   22259 # Be more Bourne compatible
   22260 DUALCASE=1; export DUALCASE # for MKS sh
   22261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22262   emulate sh
   22263   NULLCMD=:
   22264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   22265   # is contrary to our usage.  Disable this feature.
   22266   alias -g '${1+"$@"}'='"$@"'
   22267   setopt NO_GLOB_SUBST
   22268 else
   22269   case `(set -o) 2>/dev/null` in
   22270   *posix*) set -o posix ;;
   22271 esac
   22272 
   22273 fi
   22274 
   22275 
   22276 
   22277 
   22278 # PATH needs CR
   22279 # Avoid depending upon Character Ranges.
   22280 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22281 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22282 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22283 as_cr_digits='0123456789'
   22284 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22285 
   22286 # The user is always right.
   22287 if test "${PATH_SEPARATOR+set}" != set; then
   22288   echo "#! /bin/sh" >conf$$.sh
   22289   echo  "exit 0"   >>conf$$.sh
   22290   chmod +x conf$$.sh
   22291   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   22292     PATH_SEPARATOR=';'
   22293   else
   22294     PATH_SEPARATOR=:
   22295   fi
   22296   rm -f conf$$.sh
   22297 fi
   22298 
   22299 # Support unset when possible.
   22300 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22301   as_unset=unset
   22302 else
   22303   as_unset=false
   22304 fi
   22305 
   22306 
   22307 # IFS
   22308 # We need space, tab and new line, in precisely that order.  Quoting is
   22309 # there to prevent editors from complaining about space-tab.
   22310 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22311 # splitting by setting IFS to empty value.)
   22312 as_nl='
   22313 '
   22314 IFS=" ""	$as_nl"
   22315 
   22316 # Find who we are.  Look in the path if we contain no directory separator.
   22317 case $0 in
   22318   *[\\/]* ) as_myself=$0 ;;
   22319   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22320 for as_dir in $PATH
   22321 do
   22322   IFS=$as_save_IFS
   22323   test -z "$as_dir" && as_dir=.
   22324   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22325 done
   22326 IFS=$as_save_IFS
   22327 
   22328      ;;
   22329 esac
   22330 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22331 # in which case we are not to be found in the path.
   22332 if test "x$as_myself" = x; then
   22333   as_myself=$0
   22334 fi
   22335 if test ! -f "$as_myself"; then
   22336   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22337   { (exit 1); exit 1; }
   22338 fi
   22339 
   22340 # Work around bugs in pre-3.0 UWIN ksh.
   22341 for as_var in ENV MAIL MAILPATH
   22342 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22343 done
   22344 PS1='$ '
   22345 PS2='> '
   22346 PS4='+ '
   22347 
   22348 # NLS nuisances.
   22349 for as_var in \
   22350   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   22351   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   22352   LC_TELEPHONE LC_TIME
   22353 do
   22354   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   22355     eval $as_var=C; export $as_var
   22356   else
   22357     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22358   fi
   22359 done
   22360 
   22361 # Required to use basename.
   22362 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22363    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22364   as_expr=expr
   22365 else
   22366   as_expr=false
   22367 fi
   22368 
   22369 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22370   as_basename=basename
   22371 else
   22372   as_basename=false
   22373 fi
   22374 
   22375 
   22376 # Name of the executable.
   22377 as_me=`$as_basename -- "$0" ||
   22378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22379 	 X"$0" : 'X\(//\)$' \| \
   22380 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22381 echo X/"$0" |
   22382     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22383 	    s//\1/
   22384 	    q
   22385 	  }
   22386 	  /^X\/\(\/\/\)$/{
   22387 	    s//\1/
   22388 	    q
   22389 	  }
   22390 	  /^X\/\(\/\).*/{
   22391 	    s//\1/
   22392 	    q
   22393 	  }
   22394 	  s/.*/./; q'`
   22395 
   22396 # CDPATH.
   22397 $as_unset CDPATH
   22398 
   22399 
   22400 
   22401   as_lineno_1=$LINENO
   22402   as_lineno_2=$LINENO
   22403   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22404   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22405 
   22406   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22407   # uniformly replaced by the line number.  The first 'sed' inserts a
   22408   # line-number line after each line using $LINENO; the second 'sed'
   22409   # does the real work.  The second script uses 'N' to pair each
   22410   # line-number line with the line containing $LINENO, and appends
   22411   # trailing '-' during substitution so that $LINENO is not a special
   22412   # case at line end.
   22413   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22414   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22415   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22416   sed -n '
   22417     p
   22418     /[$]LINENO/=
   22419   ' <$as_myself |
   22420     sed '
   22421       s/[$]LINENO.*/&-/
   22422       t lineno
   22423       b
   22424       :lineno
   22425       N
   22426       :loop
   22427       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22428       t loop
   22429       s/-\n.*//
   22430     ' >$as_me.lineno &&
   22431   chmod +x "$as_me.lineno" ||
   22432     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22433    { (exit 1); exit 1; }; }
   22434 
   22435   # Don't try to exec as it changes $[0], causing all sort of problems
   22436   # (the dirname of $[0] is not the place where we might find the
   22437   # original and so on.  Autoconf is especially sensitive to this).
   22438   . "./$as_me.lineno"
   22439   # Exit status is that of the last command.
   22440   exit
   22441 }
   22442 
   22443 
   22444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22445   as_dirname=dirname
   22446 else
   22447   as_dirname=false
   22448 fi
   22449 
   22450 ECHO_C= ECHO_N= ECHO_T=
   22451 case `echo -n x` in
   22452 -n*)
   22453   case `echo 'x\c'` in
   22454   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22455   *)   ECHO_C='\c';;
   22456   esac;;
   22457 *)
   22458   ECHO_N='-n';;
   22459 esac
   22460 
   22461 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22462    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22463   as_expr=expr
   22464 else
   22465   as_expr=false
   22466 fi
   22467 
   22468 rm -f conf$$ conf$$.exe conf$$.file
   22469 if test -d conf$$.dir; then
   22470   rm -f conf$$.dir/conf$$.file
   22471 else
   22472   rm -f conf$$.dir
   22473   mkdir conf$$.dir
   22474 fi
   22475 echo >conf$$.file
   22476 if ln -s conf$$.file conf$$ 2>/dev/null; then
   22477   as_ln_s='ln -s'
   22478   # ... but there are two gotchas:
   22479   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22480   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22481   # In both cases, we have to default to `cp -p'.
   22482   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22483     as_ln_s='cp -p'
   22484 elif ln conf$$.file conf$$ 2>/dev/null; then
   22485   as_ln_s=ln
   22486 else
   22487   as_ln_s='cp -p'
   22488 fi
   22489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22490 rmdir conf$$.dir 2>/dev/null
   22491 
   22492 if mkdir -p . 2>/dev/null; then
   22493   as_mkdir_p=:
   22494 else
   22495   test -d ./-p && rmdir ./-p
   22496   as_mkdir_p=false
   22497 fi
   22498 
   22499 if test -x / >/dev/null 2>&1; then
   22500   as_test_x='test -x'
   22501 else
   22502   if ls -dL / >/dev/null 2>&1; then
   22503     as_ls_L_option=L
   22504   else
   22505     as_ls_L_option=
   22506   fi
   22507   as_test_x='
   22508     eval sh -c '\''
   22509       if test -d "$1"; then
   22510         test -d "$1/.";
   22511       else
   22512 	case $1 in
   22513         -*)set "./$1";;
   22514 	esac;
   22515 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22516 	???[sx]*):;;*)false;;esac;fi
   22517     '\'' sh
   22518   '
   22519 fi
   22520 as_executable_p=$as_test_x
   22521 
   22522 # Sed expression to map a string onto a valid CPP name.
   22523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22524 
   22525 # Sed expression to map a string onto a valid variable name.
   22526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22527 
   22528 
   22529 exec 6>&1
   22530 
   22531 # Save the log message, to keep $[0] and so on meaningful, and to
   22532 # report actual input values of CONFIG_FILES etc. instead of their
   22533 # values after options handling.
   22534 ac_log="
   22535 This file was extended by xf86-video-mach64 $as_me 6.8.0, which was
   22536 generated by GNU Autoconf 2.61.  Invocation command line was
   22537 
   22538   CONFIG_FILES    = $CONFIG_FILES
   22539   CONFIG_HEADERS  = $CONFIG_HEADERS
   22540   CONFIG_LINKS    = $CONFIG_LINKS
   22541   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22542   $ $0 $@
   22543 
   22544 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22545 "
   22546 
   22547 _ACEOF
   22548 
   22549 cat >>$CONFIG_STATUS <<_ACEOF
   22550 # Files that config.status was made for.
   22551 config_files="$ac_config_files"
   22552 config_headers="$ac_config_headers"
   22553 config_commands="$ac_config_commands"
   22554 
   22555 _ACEOF
   22556 
   22557 cat >>$CONFIG_STATUS <<\_ACEOF
   22558 ac_cs_usage="\
   22559 \`$as_me' instantiates files from templates according to the
   22560 current configuration.
   22561 
   22562 Usage: $0 [OPTIONS] [FILE]...
   22563 
   22564   -h, --help       print this help, then exit
   22565   -V, --version    print version number and configuration settings, then exit
   22566   -q, --quiet      do not print progress messages
   22567   -d, --debug      don't remove temporary files
   22568       --recheck    update $as_me by reconfiguring in the same conditions
   22569   --file=FILE[:TEMPLATE]
   22570 		   instantiate the configuration file FILE
   22571   --header=FILE[:TEMPLATE]
   22572 		   instantiate the configuration header FILE
   22573 
   22574 Configuration files:
   22575 $config_files
   22576 
   22577 Configuration headers:
   22578 $config_headers
   22579 
   22580 Configuration commands:
   22581 $config_commands
   22582 
   22583 Report bugs to <bug-autoconf (at] gnu.org>."
   22584 
   22585 _ACEOF
   22586 cat >>$CONFIG_STATUS <<_ACEOF
   22587 ac_cs_version="\\
   22588 xf86-video-mach64 config.status 6.8.0
   22589 configured by $0, generated by GNU Autoconf 2.61,
   22590   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22591 
   22592 Copyright (C) 2006 Free Software Foundation, Inc.
   22593 This config.status script is free software; the Free Software Foundation
   22594 gives unlimited permission to copy, distribute and modify it."
   22595 
   22596 ac_pwd='$ac_pwd'
   22597 srcdir='$srcdir'
   22598 INSTALL='$INSTALL'
   22599 MKDIR_P='$MKDIR_P'
   22600 _ACEOF
   22601 
   22602 cat >>$CONFIG_STATUS <<\_ACEOF
   22603 # If no file are specified by the user, then we need to provide default
   22604 # value.  By we need to know if files were specified by the user.
   22605 ac_need_defaults=:
   22606 while test $# != 0
   22607 do
   22608   case $1 in
   22609   --*=*)
   22610     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22611     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22612     ac_shift=:
   22613     ;;
   22614   *)
   22615     ac_option=$1
   22616     ac_optarg=$2
   22617     ac_shift=shift
   22618     ;;
   22619   esac
   22620 
   22621   case $ac_option in
   22622   # Handling of the options.
   22623   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22624     ac_cs_recheck=: ;;
   22625   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22626     echo "$ac_cs_version"; exit ;;
   22627   --debug | --debu | --deb | --de | --d | -d )
   22628     debug=: ;;
   22629   --file | --fil | --fi | --f )
   22630     $ac_shift
   22631     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   22632     ac_need_defaults=false;;
   22633   --header | --heade | --head | --hea )
   22634     $ac_shift
   22635     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   22636     ac_need_defaults=false;;
   22637   --he | --h)
   22638     # Conflict between --help and --header
   22639     { echo "$as_me: error: ambiguous option: $1
   22640 Try \`$0 --help' for more information." >&2
   22641    { (exit 1); exit 1; }; };;
   22642   --help | --hel | -h )
   22643     echo "$ac_cs_usage"; exit ;;
   22644   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22645   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22646     ac_cs_silent=: ;;
   22647 
   22648   # This is an error.
   22649   -*) { echo "$as_me: error: unrecognized option: $1
   22650 Try \`$0 --help' for more information." >&2
   22651    { (exit 1); exit 1; }; } ;;
   22652 
   22653   *) ac_config_targets="$ac_config_targets $1"
   22654      ac_need_defaults=false ;;
   22655 
   22656   esac
   22657   shift
   22658 done
   22659 
   22660 ac_configure_extra_args=
   22661 
   22662 if $ac_cs_silent; then
   22663   exec 6>/dev/null
   22664   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22665 fi
   22666 
   22667 _ACEOF
   22668 cat >>$CONFIG_STATUS <<_ACEOF
   22669 if \$ac_cs_recheck; then
   22670   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   22671   CONFIG_SHELL=$SHELL
   22672   export CONFIG_SHELL
   22673   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22674 fi
   22675 
   22676 _ACEOF
   22677 cat >>$CONFIG_STATUS <<\_ACEOF
   22678 exec 5>>config.log
   22679 {
   22680   echo
   22681   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22682 ## Running $as_me. ##
   22683 _ASBOX
   22684   echo "$ac_log"
   22685 } >&5
   22686 
   22687 _ACEOF
   22688 cat >>$CONFIG_STATUS <<_ACEOF
   22689 #
   22690 # INIT-COMMANDS
   22691 #
   22692 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22693 
   22694 _ACEOF
   22695 
   22696 cat >>$CONFIG_STATUS <<\_ACEOF
   22697 
   22698 # Handling of arguments.
   22699 for ac_config_target in $ac_config_targets
   22700 do
   22701   case $ac_config_target in
   22702     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22703     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22704     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22705     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22706     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22707 
   22708   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22709 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22710    { (exit 1); exit 1; }; };;
   22711   esac
   22712 done
   22713 
   22714 
   22715 # If the user did not use the arguments to specify the items to instantiate,
   22716 # then the envvar interface is used.  Set only those that are not.
   22717 # We use the long form for the default assignment because of an extremely
   22718 # bizarre bug on SunOS 4.1.3.
   22719 if $ac_need_defaults; then
   22720   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22721   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22722   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22723 fi
   22724 
   22725 # Have a temporary directory for convenience.  Make it in the build tree
   22726 # simply because there is no reason against having it here, and in addition,
   22727 # creating and moving files from /tmp can sometimes cause problems.
   22728 # Hook for its removal unless debugging.
   22729 # Note that there is a small window in which the directory will not be cleaned:
   22730 # after its creation but before its name has been assigned to `$tmp'.
   22731 $debug ||
   22732 {
   22733   tmp=
   22734   trap 'exit_status=$?
   22735   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22736 ' 0
   22737   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22738 }
   22739 # Create a (secure) tmp directory for tmp files.
   22740 
   22741 {
   22742   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22743   test -n "$tmp" && test -d "$tmp"
   22744 }  ||
   22745 {
   22746   tmp=./conf$$-$RANDOM
   22747   (umask 077 && mkdir "$tmp")
   22748 } ||
   22749 {
   22750    echo "$me: cannot create a temporary directory in ." >&2
   22751    { (exit 1); exit 1; }
   22752 }
   22753 
   22754 #
   22755 # Set up the sed scripts for CONFIG_FILES section.
   22756 #
   22757 
   22758 # No need to generate the scripts if there are no CONFIG_FILES.
   22759 # This happens for instance when ./config.status config.h
   22760 if test -n "$CONFIG_FILES"; then
   22761 
   22762 _ACEOF
   22763 
   22764 
   22765 
   22766 ac_delim='%!_!# '
   22767 for ac_last_try in false false false false false :; do
   22768   cat >conf$$subs.sed <<_ACEOF
   22769 SHELL!$SHELL$ac_delim
   22770 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   22771 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   22772 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   22773 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   22774 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   22775 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   22776 exec_prefix!$exec_prefix$ac_delim
   22777 prefix!$prefix$ac_delim
   22778 program_transform_name!$program_transform_name$ac_delim
   22779 bindir!$bindir$ac_delim
   22780 sbindir!$sbindir$ac_delim
   22781 libexecdir!$libexecdir$ac_delim
   22782 datarootdir!$datarootdir$ac_delim
   22783 datadir!$datadir$ac_delim
   22784 sysconfdir!$sysconfdir$ac_delim
   22785 sharedstatedir!$sharedstatedir$ac_delim
   22786 localstatedir!$localstatedir$ac_delim
   22787 includedir!$includedir$ac_delim
   22788 oldincludedir!$oldincludedir$ac_delim
   22789 docdir!$docdir$ac_delim
   22790 infodir!$infodir$ac_delim
   22791 htmldir!$htmldir$ac_delim
   22792 dvidir!$dvidir$ac_delim
   22793 pdfdir!$pdfdir$ac_delim
   22794 psdir!$psdir$ac_delim
   22795 libdir!$libdir$ac_delim
   22796 localedir!$localedir$ac_delim
   22797 mandir!$mandir$ac_delim
   22798 DEFS!$DEFS$ac_delim
   22799 ECHO_C!$ECHO_C$ac_delim
   22800 ECHO_N!$ECHO_N$ac_delim
   22801 ECHO_T!$ECHO_T$ac_delim
   22802 LIBS!$LIBS$ac_delim
   22803 build_alias!$build_alias$ac_delim
   22804 host_alias!$host_alias$ac_delim
   22805 target_alias!$target_alias$ac_delim
   22806 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   22807 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   22808 INSTALL_DATA!$INSTALL_DATA$ac_delim
   22809 am__isrc!$am__isrc$ac_delim
   22810 CYGPATH_W!$CYGPATH_W$ac_delim
   22811 PACKAGE!$PACKAGE$ac_delim
   22812 VERSION!$VERSION$ac_delim
   22813 ACLOCAL!$ACLOCAL$ac_delim
   22814 AUTOCONF!$AUTOCONF$ac_delim
   22815 AUTOMAKE!$AUTOMAKE$ac_delim
   22816 AUTOHEADER!$AUTOHEADER$ac_delim
   22817 MAKEINFO!$MAKEINFO$ac_delim
   22818 install_sh!$install_sh$ac_delim
   22819 STRIP!$STRIP$ac_delim
   22820 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   22821 mkdir_p!$mkdir_p$ac_delim
   22822 AWK!$AWK$ac_delim
   22823 SET_MAKE!$SET_MAKE$ac_delim
   22824 am__leading_dot!$am__leading_dot$ac_delim
   22825 AMTAR!$AMTAR$ac_delim
   22826 am__tar!$am__tar$ac_delim
   22827 am__untar!$am__untar$ac_delim
   22828 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   22829 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   22830 MAINT!$MAINT$ac_delim
   22831 build!$build$ac_delim
   22832 build_cpu!$build_cpu$ac_delim
   22833 build_vendor!$build_vendor$ac_delim
   22834 build_os!$build_os$ac_delim
   22835 host!$host$ac_delim
   22836 host_cpu!$host_cpu$ac_delim
   22837 host_vendor!$host_vendor$ac_delim
   22838 host_os!$host_os$ac_delim
   22839 CC!$CC$ac_delim
   22840 CFLAGS!$CFLAGS$ac_delim
   22841 LDFLAGS!$LDFLAGS$ac_delim
   22842 CPPFLAGS!$CPPFLAGS$ac_delim
   22843 ac_ct_CC!$ac_ct_CC$ac_delim
   22844 EXEEXT!$EXEEXT$ac_delim
   22845 OBJEXT!$OBJEXT$ac_delim
   22846 DEPDIR!$DEPDIR$ac_delim
   22847 am__include!$am__include$ac_delim
   22848 am__quote!$am__quote$ac_delim
   22849 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   22850 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   22851 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   22852 CCDEPMODE!$CCDEPMODE$ac_delim
   22853 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   22854 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   22855 SED!$SED$ac_delim
   22856 GREP!$GREP$ac_delim
   22857 EGREP!$EGREP$ac_delim
   22858 LN_S!$LN_S$ac_delim
   22859 ECHO!$ECHO$ac_delim
   22860 AR!$AR$ac_delim
   22861 RANLIB!$RANLIB$ac_delim
   22862 CPP!$CPP$ac_delim
   22863 CXX!$CXX$ac_delim
   22864 CXXFLAGS!$CXXFLAGS$ac_delim
   22865 ac_ct_CXX!$ac_ct_CXX$ac_delim
   22866 _ACEOF
   22867 
   22868   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   22869     break
   22870   elif $ac_last_try; then
   22871     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22872 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22873    { (exit 1); exit 1; }; }
   22874   else
   22875     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22876   fi
   22877 done
   22878 
   22879 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22880 if test -n "$ac_eof"; then
   22881   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22882   ac_eof=`expr $ac_eof + 1`
   22883 fi
   22884 
   22885 cat >>$CONFIG_STATUS <<_ACEOF
   22886 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   22887 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22888 _ACEOF
   22889 sed '
   22890 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22891 s/^/s,@/; s/!/@,|#_!!_#|/
   22892 :n
   22893 t n
   22894 s/'"$ac_delim"'$/,g/; t
   22895 s/$/\\/; p
   22896 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22897 ' >>$CONFIG_STATUS <conf$$subs.sed
   22898 rm -f conf$$subs.sed
   22899 cat >>$CONFIG_STATUS <<_ACEOF
   22900 CEOF$ac_eof
   22901 _ACEOF
   22902 
   22903 
   22904 ac_delim='%!_!# '
   22905 for ac_last_try in false false false false false :; do
   22906   cat >conf$$subs.sed <<_ACEOF
   22907 CXXDEPMODE!$CXXDEPMODE$ac_delim
   22908 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   22909 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   22910 CXXCPP!$CXXCPP$ac_delim
   22911 F77!$F77$ac_delim
   22912 FFLAGS!$FFLAGS$ac_delim
   22913 ac_ct_F77!$ac_ct_F77$ac_delim
   22914 LIBTOOL!$LIBTOOL$ac_delim
   22915 PKG_CONFIG!$PKG_CONFIG$ac_delim
   22916 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   22917 XORG_LIBS!$XORG_LIBS$ac_delim
   22918 DRI_TRUE!$DRI_TRUE$ac_delim
   22919 DRI_FALSE!$DRI_FALSE$ac_delim
   22920 DRI_CFLAGS!$DRI_CFLAGS$ac_delim
   22921 DRI_LIBS!$DRI_LIBS$ac_delim
   22922 ATIMISC_CPIO_TRUE!$ATIMISC_CPIO_TRUE$ac_delim
   22923 ATIMISC_CPIO_FALSE!$ATIMISC_CPIO_FALSE$ac_delim
   22924 ATIMISC_DGA_TRUE!$ATIMISC_DGA_TRUE$ac_delim
   22925 ATIMISC_DGA_FALSE!$ATIMISC_DGA_FALSE$ac_delim
   22926 ATIMISC_TV_OUT_TRUE!$ATIMISC_TV_OUT_TRUE$ac_delim
   22927 ATIMISC_TV_OUT_FALSE!$ATIMISC_TV_OUT_FALSE$ac_delim
   22928 USE_EXA_TRUE!$USE_EXA_TRUE$ac_delim
   22929 USE_EXA_FALSE!$USE_EXA_FALSE$ac_delim
   22930 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   22931 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   22932 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   22933 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   22934 moduledir!$moduledir$ac_delim
   22935 DRIVER_NAME!$DRIVER_NAME$ac_delim
   22936 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   22937 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   22938 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   22939 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   22940 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   22941 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   22942 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   22943 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   22944 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   22945 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   22946 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   22947 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   22948 LINUXDOC!$LINUXDOC$ac_delim
   22949 PS2PDF!$PS2PDF$ac_delim
   22950 BUILD_LINUXDOC_TRUE!$BUILD_LINUXDOC_TRUE$ac_delim
   22951 BUILD_LINUXDOC_FALSE!$BUILD_LINUXDOC_FALSE$ac_delim
   22952 BUILD_PDFDOC_TRUE!$BUILD_PDFDOC_TRUE$ac_delim
   22953 BUILD_PDFDOC_FALSE!$BUILD_PDFDOC_FALSE$ac_delim
   22954 MAKE_TEXT!$MAKE_TEXT$ac_delim
   22955 MAKE_PS!$MAKE_PS$ac_delim
   22956 MAKE_PDF!$MAKE_PDF$ac_delim
   22957 MAKE_HTML!$MAKE_HTML$ac_delim
   22958 LIBOBJS!$LIBOBJS$ac_delim
   22959 LTLIBOBJS!$LTLIBOBJS$ac_delim
   22960 _ACEOF
   22961 
   22962   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
   22963     break
   22964   elif $ac_last_try; then
   22965     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22966 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22967    { (exit 1); exit 1; }; }
   22968   else
   22969     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22970   fi
   22971 done
   22972 
   22973 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22974 if test -n "$ac_eof"; then
   22975   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22976   ac_eof=`expr $ac_eof + 1`
   22977 fi
   22978 
   22979 cat >>$CONFIG_STATUS <<_ACEOF
   22980 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   22981 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   22982 _ACEOF
   22983 sed '
   22984 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22985 s/^/s,@/; s/!/@,|#_!!_#|/
   22986 :n
   22987 t n
   22988 s/'"$ac_delim"'$/,g/; t
   22989 s/$/\\/; p
   22990 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22991 ' >>$CONFIG_STATUS <conf$$subs.sed
   22992 rm -f conf$$subs.sed
   22993 cat >>$CONFIG_STATUS <<_ACEOF
   22994 :end
   22995 s/|#_!!_#|//g
   22996 CEOF$ac_eof
   22997 _ACEOF
   22998 
   22999 
   23000 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23001 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23002 # trailing colons and then remove the whole line if VPATH becomes empty
   23003 # (actually we leave an empty line to preserve line numbers).
   23004 if test "x$srcdir" = x.; then
   23005   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23006 s/:*\$(srcdir):*/:/
   23007 s/:*\${srcdir}:*/:/
   23008 s/:*@srcdir@:*/:/
   23009 s/^\([^=]*=[	 ]*\):*/\1/
   23010 s/:*$//
   23011 s/^[^=]*=[	 ]*$//
   23012 }'
   23013 fi
   23014 
   23015 cat >>$CONFIG_STATUS <<\_ACEOF
   23016 fi # test -n "$CONFIG_FILES"
   23017 
   23018 
   23019 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   23020 do
   23021   case $ac_tag in
   23022   :[FHLC]) ac_mode=$ac_tag; continue;;
   23023   esac
   23024   case $ac_mode$ac_tag in
   23025   :[FHL]*:*);;
   23026   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   23027 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   23028    { (exit 1); exit 1; }; };;
   23029   :[FH]-) ac_tag=-:-;;
   23030   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23031   esac
   23032   ac_save_IFS=$IFS
   23033   IFS=:
   23034   set x $ac_tag
   23035   IFS=$ac_save_IFS
   23036   shift
   23037   ac_file=$1
   23038   shift
   23039 
   23040   case $ac_mode in
   23041   :L) ac_source=$1;;
   23042   :[FH])
   23043     ac_file_inputs=
   23044     for ac_f
   23045     do
   23046       case $ac_f in
   23047       -) ac_f="$tmp/stdin";;
   23048       *) # Look for the file first in the build tree, then in the source tree
   23049 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23050 	 # because $ac_f cannot contain `:'.
   23051 	 test -f "$ac_f" ||
   23052 	   case $ac_f in
   23053 	   [\\/$]*) false;;
   23054 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23055 	   esac ||
   23056 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23057 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23058    { (exit 1); exit 1; }; };;
   23059       esac
   23060       ac_file_inputs="$ac_file_inputs $ac_f"
   23061     done
   23062 
   23063     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23064     # use $as_me), people would be surprised to read:
   23065     #    /* config.h.  Generated by config.status.  */
   23066     configure_input="Generated from "`IFS=:
   23067 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   23068     if test x"$ac_file" != x-; then
   23069       configure_input="$ac_file.  $configure_input"
   23070       { echo "$as_me:$LINENO: creating $ac_file" >&5
   23071 echo "$as_me: creating $ac_file" >&6;}
   23072     fi
   23073 
   23074     case $ac_tag in
   23075     *:-:* | *:-) cat >"$tmp/stdin";;
   23076     esac
   23077     ;;
   23078   esac
   23079 
   23080   ac_dir=`$as_dirname -- "$ac_file" ||
   23081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23082 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23083 	 X"$ac_file" : 'X\(//\)$' \| \
   23084 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23085 echo X"$ac_file" |
   23086     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23087 	    s//\1/
   23088 	    q
   23089 	  }
   23090 	  /^X\(\/\/\)[^/].*/{
   23091 	    s//\1/
   23092 	    q
   23093 	  }
   23094 	  /^X\(\/\/\)$/{
   23095 	    s//\1/
   23096 	    q
   23097 	  }
   23098 	  /^X\(\/\).*/{
   23099 	    s//\1/
   23100 	    q
   23101 	  }
   23102 	  s/.*/./; q'`
   23103   { as_dir="$ac_dir"
   23104   case $as_dir in #(
   23105   -*) as_dir=./$as_dir;;
   23106   esac
   23107   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23108     as_dirs=
   23109     while :; do
   23110       case $as_dir in #(
   23111       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23112       *) as_qdir=$as_dir;;
   23113       esac
   23114       as_dirs="'$as_qdir' $as_dirs"
   23115       as_dir=`$as_dirname -- "$as_dir" ||
   23116 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23117 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23118 	 X"$as_dir" : 'X\(//\)$' \| \
   23119 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23120 echo X"$as_dir" |
   23121     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23122 	    s//\1/
   23123 	    q
   23124 	  }
   23125 	  /^X\(\/\/\)[^/].*/{
   23126 	    s//\1/
   23127 	    q
   23128 	  }
   23129 	  /^X\(\/\/\)$/{
   23130 	    s//\1/
   23131 	    q
   23132 	  }
   23133 	  /^X\(\/\).*/{
   23134 	    s//\1/
   23135 	    q
   23136 	  }
   23137 	  s/.*/./; q'`
   23138       test -d "$as_dir" && break
   23139     done
   23140     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23141   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23142 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23143    { (exit 1); exit 1; }; }; }
   23144   ac_builddir=.
   23145 
   23146 case "$ac_dir" in
   23147 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23148 *)
   23149   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   23150   # A ".." for each directory in $ac_dir_suffix.
   23151   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   23152   case $ac_top_builddir_sub in
   23153   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23154   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23155   esac ;;
   23156 esac
   23157 ac_abs_top_builddir=$ac_pwd
   23158 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23159 # for backward compatibility:
   23160 ac_top_builddir=$ac_top_build_prefix
   23161 
   23162 case $srcdir in
   23163   .)  # We are building in place.
   23164     ac_srcdir=.
   23165     ac_top_srcdir=$ac_top_builddir_sub
   23166     ac_abs_top_srcdir=$ac_pwd ;;
   23167   [\\/]* | ?:[\\/]* )  # Absolute name.
   23168     ac_srcdir=$srcdir$ac_dir_suffix;
   23169     ac_top_srcdir=$srcdir
   23170     ac_abs_top_srcdir=$srcdir ;;
   23171   *) # Relative name.
   23172     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23173     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23174     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23175 esac
   23176 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23177 
   23178 
   23179   case $ac_mode in
   23180   :F)
   23181   #
   23182   # CONFIG_FILE
   23183   #
   23184 
   23185   case $INSTALL in
   23186   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23187   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23188   esac
   23189   ac_MKDIR_P=$MKDIR_P
   23190   case $MKDIR_P in
   23191   [\\/$]* | ?:[\\/]* ) ;;
   23192   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23193   esac
   23194 _ACEOF
   23195 
   23196 cat >>$CONFIG_STATUS <<\_ACEOF
   23197 # If the template does not know about datarootdir, expand it.
   23198 # FIXME: This hack should be removed a few years after 2.60.
   23199 ac_datarootdir_hack=; ac_datarootdir_seen=
   23200 
   23201 case `sed -n '/datarootdir/ {
   23202   p
   23203   q
   23204 }
   23205 /@datadir@/p
   23206 /@docdir@/p
   23207 /@infodir@/p
   23208 /@localedir@/p
   23209 /@mandir@/p
   23210 ' $ac_file_inputs` in
   23211 *datarootdir*) ac_datarootdir_seen=yes;;
   23212 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23213   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23214 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23215 _ACEOF
   23216 cat >>$CONFIG_STATUS <<_ACEOF
   23217   ac_datarootdir_hack='
   23218   s&@datadir@&$datadir&g
   23219   s&@docdir@&$docdir&g
   23220   s&@infodir@&$infodir&g
   23221   s&@localedir@&$localedir&g
   23222   s&@mandir@&$mandir&g
   23223     s&\\\${datarootdir}&$datarootdir&g' ;;
   23224 esac
   23225 _ACEOF
   23226 
   23227 # Neutralize VPATH when `$srcdir' = `.'.
   23228 # Shell code in configure.ac might set extrasub.
   23229 # FIXME: do we really want to maintain this feature?
   23230 cat >>$CONFIG_STATUS <<_ACEOF
   23231   sed "$ac_vpsub
   23232 $extrasub
   23233 _ACEOF
   23234 cat >>$CONFIG_STATUS <<\_ACEOF
   23235 :t
   23236 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23237 s&@configure_input@&$configure_input&;t t
   23238 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23239 s&@srcdir@&$ac_srcdir&;t t
   23240 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23241 s&@top_srcdir@&$ac_top_srcdir&;t t
   23242 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23243 s&@builddir@&$ac_builddir&;t t
   23244 s&@abs_builddir@&$ac_abs_builddir&;t t
   23245 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23246 s&@INSTALL@&$ac_INSTALL&;t t
   23247 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23248 $ac_datarootdir_hack
   23249 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   23250 
   23251 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23252   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23253   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23254   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23255 which seems to be undefined.  Please make sure it is defined." >&5
   23256 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23257 which seems to be undefined.  Please make sure it is defined." >&2;}
   23258 
   23259   rm -f "$tmp/stdin"
   23260   case $ac_file in
   23261   -) cat "$tmp/out"; rm -f "$tmp/out";;
   23262   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   23263   esac
   23264  ;;
   23265   :H)
   23266   #
   23267   # CONFIG_HEADER
   23268   #
   23269 _ACEOF
   23270 
   23271 # Transform confdefs.h into a sed script `conftest.defines', that
   23272 # substitutes the proper values into config.h.in to produce config.h.
   23273 rm -f conftest.defines conftest.tail
   23274 # First, append a space to every undef/define line, to ease matching.
   23275 echo 's/$/ /' >conftest.defines
   23276 # Then, protect against being on the right side of a sed subst, or in
   23277 # an unquoted here document, in config.status.  If some macros were
   23278 # called several times there might be several #defines for the same
   23279 # symbol, which is useless.  But do not sort them, since the last
   23280 # AC_DEFINE must be honored.
   23281 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23282 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   23283 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   23284 # PARAMS is the parameter list in the macro definition--in most cases, it's
   23285 # just an empty string.
   23286 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   23287 ac_dB='\\)[	 (].*,\\1define\\2'
   23288 ac_dC=' '
   23289 ac_dD=' ,'
   23290 
   23291 uniq confdefs.h |
   23292   sed -n '
   23293 	t rset
   23294 	:rset
   23295 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   23296 	t ok
   23297 	d
   23298 	:ok
   23299 	s/[\\&,]/\\&/g
   23300 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   23301 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   23302   ' >>conftest.defines
   23303 
   23304 # Remove the space that was appended to ease matching.
   23305 # Then replace #undef with comments.  This is necessary, for
   23306 # example, in the case of _POSIX_SOURCE, which is predefined and required
   23307 # on some systems where configure will not decide to define it.
   23308 # (The regexp can be short, since the line contains either #define or #undef.)
   23309 echo 's/ $//
   23310 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   23311 
   23312 # Break up conftest.defines:
   23313 ac_max_sed_lines=50
   23314 
   23315 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   23316 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   23317 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   23318 # et cetera.
   23319 ac_in='$ac_file_inputs'
   23320 ac_out='"$tmp/out1"'
   23321 ac_nxt='"$tmp/out2"'
   23322 
   23323 while :
   23324 do
   23325   # Write a here document:
   23326     cat >>$CONFIG_STATUS <<_ACEOF
   23327     # First, check the format of the line:
   23328     cat >"\$tmp/defines.sed" <<\\CEOF
   23329 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   23330 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   23331 b
   23332 :def
   23333 _ACEOF
   23334   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   23335   echo 'CEOF
   23336     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   23337   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   23338   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   23339   grep . conftest.tail >/dev/null || break
   23340   rm -f conftest.defines
   23341   mv conftest.tail conftest.defines
   23342 done
   23343 rm -f conftest.defines conftest.tail
   23344 
   23345 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   23346 cat >>$CONFIG_STATUS <<\_ACEOF
   23347   if test x"$ac_file" != x-; then
   23348     echo "/* $configure_input  */" >"$tmp/config.h"
   23349     cat "$ac_result" >>"$tmp/config.h"
   23350     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   23351       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23352 echo "$as_me: $ac_file is unchanged" >&6;}
   23353     else
   23354       rm -f $ac_file
   23355       mv "$tmp/config.h" $ac_file
   23356     fi
   23357   else
   23358     echo "/* $configure_input  */"
   23359     cat "$ac_result"
   23360   fi
   23361   rm -f "$tmp/out12"
   23362 # Compute $ac_file's index in $config_headers.
   23363 _am_arg=$ac_file
   23364 _am_stamp_count=1
   23365 for _am_header in $config_headers :; do
   23366   case $_am_header in
   23367     $_am_arg | $_am_arg:* )
   23368       break ;;
   23369     * )
   23370       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23371   esac
   23372 done
   23373 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23374 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23375 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23376 	 X"$_am_arg" : 'X\(//\)$' \| \
   23377 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23378 echo X"$_am_arg" |
   23379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23380 	    s//\1/
   23381 	    q
   23382 	  }
   23383 	  /^X\(\/\/\)[^/].*/{
   23384 	    s//\1/
   23385 	    q
   23386 	  }
   23387 	  /^X\(\/\/\)$/{
   23388 	    s//\1/
   23389 	    q
   23390 	  }
   23391 	  /^X\(\/\).*/{
   23392 	    s//\1/
   23393 	    q
   23394 	  }
   23395 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23396  ;;
   23397 
   23398   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23399 echo "$as_me: executing $ac_file commands" >&6;}
   23400  ;;
   23401   esac
   23402 
   23403 
   23404   case $ac_file$ac_mode in
   23405     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23406   # Strip MF so we end up with the name of the file.
   23407   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23408   # Check whether this is an Automake generated Makefile or not.
   23409   # We used to match only the files named `Makefile.in', but
   23410   # some people rename them; so instead we look at the file content.
   23411   # Grep'ing the first line is not enough: some people post-process
   23412   # each Makefile.in and add a new line on top of each file to say so.
   23413   # Grep'ing the whole file is not good either: AIX grep has a line
   23414   # limit of 2048, but all sed's we know have understand at least 4000.
   23415   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23416     dirpart=`$as_dirname -- "$mf" ||
   23417 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23418 	 X"$mf" : 'X\(//\)[^/]' \| \
   23419 	 X"$mf" : 'X\(//\)$' \| \
   23420 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23421 echo X"$mf" |
   23422     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23423 	    s//\1/
   23424 	    q
   23425 	  }
   23426 	  /^X\(\/\/\)[^/].*/{
   23427 	    s//\1/
   23428 	    q
   23429 	  }
   23430 	  /^X\(\/\/\)$/{
   23431 	    s//\1/
   23432 	    q
   23433 	  }
   23434 	  /^X\(\/\).*/{
   23435 	    s//\1/
   23436 	    q
   23437 	  }
   23438 	  s/.*/./; q'`
   23439   else
   23440     continue
   23441   fi
   23442   # Extract the definition of DEPDIR, am__include, and am__quote
   23443   # from the Makefile without running `make'.
   23444   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23445   test -z "$DEPDIR" && continue
   23446   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23447   test -z "am__include" && continue
   23448   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23449   # When using ansi2knr, U may be empty or an underscore; expand it
   23450   U=`sed -n 's/^U = //p' < "$mf"`
   23451   # Find all dependency output files, they are included files with
   23452   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23453   # simplest approach to changing $(DEPDIR) to its actual value in the
   23454   # expansion.
   23455   for file in `sed -n "
   23456     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23457        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23458     # Make sure the directory exists.
   23459     test -f "$dirpart/$file" && continue
   23460     fdir=`$as_dirname -- "$file" ||
   23461 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23462 	 X"$file" : 'X\(//\)[^/]' \| \
   23463 	 X"$file" : 'X\(//\)$' \| \
   23464 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23465 echo X"$file" |
   23466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23467 	    s//\1/
   23468 	    q
   23469 	  }
   23470 	  /^X\(\/\/\)[^/].*/{
   23471 	    s//\1/
   23472 	    q
   23473 	  }
   23474 	  /^X\(\/\/\)$/{
   23475 	    s//\1/
   23476 	    q
   23477 	  }
   23478 	  /^X\(\/\).*/{
   23479 	    s//\1/
   23480 	    q
   23481 	  }
   23482 	  s/.*/./; q'`
   23483     { as_dir=$dirpart/$fdir
   23484   case $as_dir in #(
   23485   -*) as_dir=./$as_dir;;
   23486   esac
   23487   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23488     as_dirs=
   23489     while :; do
   23490       case $as_dir in #(
   23491       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23492       *) as_qdir=$as_dir;;
   23493       esac
   23494       as_dirs="'$as_qdir' $as_dirs"
   23495       as_dir=`$as_dirname -- "$as_dir" ||
   23496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23497 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23498 	 X"$as_dir" : 'X\(//\)$' \| \
   23499 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23500 echo X"$as_dir" |
   23501     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23502 	    s//\1/
   23503 	    q
   23504 	  }
   23505 	  /^X\(\/\/\)[^/].*/{
   23506 	    s//\1/
   23507 	    q
   23508 	  }
   23509 	  /^X\(\/\/\)$/{
   23510 	    s//\1/
   23511 	    q
   23512 	  }
   23513 	  /^X\(\/\).*/{
   23514 	    s//\1/
   23515 	    q
   23516 	  }
   23517 	  s/.*/./; q'`
   23518       test -d "$as_dir" && break
   23519     done
   23520     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23521   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23522 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23523    { (exit 1); exit 1; }; }; }
   23524     # echo "creating $dirpart/$file"
   23525     echo '# dummy' > "$dirpart/$file"
   23526   done
   23527 done
   23528  ;;
   23529 
   23530   esac
   23531 done # for ac_tag
   23532 
   23533 
   23534 { (exit 0); exit 0; }
   23535 _ACEOF
   23536 chmod +x $CONFIG_STATUS
   23537 ac_clean_files=$ac_clean_files_save
   23538 
   23539 
   23540 # configure is writing to config.log, and then calls config.status.
   23541 # config.status does its own redirection, appending to config.log.
   23542 # Unfortunately, on DOS this fails, as config.log is still kept open
   23543 # by configure, so config.status won't be able to write to it; its
   23544 # output is simply discarded.  So we exec the FD to /dev/null,
   23545 # effectively closing config.log, so it can be properly (re)opened and
   23546 # appended to by config.status.  When coming back to configure, we
   23547 # need to make the FD available again.
   23548 if test "$no_create" != yes; then
   23549   ac_cs_success=:
   23550   ac_config_status_args=
   23551   test "$silent" = yes &&
   23552     ac_config_status_args="$ac_config_status_args --quiet"
   23553   exec 5>/dev/null
   23554   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23555   exec 5>>config.log
   23556   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23557   # would make configure fail if this is the last instruction.
   23558   $ac_cs_success || { (exit 1); exit 1; }
   23559 fi
   23560 
   23561